+
Skip to content

Releases: mikro-orm/mikro-orm

v6.5.7

06 Oct 19:05
Compare
Choose a tag to compare

6.5.7 (2025-10-06)

Bug Fixes

  • core: enhance branded type definitions for Opt, Hidden, Config and RequiredNullable (#6884) (6ce418d)
  • core: ensure nullable ScalarReference properties are loaded as initialized ScalarReference instances (#6902) (51feb3b), closes #6885
  • core: mark autoincrement properties with Opt type in defineEntity helper (#6910) (e2a8ed4)
  • core: prefer id property over uuid property for default PK inference (7a9c834), closes #6865
  • core: skip entity validation when propagating to upper context in em.transactional (a3941a1), closes #6895
  • query-builder: expand embeddable fields on select (#6896) (6b76f60)
  • query-builder: support embedded fields in join conditions (#6897) (409e0ef), closes #6883

Features

  • mongo: implement optimistic locking support for version properties (#6887) (591fb43), closes #3612

Performance Improvements

v6.5.6

25 Sep 06:58
Compare
Choose a tag to compare

6.5.6 (2025-09-25)

Bug Fixes

  • core: account for nullability when applying default value (#6880) (9763275), closes #6879
  • core: enhance type of bigint, array, decimal properties when using defineEntity helper (#6873) (42e7df1)
  • core: ensure em.refresh will refresh detached entities too (c156e30), closes #6867
  • core: prevent stack overflow errors when populating relations on lots of entities with select-in strategy (#6874) (d5c23c7)

Features

  • core: allow sha256 hashing in FileCacheAdapter (#6866) (21d364d)
  • schema: add skipTables and skipColumns options to schema generator (#6870) (5937ab6), closes #5346

v6.5.5

21 Sep 08:42
Compare
Choose a tag to compare

6.5.5 (2025-09-21)

Bug Fixes

  • core: add missing IncludeCount type argument to repo.findByCursor() (34c9630)
  • core: correctly diff nullable properties between undefined and null (#6864) (c30d1c9)
  • core: skip mapping undeclared columns that match a different property name (#6860) (b29527e), closes #6861
  • schema: improve diffing of generated columns (9a59ba6), closes #6858

v6.5.4

17 Sep 20:39
Compare
Choose a tag to compare

6.5.4 (2025-09-17)

Bug Fixes

  • core: initialize collection properties after flushing an entity reference (83ca9c1), closes #6855
  • core: support inference of default value from property initializer with ref() (56e441d), closes #6853
  • query-builder: fix aliasing of 1:1 inverse side when used in a filter nested inside M:N relation (61969f6), closes #6851

v6.5.3

13 Sep 09:00
Compare
Choose a tag to compare

6.5.3 (2025-09-13)

Bug Fixes

  • core: align implementation of filters in em.find and em.count (ead5074), closes #6823
  • core: export RequiredNullable from @mikro-orm/core (#6836) (961ee74)
  • core: fix propagation from em.transactional with composite custom type PK (0b82f43), closes #6825
  • core: include hidden properties when refreshing via em.refresh() (9a7bbc3), closes #6828
  • query-builder: properly wrap composite keys in join conditions (#6831) (b720ca5), closes #6830
  • query-builder: skip branching on to-one joins (#6826) (65812c4), closes #6824

v6.5.2

02 Sep 19:20
Compare
Choose a tag to compare

6.5.2 (2025-09-02)

Bug Fixes

  • core: process owning sides of M:N relations in em.assign with onlyOwnProperties (#6822) (099869f), closes #6813
  • migrations: improve extraction of Migration class (2dacc4b), closes #6817
  • query-builder: fix aliasing of conditions targeting a nested composite FK (b159342), closes #6819
  • query-builder: fix join conditions targeting a composite FK (3f88e9b), closes #6819
  • query-builder: fix processing deeply nested joins (d033729), closes #6818
  • query-builder: hydrate lazy properties regardless of populate hint (8b45281)

v6.5.1

27 Aug 16:41
Compare
Choose a tag to compare

6.5.1 (2025-08-27)

  • core: add indexName argument to index expression callback (b77c90f)

v6.5.0

27 Aug 16:16
Compare
Choose a tag to compare

6.5.0 (2025-08-27)

https://mikro-orm.io/blog/mikro-orm-6-5-released

Bug Fixes

  • core: allow querying embeddables for null values via collection operators (d7b25a7), closes #6736
  • core: do not fail version mismatch checks when getting the current version fails (086d767), closes #6765
  • core: do not propagate changes to collections when partially loaded (7068b35), closes #6732 #6734
  • core: ensure em.transactional context propagation won't result in breaking identity map (2b608fc), closes #6764
  • core: ensure correct runtime value of decimal and float properties (#6807) (7cd8b1c), closes #6806 #6806
  • core: fix extra updates after em.refresh on nested entities with embeddables (640985c), closes #6705
  • core: fix fetching of autoincrement PK when upserting without a unique value (0dccac7), closes #6755
  • core: fix hydration with select-in strategy and PKs with custom types (#6808) (4770462), closes #6726
  • core: fix querying by a nested FK as PK (c2c5bfd)
  • core: hydrate persisted getters without setters unless explicitly disabled (459329a), closes #6723
  • core: ignore properties with hydrate: false from change tracking (4a6fb9b), closes #6723
  • core: improve detection of empty flush (6debac9)
  • core: respect joined filters in em.count (323ffef), closes #6666
  • core: respect logger context in queries from flush and others (#6777) (083a1ee), closes #6776
  • core: support cursor based pagination with ScalarReference properties (84d20b1), closes #6793
  • core: use default for missing values in multi insert for custom types (eae635f), closes #6727
  • postgres: quote string array values with '' instead of \' (4bc1c9e)
  • postgres: support primary key with generated identity columns (382d5b3), closes #6693
  • query-builder: fix qb.leftJoinAndSelect with a subquery on M:N relations (aa52abb)
  • query-builder: fix hydrating 1:1 inverse side via joined strategy (d48359c)
  • query-builder: support group operators inside join conditions (#6796) (efe5a56), closes #6795
  • reflection: unwrap runtimeType to support correct hydration of scalar references (ff6a7ae), closes #5557
  • reflection: unwrap ScalarRef<T> and EntityRef<T> type (6b1a349), closes #5557
  • schema: properly handle array defaults in mysql (#6703) (534193c), closes #6688
  • sql: correctly handle lazy scalar properties with custom types (#6715) (c8add75)
  • sql: fix computing order by clause when ordering by a not populated relation (b8a7984), closes #6757

Features

  • core: add balanced loading strategy (#6787) (a7bff86), closes #6129
  • core: add loadOrFail to ScalarReference wrapper (#6716) (dcff19f)
  • core: add RequiredNullable helper type (#6756) (71f5153), closes 6744
  • core: add comprehensive transaction propagation support (#6802) (19ebac4), closes #6788
  • core: allow defining entities with inferred interfaces (#6253) (1e6961a), closes #6242
  • core: allow triggering onCreate hooks during em.create (#6263) (1a2cc2e)
  • core: support contextName in @Transactional decorator (#6719) (9ce9499)
  • schema: allow disabling foreign key constraint creation, per relation (#6702) (79e6cb0), closes 2548
  • schema: allow wilcard-schema friendly index expression (#6706) (688043a), closes #6446
  • sql: refactor handling of filters on relations (2d1b889), closes #6760 #6784

Performance Improvements

  • core: make em.refresh faster for reloading large entity graphs (a44f671)
  • sql: speed up hydration of large to-many collections with joined strategy (#6801) (5faf30c)

v6.4.16

30 May 08:07
Compare
Choose a tag to compare

6.4.16 (2025-05-30)

Bug Fixes

  • core: fix extra updates after em.refresh is called on properties with custom types (6a6167e), closes #6674
  • core: fix implicit serialization when multiple populate hints are present (dbf8f3c), closes #6658
  • core: support custom types in type option of version properties (bd31fb6)
  • core: unlink old 1:1 relation on the owning side when changing inverse side (2f292cc), closes #6655
  • core: use explicit dataloader for M:N properties (6372e4c), closes #6665

Features

  • mssql: allow inserting when triggers are present in mssql tables (#6662) (efafb9b)
  • query-builder: validate wrong group operator position on scalar properties (0f5ce3d), closes #6684

v6.4.15

09 May 09:35
Compare
Choose a tag to compare

6.4.15 (2025-05-09)

Bug Fixes

  • cli: improve detection of dependency versions for debug command (2a8bcce)
  • core: support dataloader for M:N without inverse side (#6053) (c319f1c), closes #6031 #6502 #6503
  • postgres: don't lowercase native enum labels when schema diffing (469ff02), closes #6643
  • query-builder: fix missing alias when joining relations via populateWhere (6dd3ec7), closes #6635

Features

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载