MikroORM v5.0.3 Release Notes

Release Date: 2022-02-20 // over 2 years ago
  • ๐Ÿ› Bug Fixes

    • core: do not trigger global context validation from repositories (f651865), closes #2778
    • core: fix processing of onUpdate properties (9cf454e), closes #2781
    • core: fix processing of multiple onUpdate properties on one entity (4f0e4cc), closes #2784
    • core: hydrate not-null embeddable prop even with all null values (09aee05), closes #2774
    • core: register entity to identity map as early as possible (d8f3613), closes #2777
    • core: respect onDelete: cascade when propagating removal (f1e8578), closes #2703
    • core: revert to require() when getting ORM version to fix webpack support (6cfb526), closes #2799
    • migrations: generate snapshot too when using --initial (4857be7), closes #2800
    • postgres: consider int8 as numeric when inferring autoincrement value (64bc99d), closes #2791
    • sqlite: respect autoincrement: false in schema diffing (b39b6ad), closes #2800
    • typing: fix populate hints on collections where both type args are provided (e39ef5b), closes #2771

    ๐Ÿ”‹ Features

    • โž• add better-sqlite driver (#2792) (1b39d66)
    • core: add connect config option (8aaad33)
    • core: add SchemaGenerator.clearDatabase() (ecad9c6), closes #2220
    • core: add populate option to Reference.load and Collection.loadItems (1527c1a), closes #2796