Packages

@mikro-orm/core

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

Upgrading @mikro-orm/core From 5.6.12 to 5.9.8

39 releases in betweennotes for 16

Other targets from 5.6.12Clears its 2 advisories6.6.10Latest7.2.11
  1. 5.6.12yours
  2. 30 releases
  3. 5.9.0breaking
  4. 7 releases
  5. 5.9.8target
3+
changes to make
0
advisories fixed
28+
new
83+
fixes

Counted from 16 of 39 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.8.4
  • Deprecated5.7.0

Security

2 advisories still affect 5.9.8

Upgrading to 6.6.10 clears them.

Release by release

  1. 5.9.2 – 5.9.87 releases, no release note

  2. 5.9.1

    31 Oct 20232 fixes
    • Fixed

      core: propagate to owning side of 1:1 relation even if not initialized (9b2c9fe), closes #4879

    • Fixed

      postgres: fix hydrating of serial properties via returning statement

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

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

  5. 5.8.9

    15 Oct 20234 fixes
    • Fixed

      core: ignore SQL convertor methods on object embeddables (92e1d6f), closes #4824

    • Fixed

      core: respect database name in clientUrl of read replicas (015d4f4), closes #4813

    • Fixed

      query-builder: merge raw join results in qb.execute() (#4825) (5a28e9b), closes #4816 #4741

    • Fixed

      schema: skip changes of enum items on enum arrays (9accdf6), closes #476

  6. 5.8.8

    11 Oct 20231 new · 3 fixes
    • New

      core: fix duplicate processing of collection items when flushing (a8a1021), closes #4807

    • Fixed

      core: do not rehydrate values provided to constructor (8ff3f65), closes #4790

    • Fixed

      core: hydrate relations with mapToPk as scalars to support custom types (4118076), closes #4803

    • Fixed

      postgres: escape array literal values containing backslash (#4797) (20179ec), closes #4796

  7. 5.8.7

    5 Oct 20235 fixes
    • Fixed

      core: ensure virtual relation properties have no effect on commit order (606d633), closes #4781

    • Fixed

      core: fix conditions in em.upsertMany with composite keys (2f58556), closes #4786

    • Fixed

      core: fix extra updates when nullable embedded properties contain FK (77ffa4f), closes #4788

    • Fixed

      core: improve handling of nullable embedded properties (eae7e38), closes #4787

    • Fixed

      schema: respect length of default value of datetime columns (cbc0c50), closes #4782

  8. 5.8.6

    2 Oct 20233 fixes
    • Fixed

      core: alias joins on non persistent properties (d70d323), closes #4773

    • Fixed

      core: respect disableContextResolution option when forking (5964e52), closes #4717 #3338

    • Fixed

      migrations: allow running migrations outside of main transaction (e0dfb0c), closes #4775

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.