Packages

@mikro-orm/core

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

Upgrading @mikro-orm/core From 6.1.6 to 6.6.10

68 releases in betweennotes for 24

Other targets from 6.1.6Newest 6.x6.6.19Latest7.2.11
  1. 6.1.6yours
  2. 67 releases
  3. 6.6.10target
1+
change to make
2
advisories fixed
94+
new
221+
fixes

Counted from 24 of 68 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Deprecated6.6.2

Security

Fixes 2 advisories affecting 6.1.6

  • core: prevent prototype pollution in Utils.merge

    6.6.10

Release by release

  1. 6.6.10

    Security fix26 Mar 20263 fixes
    • Security

      core: prevent prototype pollution in Utils.merge

    • Fixed

      core: handle JSON column type conversion in em.refresh() for detached entities (e41b500), closes #7383

    • Fixed

      core: tighten query construction validation

    • Fixed

      schema: escape single quotes in enum CHECK constraints (#7397) (db19731), closes #7396 #7395

  2. 6.6.6 – 6.6.94 releases, no release note

  3. 6.6.5

    21 Jan 20261 new · 6 fixes
    • New

      core: improve formula callback to provide more information about the table and column mapping (#7105) (059bf97), closes #7102

    • Fixed

      core: always check the database when querying by PK with filters (bd44c82), closes #7084

    • Fixed

      core: ensure populate hint won't include undefined for optional relations

    • Fixed

      core: improve handling of deeply nested composite keys in em.create (8caae8f), closes #6894

    • Fixed

      core: normalize populate option in Collection.matching() for M:N relations

    • Fixed

      core: support overlapping properties with different field names in STI (badbc00), closes #5813

    • Fixed

      sql: fix populating M:N relations with pivotEntity that uses mapToPk: true (0ab55fe), closes #7107

  4. 6.6.4

    14 Jan 20267 fixes
    • Fixed

      core: do not convert custom types in em.refresh (143a4ed), closes #7073

    • Fixed

      core: fix applying filters on nested relation conditions

    • Fixed

      core: fix processing filters on to-many relations

    • Fixed

      core: respect orphanRemoval on 1:1 relations when inverse side is a PK

    • Fixed

      core: support wildcard wrap(e).populate() hints on type level

    • Fixed

      mongo: fix field name conversion when querying object embedded entities

    • Fixed

      postres: fix casting of object embedded relation properties

  5. 6.6.3

    4 Jan 20266 fixes
    • Fixed

      core: do not connect to database when calling orm.close() (79cabd7), closes #7041

    • Fixed

      core: don't reset entity identifiers when using assign on entity references

    • Fixed

      core: handle custom types properly in em.refresh

    • Fixed

      defineEntity: avoid circular type inference in meta

    • Fixed

      query-builder: do not reset schema when creating subquery for collection operators (4f4ea6d), closes #7053

    • Fixed

      schema: ensure SchemaGenerator respects skipTables option when diffing a schema

  6. 6.6.2

    Deprecation7 Dec 20252 new · 2 fixes
    • Deprecated

      core: deprecate some EM and MikroORM methods

    • New

      core: use upsert when adding items to not initialized M:N collections (#7019) (268f378), closes #6625

    • New

      core: store subscribers in Set to deduplicate them by identity (#7010) (a41c498), closes #7009

    • Fixed

      core: fix joining embedded entity with virtual property (2a76b1d), closes #7023

    • Fixed

      core: handle BigInt in Date hydration (#7003) (236b429), closes #7002

  7. 6.6.1

    25 Nov 20251 new · 5 fixes
    • New

      core: simplify processing of scalars that use simple ORM provided type classes

    • Fixed

      core: try to infer property types regardless of inferDefaultValues option

    • Fixed

      mongo: fix processing of nested lazy scalar properties (94927c6), closes #6994

    • Fixed

      mongo: respect property fieldName on index creation (#6979) (44998c0), closes #6978

    • Fixed

      mysql: ensure raw values are rehydrated after flush (9a86383), closes #6968

    • Fixed

      query-builder: do not require transaction when for LockMode.NONE (6c2a4b6), closes #6969

  8. 6.6.0

    11 Nov 20257 new · 8 fixes
    • New

      core: allow control over relation filters in entity definition (#6959) (28a7e44), closes #6457

    • New

      core: allow defining filters on nullable relations as strict (#6952) (1dae6cf), closes #6784 #6943 #6784

    • New

      core: support private properties with get/set accessors (#6967) (659ca93), closes #6932

    • New

      entity-generator: support generating defineEntity() definitions

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.