Packages

@mikro-orm/sqlite

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

Your version

4.5.10

26 Dec 2021Where it was published

In short

2 new5 faster20 fixed

Release note

Bug Fixes

  • core: allow putting not managed entities to remove stack (0edb72e), closes #2395

  • core: defer cascading of persist operation (7d18310), closes #2161

  • core: do not override internal EM instance when forking EM (fb0abf9), closes #2342

  • core: do not save entity state in merge when it's not initialized (bdd7452), closes #1927

  • core: fix assigning to object property without value (aca56e1), closes #2492

  • core: fix collection state when forceEntityConstructor is used (53d4c39), closes #2406 #2409

  • core: fix reflection of enums in babel (05dee1d), closes #2198

  • core: fix serialization of self referencing collections (fdbe4f4), closes #2059

  • core: rehydrate custom types when using metadata cache (3ea37a6), closes #2489

  • core: remove entity from its bidirectional relations after delete (c754a62), closes #2238

  • embeddables: add missing serialization options to @Embedded() (aca6d08), closes #2464

  • embeddables: ensure order of discovery does not matter for embeddables (e3f9dbc), closes #2242

  • embeddables: fix validating nullable object embeddables (d60dded), closes #2233

  • mongo: allow using pool.min/max options in mongo driver (830179d), closes #2228

  • mongo: do not use separate update queries for M:N collections if not needed (f6383a0), closes #2483

  • postgres: add extra array operators

  • reflection: relative paths not stripped completely

  • sqlite: patch dialect only once (a7fe71e), closes #2422

  • sti: fix prototype of child entity after it gets loaded (e78942a), closes #2493 #2364

  • sti: respect custom table names (b17aea9), closes #2356

  • validation: validate missing 1:m mappedBy key in factory (7ef40c0), closes #2393

  • Update mysql2 dependency to 2.3.2

Performance Improvements

  • core: define Reference properties on prototype

  • core: do not redefine Collection properties as non-enumerable (523addd), closes #2543

  • core: reuse EntityComparator on fork()

  • core: use shared memory for cycles when computing change sets (c12ff4b), closes #2379

  • core: various small performance improvements in UoW

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.