Packages

@mikro-orm/postgresql

7.2.11 · 20 Nov 2026MIT1.3M / weekRepositoryHomepagenpmAtom feed

Your version

5.4.0

1 Sep 2022Where it was published

5.9.8 is the newest release of 5.x.

In short

4 new17 fixed

Release note

Bug Fixes

  • cli: allow working with mongo migrations via CLI

  • core: allow embedded properties inside virtual entities

  • core: allow using $ne operator on embedded properties (89706b6), closes #3430

  • core: always use dynamic import, don't depend on MIKRO_ORM_DYNAMIC_IMPORTS

  • core: compile with module: 'Node16' to have real dynamic imports

  • core: fix optimistic locking for entities with custom type on PK (e36bac5), closes #3440

  • core: lock entities in flush() to get around race conditions with Promise.all (b62799a), closes #2934 #3383

  • core: respect serialization options like hidden on embeddables (d198e44), closes #3429

  • core: support result caching on virtual entities

  • core: update to TypeScript 4.8 and improve EntityDTO type

  • core: use acorn instead of escaya for extraction of method params

  • knex: support em.count() on virtual entities

  • postgres: fix escaping of special chars in string arrays

  • query-builder: allow using alias for delete queries (aa19a85), closes #3366

  • query-builder: support more operators in join conditions

  • reflection: do not override user defined nullable attribute

  • reflection: fix array property type inference

Features

  • core: add MikroORM.reconnect() method

  • core: add schema/migrator/seeder shortcuts to MikroORM class

  • entity-generator: add import extension for referenced entities

  • knex: add options params to create + assign methods within EntityRepository

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.