yarn @mikro-orm/core 7.2.8
v7.2.8

one hour ago

7.2.8 (2026-11-06)

Bug Fixes

  • core: apply the entity default orderBy in em.stream() and em.findOne() (#8612) (840bc49), closes #7133 #8503
  • core: handle non-JSON query values in result cache and dataloader keys (#8598) (def0462)
  • core: include regexp and raw fragment params in result cache keys (#8597) (c4d5e78)
  • core: respect FK deleteRule when removing an entity with loaded 1:M collections (#8608) (9dff7c8), closes #8606
  • migrations: keep table partitioning in the schema snapshot (#8601) (03f85d8), closes #7816
  • mongo: convert $re inside $elemMatch and keep $re keys in entity data (#8611) (47ca87b), closes #8599
  • mongo: convert $re on renamed fields, next to other operators and under $not (#8599) (885bed8)
  • mongo: limit inverse M:N populate per parent instead of per owner array (#8618) (79e817a)
  • mssql: handle composite PK $in/$nin with an empty list or multiple tuples (#8609) (badc189)
  • mysql: escape and parse enum items containing quotes or commas (#8614) (cdbc0cb), closes #8554
  • sql: keep $or, $and and $not in the upsert conflict condition (#8602) (19d05e4), closes #8600
  • sql: order by a composite relation key in paginated queries and with an alias prefix (#8610) (4b837e4)
  • sql: quote index names in using hints and validate using on em.count() (#8613) (35fe690)

Performance Improvements

  • core: propagate serialization context along the serialized path only (#8619) (7816e11), closes #8616

Don't miss a new core release

NewReleases is sending notifications on new releases.