Packages

@mikro-orm/postgresql

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

Your version

5.7.0

23 Apr 2023Where it was published

5.9.8 is the newest release of 5.x.

In short

1 deprecated4 new1 faster12 fixed

  • Deprecated

    core: deprecate persist/flush/remove methods from EntityRepository (#4259) (eba4563), closes #3989

Release note

Bug Fixes

  • core: clean up bidirectional references after removal of entity (bfd3840), closes #4234

  • core: detect JsonType based on columnType (#4252) (2e01622), closes #4229

  • core: do not try to propagate changes to mapToPk relations (7028890), closes #4254

  • core: fix mapping of joined relations with buffer PKs (8e9e7ee), closes #4219

  • core: merge env vars with explicit configuration recursively (392a623), closes #4235

  • core: prevent tuple type properties from being converted to array when serializing entities

  • core: propagate changes from extra updates back to the original changeset (77f5c14), closes #4245

  • core: rework JSON value processing (#4194) (5594c46), closes #4193

  • mariadb: use json_extract when querying JSON fields

  • query-builder: fix pagination when PK uses BigIntType (b789031), closes #4227

  • query-builder: support onConflict().ignore() without parameters (3a3b0bd), closes #4224

  • schema: fix comparing default value of JSON properties (41277a1), closes #4212

Features

  • core: allow disabling transactions (#4260) (8e8bc38), closes #3747 #3992

  • Deprecated

    core: deprecate persist/flush/remove methods from EntityRepository (#4259) (eba4563), closes #3989

  • core: validate repository type in repo.populate() and repo.assign() (301bdf8), closes #3989

  • core: validate unique tableName (0693029), closes #4149

  • migrations: add support for custom migration names

  • mongo: allow setting weights on index (299b188), closes #4172

Performance Improvements

  • core: fix eager loading of multiple properties causing cycles (ecbecfc), closes #4213

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.