MikroORM v5.4.2 Release Notes

Release Date: 2022-09-12 // 20 days ago
  • ๐Ÿ› Bug Fixes

    • core: do not double serialize nested JSON properties in embedded arrays (11112c6), closes #3327
    • core: fix dynamic loading of entities with default export (14f88cc), closes #3491
    • core: fix extracting entity reference for constructor params in em.create() (797cc3a)
    • core: fix populating of self referencing relationships (e3c835a), closes #3490
    • core: fix serialization of virtual entities (a15fc13), closes #3493
    • core: ignore * populate hints inferred from fields (c11bda6)
    • core: omit internal symbols from logged entities (29c430c)
    • core: respect serialization flags on embedded properties (8e9f6d9), closes #3429

    ๐Ÿ”‹ Features

    • cli: add mikro-orm-esm CLI script with registered ts-node/esm loader (443f0c8), closes #3485
    • entity-generator: generate OptionalProps symbols (#3482) (6ba3d40)
    • knex: allow changing FROM clause using QueryBuilder (#3378) (df7d939)

Previous changes from v5.4.1

  • ๐Ÿ› Bug Fixes

    • cli: only use dynamic imports for ESM projects (b3e43d0), closes #3442
    • core: add missing MIKRO_ORM_SCHEMA env var (#3464) (47fccac)
    • core: allow symbol as propertyKey in @UseRequestContext decorator (#3444) (6a60295)
    • core: change internal dependencies to use ~ instead of ^ (fdbf67c), closes #3468
    • core: support partial loading of inlined embeddables (9654e6e), closes #3365
    • migrations: replace backslash in the glob to fix windows support (9e2b549), closes #2243
    • postgres: fix inserting values with ? into FullTextType properties (5095ddb), closes #3457
    • postgres: fix parsing enum definition when one of the items has comma (c8062cb), closes #3460
    • reflection: fix inference of nullability (5f57ee1), closes #3447

    ๐Ÿ”‹ Features

    • core: allow custom ORM prop name in @UseRequestContext() (#3475) (d87219e)