MikroORM v4.5.4 Release Notes

Release Date: 2021-04-26 // 16 days ago
  • ๐Ÿ› Bug Fixes

    • core: consider non-plain objects as PKs (82387ad), closes #1721
    • core: fix QueryFlag.PAGINATE with joined loading strategy (11aa0a3)
    • core: fix assigning embedded arrays (9ee8f5c), closes #1699
    • core: fix persisting complex composite keys in m:1 relations (a932366), closes #1687
    • core: fix querying by complex composite keys via entity instance (b1b7894), closes #1695
    • core: fix querying by JSON properties (bc5e1a9), closes #1673
    • core: fix state of entities from result cached (8d0f076), closes #1704
    • core: initialize empty collections when fetch joining (6fb9560)
    • core: update version values in batch updates (f5c8ed8), closes #1703

    ๐Ÿ”‹ Features

    • core: add QueryFlag.AUTO_JOIN_ONE_TO_ONE_OWNER (378e468), closes #1660

Previous changes from v4.5.3

  • ๐Ÿ› Bug Fixes

    • core: do not auto-join composite relations when not needed (b1420a6), closes #1658
    • core: ensure eager loaded relations are actually loaded (897c7bd), closes #1657
    • core: fix aliasing of embeddables in update query (#1650) (6cb5f62)
    • discovery: fix metadata validation of nested embeddables (1d7c123), closes #1616
    • knex: find by custom types with object subconditions (#1656) (d8c328a)
    • postgres: improve extra updates logic for batch updates (84b40bc), closes #1664

    ๐Ÿ”‹ Features

    • postgres: fix batch inserts with PKs with custom field name (4500ca7), closes #1595
    • ๐Ÿ— query-builder: allow passing raw query bindings via qb.raw() (aa423a5), closes #1654