Packages

@mikro-orm/postgresql

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

Upgrading @mikro-orm/postgresql From 6.2.6 to 7.2.11

110 releases in betweennotes for 86

Other targets from 6.2.6Newest 6.x6.6.19
  1. 6.2.6yours
  2. 64 releases
  3. 7.0.0major
  4. 5 releases
  5. 7.0.6security
  6. 38 releases
  7. 7.2.11target
  8. 338 pre
2+
changes to make
0
advisories fixed
222+
new
850+
fixes

Counted from 86 of 110 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Deprecated6.6.2

Security

  • core: prevent prototype pollution in Utils.merge

    7.0.6

Release by release

  1. 7.2.11

    20 Nov 20262 new · 13 fixes
    • New

      core: compute populate child fields once per relation instead of per entity

    • New

      core: reassign collection indexes once when removing many items

    • Fixed

      core: do not replace entity methods with unknown keys in assign()

    • Fixed

      core: honor the per-call fail handler in ScalarReference.loadOrFail() (#8767) (3728594), closes #8758

  2. 7.2.10

    16 Nov 202610 new · 15 fixes
    • New

      core: avoid per-entity sets and repeated property lookups in toObject()

    • New

      core: cut per-entity allocations when computing change sets

    • New

      core: mark collections and references on the prototype

    • New

      core: reset wrapper fields instead of deleting them

  3. 7.2.9

    12 Nov 20265 new · 26 fixes
    • New

      core: avoid deopt loop when cloning query builder state

    • New

      core: keep scalar properties as plain data properties (#8671) (e312571), closes #6982

    • New

      core: skip re-snapshotting entities freshly mapped via em.map()

    • New

      core: use Object.keys in getObjectQueryKeys

  4. 7.2.8

    6 Nov 20261 new · 13 fixes
    • New

      core: propagate serialization context along the serialized path only (#8619) (7816e11), closes #8616

    • Fixed

      core: apply the entity default orderBy in em.stream() and em.findOne() (#8612) (840bc49), closes #7133 #8503

    • Fixed

      core: handle non-JSON query values in result cache and dataloader keys

    • Fixed

      core: include regexp and raw fragment params in result cache keys

  5. 7.2.7

    4 Nov 20263 new · 18 fixes
    • New

      core: embed a query builder passed as a raw fragment param as a sub-query (#8590) (64763fd), closes #8570

    • New

      core: avoid quadratic delete-early matching in computeChangeSets (#8580) (2de826a), closes #8579 #8579

    • New

      core: match serializer fields and populate paths by first segment

    • Fixed

      core: don't convert a sub-query value with the property's custom type (#8574) (6843a82), closes #8572

  6. 7.2.6

    31 Oct 20262 new · 22 fixes
    • New

      core: avoid quadratic lookups in metadata discovery

    • New

      core: skip merging a joined row the entity already holds (#8466) (e927926), closes #8460 #8465 #8465 #8460

    • Fixed

      cli: report a configured TS config path skipped without TS support (#8537) (c9951e2), closes #8531

    • Fixed

      core: escape backslashes in string default values on the MySQL family (#8554) (a69516e), closes #8553 #8553

  7. 7.2.5

    9 Oct 20269 fixes
    • Fixed

      core: fix custom types and serializedName properties in em.refresh() (#8413) (7463cb2), closes #8410

    • Fixed

      core: hydrate STI object embeddables declared with different classes via the root (#8418) (863195c), closes #8417

    • Fixed

      core: keep null custom type values in upsert results (#8428) (1a7a9c0), closes #8429 #8427

    • Fixed

      core: order flush around relations to TPT subclasses

  8. 7.2.4

    6 Oct 20263 new · 7 fixes
    • New

      core: avoid per-owner scans on the owning side of M:N (#8392) (39599a7), closes #8391 #8391

    • New

      core: group inverse M:N children in one pass

    • New

      core: group reloaded rows by condition values in upsertMany

    • Fixed

      core: check the version in batch updates (#8381) (5156bc4), closes #8380

2 internal lines (docs, tests, tooling) left out.

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.