Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2025

This PR contains the following updates:

Package Change Age Confidence
@mikro-orm/cli (source) ^6.4.16 -> ^6.5.9 age confidence
@mikro-orm/core (source) ^6.4.16 -> ^6.5.9 age confidence
@mikro-orm/migrations (source) ^6.4.16 -> ^6.5.9 age confidence
@mikro-orm/postgresql (source) ^6.4.16 -> ^6.5.9 age confidence

Release Notes

mikro-orm/mikro-orm (@​mikro-orm/cli)

v6.5.9

Compare Source

Bug Fixes
  • core: add some missing options to defineEntity relation builders (#​6922) (3bedcca)
  • core: ensure correct state of custom typed data after merging to existing results (5907da0), closes #​6926
  • core: fix extra updates caused by em.refresh (3d12a8b), closes #​6940
  • core: support auto-discovery of relation targets with defineEntity (a93f2e0)
  • core: support custom classes in defineEntity relation property builders (8a03eca)
  • core: update extends type in defineEntity and EntitySchema (#​6936) (589d0f3)
  • postgres: do not create non-autoincrement simple PKs twice (89e139e)

v6.5.8

Compare Source

Bug Fixes
Features
  • core: improve type-level support for composite keys with defineEntity helper (#​6912) (2d39dd0)

v6.5.7

Compare Source

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
Performance Improvements
  • optimize merging of entities to upper context after em.transactional (36bdc43), closes #​6905
  • optimize merging of entities to upper context after em.transactional (b29e88c), closes #​6890
  • optimize merging of entities to upper context after em.transactional when it's empty (b7751d5), closes #​6890

v6.5.6

Compare Source

Bug Fixes
Features

v6.5.5

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

v6.5.0

Compare Source

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
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)

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

6.4.15 (2025-05-09)

Bug Fixes
Features

6.4.14 (2025-05-05)

Bug Fixes
  • core: add support for zero count result cache (#​6600) (3a8fdff)
  • core: copy EntitySchema before processing the metadata (cbf4a7f), closes #​6540
  • core: disallow passing array items to scalar array properties in em.create and em.assign (1455027), closes #​6609
  • core: don't remove generated primary keys from entity snapshot (980e53e), closes #​6593
  • core: enforce correct runtime type when object gets inferred (6e46afa), closes #​6633
  • core: fix orderBy value type (06f1a72)
  • core: respect null as a valid cache result (#​6585) (e3bb8e4), closes #​6584
  • core: respect schema option when loading missing fields on upsert (3bd72ea), closes #​6622
  • mssql: handle mapping for order by expressions with nulls first/last (#​6618) (2cae74b)
  • query-builder: don't alias formula properties in join conditions (34d1df4), closes #​6620
Features

6.4.13 (2025-04-12)

Bug Fixes
  • core: allow passing null and undefined to ref() and respect it in return type (2708c7a)
  • core: fix entity path discovery for bun 1.2.7 (#​6564) (a749a4a)
  • core: fix type of a Record properties when mapping to EntityDTO (e4ef475)
  • core: ignore collection operators in auto-joined filter conditions (c72c8c5), closes #​6567
  • core: make populate parameter of em.populate() readonly (#​6580) (87d8c95), closes #​6579
  • core: respect owner schema when persisting M:N with wildcard entities (a53765f), closes #​6575
  • core: skip extra populate query for nullable 1:1 inverse sides (3a72ce5), closes #​6568
  • mssql: ensure formula properties are not selected twice when partial loading on a joined relation (763db15), closes #​6547
  • postgres: fix schema diffing for default and nullable of check constraint enums (#​6572) (db9b0bf), closes #​6571
  • query-builder: ignore nested relation filters when applying filters to auto-joined relations (b9ac04c), closes #​6566

6.4.12 (2025-04-06)

Bug Fixes
  • core: clean up 1:m collections when changing the m:1 value (a720927)
  • core: don't reset not selected values from existing entities (2ebc7a8), closes #​6558
  • core: fix populating m:n collection with custom types (444c130), closes #​6477
  • core: fix populating nested relations when parent entity is self referenced (285a632), closes #​6531
  • core: propagate composite FK values when inserting new entities (9506cae), closes #​6430
  • mssql: ensure date type is mapped to string instead of Date object (098d71b), closes #​6553
  • postgres: fix schema diffing on m:1 relations targeting a native enum PK (a76805e), closes #​6557
  • postgres: fix schema diffing on m:1 relations targeting a native enum PK (e059375), closes #​6557
Features

6.4.11 (2025-03-21)

Bug Fixes
  • core: fix metadata validation for polymorphic embedded properties (61bd2c3), closes #​6522
  • core: fix wildcard schema resolution on pivot tables (c43afa6), closes #​6516
  • core: respect EM schema when populating nested relations with wildcard schema (765eb69), closes #​6511
  • mongo: do not create migrations collection by default (#​6517) (154dafc)
  • mssql: fix upsert with an explicit merge array (4b57d3a), closes #​6534
  • postgres: cockroachdb may not require unmarshallArray (#​6501) (0661942)
  • sqlite: do not ensure directory exists when dbName is :memory: or URL (b0f97ed), closes #​6533

6.4.10 (2025-03-16)

Bug Fixes
Performance Improvements
  • core: fix consecutive metadata discovery taking too long because of STI (f79b64b), closes #​6509

6.4.9 (2025-03-07)

Bug Fixes

6.4.8 (2025-03-06)

Bug Fixes
  • core: do not cache internal Collection reference to EntityManager (1c07cab), closes #​6453
  • core: ensure bigint types don't produce extra updates with joined strategy (70063e0), closes #​6478
  • core: fix serialization of collections with composite entities via getIdentifiers (4effa18), closes #​6479
  • core: respect check constraints from child STI entities (8cfd6e3), closes #​6450
  • core: respect Collection property orderBy when dataloader is enabled (#​6467) (6322ce8)
  • query-builder: apply filters to auto-joined relations (#​6480) (6b1d7ee), closes #​6458
  • query-builder: do not inline PK nested in a $not query (5931d28), closes #​6452
  • query-builder: revert recent changes to composite key sharing (2bd973d), closes #​6359
Features
  • entity-generator: pass through orderBy option to the output (#​6466) (1142f40)

6.4.7 (2025-02-22)

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 (d9716d7)
  • sql: respect EM schema when clearing not populated 1:m collection of wildcard entities (12223e3), closes #​6387
Features
Performance Improvements
  • reflection: only consider entity files instead of evaluating the whole project (#​6439) (6f22fa6)

6.4.6 (2025-02-12)

Bug Fixes
Features
  • seeder: make .each() function receive index: number argument (#​6393) (8613388)
  • seeder: pass params to .definition() function as argument (#​6396) (b45db20)
  • seeder: pass params to .definition() function as argument (#​6396) (77468ee)

6.4.5 (2025-01-30)

Bug Fixes
  • core: allow querying by embedded instance with em.findAndCount (#​6370) (9e60817), closes #​6353
  • core: ensure populating Ref properties do not result in TypeError (7d34645)
  • core: fix creating new entities with composite props that share a column (68c79b2), closes #​6360
  • core: fix processing of queries for composite props that share a column (c01522d), closes [#​6359](https://redire

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 1, 2025
@renovate renovate bot force-pushed the renovate/mikro-orm branch 2 times, most recently from bebc4f5 to bfffe03 Compare October 9, 2025 08:41
@renovate renovate bot force-pushed the renovate/mikro-orm branch from bfffe03 to 38a4010 Compare October 13, 2025 08:50
@renovate renovate bot changed the title Update Mikro-ORM to ^6.5.6 Update Mikro-ORM to ^6.5.7 Oct 13, 2025
@renovate renovate bot force-pushed the renovate/mikro-orm branch from 38a4010 to bb377ab Compare October 16, 2025 08:46
@renovate renovate bot changed the title Update Mikro-ORM to ^6.5.7 Update Mikro-ORM to ^6.5.8 Oct 16, 2025
@renovate renovate bot force-pushed the renovate/mikro-orm branch from bb377ab to 5d30c82 Compare October 21, 2025 18:09
@renovate renovate bot force-pushed the renovate/mikro-orm branch from 5d30c82 to 499e064 Compare October 26, 2025 10:44
@renovate renovate bot changed the title Update Mikro-ORM to ^6.5.8 Update Mikro-ORM to ^6.5.9 Oct 26, 2025
@johnnyomair johnnyomair merged commit fe8771f into main Nov 5, 2025
4 checks passed
@johnnyomair johnnyomair deleted the renovate/mikro-orm branch November 5, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants