Packages

@mikro-orm/core

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

Upgrading @mikro-orm/core From 5.6.16 to 5.9.8

35 releases in betweennotes for 7

Other targets from 5.6.16Clears its 2 advisories6.6.10Latest7.2.11
  1. 5.6.16yours
  2. 26 releases
  3. 5.9.0breaking
  4. 7 releases
  5. 5.9.8target
2+
changes to make
0
advisories fixed
23+
new
50+
fixes

Counted from 7 of 35 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.10

    18 Oct 20232 fixes
    • Fixed

      knex: fix populating M:N from inverse side with joined strategy

    • Fixed

      reflection: ensure complete stripping of relative paths with multiple leading slashes

  4. 5.8.2 – 5.8.98 releases, no release note

  5. 5.8.1

    12 Sep 20233 fixes
    • Fixed

      core: ensure entity is not in persist stack after em.insert/Many() is called (94eed5e), closes #4692

    • Fixed

      core: ensure merging of data to already loaded entities won't fail in some cases (f6e8204), closes #4688

    • Fixed

      core: fix merging of collections loaded via joined strategy (b4a0260), closes #4694

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

  7. 5.7.14

    27 Jul 20235 fixes
    • Fixed

      core: ensure JSON arrays are correctly handled (5327bcc), closes #4555

    • Fixed

      core: inferring JSON type based on columnType when mapping to array (96d87ba), closes #4548

    • Fixed

      entity-generator: use ref instead of wrappedReference

    • Fixed

      mongo: do not create collections for embeddable entities (0759df0), closes #4495

    • Fixed

      seeder: allow run method to return without promise

  8. 5.7.12 – 5.7.132 releases, no release note

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.