@mikro-orm/sqlite
7.2.11 · 20 Nov 2026MIT347.8k / weekRepositoryHomepagenpmAtom feed
6.6.19 is the newest release of 6.x.
In short
2 new1 faster12 fixed
Release note
Bug Fixes
core: enforce selection of discriminator column when partial loading is used (80c1b5b), closes #6436
core: ensure
@Checkexpression callback works without explicit type (5aa77db), closes #6429core: ensure partial loading allows to fetch missing values (ecba90f), closes #6395
core: fix extra updates with joined strategy caused by custom types (2e1ab9a), closes #6432
core: fix querying by a composite property with shared columns (#6445) (396ee70), closes #6359
core: fix support for custom types on PKs in
em.upsert(57a4549), closes #6434core: fix type error when getting a composite PK value (2d4d2be), closes #6430
core: fix type resolution in
em.assignwith nullable properties (4f13552), closes #6426mssql: fix support for upsert on compound unique constraints (#6447) (43d1ff5), closes #6390
schema: respect schema from config in
clearDatabase()(0ab99a1), closes #6405sql: quote
raw().as()field aliasessql: respect EM schema when clearing not populated 1:m collection of wildcard entities (12223e3), closes #6387
Features
core: add
entityNameas argument for filtercondcallbackcore: improve typings for
@Entity,@Indexand@Uniquedecorators
Performance Improvements
reflection: only consider entity files instead of evaluating the whole project
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.