@mikro-orm/mysql
7.2.11 · 20 Nov 2026MIT388.9k / weekRepositoryHomepagenpmAtom feed
5.9.8 is the newest release of 5.x.
In short
5 new7 fixed
Release note
Bug Fixes
core: ensure correct cached value in
loadCountquery-builder: fix calling
qb.count('id', true).getCount()(a97324a), closes #3182query-builder: fix processing of custom types in explicitly aliased queries (db137a6), closes #3172
schema: do not consider autoincrement columns as primary automatically (088afdb), closes #3187
ts-morph: use module: 'node16' for reflection (024d9d9), closes #3168
Typing detection with typescript 4.7 node16
Features
core: automatically discover target embeddables and relationships
entity-generator: allow generating bidirectional relations (8b93400), closes #3181
entity-generator: allow generating identified references
knex: allow reusing existing knex client via
driverOptions(c169eda), closes #3167schema: add logging to schema comparator
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.