@mikro-orm/mysql
7.2.11 · 20 Nov 2026MIT388.9k / weekRepositoryHomepagenpmAtom feed
7.2.11 is the newest release of 7.x.
In short
1 faster13 fixed
Release note
Bug Fixes
core: apply the entity default
orderByinem.stream()andem.findOne()(#8612) (840bc49), closes #7133 #8503core: handle non-JSON query values in result cache and dataloader keys
core: include regexp and raw fragment params in result cache keys
core: respect FK
deleteRulewhen removing an entity with loaded 1:M collections (#8608) (9dff7c8), closes #8606migrations: keep table partitioning in the schema snapshot (#8601) (03f85d8), closes #7816
mongo: convert
$reinside$elemMatchand keep$rekeys in entity data (#8611) (47ca87b), closes #8599mongo: convert
$reon renamed fields, next to other operators and under$notmongo: limit inverse M:N populate per parent instead of per owner array
mssql: handle composite PK
$in/$ninwith an empty list or multiple tuplesmysql: escape and parse enum items containing quotes or commas (#8614) (cdbc0cb), closes #8554
sql: keep
$or,$andand$notin the upsert conflict condition (#8602) (19d05e4), closes #8600sql: order by a composite relation key in paginated queries and with an alias prefix
sql: quote index names in
usinghints and validateusingonem.count()
Performance Improvements
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.