chore(deps): update mikro-orm monorepo to v6 - autoclosed #34
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:
^5.0.0->^6.0.0^5.0.0->^6.0.0^5.0.0->^6.0.0Release Notes
mikro-orm/mikro-orm (@mikro-orm/cli)
v6.1.0Compare Source
Bug Fixes
CacheAdapter.getto returnPromise<undefined>(#5200) (98ce1e5), closes #5199AutoPathin TS 5.4 (#5197) (8bbc252)wrap(e, true).__emcorrectly typed toEntityManager(35d607c)upsertManyoptions when batching (d6d1381), closes #5209convertToJSValueSQLon returning statement of update queries (2e1d6c8), closes #5176Features
onCreateandonUpdatecallback (a964aeb), closes #5201ArrayType(#5204) (42cc9cc), closes #5188loggerContextparameter toem.execute(b6d46df)6.0.7 (2024-01-30)
Bug Fixes
PrimaryKeyPropas optional properties forem.create()(69522f2), closes #5187undefinedtonulltypes inEntityDTO(d661c68), closes #5186QueryBuilder(908864c), closes #5185Features
intervaltype (659a613), closes #51816.0.6 (2024-01-29)
Bug Fixes
em.insertManyreturns array of PKs for a single item too (#5180) (0d58aaf), closes #5179EntityDTO(dc4fc6f)EntityDTOtype (1691a79)assignon object properties won't ignore changes (a360300), closes #5158qb.getSingleResult()(0e56fe1), closes #51826.0.5 (2024-01-18)
Bug Fixes
populate: ['*']fromfields: ['*'](f658376), closes #5139em.upsert/Many(3d8c242), closes #5136Reftypes with FK as PK (c8858d2), closes #51446.0.4 (2024-01-15)
Bug Fixes
Features
rawfragment in multiple keys (fc967e2), closes #51296.0.3 (2024-01-13)
Bug Fixes
orderByandpopulateOrderBy(7bf986c), closes #5110Features
Loadedwhen partially loaded (75d035d), closes #5123AutoPathandUnboxArraytypes (000c50c), closes #5124numberorstringbased on the runtime type (312f293), closes #5120forceEntityConstructor(b293789), closes #51186.0.2 (2024-01-09)
Bug Fixes
em.removewith not managed entity (88e055e), closes #5103loggingoptions inem.count(3b94bf9), closes #5085loggingoptions inem.count(481d02e), closes #5085$some/$none/$everyon nested relations (2b3bd4d), closes #5099OptandHiddentypes when used in intersection (2bd612e)Features
wrap(entity).isManaged()(5931649), closes #50826.0.1 (2024-01-08)
Note: Version bump only for package @mikro-orm/root
6.0.0 (2024-01-08)
Bug Fixes
EntitySchema(d4d5b5e).envfiles automatically (09e60f7)useDefineForClassFields(#4730) (83f24aa), closes #4216ensureDatabaseoninit(827b1f1)EntitySchematyping forrepositoryoption (37ee42e), closes #5006em.createstrictly typed for relations too (#4752) (3535cc0), closes #4748Loadedtype more flexible (c95e3b6), closes #3277Reference.set()as private (#5017) (5aebf0b), closes #5003Dateproperties (#4391) (3a80369), closes #4362 #4360 #1476@Indexand@Uniquedecorators on embeddables (#4736) (c3d7717)schemaoption in first level cache (1833455)em.insert/Many(7eae031), closes #4424em.refresh()(0bf5363)em.refresh()(55815f4)Collectioninitialization to useem.populate()(#4571) (7495142), closes #4464join onconditions forpopulateWhere(#4025) (a03e57c), closes #3871em.getKnex()(46957ba)idto_idfor embeddables and entities without serialized PK (0cee82d), closes #4960$andwith a single item (a737b20)Code Refactoring
JavaScriptMetadataProvider(4e337cb)Reference.load(prop: keyof T)signature (#5015) (32b48f7)Features
@EnsureRequestContextdecorator + rename@UseRequestContext(5e088ae), closes #4009Collection.load()method (8aa1ad1)EagerPropssymbol to respect eager props on type level (dfcf1f8)em.findAll()with optionalwhereoption (#4946) (23b0551), closes #3982FindOptions.exclude(#5024) (fe239cf)GeneratedCacheAdapterfor production usage (#4167) (bd478af), closes #4164Hiddentype as an alternative toHiddenPropssymbol (#5009) (c047bb1)HiddenPropssymbol as type-level companion forhidden: true(7984769), closes #4093MikroORM.initSync()helper (#4166) (8b1a1fa), closes #4164Opttype as an alternative toOptionalPropssymbol (#4753) (8853904)orm.checkConnection()helper (#4961) (b868f02), closes #4959ScalarRefandEntityReftypes to allow explicit control (1ef7856), closes #4907sql.now(),sql.lower()andsql.upper()functions (#5044) (016fe63)sql.ref()helper (#4402) (b695811)em.findByCursor()(#3975) (1e6825f)LoggerContextwith labeling support (#4233) (b985646), closes #4230onMetadataandafterDiscovered(#4799) (5f6c4f8)em.persist()(1b09d26), closes #4905serialization.forceObjectoption (731087d), closes #4881Type.compareValuesmethod to allow custom comparators (732307a), closes #4870CountOptionsinCollection.loadCount()(25d1851)EntitySchema(10cfd28)subscribersarray (7c8f776), closes #4231Reference.load()andCollection.load()(#5025) (06012f7), closes #4975serialization.forceObject: trueon type level (#5045) (88eb3e5)colorsORM config option (1bcaf09), closes #5037EntityManager(#5064) (6c363e7)populate: ['$infer'](#4939) (080fdbb), closes #1309--config(#3924) (2c929e0)PopulateHintenum (populateWhere) (2bd21eb)populate: ['*'](#4927) (7780f34), closes #4920Refwrapper on scalar properties (#4358) (f9c30f1)loadStrategyandflushMode(f4e4e3b)em.insert/Manystrictly typed (require all properties) (01935e6)BigIntsupport (#4719) (31a905c)mappedByoption for 1:m properties (716aa76)raw()helper (#4197) (9c1b205)ignoreFieldson type level inwrap().toObject()(15de7a0), closes #4198schemaparameter inclientUrl(#4998) (9176ee0), closes #4997Loadedtype fromRef.load()(bc3ffa9), closes #3755em.populate()when called on single entity (4c4ec23)raw()helper (#4094) (1cd0d1e), closes #3657OptionalPropsand other symbols forEntitySchema(00f0a34)order by nulls first/last(#5021) (df75b24), closes #5004schema.ensureDatabase()method to create/clear (6a12fe1)populateWhere: 'all'(#4957) (e5dbc24)$some,$noneand$everysubquery operators (#4917) (50d2265), closes #2916Performance Improvements
BREAKING CHANGES
Please see the upgrading guide.
5.9.7 (2023-12-30)
Bug Fixes
em.canPopulate()when using STI (b8fcf45), closes #50435.9.6 (2023-12-21)
Bug Fixes
assignon collections of unloaded entities (b60e4ee)5.9.5 (2023-12-15)
Bug Fixes
populate: trueandrefresh: true(#5001) (9f63378)em.upsert(a7e9a82), closes #4945@>) with object arrays (6a5a1ef), closes #49735.9.4 (2023-11-17)
Bug Fixes
mikro-orm-esmon windows (c491af9)em.findfor inlined embedded properties (759b7b8), closes #4904em.upsertMany()(85c38d4), closes #49235.9.3 (2023-11-06)
Bug Fixes
DriverExceptionfromem.upsertMany()(1ebfbdd), closes #48975.9.2 (2023-11-02)
Bug Fixes
em.counton virtual entity (03a7b86)ignoreUndefinedInQuery(cef26c5), closes #48915.9.1 (2023-10-31)
Bug Fixes
5.9.0 (2023-10-24)
Bug Fixes
convertToJSValueSQLon composite FKs too (41425cb), closes #4843columnTypefor non-inferrable types (e.g. unions withnull) (6bc116a), closes #4833qb.groupBy()(e27e4b9), closes #2929preferReadReplicasinQueryBuilder(22e140e), closes #4847Features
undefinedvalues inem.findqueries (#4875) (e163bfb), closes #4873EntityManagerschema (#4849) (5bc12a9)5.8.10 (2023-10-18)
Bug Fixes
5.8.9 (2023-10-15)
Bug Fixes
clientUrlof read replicas (015d4f4), closes #4813qb.execute()(#4825) (5a28e9b), closes #4816 #47415.8.8 (2023-10-11)
Bug Fixes
mapToPkas scalars to support custom typeConfiguration
📅 Schedule: Branch creation - "every weekday" (UTC), 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 has been generated by Mend Renovate. View repository job log here.