Update Mikro-ORM to ^6.5.9 #1001
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.4.16->^6.5.9^6.4.16->^6.5.9^6.4.16->^6.5.9^6.4.16->^6.5.9Release Notes
mikro-orm/mikro-orm (@mikro-orm/cli)
v6.5.9Compare Source
Bug Fixes
defineEntityrelation builders (#6922) (3bedcca)em.refresh(3d12a8b), closes #6940defineEntity(a93f2e0)defineEntityrelation property builders (8a03eca)extendstype indefineEntityandEntitySchema(#6936) (589d0f3)v6.5.8Compare Source
Bug Fixes
mapToPk()and remove defaultref: trueindefineEntityhelper (#6919) (f0d4e8e)defineEntity(#6920) (aa7295e), closes /github.com/mikro-orm/mikro-orm/discussions/6865#discussioncomment-14465227onConflictFieldson JSON properties (4eab82e), closes #6900createForeignKeyConstraintproperty option (23e898b), closes #6903Features
defineEntityhelper (#6912) (2d39dd0)v6.5.7Compare Source
Bug Fixes
Opt,Hidden,ConfigandRequiredNullable(#6884) (6ce418d)autoincrementproperties withOpttype indefineEntityhelper (#6910) (e2a8ed4)idproperty overuuidproperty for default PK inference (7a9c834), closes #6865em.transactional(a3941a1), closes #6895Features
Performance Improvements
em.transactional(36bdc43), closes #6905em.transactional(b29e88c), closes #6890em.transactionalwhen it's empty (b7751d5), closes #6890v6.5.6Compare Source
Bug Fixes
defineEntityhelper (#6873) (42e7df1), closes /github.com/mikro-orm/mikro-orm/discussions/6865#discussioncomment-14483413em.refreshwill refresh detached entities too (c156e30), closes #6867Features
FileCacheAdapter(#6866) (21d364d)skipTablesandskipColumnsoptions to schema generator (#6870) (5937ab6), closes #5346v6.5.5Compare Source
Bug Fixes
IncludeCounttype argument torepo.findByCursor()(34c9630)v6.5.4Compare Source
Bug Fixes
ref()(56e441d), closes #6853v6.5.3Compare Source
Bug Fixes
em.findandem.count(ead5074), closes #6823RequiredNullablefrom@mikro-orm/core(#6836) (961ee74)em.transactionalwith composite custom type PK (0b82f43), closes #6825em.refresh()(9a7bbc3), closes #6828v6.5.2Compare Source
Bug Fixes
em.assignwithonlyOwnProperties(#6822) (099869f), closes #6813v6.5.1Compare Source
indexNameargument to index expression callback (b77c90f)v6.5.0Compare Source
Bug Fixes
nullvalues via collection operators (d7b25a7), closes #6736em.transactionalcontext propagation won't result in breaking identity map (2b608fc), closes #6764decimalandfloatproperties (#6807) (7cd8b1c), closes #6806 #6806em.refreshon nested entities with embeddables (640985c), closes #6705hydrate: falsefrom change tracking (4a6fb9b), closes #6723em.count(323ffef), closes #6666flushand others (#6777) (083a1ee), closes #6776ScalarReferenceproperties (84d20b1), closes #6793defaultfor missing values in multi insert for custom types (eae635f), closes #6727''instead of\'(4bc1c9e)primary keywith generated identity columns (382d5b3), closes #6693qb.leftJoinAndSelectwith a subquery on M:N relations (aa52abb)runtimeTypeto support correct hydration of scalar references (ff6a7ae), closes #5557ScalarRef<T>andEntityRef<T>type (6b1a349), closes #5557order byclause when ordering by a not populated relation (b8a7984), closes #6757Features
balancedloading strategy (#6787) (a7bff86), closes #6129loadOrFailtoScalarReferencewrapper (#6716) (dcff19f)RequiredNullablehelper type (#6756) (71f5153), closes 6744onCreatehooks duringem.create(#6263) (1a2cc2e)contextNamein@Transactionaldecorator (#6719) (9ce9499)Performance Improvements
em.refreshfaster for reloading large entity graphs (a44f671)6.4.16 (2025-05-30)
Bug Fixes
em.refreshis called on properties with custom types (6a6167e), closes #6674typeoption of version properties (bd31fb6)Features
6.4.15 (2025-05-09)
Bug Fixes
debugcommand (2a8bcce)populateWhere(6dd3ec7), closes #6635Features
6.4.14 (2025-05-05)
Bug Fixes
EntitySchemabefore processing the metadata (cbf4a7f), closes #6540em.createandem.assign(1455027), closes #6609objectgets inferred (6e46afa), closes #6633orderByvalue type (06f1a72)nullas a valid cache result (#6585) (e3bb8e4), closes #6584Features
6.4.13 (2025-04-12)
Bug Fixes
nullandundefinedtoref()and respect it in return type (2708c7a)Recordproperties when mapping toEntityDTO(e4ef475)populateparameter ofem.populate()readonly (#6580) (87d8c95), closes #6579defaultandnullableof check constraint enums (#6572) (db9b0bf), closes #65716.4.12 (2025-04-06)
Bug Fixes
datetype is mapped to string instead ofDateobject (098d71b), closes #6553Features
includeCountoption toem.findByCursor(#6536) (eeae0d4), closes #46266.4.11 (2025-03-21)
Bug Fixes
unmarshallArray(#6501) (0661942)dbNameis:memory:or URL (b0f97ed), closes #65336.4.10 (2025-03-16)
Bug Fixes
Performance Improvements
6.4.9 (2025-03-07)
Bug Fixes
expressioncallback (a13a8a0), closes #6481convertToDatabaseValueSQLfor missing values (63b028b), closes #6470require.extensions(#6488) (3efdcd0), closes /github.com/nodejs/node/pull/57298#issuecomment-27034307926.4.8 (2025-03-06)
Bug Fixes
Collectionreference toEntityManager(1c07cab), closes #6453getIdentifiers(4effa18), closes #6479orderBywhen dataloader is enabled (#6467) (6322ce8)$notquery (5931d28), closes #6452Features
orderByoption to the output (#6466) (1142f40)6.4.7 (2025-02-22)
Bug Fixes
@Checkexpression callback works without explicit type (5aa77db), closes #6429em.upsert(57a4549), closes #6434em.assignwith nullable properties (4f13552), closes #6426clearDatabase()(0ab99a1), closes #6405raw().as()field aliases (d9716d7)Features
entityNameas argument for filtercondcallback (#6424) (f358dbf)@Entity,@Indexand@Uniquedecorators (#6416) (833a640), closes /github.com/mikro-orm/mikro-orm/blob/a6c48fd1b436edcd2bcead74ebfec42bb65da043/packages/core/src/errors.ts#L214Performance Improvements
6.4.6 (2025-02-12)
Bug Fixes
Features
.each()function receiveindex: numberargument (#6393) (8613388).definition()function as argument (#6396) (b45db20).definition()function as argument (#6396) (77468ee)6.4.5 (2025-01-30)
Bug Fixes
em.findAndCount(#6370) (9e60817), closes #6353Refproperties do not result inTypeError(7d34645)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.
This PR was generated by Mend Renovate. View the repository job log.