Packages

@mikro-orm/mariadb

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

Upgrading @mikro-orm/mariadb From 5.4.2 to 5.5.0

1 release in betweenevery note read

Other targets from 5.4.2Newest 5.x5.9.8Latest7.2.11
  1. 5.4.2yours
  2. 5.5.0target

Before you upgrade

Tick each one off as you go
  • Breaking5.5.0

Release by release

  1. 5.5.0

    Migration needed23 Oct 202222 new · 16 fixes
    • Breaking

      It is no longer possible to do collection.add(...items) with a generic array - it only works with a tuple. The solution is to do collection.add(items) instead, which will type check and is also more performant (no array copies).

    • New

      core: add defineConfig helper

    • New

      core: add em.refresh(entity) method

    • New

      core: add em.upsert() method (#3525) (3285cdb), closes #3515

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.