Packages

@mikro-orm/sqlite

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

Your version

7.2.7

4 Nov 2026Where it was published

7.2.11 is the newest release of 7.x.

In short

1 new2 faster18 fixed

Release note

Bug Fixes

  • core: don't convert a sub-query value with the property's custom type (#8574) (6843a82), closes #8572

  • core: don't treat record types as LazyRef

  • core: keep class instances by reference when merging the config (#8496) (d11862d), closes #8495

  • core: respect the entity default orderBy in em.findByCursor() (#8503) (8d789d8), closes #7133

  • core: use distinct pivot columns for M:N within one STI hierarchy

  • postgres: compare interval literals in generated expressions by value (#8585) (e19482b), closes #8482 #8481

  • postgres: keep element type modifiers when introspecting array columns (#8498) (08a55c7), closes #8497

  • postgres: map restrict violation errors to ForeignKeyConstraintViolationException

  • schema: reject combining deferMode with where on unique indexes (#8514) (1bc4d12), closes #8512

  • sql: convert driver exceptions on the QueryBuilder read path (#8584) (fa08c33), closes #8577

  • sql: emit valid SQL for $in/$nin on array columns (#8502) (2ab63ff), closes #8454

  • sql: handle $not nested under collection properties (#8471) (fee6fc5), closes #8468

  • sqlite: fail fast when an entity declares a schema that is not attached

  • sqlite: keep child rows when a migration rebuilds a table (#8510) (0a3aa8a), closes #6300 #6358

  • sqlite: read the definition of the first column when introspecting a table

  • sql: keep aliased FK columns when they match a joined relation name (#8573) (0175b57), closes #8571

  • sql: resolve inherited columns in TPT child formulas to the parent alias (#8506) (e02bb16), closes #8492

  • sql: return one primary key per row from em.insertMany (#8582) (0d3333a), closes #8575

Features

  • core: embed a query builder passed as a raw fragment param as a sub-query (#8590) (64763fd), closes #8570

Performance Improvements

  • core: avoid quadratic delete-early matching in computeChangeSets (#8580) (2de826a), closes #8579 #8579

  • core: match serializer fields and populate paths by first segment

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.