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

fix(deps): update mikro-orm monorepo to v6 (major) #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@mikro-orm/cli (source) ^5.7.14 -> ^6.0.0 age adoption passing confidence
@mikro-orm/core (source) ^5.7.14 -> ^6.0.0 age adoption passing confidence
@mikro-orm/migrations (source) ^5.7.14 -> ^6.0.0 age adoption passing confidence
@mikro-orm/postgresql (source) ^5.7.14 -> ^6.0.0 age adoption passing confidence
@mikro-orm/reflection (source) ^5.7.14 -> ^6.0.0 age adoption passing confidence
@mikro-orm/seeder (source) ^5.7.14 -> ^6.0.0 age adoption passing confidence

Release Notes

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

v6.3.11

Compare Source

Bug Fixes
  • core: fix diffing of object properties (55df57f), closes #​6050
  • core: fix partial loading with * on joined strategy (1f0dbd4), closes #​6045
  • core: properly detect when Windows imports need patching (#​6035) (a6c4dea)
  • core: skip extra query when loading inverse side of 1:1 relation with a filter (ccf099f)
  • core: support atomic updates on properties with custom types (951284b), closes #​6030
  • core: support multi update on mixed STI entities (e1deb0d), closes #​6069
  • migrations: use ORM logger and respect loggerFactory (e845c26), closes #​6039
  • postgres: improve timezone handling for negative timezone offsets (52a503c)
  • postgres: set max identifier length to 63 characters (5b866fa), closes #​6042
  • schema: ensure CREATE TABLE DDL for tinyint/smallint/mediumint primary keys (#​6065) (e2738cc)
  • schema: ensure unsigned: false works for primary keys (#​6063) (f14a6b4), closes #​6057
  • schema: resolve missing auto_increment for PK in MySQL/MariaDB update DDL (#​6073) (984758f), closes #​6072
Features
Performance Improvements
  • core: reduce nesting of toPOJO() serializer (4b263f3)

v6.3.10

Compare Source

Bug Fixes
  • core: allow accessing PK props on Ref properties with partial loading (32d588d)
  • core: fix dynamic imports on Windows (#​6020) (e697ec2)
  • core: fix mapping of version properties from batch updates (ec521c9), closes #​6016 #​6022
  • core: respect context name in @EnsureRequestContext() (4574831)
  • core: support dynamic discovery via EntitySchema (3fde7d4), closes #​6026
  • migrations: support multiline strings in addSql() (#​6017) (bc14925), closes #​6015
  • mongo: support partial loading of M:N owning sides (#​6027) (e53a7d9)

v6.3.9

Compare Source

Bug Fixes
  • core: allow proper select with embedded many to many (#​5997) (8b30ae2), closes #​5992
  • core: fix expansion of array conditions to $in operator for raw values (59c627e)
  • core: fix hydration of datetime when provided a ISO string value via em.create() (2992046)
  • core: implement joined filters via populateFilter option, separately from populateWhere (#​6003) (9d0a022), closes #​5893
  • mongo: allow ordering by object embedded properties (2a9ffa3), closes #​6002
  • postgres: fix casting of JSON values when used with $in operator (840d3cd), closes #​6000
  • postgres: fix diffing vector columns without length (2f7a7fb), closes #​6008

v6.3.8

Compare Source

Bug Fixes

v6.3.7

Compare Source

Bug Fixes
  • core: don't double encode JSON properties inside object/array embeddables (f3321f9), closes #​5963
  • core: fix hydration of collections with forceEntityConstructor enabled (d4d8506), closes #​5972
  • core: provide entity instance in object constructor params for m:1/1:1 properties (fe2d129)
  • core: respect context in EM transaction methods (8912185)
  • core: respect entity level forceConstructor option (c642a49)
  • query-builder: ensure the correct order of parameters when handing nested joins (10a858d), closes #​5955
  • sql: correct cursor conditions application on virtual entities (#​5973) (fc782d3)

v6.3.6

Compare Source

Bug Fixes
  • core: ensure other conditions do not override collection operator conditions (97cdc9d)
  • core: fix hydration of polymorphic embeddables with overlapping property names (ab5c595), closes #​5935
  • postgres: do not cast json columns to text (574390b), closes #​5936
  • schema: recreate FKs when changing column type (8797c64)

v6.3.5

Compare Source

Bug Fixes
  • core: track changes on non-scalar properties (a02c727), closes #​5750
  • entity-generator: ensure columnType is emitted correctly and when necessary (#​5930) (72333ad), closes #​5928
  • entity-generator: fix the search for FK indexes to only match exact columns, not "at least" (#​5924) (05a8808), closes #​5912
  • entity-generator: unknown type defaults always use default/defaultRaw, never runtime (#​5927) (dcc8227)
  • postgres: allow string value for $overlap/$contains/$contained operators (6c1b12a)
  • postgres: detect native enums with same name but different schema (31735e5), closes #​5905
  • postgres: do not produce extra updates for fulltext properties (d18e5ed), closes #​5908
  • postgres: respect timezone option and interpret timestamp columns in UTC by default (#​5916) (1da0722), closes #​5591
  • sql: support cursor-based pagination on virtual entities (b86799c), closes #​5922
Features
  • cli: detect bun when checking for TS support (e87ebc9)
  • core: add RequestContext.enter() which uses ALS.enterWith() (dc06f60)

v6.3.4

Compare Source

Bug Fixes
  • core: adjust collection owner's serialization context when lazy-loading (#​5903) (57f234b), closes #​5559
  • core: do not convert bigints with mapping to number to string on serialization (ee24f1f), closes #​5839
  • core: fix populating lazy properties inside inlined embeddables (8d1e925), closes #​5848
  • core: merge enum items from STI entities with the same name (06fffbd), closes #​5807
  • migrations: use override keyword in TS migration files (d2f7b83), closes #​5634
  • mssql: convert tuple comparison queries to simple and/or conditions (#​5906) (c3c3519)
  • query-builder: do not return itself from qb.applyFilters() (6be2603)
  • schema: respect check constraints from base entities (22b7e97)
  • sqlite: allow tuple comparison (3caa50a)

v6.3.3

Compare Source

Bug Fixes
  • core: ensure @CreateRequestContext() works when invoked from explicit transaction (de0b515)
  • core: fix unnecessary populate query when partial loading via joined strategy (33da574), closes #​5889
  • knex: update PoolConfig interface to match what knex supports (#​5892) (eb5d4a1)
  • knex: use nested join for populateWhere condition (#​5893) (24e82c7), closes #​5872
  • query-builder: fix processing of nested condition when there is a collection in embedded field names (6bf635b), closes #​5894
  • reflection: respect outDir when finding the source file in production build (fe54d45), closes #​5536
Features

v6.3.2

Compare Source

Bug Fixes
  • core: fix cancelling orphan removal on m:1 relations (7b30844), closes #​5884
  • core: fix overriding not initialized 1:m collection without orphan removal (517108b), closes #​5883
  • reflection: fix type inference when intersecting with Opt or Hidden (951c805), closes #​5881

v6.3.1

Compare Source

Bug Fixes
  • core: always check TS config files if TS support is detected (eb100fe), closes #​5852
  • core: discover base entities first to fix detection of STI when root entity not explicitly listed (7c1976f)
  • core: fix CreateRequestContext not working with callback returning EntityManager (#​5873) (3de546d), closes 1#L132
  • mssql: do not escape charecters that don't need escaping (#​5860) (6730978), closes mikro-orm#5811
  • mssql: do not escape new line character (97919ce), closes #​5811
  • schema: skip db default inference only for polymorphic embeddables (925c69e), closes #​5847
Features

v6.3.0

Compare Source

Bug Fixes
  • cli: enforce moduleResolution: 'nodenext' for CLI context (d5d7f38), closes #​5514
  • core: allow em.transactional handler to be synchronous (#​5696) (fd56714)
  • core: allow passing null to optional properties in em.create() (df0db99), closes #​5827
  • core: ensure correct identity when upserting without primary key (cdbab12), closes #​5702
  • core: ensure correct mapping of related columns to owning entity fields for complex relations (#​5630) (302600e), closes #​5629
  • core: ensure correct mapping to native bigint in sqlite and mysql (a16b801), closes #​5737
  • core: fix auto flush mode for em.count() (62db127)
  • core: fix auto flush mode for em.findAndCount() (a572869)
  • core: fix batch update of nullable embedded arrays (c1ea284), closes #​5723
  • core: fix detection of constructor parameters with default object value (58e8c2a), closes #​5710
  • core: fix handling of pivot entities with M:N relations (fa89731), closes #​5774
  • core: fix handling of raw query key of where condition with [] on right side (1e76509), closes #​5825
  • core: fix populating entity graph with cycles (6505510)
  • core: fix processing of nullable embedded arrays (01612a1), closes #​5715
  • core: ignore existing contexts in @CreateRequestContext() (1bb4e22), closes #​5801
  • core: improve handling of JSON properties to support numeric strings in all drivers (#​5780) (fc50c5f), closes #​5773
  • core: make raw() accept readonly params (#​5832) (7f9daf7)
  • core: respect populate option in Reference.load for loaded relations (04fb826), closes #​5711
  • core: respect populateOrderBy with select-in strategy (3b83d29), closes #​5693
  • core: respect nullability of wrapped types for ScalarReference's (#​5722) (a1b8f07)
  • core: respect parent property prefix when child has prefix: false (94367b8), closes #​5642
  • core: support for TS 5.5 (2fd7359)
  • core: support overloading embedded properties (#​5784) (c57b528), closes #​2987
  • core: use NonNullable instead of the internal Defined type (8ef28c4)
  • core: use the same transaction context in em.refresh() (dd17706), closes #​5753
  • core: using EntityData<Entity, true> now works with IType (#​5810) (f339ef5)
  • entity-generator: correctly serialize string prefixes in embedded references (#​5826) (7882bca)
  • entity-generator: fix handling of primary keys that are foreign keys or enums (#​5673) (b10413f)
  • entity-generator: fixed default values for enums (#​5765) (58d914d)
  • entity-generator: generate all bidirectional relations in case of conflicts (#​5779) (af845f1), closes #​5738
  • entity-generator: include all entity options in EntitySchema definitions (#​5674) (94ef44e)
  • entity-generator: output all DB related info even for virtual properties (#​5817) (845b75c)
  • entity-generator: output entity and prop comments (#​5699) (4ef21c4)
  • entity-generator: support complex enum names and values (#​5670) (7dcb7be)
  • entity-generator: when using esmImport, FKs are now wrapped with Rel (#​5771) (c28ab16)
  • mssql: add proper support for MSSQL's native "varchar" type (#​5685) (0b514ce)
  • mssql: fix handling of non-UTC timezones (e78696c), closes #​5695
  • mssql: only escape strings and unicode strings when necessary (#​5786) (b4e0914), closes #​5811
  • mysql: fix support for older MySQL versions than v8.0.13 when reading indexes (#​5654) (3c4f665), closes #​5653
  • postgres: implement diffing support for vector type (9eadac1), closes #​5739
  • postgres: put new native enum values into the correct position (f79e3bc), closes #​5791
  • postgresql: ignore tables that use inheritance during schema diffing (#​5648) (55f452a)
  • postgres: respect empty string in enum items (c02f12e), closes #​5751
  • postgres: support enum arrays with special characters (54b30cb), closes #​5781
  • query-builder: don't use alias in more complex queries when not needed (#​5679) (ad347e7), closes #​5676
  • query-builder: interpolate raw query params early to ensure the correct binding position (9bd0fe9), closes #​5706
  • query-builder: process raw query fragments under operator value (98510a3), closes #​5724
  • query-builder: quote alias in formulas when joining virtual relations (68b64ec), closes #​5705
  • query-builder: skip inner select for properties that map to a raw query fragment during pagination (1c5154a), closes #​5709
  • schema: always prefer index/unique expression (96dff53), closes #​5668
  • schema: do not drop FKs in down migrations when they are disabled (0dcfa80), closes #​4993
  • schema: skip implicit FK index when defined explicitly by user on entity level (ff6bfdc), closes #​5725
  • sql: fix ordering by m:1 and 1:1 relations with joined strategy (28119c6)
  • sql: ignore generated columns when computing changesets (55dfbf9), closes #​5660
  • sqlite: fix altering tables via malformed temp table (#​5683) (1b9087c), closes #​5672
  • sql: rework detection of problematic batch updates and split more aggressively (b045033), closes #​5656
Features
  • cli: always check TS files regardless of useTsNode (#​5650) (7c34416)
  • core: addz Platform.getDefaultVarcharLength and optional Type.getDefaultLength (#​5749) (29dcdeb)
  • core: allow passing raw() into onConflictFields of upsert methods (#​5691) (bff90f2), closes #​5668
  • core: allow upserting without a unique value (#​5726) (75a4706)
  • core: check for ORM extensions dynamically (#​5651) (68a3c1f)
  • core: implement "character" type (DB type "char") (#​5684) (9fa5fad)
  • entity-generator: add a coreImportsPrefix option (#​5669) (b9ab69a)
  • entity-generator: added option to output pure pivot tables (#​5809) (832a626)
  • entity-generator: added the ability to add extra names to be imported (#​5797) (82696b3)
  • entity-generator: allow custom types for scalar relations (#​5435) (a8a9126)
  • entity-generator: enable the generator to dictate import specs via extraImport (#​5772) (effd9fb)
  • entity-generator: repository class reference can be added from hooks (#​5785) (44a49a9)
  • entity-generator: support adding groups through metadata hooks (#​5793) (a756271)
  • libsql: support connecting to remote turso database (#​5764) (6255a33)
  • migrations: allow initial migration to be blank if no entities are defined (#​5802) (a8f6864)
  • migrations: make --blank also generate a down migration (#​5657) (056d336)
  • postgres: allow specifying deferred mode on unique constraints (#​5537) (7672b56)
  • postgres: support on delete set null/default with subset of columns (5353e6a), closes #​5568
  • postresql: add support for varchar with unlimited length (#​5707) (c22e971)
  • query-builder: infer Loaded hint based on joinAndSelect calls (#​5482) (d18da6b)
Performance Improvements

6.2.9 (2024-05-31)

Bug Fixes
  • cli: use module: 'nodenext' when registering ts-node (#​5514) (8695524), closes #​5427
  • core: detect path from decorator for each class only once (#​5545) (9af0e38)
  • core: improve support for clientUrl with additional query parameters (1472705), closes #​5608
  • core: improve support for sharing columns in composite PK and FK (#​5623) (7190879), closes #​5622
  • core: improve validation for missing dbName when clientUrl is provided (c21359e)
  • core: respect ignoreNestedTransactions from upper context (eab4df6), closes #​5585
  • core: use explicit NoInfer type helper to support TS<5.4 (c38b366), closes #​5613
  • knex: explicitly declare all the extended drivers as optional peer dependencies (#​5647) (64045ad)
  • mssql: account for quotes in table names (#​5637) (0343609)
  • mssql: fix creating migrations due to a missing helper method (#​5644) (90e27c2), closes #​5633
  • mssql: fix creating schema for migrations table (fe1be6f), closes #​5644
  • mssql: fix ensuring the database exists on older SQL Server versions (f0a5790), closes #​5638
  • postgres: respect deferMode option in 1:1 relations (#​5641) (101c0a8)
  • reflection: detect complex runtime types and don't use them as column types (0c8a587), closes #​5601
  • reflection: support entities compiled by babel (#​5628) (26f627e), closes #​5610
  • schema: fix diffing renamed indexes and columns when the names are not lowercase (4019dc3), closes #​5617
  • sql: implement batching of M:N collection update queries (d97979b), closes #​5627
Features
  • core: allow overriding the --config argument name (8b304ab)
Performance Improvements

6.2.8 (2024-05-21)

Bug Fixes
  • cli: disable eager connection when creating the ORM instance (ef5d14a), closes #​5030
  • core: allow hydration of non persistent embedded properties (#​5579) (e8c0c3f), closes #​5578
  • core: always use root entity when computing M:N field names with STI (568e57f), closes #​5586
  • core: map embedded constructor parameters (24f3ee6)
  • postgres: support lockTableAliases with explicit schema name in config (3fdb077), closes #​5125 #​5404
  • schema: use type as columnType when no matching mapping found (cd7f85c), closes #​5587
  • sql: respect timezone when mapping joined properties to Date (7f9bb0b), closes #​5577

6.2.7 (2024-05-18)

Bug Fixes
  • core: fix ordering by joined embedded object properties (cbd7c3e), closes #​5560
  • mongo: ensure JSON values are properly diffed (577166a), closes #​5572
  • query-builder: improve handling of nested $and/$or queries (567d65a)
  • schema: revert the dbName after dropping the database (725f7e9), closes #​5583

6.2.6 (2024-05-14)

Bug Fixes
  • core: fix mapping of Date properties from bigint values (05c802b), closes #​5540
  • core: quote column name for the returning statement when using convertToJSValueSQL ([4783945](https://redirect.githu

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 is behind base branch, 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 force-pushed the renovate/major-mikro-orm-monorepo branch from f45c080 to 8d1ed2b Compare January 13, 2024 15:38
@renovate renovate bot changed the title fix(deps): Update mikro-orm monorepo to v6 (major) fix(deps): update mikro-orm monorepo to v6 (major) Jan 13, 2024
@renovate renovate bot force-pushed the renovate/major-mikro-orm-monorepo branch 26 times, most recently from 80307e7 to 94a9fc7 Compare January 15, 2024 21:40
@renovate renovate bot force-pushed the renovate/major-mikro-orm-monorepo branch 21 times, most recently from 01069f3 to dace0dd Compare February 1, 2024 07:01
@renovate renovate bot changed the title fix(deps): update mikro-orm monorepo to v6 (major) fix(deps): update mikro-orm monorepo to v6 (major) - autoclosed Feb 4, 2024
@renovate renovate bot closed this Feb 4, 2024
@renovate renovate bot deleted the renovate/major-mikro-orm-monorepo branch February 4, 2024 11:28
@renovate renovate bot restored the renovate/major-mikro-orm-monorepo branch February 4, 2024 22:20
@renovate renovate bot changed the title fix(deps): update mikro-orm monorepo to v6 (major) - autoclosed fix(deps): update mikro-orm monorepo to v6 (major) Feb 4, 2024
@renovate renovate bot reopened this Feb 4, 2024
@renovate renovate bot force-pushed the renovate/major-mikro-orm-monorepo branch from dace0dd to 3150cc7 Compare August 14, 2024 01:25
@renovate renovate bot force-pushed the renovate/major-mikro-orm-monorepo branch from 3150cc7 to 7c75e24 Compare August 28, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants