Packages

@mikro-orm/core

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

Upgrading @mikro-orm/core From 5.6.4 to 5.9.8

47 releases in betweennotes for 5

Other targets from 5.6.4Clears its 2 advisories6.6.10Latest7.2.11
  1. 5.6.4yours
  2. 38 releases
  3. 5.9.0breaking
  4. 7 releases
  5. 5.9.8target
2+
changes to make
0
advisories fixed
24+
new
45+
fixes

Counted from 5 of 47 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking5.9.0
  • Deprecated5.7.0

Security

2 advisories still affect 5.9.8

Upgrading to 6.6.10 clears them.

Release by release

  1. 5.9.1 – 5.9.88 releases, no release note

  2. 5.9.0

    Migration needed24 Oct 20233 new · 7 fixes
    • Breaking

      core: remove some computed properties from metadata cache

    • New

      core: allow ignoring undefined values in em.find queries (#4875) (e163bfb), closes #4873

    • New

      core: create context from async orm instance (#4812) (fbf3a4d), closes #4805

    • New

      query-builder: respect EntityManager schema

  3. 5.8.1 – 5.8.1010 releases, no release note

  4. 5.8.0

    10 Sep 202315 new · 18 fixes
    • New

      cli: add --drop-db flag to migration:fresh and schema:fresh (cf1db80), closes #4569

    • New

      core: add clear option to em.transactional()

    • New

      core: add Collection.isEmpty() method

    • New

      core: add Collection.slice() method

  5. 5.7.12 – 5.7.143 releases, no release note

  6. 5.7.11

    1 Jun 20233 fixes
    • Fixed

      cli: expose missing migration:check command

    • Fixed

      core: fix change tracking of optional properties with forceUndefined (9303c3f), closes #4412

    • Fixed

      core: fix populating relations in parallel via Promise.all (#4415) (f4127a7), closes #4213 #4343

  7. 5.7.1 – 5.7.1010 releases, no release note

  8. 5.7.0

    Deprecation23 Apr 20235 new · 12 fixes
    • Deprecated

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

    • New

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

    • New

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

    • New

      migrations: add support for custom migration names

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.