Packages

@mikro-orm/sqlite

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

Your version

6.4.7

22 Feb 2025Where it was published

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 @Check expression callback works without explicit type (5aa77db), closes #6429

  • core: 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 #6434

  • core: fix type error when getting a composite PK value (2d4d2be), closes #6430

  • core: fix type resolution in em.assign with nullable properties (4f13552), closes #6426

  • mssql: fix support for upsert on compound unique constraints (#6447) (43d1ff5), closes #6390

  • schema: respect schema from config in clearDatabase() (0ab99a1), closes #6405

  • sql: quote raw().as() field aliases

  • sql: respect EM schema when clearing not populated 1:m collection of wildcard entities (12223e3), closes #6387

Features

  • core: add entityName as argument for filter cond callback

  • core: improve typings for @Entity, @Index and @Unique decorators

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.