Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mikro-orm monorepo to v5.9.6 #251

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@mikro-orm/cli (source) 5.7.11 -> 5.9.6 age adoption passing confidence
@mikro-orm/core (source) 5.7.11 -> 5.9.6 age adoption passing confidence
@mikro-orm/migrations (source) 5.7.11 -> 5.9.6 age adoption passing confidence
@mikro-orm/mysql (source) 5.7.11 -> 5.9.6 age adoption passing confidence
@mikro-orm/reflection (source) 5.7.11 -> 5.9.6 age adoption passing confidence

Release Notes

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

v5.9.6

Compare Source

Bug Fixes
  • core: fix assign on collections of unloaded entities (b60e4ee)
  • core: fix extra updates with select-in strategy and composite FKs (c848f8c)

v5.9.5

Compare Source

Bug Fixes
  • core: ensure eager loading on deeper levels work with joined strategy (cc5f476)
  • core: fix extra updates for composite FKs that share a column (78772fb)
  • core: fix infinite loop with populate: true and refresh: true (#​5001) (9f63378)
  • core: fix returning statement hydration after em.upsert (a7e9a82), closes #​4945
  • core: respect context in virtual entity expression callback (84d42a7)
  • postgres: allow using array operators (e.g. @>) with object arrays (6a5a1ef), closes #​4973
  • schema: improve json default diffing for down migrations (5bc19ba)
  • sql: deduplicate keys in batch update queries (7de7a48)

v5.9.4

Compare Source

Bug Fixes
  • cli: support mikro-orm-esm on windows (c491af9)
  • core: fix auto-refresh detection in em.find for inlined embedded properties (759b7b8), closes #​4904
  • core: support composite PKs in em.upsertMany() (85c38d4), closes #​4923
  • mysql: improve diffing of defaults for JSON columns (d92a440), closes #​4926
  • schema: do not inherit schema for FKs if not a wildcard entity (cc7fed9), closes #​4918
  • schema: respect explicit schema in FKs to STI entities (cc19ebb), closes #​4933
  • schema: respect up migration when detecting column renaming in down migration (d5af5bd), closes #​4919

v5.9.3

Compare Source

Bug Fixes
  • core: only check the same entity type when detecting early update/delete (fef7a1b), closes #​4895
  • core: return DriverException from em.upsertMany() (1ebfbdd), closes #​4897
  • core: fix populating relations with cycles via select-in strategy (d0b35da), closes #​4899

v5.9.2

Compare Source

Bug Fixes
  • core: fix partial loading of embedded properties with joined strategy (f887e77)
  • core: ignore limit, offset and order in em.count on virtual entity (03a7b86)
  • mongo: fix support for ignoreUndefinedInQuery (cef26c5), closes #​4891

v5.9.1

Compare Source

Bug Fixes
  • core: propagate to owning side of 1:1 relation even if not initialized (9b2c9fe), closes #​4879
  • postgres: fix hydrating of serial properties via returning statement (620309c)

v5.9.0

Compare Source

Bug Fixes
  • core: apply convertToJSValueSQL on composite FKs too (41425cb), closes #​4843
  • core: clean up removed entities from relations in identity map (1e3bb0e), closes #​4863
  • core: infer property type from columnType for non-inferrable types (e.g. unions with null) (6bc116a), closes #​4833
  • core: remove some computed properties from metadata cache (eb138ad)
  • core: use write connection for fetching changes after upsert/upsertMany (#​4872) (6b444ed), closes #​4868
  • query-builder: do not alias formula expressions used in qb.groupBy() (e27e4b9), closes #​2929
  • query-builder: respect preferReadReplicas in QueryBuilder (22e140e), closes #​4847
  • serialization: run custom serializer on getters (#​4860) (e76836e), closes #​4859
Features

5.8.10 (2023-10-18)

Bug Fixes
  • knex: fix populating M:N from inverse side with joined strategy (9f82e95)
  • reflection: ensure complete stripping of relative paths with multiple leading slashes (#​4844) (8a635c7)

5.8.9 (2023-10-15)

Bug Fixes

5.8.8 (2023-10-11)

Bug Fixes
  • core: do not rehydrate values provided to constructor (8ff3f65), closes #​4790
  • core: hydrate relations with mapToPk as scalars to support custom types (4118076), closes #​4803
  • postgres: escape array literal values containing backslash (#​4797) (20179ec), closes #​4796
Performance Improvements
  • core: fix duplicate processing of collection items when flushing (a8a1021), closes #​4807

5.8.7 (2023-10-05)

Bug Fixes
  • core: ensure virtual relation properties have no effect on commit order (606d633), closes #​4781
  • core: fix conditions in em.upsertMany with composite keys (2f58556), closes #​4786
  • core: fix extra updates when nullable embedded properties contain FK (77ffa4f), closes #​4788
  • core: improve handling of nullable embedded properties (eae7e38), closes #​4787
  • schema: respect length of default value of datetime columns (cbc0c50), closes #​4782

5.8.6 (2023-10-02)

Bug Fixes

5.8.5 (2023-09-30)

Bug Fixes
  • core: allow joining a formula property (1200e5b), closes #​4759
  • core: map virtual properties that shadow a regular property from joined results (d0b3698), closes #​4764
  • core: pin all internal dependencies (f4868ed), closes #​4764
  • core: support overlapping composite FKs with different nullability (208fbaa), closes #​4478
  • mongo: fix querying object embedded JSON properties (b38a327), closes #​4755
  • reflection: detect JSON properties defined with Record or Dictionary types (62740d1), closes #​4755

5.8.4 (2023-09-27)

Bug Fixes
  • core: fix recomputing of changesets when entity has unique properties (d03afad), closes #​4749
  • query-builder: fix mapping of complex joined results with cycles (a9846dd), closes #​4741
Features

5.8.3 (2023-09-24)

Bug Fixes
  • core: do not skip cjs/mjs/cts/mts extensions during folder-based discovery (ce574a4), closes #​4727
  • core: ensure no duplicates exist in checks/indexes/hooks (fb523c8), closes #​4733
  • core: fix updating complex composite key entities via UoW (#​4739) (898dcda), closes #​4720
  • knex: allow using knex query builder as virtual entity expression (#​4740) (427cc88), closes #​4628
  • knex: hydrate nullable relations with joined strategy (8ddaa93), closes #​4675
  • mongo-migrations: fix logging of executed migrations (8ae7eeb), closes #​4698

5.8.2 (2023-09-20)

Bug Fixes
  • core: fix query processing when PK is falsy (#​4713) (3624cb7)
  • mongo-migrations: fix logging of executed migrations (2d9fc86), closes #​4698
  • query-builder: fix aliasing of joined embedded properties (24c4ece), closes #​4711
Features
  • core: allow to use .ts files as configuration without ts-node (#​4702) (bda7eca), closes #​4701
  • entity-generator: generate PrimaryKeyProp and PrimaryKeyType symbols (605446a)

5.8.1 (2023-09-12)

Bug Fixes
  • core: ensure entity is not in persist stack after em.insert/Many() is called (94eed5e), closes #​4692
  • core: ensure merging of data to already loaded entities won't fail in some cases (f6e8204), closes #​4688
  • core: fix merging of collections loaded via joined strategy (b4a0260), closes #​4694
  • core: try to fix merging of large collections loaded via joined strategy (faae84e), closes #​4694

v5.8.10

Compare Source

Bug Fixes
  • knex: fix populating M:N from inverse side with joined strategy (9f82e95)
  • reflection: ensure complete stripping of relative paths with multiple leading slashes (#​4844) (8a635c7)

v5.8.9

Compare Source

Bug Fixes

v5.8.8

Compare Source

Bug Fixes
  • core: do not rehydrate values provided to constructor (8ff3f65), closes #​4790
  • core: hydrate relations with mapToPk as scalars to support custom types (4118076), closes #​4803
  • postgres: escape array literal values containing backslash (#​4797) (20179ec), closes #​4796
Performance Improvements
  • core: fix duplicate processing of collection items when flushing (a8a1021), closes #​4807

v5.8.7

Compare Source

Bug Fixes
  • core: ensure virtual relation properties have no effect on commit order (606d633), closes #​4781
  • core: fix conditions in em.upsertMany with composite keys (2f58556), closes #​4786
  • core: fix extra updates when nullable embedded properties contain FK (77ffa4f), closes #​4788
  • core: improve handling of nullable embedded properties (eae7e38), closes #​4787
  • schema: respect length of default value of datetime columns (cbc0c50), closes #​4782

v5.8.6

Compare Source

Bug Fixes

v5.8.5

Compare Source

Bug Fixes
  • core: allow joining a formula property (1200e5b), closes #​4759
  • core: map virtual properties that shadow a regular property from joined results (d0b3698), closes #​4764
  • core: pin all internal dependencies (f4868ed), closes #​4764
  • core: support overlapping composite FKs with different nullability (208fbaa), closes #​4478
  • mongo: fix querying object embedded JSON properties (b38a327), closes #​4755
  • reflection: detect JSON properties defined with Record or Dictionary types (62740d1), closes #​4755

v5.8.4

Compare Source

Bug Fixes
  • core: fix recomputing of changesets when entity has unique properties (d03afad), closes #​4749
  • query-builder: fix mapping of complex joined results with cycles (a9846dd), closes #​4741
Features

v5.8.3

Compare Source

Bug Fixes
  • core: do not skip cjs/mjs/cts/mts extensions during folder-based discovery (ce574a4), closes #​4727
  • core: ensure no duplicates exist in checks/indexes/hooks (fb523c8), closes #​4733
  • core: fix updating complex composite key entities via UoW (#​4739) (898dcda), closes #​4720
  • knex: allow using knex query builder as virtual entity expression (#​4740) (427cc88), closes #​4628
  • knex: hydrate nullable relations with joined strategy (8ddaa93), closes #​4675
  • mongo-migrations: fix logging of executed migrations (8ae7eeb), closes #​4698

v5.8.2

Compare Source

Bug Fixes
  • core: fix query processing when PK is falsy (#​4713) (3624cb7)
  • mongo-migrations: fix logging of executed migrations (2d9fc86), closes #​4698
  • query-builder: fix aliasing of joined embedded properties (24c4ece), closes #​4711
Features
  • core: allow to use .ts files as configuration without ts-node (#​4702) (bda7eca), closes #​4701
  • entity-generator: generate PrimaryKeyProp and PrimaryKeyType symbols (605446a)

v5.8.1

Compare Source

Bug Fixes
  • core: ensure entity is not in persist stack after em.insert/Many() is called (94eed5e), closes #​4692
  • core: ensure merging of data to already loaded entities won't fail in some cases (f6e8204), closes #​4688
  • core: fix merging of collections loaded via joined strategy (b4a0260), closes #​4694
  • core: try to fix merging of large collections loaded via joined strategy (faae84e), closes #​4694

v5.8.0

Compare Source

Bug Fixes
  • core: default baseUrl value to '.' when registering ts-node (#​4680) (cc0fc5f), closes #​4679
  • core: ensure partial loading respects advanced mapped type methods (72554fd), closes #​4622
  • core: fix assigning collection items with updateNestedEntities: false (e1bfd20)
  • core: fix metadata cache for @Check() with callback signature (44d973e), closes #​4505
  • core: fix removing entity that has an inverse relation with M:1 owner property (fbed4a6), closes #​4578
  • core: ignore null values of unknown properties in assign() (a600f55), closes #​4566
  • core: map property names to column names in qb.onConflict() (e38d126), closes #​4483
  • core: remove old items from 1:m collections via set() even if not initialized (b03e165)
  • core: respect explicit schema name of pivot tables (af74491), closes #​4516
  • core: respect filters with joined loading strategy (#​4683) (847c35a), closes #​704 #​2440
  • core: support calling em.findAndCount() on virtual entities with orderBy (7f328ac), closes #​4628
  • core: support calling em.insertMany() with empty array (2f65bc8), closes #​4640
  • core: use join on conditions for populateWhere (#​4682) (99177cc), closes #​3871
  • entity-generator: respect precision and scale in numeric column type (3a52c39)
  • mysql: fix extra updates on entities with non-primary autoincrement property (5d6ebe3), closes #​4577
  • query-builder: apply join condition to the target entity in M:N relations (c78d812), closes #​4644
  • query-builder: make QBFilterQuery type more strict (755ef67)
  • schema: respect columnType on enum properties (#​4601) (0eae590)
Features
  • cli: add --drop-db flag to migration:fresh and schema:fresh (cf1db80), closes #​4569
  • core: add clear option to em.transactional() (01d1ad7)
  • core: add Collection.isEmpty() method (#​4599) (2d8d506)
  • core: add Collection.slice() method (#​4608) (7c99c37)
  • core: add Collection helpers map/filter/reduce/exists/findFirst/indexBy (3ba33ac), closes #​4592
  • core: allow disabling duplicate entities discovery validation (#​4618) (3ff0dda)
  • core: allow enabling result cache globally (5876c99), closes #​4656
  • core: allow fine-grained control over em.upsert() (#​4669) (ab0ddee), closes #​4325 #​4602
  • core: allow global config option for disableIdentityMap (ef32b14), closes #​4653
  • core: respect batchSize in em.upsertMany() (4a21c33), closes #​4421
  • entity-generator: allow skipping some tables or columns (e603108), closes #​4584
  • migrations: add Migration.getEntityManager() helper (79af75c), closes #​4605
  • mongo: support indexes on embedded properties (040896e), closes #​2129
  • sql: add readOnly option to em.begin() and em.transactional() (86bb7d4)
  • sql: allow specifying query comments (06d4d20)

5.7.14 (2023-07-27)

Bug Fixes
  • core: ensure JSON arrays are correctly handled (5327bcc), closes #​4555
  • core: inferring JSON type based on columnType when mapping to array (96d87ba), closes #​4548
  • entity-generator: use ref instead of wrappedReference (#​4559) (be02aa4)
  • mongo: do not create collections for embeddable entities (0759df0), closes #​4495
  • seeder: allow run method to return without promise (#​4541) (8012507)

5.7.13 (2023-07-16)

Bug Fixes
  • core: deprecate wrappedReference on m:1 decorator options (d7f362e)
  • core: do not fail when detecting mapped type for enum columns (b94048b), closes #​2323
  • core: fix handling shared columns in composite foreign keys (fbb6958)
  • core: fix multiple ? in fulltext fields updates (9c9915e), closes #​4484
  • core: fix updating composite key entities via flush (733cb80), closes #​4533
  • core: respect persist: false on relations (a127fff), closes #​4504
  • migrations: support reverting migrations that had extenion in the database (72df9ad), closes #​4528
  • mongo: drop migrations table when requested (278ba3a), closes #​4513
  • postgres: fix hydration of 1:1 properties when entity has version fields (474eb73), closes #​4497
  • sqlite: allow using clientUrl without a host (#​4447) (9a01bbd)
  • sqlite: fix processing queries with large parameters (48ee8c2), closes #​4526
  • sql: schema not inherited in query with relations (#​4477) (b680477), closes #​4472

5.7.12 (2023-06-10)

Bug Fixes
  • core: allow async filter callbacks in em.addFilter() on type level (308c45b)
  • core: fallback to direct property access (320c52f), closes #​4434 #​4216
  • core: fix extra updates when forceEntityConstructor enabled (41874eb), closes #​4426
  • core: fix returning clause for upsert with embeddables (#​4427) (b9682f0)
  • core: respect undefined when assigning to object properties (217ff8f), closes #​4428
  • core: respect falsy values in em.upsert (ef22b21), closes #​4420
  • mongo: allow saving self-references inside M:N properties in one flush (c1b5fc4), closes #​4431
Features

5.7.11 (2023-06-01)

Bug Fixes

5.7.10 (2023-05-23)

Bug Fixes
  • core: exclude collections from returning clause from em.upsert (e342449), closes #​4382
  • core: re-export Reference class as Ref (50eea37), closes #​4161
  • core: respect skipNull when serializing object properties/embeddables (f27ee9a), closes #​4383
Features
  • core: add meta to EventArgs to the upsert events (ed431ea)
Performance Improvements
  • core: set Collection._property early for managed entities (23ca682), closes #​4376

5.7.9 (2023-05-22)

Bug Fixes
  • core: fix mapping of results from partial loading (541c449), closes #​4377
Performance Improvements
  • core: don't double clone when merging data to exiting entity (c175652), closes #​4376

5.7.8 (2023-05-21)

Bug Fixes
  • core: ensure em.upsert returns initialized entity (#​4370) (bad0b37), closes #​4242
  • core: ensure correct number of results is logged in SQL drivers (e3cd184)
  • core: ensure strict type-checking of enum queries (8f8464a)
  • query-builder: qb.clone() shouldn't ignore groupBy and having clauses (7127ff6)
Features
  • query-builder: add qb.returning() (b5ab66b)
  • query-builder: allow partial loading via qb.(left/inner)JoinAndSelect() (22c8c84), closes #​4364

5.7.7 (2023-05-14)

Bug Fixes
  • core: deprecate @Subscriber() decorator (033b71d)
  • core: revert the const enums as they break projects with isolatedModules (

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (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.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 88b5eb2 to 2717697 Compare September 1, 2023 04:10
@renovate renovate bot changed the title Update dependency @mikro-orm/cli to v5.7.14 Update mikro-orm monorepo to v5.8.0 Sep 10, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 2717697 to 4a91498 Compare September 10, 2023 12:45
@codecov
Copy link

codecov bot commented Sep 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b42607c) 99.82% compared to head (1a173c0) 99.82%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #251   +/-   ##
========================================
  Coverage    99.82%   99.82%           
========================================
  Files          132      132           
  Lines         8637     8637           
  Branches       548      548           
========================================
  Hits          8622     8622           
  Misses          14       14           
  Partials         1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 4a91498 to 1aab4f4 Compare September 12, 2023 16:56
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.0 Update mikro-orm monorepo to v5.8.1 Sep 12, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 1aab4f4 to 9951238 Compare September 20, 2023 18:59
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.1 Update mikro-orm monorepo to v5.8.2 Sep 20, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 9951238 to 838b684 Compare September 24, 2023 16:53
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.2 Update mikro-orm monorepo to v5.8.3 Sep 24, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 838b684 to ef1a9d4 Compare September 27, 2023 22:13
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.3 Update mikro-orm monorepo to v5.8.4 Sep 27, 2023
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.4 Update mikro-orm monorepo to v5.8.5 Sep 30, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch 2 times, most recently from 885b380 to ed1f25a Compare October 2, 2023 22:45
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.5 Update mikro-orm monorepo to v5.8.6 Oct 2, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from ed1f25a to 50651ef Compare October 5, 2023 22:25
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.6 Update mikro-orm monorepo to v5.8.7 Oct 5, 2023
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.7 Update mikro-orm monorepo to v5.8.8 Oct 11, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch 2 times, most recently from 9693f0e to d8d0f51 Compare October 15, 2023 22:56
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.8 Update mikro-orm monorepo to v5.8.9 Oct 15, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from d8d0f51 to c2a23f6 Compare October 18, 2023 19:05
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.9 Update mikro-orm monorepo to v5.8.10 Oct 18, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from c2a23f6 to 1b87dac Compare October 24, 2023 21:28
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.8.10 Update mikro-orm monorepo to v5.9.0 Oct 24, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 1b87dac to c6c8111 Compare October 31, 2023 22:21
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.9.0 Update mikro-orm monorepo to v5.9.1 Oct 31, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from c6c8111 to be81c80 Compare November 2, 2023 22:51
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.9.1 Update mikro-orm monorepo to v5.9.2 Nov 2, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from be81c80 to 55e4459 Compare November 7, 2023 01:16
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.9.2 Update mikro-orm monorepo to v5.9.3 Nov 7, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 55e4459 to 7cce7c8 Compare November 17, 2023 23:23
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.9.3 Update mikro-orm monorepo to v5.9.4 Nov 17, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 7cce7c8 to 319f7b7 Compare December 15, 2023 22:59
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.9.4 Update mikro-orm monorepo to v5.9.5 Dec 16, 2023
@renovate renovate bot force-pushed the renovate/mikro-orm-monorepo branch from 319f7b7 to 1a173c0 Compare December 21, 2023 21:23
@renovate renovate bot changed the title Update mikro-orm monorepo to v5.9.5 Update mikro-orm monorepo to v5.9.6 Dec 21, 2023
@tudddorrr tudddorrr merged commit cc12c6a into develop Dec 27, 2023
5 checks passed
@tudddorrr tudddorrr deleted the renovate/mikro-orm-monorepo branch December 27, 2023 02:59
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