Packages

@mikro-orm/mysql

7.2.11 · 20 Nov 2026MIT388.9k / weekRepositoryHomepagenpmAtom feed

Upgrading @mikro-orm/mysql From 5.6.10 to 5.9.8

41 releases in betweennotes for 4

Other targets from 5.6.10Latest7.2.11
  1. 5.6.10yours
  2. 32 releases
  3. 5.9.0breaking
  4. 7 releases
  5. 5.9.8target
2+
changes to make
0
advisories fixed
23+
new
42+
fixes

Counted from 4 of 41 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

Release by release

  1. 5.9.8

    4 Feb 20245 fixes
    • Fixed

      core: do not mutate data provided to em.upsert/Many (5acb4eb), closes #5136

    • Fixed

      core: ensure em.insertMany returns array of PKs for a single item too (#5180) (b9a55e5), closes #5179

    • Fixed

      core: process upsert data to allow using entity instances in place of relations (42e3c5e), closes #5165

    • Fixed

      mongo: ensure assign on object properties won't ignore changes (bd22d7c), closes #5158

    • Fixed

      postgres: parse timestamp dates less than year 1000

  2. 5.9.1 – 5.9.77 releases, no release note

  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.1 – 5.8.1010 releases, no release note

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

  6. 5.7.1 – 5.7.1414 releases, no release note

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

  8. 5.6.11 – 5.6.166 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.