Packages

@mikro-orm/mariadb

7.2.11 · 20 Nov 2026MIT316.2k / weekRepositoryHomepagenpmAtom feed

Upgrading @mikro-orm/mariadb From 4.2.0 to 7.2.11

240 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.2.0Newest 4.x4.5.10
  1. 4.2.0yours
  2. 24 releases
  3. 5.0.0major
  4. 21 releases
  5. 5.5.0breaking
  6. 3 releases
  7. 5.6.0breaking
  8. 42 releases
  9. 5.9.0breaking
  10. 8 releases
  11. 6.0.0major
  12. 91 releases
  13. 7.0.0major
  14. 5 releases
  15. 7.0.6security
  16. 38 releases
  17. 7.2.11target
  18. 397 pre

Start here

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Breaking5.9.0
  • Breaking5.6.0
  • Breaking5.5.0
  • Deprecated6.6.2
  • Deprecated5.8.4
  • Deprecated5.7.13
  • Deprecated5.7.7
  • Deprecated5.7.5
  • Deprecated5.7.0

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

9 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.