MikroORM v4.5.0 Release Notes

Release Date: 2021-03-21 // about 3 years ago
  • ๐Ÿ› Bug Fixes

    • core: apply filters when populating M:N relations (cd8330a), closes #1232
    • core: do not process knex.ref() via custom types (ba2ee70), closes #1538
    • core: do not update entity state when cascade merging (6c74109), closes #1523
    • core: expose filters in some repository methods (a1e1553), closes #1236
    • core: fix auto-joining with $not operator (8071fd0), closes #1537
    • core: support operators in json property queries (cb5e715), closes #1487
    • sqlite: ensure booleans are hydrated as booleans (4e36df2), closes #1553
    • sqlite: fix calling em.find() from hooks (fec3285), closes #1503

    ๐Ÿ”‹ Features

    • cli: allow mikro-orm config to return Promise (#1495) (629aae9)
    • core: add Collection.matching() method to allow pagination (#1502) (1ad3448), closes #334
    • core: add close method to CacheAdapter interface (2795b5a), closes #1509
    • core: allow updating nested 1:1 and m:1 references with EntityAssigner (#1535) (c1dd048)
    • core: infer configuration from environment variables (#1498) (1ff07a7), closes #1472
    • core: support custom types in embeddables (53305d3), closes #1519
    • core: support embeddable arrays (#1496) (57b605c), closes #1369
    • reflection: support enum arrays and custom types (dc65527), closes #1497
    • validation: validate correct reference types (381b5b9), closes #1568