yarn @mikro-orm/core 7.1.9
v7.1.9

latest release: 7.1.10-dev.0
6 hours ago

7.1.9 (2026-07-30)

Bug Fixes

  • core: fix batch updates when the whole primary key is one relation (#8065) (aeefa5e)
  • core: keep null value of embedded arrays in snapshots and hydration (#8046) (93d62bf), closes #8045
  • core: keep the fixed order column as the sole pivot PK for polymorphic M:N (#8083) (3ac8b73)
  • core: map returning values back to entities after batch update (#8056) (5895309)
  • core: support mixed STI child types in batch updates (#8057) (f6e5fd4)
  • core: support version and optimistic locking on nested composite keys (#8064) (d533e76)
  • entity-generator: correctly escape generated string literals and keys (#8048) (adf2b84)
  • entity-generator: sanitize file names taken from database metadata (#8052) (4efac39)
  • libsql: stop recycling local connections every 10 seconds (#8050) (bd2a1cf)
  • migrations: sanitize custom migration names into valid class identifiers (#8053) (20a3ae2)
  • mssql: execute create trigger in its own query batch (#8072) (5d0420e)
  • mssql: manage table and column comments via extended properties (#8076) (d579f04)
  • oracledb: bind every returned column of a multi column property (#8059) (dc17ec2)
  • oracle: keep the config user in sync with the pool after dropDatabase() (#8043) (6e1113d)
  • oracle: set the session schema when the connection user differs from dbName (#8042) (3a942d2), closes #8040
  • postgresql: don't crash the process when the server drops a connection (#8069) (66d3b1a)
  • sql: apply column comment changes in a single schema update pass (#8077) (c48a435)
  • sql: apply query cancellation strategies inside transactions (#8067) (11525e3)
  • sql: compile an empty $or to an always-false predicate (#8054) (0578108)
  • sql: emit valid SQL for negated and empty condition groups (#8060) (905286b)
  • sql: include composite FK values in the pivot row hash (#8082) (f2d5a89), closes #8078 #8078
  • sql: keep multi line comments intact when grouping schema DDL (#8079) (b74e332)
  • sql: keep multi line trigger bodies stable across schema updates (#8074) (165ff59)
  • sql: keep pivot rows distinct when the fixed order column is not unique (#8078) (63a2c83), closes #8075
  • sql: keep polymorphic pivot rows distinct when the fixed order column is not unique (#8085) (20734f7), closes #8078
  • sql: keep the original error when the rollback of a failed transaction also fails (#8068) (7663639)
  • sql: load M:N collections of owners with a nested composite PK (#8080) (d4a5a33)
  • sql: load the owner side of a polymorphic M:N pivot shared by owners of different PK arity (#8084) (6fbdcc4), closes #8081
  • sql: load the owner side of a polymorphic M:N with a composite PK owner (#8081) (a38cca5), closes #8080
  • sql: normalize implicit aggregate aliases and multi word casts (#8058) (e90c141), closes #8055
  • sql: normalize trigger bodies when generating DDL (#8063) (32da92f), closes #8061
  • sql: pass a flat PK array when persisting M:N of a composite PK owner (#8073) (f88d567)

Don't miss a new core release

NewReleases is sending notifications on new releases.