Packages

@mikro-orm/mariadb

7.2.11 · 20 Nov 2026MIT316.2k / weekRepositoryHomepagenpmAtom feed

Your version

251 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 7.x · latest line
  2. 7.2.11

    20 Nov 2026
    • core: do not replace entity methods with unknown keys in assign()

    • core: honor the per-call fail handler in ScalarReference.loadOrFail() (#8767) (3728594), closes #8758

    • core: ignore commas inside default values when reading constructor params

  3. 7.2.10

    16 Nov 2026
    • cli: resolve MIKRO_ORM_TYPE=mongo to the mongo driver

    • core: accept numeric strings in limit and offset options

    • core: do not mark refreshed m:n items with custom types as dirty (#8742) (aabaa17), closes #8739

  4. 7.2.9

    12 Nov 2026
    • cli: resolve TS loaders from the project root

    • core: accept FindOptions<T> typed options in generic find() wrappers (#8662) (932227e), closes #8655

    • core: clean up the serialization context when toObject() or serialize() throws

  5. 7.2.8

    6 Nov 2026
    • core: apply the entity default orderBy in em.stream() and em.findOne() (#8612) (840bc49), closes #7133 #8503

    • core: handle non-JSON query values in result cache and dataloader keys

    • core: include regexp and raw fragment params in result cache keys

  6. 7.2.7

    4 Nov 2026
    • 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

  7. 7.2.6

    31 Oct 2026
    • cli: report a configured TS config path skipped without TS support (#8537) (c9951e2), closes #8531

    • core: escape backslashes in string default values on the MySQL family (#8554) (a69516e), closes #8553 #8553

    • core: keep the options of property-level indexes and uniques (#8491) (c343f42), closes #8488

  8. 7.2.5

    9 Oct 2026
    • core: fix custom types and serializedName properties in em.refresh() (#8413) (7463cb2), closes #8410

    • core: hydrate STI object embeddables declared with different classes via the root (#8418) (863195c), closes #8417

    • core: keep null custom type values in upsert results (#8428) (1a7a9c0), closes #8429 #8427

  9. 7.2.4

    6 Oct 2026
    • core: check the version in batch updates (#8381) (5156bc4), closes #8380

    • core: don't infer defineEntity properties from index where and key options (#8395) (dca7734), closes #8394

    • core: match reloaded rows in upsertMany when inputs use different unique keys

  10. 7.2.3

    30 Sep 2026
    • core: detect changes to decimal strings beyond double precision (#8368) (6ba4d2b), closes high-precision

    • mssql: skip TPT child tables when reseeding identities in clear()

    • oracle: introspect primary keys so the schema diff can restore and change them

  11. 7.2.2

    28 Sep 2026
    • core: allow falsy values in concurrency checks

    • core: compare FK column for primary key conditions on polymorphic relations (#8328) (7ead234), closes #8326

    • core: do not mutate the where condition and data passed to the EntityManager (#8291) (6b42e5b), closes #8290

  12. 7.2.1

    19 Sep 2026
    • core: escape the remaining property names in generated code (#8289) (e15eb04), closes #8221

    • core: keep populated relations clean after a result cache hit (#8269) (86fd18f), closes #8268

    • mssql: map legacy ntext and image column types (#8288) (e46eddf), closes #8287

  13. 7.2.0

    7 Sep 2026
    • cli: surface the real error when a TypeScript loader fails to load

    • core: decompose nested cursor groups lexicographically

    • core: follow the platform's own null ordering in cursor pagination

  14. 7.1.15

    3 Sep 2026
    • core: apply TPT concurrency check only to the table that declares it (#8228) (9d47084), closes #8227 #8226 #8226

    • core: apply TPT version property only to the table that declares it (#8227) (8ee0365), closes #8226

    • core: escape entity property names in generated hydration/comparison code

  15. 7.1.14

    26 Aug 2026
    • core: don't double-wrap orderBy in M:N dataloader batch load (#8194) (20aa5a8), closes #8193

    • core: don't require the discriminator value when creating an STI entity (#8201) (2b0ca9b), closes #7677 #8200

    • core: evict referrers holding a removed entity in their primary key (#8205) (16d80a9), closes #8203

  16. 7.1.13

    20 Aug 2026
    • core: accept plain arrays for enum array properties in EntityData (#8167) (3812a88), closes #8166

    • core: derive FK field names from targetKey instead of composite PKs

    • core: don't overwrite existing rows with onCreate generated values in upsert (#8186) (4052f58), closes #7399

  17. 7.1.12

    17 Aug 2026
    • core: do not mutate caller-provided options in merge, create, getReference and fork (#8150) (8f3ea3f), closes #8144 #8143

    • core: do not mutate the options object provided by the caller (#8144) (bc60f44), closes #8143

    • core: use own-property checks in populate hints, canPopulate, and filter options

  18. 7.1.11

    6 Aug 2026
    • core: ignore metadata cache entries cached from a different source file (#8111) (f53ab65), closes #8107

    • core: ignore own __proto__ key when cloning objects

    • core: resolve entity metadata via class references instead of class names (#8108) (d3564bf), closes #8107

  19. 7.1.10

    4 Aug 2026
    • core: duck-type Routine.is() to survive the CJS/ESM dual-package hazard (#8094) (59df822), closes #7289 #8092

    • core: map cursor offsets based on property types

    • core: prevent hash collisions for nested composite keys

  20. 7.1.9

    30 Jul 2026
    • core: fix batch updates when the whole primary key is one relation

    • core: keep null value of embedded arrays in snapshots and hydration (#8046) (93d62bf), closes #8045

    • core: keep the fixed order column as the sole pivot PK for polymorphic M:N

  21. 7.1.8

    28 Jul 2026
    • core: convert custom types when querying composite PK via array form

    • core: don't let a partially loaded fork entity clobber the parent context

    • core: fix infinite recursion when flushing a mapToPk FK with value 0 (#8004) (f01fd6f), closes #8003

  22. 7.1.7

    17 Jul 2026
    • core: ignore special object keys in assign()

    • core: support same-named nested embeddables with different props in polymorphic embeddables (#7986) (c926fd8), closes #7983

    • mariadb: keep JSON columns as strings on mysql2 3.23+ (#7994) (0154130), closes #7981

  23. 7.1.6

    13 Jul 2026
    • core: carry merged ancestor builders so Kysely types span multi-level extends (#7939) (3c56082), closes #7938 #7938 #7938 #7937

    • core: ignore process-local metadata _id when loading from cache (#7978) (4777f9d), closes #7975

    • core: infer string for time type properties instead of any

  24. 7.1.5

    26 Jun 2026
    • cli: discovery:export casts the DriverEntityManager to the right type

    • core: apply populateOrderBy to select-in relations without leaking into M:N pivots (#7915) (03bb827), closes #7910

    • core: avoid evaluating getters when snapshotting unhydrated references (#7919) (528789b), closes #7918

  25. 7.1.4

    6 Jun 2026
    • core: allow array return in onCreate/onUpdate on embedded/scalar arrays (#7848) (b7e5232), closes #7847

    • core: avoid spurious updates for object embeddables with undeclared keys (#7823) (6b017d9), closes #7821 #7821

    • core: avoid stack overflow in IdentityMap.keys()/values() for large maps

  26. 7.1.3

    31 May 2026
    • core: emit composite unique for OneToOne across 3+ STI variants (#7806) (ae89033), closes #7805

    • core: support mapToPk scalar typing with ES decorators (#7818) (9b8b4e4), closes #7817

    • core: support onReserveConnection across SQL drivers

  27. 7.1.2

    29 May 2026
    • cli: allow discovery:export to generate an empty list of entities

    • core: avoid circular type in defineEntity index/unique where with self-referencing relations (#7784) (82ad42a), closes #7440

    • core: preserve sibling conditions next to $and/$or on relation filters

  28. 7.1.1

    22 May 2026
    • cli: skip local-dependency check under Deno (#7767) (c27c211), closes #7766

    • core: reload suppressed entities from partially-suppressed upsertMany (#7779) (36eaff3), closes #7775

    • core: skip PK collapse when composite FK doesn't align with target PK (#7765) (fce1cc6), closes #7764

  29. 7.1.0

    20 May 2026
    • core: coerce ISO date strings to Date in em.assign() (#7740) (0940a5f), closes #7737

    • core: skip M:N inverse scrub for STI siblings that can't reference the entity

    • core: treat inlined embeddables as loaded when their leaves are

  30. 7.0.17

    17 May 2026
    • core: allow local forceObject: false to override global setting (#7739) (4f5b71d), closes #7738

    • core: avoid duplicate queries when :ref populate overlaps with fields

    • core: carry user-declared STI discriminator through mergeData (#7736) (826ab28), closes #7735

  31. 7.0.16

    14 May 2026
    • core: do not propagate parent indexes to child TPT tables (#7715) (de68566), closes #7714

    • core: pass entity instance to beforeUpsert hook and propagate mutations to SQL

    • core: reset stale collections on upserted entities

  32. 7.0.15

    9 May 2026
    • core: apply array customType to scalar arrays defined via property chain (#7689) (26f8107), closes #7688

    • core: apply filters to inverse 1:1 populate joins instead of duplicating them (#7684) (895c93e), closes #7680

    • core: narrow inherited discriminator to literal value in defineEntity (#7678) (571a91e), closes #7677

  33. 7.0.14

    4 May 2026
    • core: avoid crash on STI subclass with 1:M override (#7636) (34427ff), closes #7635

    • core: drop entity from persist/remove stacks in uow.unsetIdentity() (#7639) (0b90c31), closes #7638

    • core: escape embedded quote characters in quoteIdentifier

  34. 7.0.13

    27 Apr 2026
    • cli: don't auto-register extensions on CLI-passed options (#7614) (2a4cd8a), closes #7613

    • core: allow targetKey to point at a primary key (#7626) (be4c04f), closes #7625

    • core: infer FK column from accessor name for backing-field relations

  35. 7.0.12

    23 Apr 2026
  36. 7.0.11

    16 Apr 2026

    Reading the note…

  37. 7.0.10

    10 Apr 2026

    Reading the note…

  38. 7.0.9

    6 Apr 2026

    Reading the note…

  39. 7.0.8

    1 Apr 2026

    Reading the note…

  40. 7.0.7

    31 Mar 2026

    Reading the note…

  41. 7.0.6

    26 Mar 2026

    Reading the note…

  42. 7.0.5

    23 Mar 2026

    Reading the note…

  43. 7.0.4

    20 Mar 2026

    Reading the note…

  44. 7.0.3

    18 Mar 2026

    Reading the note…

  45. 7.0.2

    14 Mar 2026

    Reading the note…

  46. 7.0.1

    11 Mar 2026

    Reading the note…

  47. 7.0.0

    11 Mar 2026
    • Removed

      seeder: remove tinyglobby dependency, add seedersList option

    • Add JSR publishing support

    • Change default loadStrategy to balanced

  48. 6.x
  49. 6.6.19

    20 Nov 2026
    • core: do not replace entity methods with unknown keys in assign() (#8773) (039b436), closes #8771

    • core: include filter params in the result cache key of queries loading relations (#8772) (ba86f48), closes #8770

    • sql: reject queries with more placeholders than parameters (#8774) (4a68331), closes #8769

  50. 6.6.18

    12 Nov 2026
    • core: allow falsy values in concurrency checks (backport to 6.x) (#8524) (28a83f8), closes #8318 #8318

    • core: detect changes to decimal strings beyond double precision (backport to 6.x) (#8566) (3a2b4f9), closes #8368 #8368

    • core: don't double-wrap orderBy in M:N dataloader batch load (backport to 6.x) (#8563) (ca7d715), closes #8193 #8194

  51. 6.6.17

    2 Oct 2026
    • core: accept plain arrays for enum array properties in EntityData (#8168) (b90c287), closes #8166

    • core: keep populated relations clean after a result cache hit (#8270) (d338572), closes #8268 #8269

    • migrations: keep the snapshot when the migrated database still matches it (30f6491), closes #7804

  52. 6.6.16

    17 Jul 2026

    Reading the note…

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.