Packages

@mikro-orm/mariadb

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

Your version

7.1.0

20 May 2026Where it was published

7.2.11 is the newest release of 7.x.

In short

27 new7 fixed

Release note

mikro-orm.io/blog/mikro-orm-7-1-released

Bug Fixes

  • core: coerce ISO date strings to Date in em.assign() (#7740) (0940a5f), closes #7737

  • core: skip M:N inverse scrub for STI siblings that can't reference the entity

  • core: treat inlined embeddables as loaded when their leaves are

  • mongo: clean up inlined pivot on em.remove when owning side is populated (#7755) (4c5f03a), closes #7752

  • mongo: create collections before ensuring indexes in create()

  • mongo: throw on em.remove of inlined-pivot M:N target with uninitialized owning side (#7752) (231f84c), closes #7750

  • sql: infer scalar array properties as columns in Kysely types (#7753) (111d69d), closes #7751

  • sql: wrap raw subqueries with parens inside INSERT VALUES (#7754) (d379880), closes #7749

Features

  • cli: add discovery:export command (#7335) (e38f5c4), closes #7323 #7323

  • cli: add migration:log and migration:unlog commands (#7347) (6cf1045), closes #5390

  • cli: emit typed EntityManager alias from discovery:export

  • core: accept enum references directly in items

  • core: add discriminator option and column-name override (#7748) (5390ce8), closes #7121

  • core: add em.clone() and qb.insertFrom() for server-side row cloning (#7365) (13ca566), closes #5820

  • core: add em.countBy() for grouped counting

  • core: add fields whitelist option to serialize() (#7517) (6ea6d64), closes #7507

  • core: add initNullableProperties config option (#7554) (03a3122), closes #7551

  • core: add LazyRef<T>, Loadable mixin, and unref() escape hatch

  • core: add where option for partial indexes and unique constraints

  • core: add a chunkSize option to streams

  • core: add column-level collation support for SQL drivers (#7615) (12e3a73), closes #4286

  • core: add dataloader support for Collection.loadCount() (#7373) (120189c), closes #7372 #6425

  • core: add type-safe using option for index hints (#7375) (3337b58), closes #7175

  • core: auto-generated classes inherit from parent with defineEntity extends

  • core: expose query cancellation via AbortSignal

  • core: per-parent limiting for populated collections (#7370) (6ff01e4), closes #1059

  • core: support array option on scalar properties (#7378) (b54b756), closes #7363

  • core: support stored procedures and functions (#7693) (9bbbb8b), closes #5253

  • core: union-target polymorphic M:N relations (#7569) (dfbe1c2), closes #7564 #7564

  • migrations: add migration:rollup command (#7468) (8de2c92), closes #3633

  • migrations: support runtime schema context (#7597) (9b00229), closes #3319 #4928

  • pglite: add PGlite driver

  • postgresql: add support for table partitioning (#7497) (63d0977), closes #6944 #6944

  • schema: add database trigger support (#7379) (da4010d), closes #5053

  • sql: bind getKysely() to the current transaction context (#7701) (344be12), closes #7679

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.