Skip to content

fix(deps): update dependency @mikro-orm/core to v6#94

Open
danielhammerl wants to merge 1 commit into
masterfrom
renovate/major-mikro-orm-monorepo
Open

fix(deps): update dependency @mikro-orm/core to v6#94
danielhammerl wants to merge 1 commit into
masterfrom
renovate/major-mikro-orm-monorepo

Conversation

@danielhammerl

@danielhammerl danielhammerl commented Jan 8, 2024

Copy link
Copy Markdown
Member

This PR contains the following updates:

Package Type Update Change
@mikro-orm/core (source) dependencies major ^5.0.3 -> ^6.0.0

Release Notes

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

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
Features
  • migrations: allow returning promise from generateMigrationFile (af75d06), closes #​6364

6.4.4 (2025-01-23)

Bug Fixes
  • core: do not persist embeddables via em.create() (c6ed010)
  • core: fix multi insert when some values of a not-null column with default are missing (cd8f6e1)
  • core: ignore partial loading hint on JSON column when pruning relations (fbdea0a)
  • core: reduce chance of collisions of internal embedded properties (#​6354) (98ab6a2), closes #​6351
  • query-builder: process custom types in join conditions (3a6153f), closes #​6357
  • schema: fixed handling of check constraints on MariaDB before 10.5.10 (#​6352) (7d41e22), closes #​6350
Features

6.4.3 (2025-01-08)

Bug Fixes
  • entity-generator: output explicit referencedColumnNames when sharing a column in a composite foreign key (85db3c1), closes #​6323
  • entity-generator: skip bidirectional relation if target metadata doesn't exist (#​6328) (c7984fe)
  • query-builder: ignore lock mode in paginate subquery and keep it only on top level (3b7fdba)
  • schema: infer columnTypes when sharing a column in a composite foreign key (6781194), closes #​6323
  • schema: output deferrable FKs in sqlite create table statement (6bbec01)
  • schema: support unsigned for decimal and double types (d3ce313), closes #​6318
Features
  • migrations: allow configuring snapshot via env vars (59f0593), closes #​6327
  • mongo: include MikroORM version in MongoDB handshake (#​6326) (f501a91)

6.4.2 (2024-12-22)

Bug Fixes
  • core: correctly handle populate of mapToPk relations (#​6309) (61fb8f5), closes #​6265
  • core: fix cursor pagination with POJO cursor and relations (de1ae67), closes #​6308
  • core: prevent reinsertion of an entity referenced by a formula when it is removed from a collection (#​6265) (8f45243)
  • entity-generator: support multi-line comments (#​6290) (4fdb169), closes #​6286
  • query-builder: combine serialization hint from managed entities and QueryBuilder result (#​6307) (7d1a0dc)
  • query-builder: improve detection of to-many joins in qb.getCount() (4e5b18b), closes #​6291
  • reflection: fix source file detection after update to ts-morph v24 (d9716a6), closes #​6297
Features

6.4.1 (2024-12-08)

Bug Fixes
  • core: consider nested queries on JSON properties as scalars (920b019), closes #​6246
  • core: fix upserting properties with custom types (036b84d), closes #​6241
  • core: improve handling of reference wrapper inside constructor parameters (db7cb8a), closes #​6266
  • core: skip extra updates on properties with deferred constraints (85a649b), closes #​6266
  • core: support upserting entities with FK as PK when the target entity has composite PK (#​6275) (2ae9ae7), closes #​6252

v6.4.16

Compare Source

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

Compare Source

Bug Fixes
Features

v6.4.14

Compare Source

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 `

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 this update again.


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

This PR has been generated by Renovate Bot.

@danielhammerl danielhammerl force-pushed the renovate/major-mikro-orm-monorepo branch 3 times, most recently from dfc708e to 06d6c41 Compare January 20, 2024 11:17
@danielhammerl danielhammerl changed the title chore(deps): update dependency @mikro-orm/core to v6 fix(deps): update dependency @mikro-orm/core to v6 Jan 20, 2024
@danielhammerl danielhammerl force-pushed the renovate/major-mikro-orm-monorepo branch from 06d6c41 to 436d613 Compare January 24, 2024 11:24
@danielhammerl danielhammerl force-pushed the renovate/major-mikro-orm-monorepo branch from 436d613 to a10c6f9 Compare April 7, 2024 10:22
@danielhammerl danielhammerl force-pushed the renovate/major-mikro-orm-monorepo branch from a10c6f9 to 1ecbeea Compare October 26, 2024 05:41
@danielhammerl danielhammerl force-pushed the renovate/major-mikro-orm-monorepo branch from 1ecbeea to 83cb3ff Compare December 4, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant