@mikro-orm/mysql
7.2.11 · 20 Nov 2026MIT388.9k / weekRepositoryHomepagenpmAtom feed
5.9.8 is the newest release of 5.x.
In short
10 new8 fixed
Release note
Bug Fixes
core: do not trigger auto flush from inside flush hooks (e3f34aa), closes #3345
entity-generator: ensure stable order of generated entities
postgres: fix having non-PK serial column next to a non-serial PK (6c589b0), closes #3350
query-builder: fix
qb.insert()/update()on embeddables in inline modeschema: respect explicit
columnTypewhen comparing columns (f0a20fa), closes #3317schema: respect schema when renaming columns in postgres
sqlite: throw
ForeignKeyConstraintViolationExceptionwhere appropriate
Features
Add support for full text searches
core: add
$existsmongodb operator with SQL fallback tois not null(112f2be), closes #3295core: add
disableContextResolutionoption toem.fork()(94442f9), closes #3338core: add support for virtual entities
core: add validation when using non-discovered entities in
em.populate()core: improve autocomplete for
columnTypecore: improve autocomplete for
type,onUpdateIntegrityandonDeleteentity-generator: allow defining entities with
EntitySchemainstead of decoratorsmongo: add support for migrations in mongo driver
mongo: allow reusing mongo client via
driverOptions(df59ebf), closes #3352
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.