5.4.0 (2022-09-01)
Bug Fixes
- cli: allow working with mongo migrations via CLI (14a07df)
- core: allow embedded properties inside virtual entities (541d62d)
- core: allow using
$ne
operator on embedded properties (89706b6), closes #3430 - core: always use dynamic import, don't depend on
MIKRO_ORM_DYNAMIC_IMPORTS
(ba7eac6) - core: compile with
module: 'Node16'
to have real dynamic imports (#3439) (50347ef) - core: fix optimistic locking for entities with custom type on PK (e36bac5), closes #3440
- core: lock entities in
flush()
to get around race conditions withPromise.all
(b62799a), closes #2934 #3383 - core: respect serialization options like
hidden
on embeddables (d198e44), closes #3429 - core: support result caching on virtual entities (ce2b051)
- core: update to TypeScript 4.8 and improve
EntityDTO
type (#3389) (f2957fb) - core: use acorn instead of escaya for extraction of method params (c5c09c5)
- knex: support
em.count()
on virtual entities (5bb4ebe) - postgres: fix escaping of special chars in string arrays (#3405) (cd7c42f)
- query-builder: allow using alias for delete queries (aa19a85), closes #3366
- query-builder: support more operators in join conditions (#3399) (af885c8)
- reflection: do not override user defined
nullable
attribute (75a6487) - reflection: fix array property type inference (4a69871)