Packages

@mikro-orm/sqlite

7.2.11 · 20 Nov 2026MIT347.8k / weekRepositoryHomepagenpmAtom feed

Your version

6.4.0

11 Nov 2024Where it was published

6.6.19 is the newest release of 6.x.

In short

15 new1 faster18 fixed

Release note

mikro-orm.io/blog/mikro-orm-6-4-released

Bug Fixes

  • core: add missing getterName option (aa18e57), closes #6127

  • core: allow upserting POJO with embeddded instances (159fd4a), closes #6198

  • core: check that inverse side exists when mapping collection items via dataloader (#6149) (f580598), closes #6148

  • core: ensure decimal type that maps to number won't produce extra updates

  • core: fix double processing of custom types in em.nativeUpdate (1b39846), closes #6206

  • core: fix explicit serialization typing via wrap().serialize and BaseEntity.serialize

  • core: ignore collection properties when entity constructors are enforced

  • core: improve comparison of decimal values (66e60cb), closes #6194

  • core: improve error handling for comparing invalid dates

  • core: pass correct values to constructor for props using custom types

  • core: rename tsNode option to preferTs

  • core: revert workaround for Date properties in clone() helper (c1af3db), closes #6118

  • core: use db value for identity map key of PKs with custom type (aa1dd3c), closes #6150

  • entity-generator: output inverse sides for pure pivot tables when outputted (#6196) (e4b048b), closes #6192

  • mssql: map property names to field names when processing composite keys (cf687e8), closes #6204

  • postgres: make upsert where conditions fully qualified (b4b3cab), closes #6203

  • postgres: return all results for multi statement raw queries (adcef5f), closes #6009

  • postgres: support raw fragments in qb.distinctOn()

  • query-builder: fix detection of raw fragments in update queries with not matching field names (22b918f), closes #6177

  • query-builder: fix serialization of nested relations (3850c1e), closes #6194

Features

  • core: add @Transactional() decorator

  • core: add onQuery hook

  • core: add prefixMode option to embeddables (#6113) (5df26e1), closes #6112

  • core: allow defining multiple named configurations in one config file (#6201) (cecea34), closes #6067

  • core: improve support for sharing columns in multiple properties

  • core: schedule orphan removal on old 1:1 relations regardless of their init state (fc9a1c1), closes #5213

  • core: upsert managed entities (#6197) (a3b5e57), closes #6055

  • core: validate non-persistent relations are not composite

  • entity-generator: added support for forceUndefined being false

  • migrations: allow passing list of classes to migrationsList (#6102) (35d84ac), closes #6099

  • migrations: allow subscribing to migrator events (18a425c), closes #5763

  • mssql: add support for smalldatetime type (#6128) (998509b), closes #5904

  • query-builder: add qb.andHaving() and qb.orHaving() methods (c36d4c8), closes #5796

  • query-builder: allow joins on update queries (782e227), closes #6150

  • schema: diff foreign keys also by the constraint name (93ade9d), closes #6146

Performance Improvements

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.