Skip to content

Commit 8ece06d

Browse files
authored
chore(): upgrade mikro orm (medusajs#13450)
1 parent 4c1c1dd commit 8ece06d

File tree

64 files changed

+835
-699
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+835
-699
lines changed

.changeset/real-cobras-deny.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
"@medusajs/medusa": patch
3+
"@medusajs/test-utils": patch
4+
"@medusajs/api-key": patch
5+
"@medusajs/auth": patch
6+
"@medusajs/cart": patch
7+
"@medusajs/currency": patch
8+
"@medusajs/customer": patch
9+
"@medusajs/file": patch
10+
"@medusajs/fulfillment": patch
11+
"@medusajs/index": patch
12+
"@medusajs/core-flows": patch
13+
"@medusajs/framework": patch
14+
"@medusajs/modules-sdk": patch
15+
"@medusajs/orchestration": patch
16+
"@medusajs/types": patch
17+
"@medusajs/utils": patch
18+
"@medusajs/workflows-sdk": patch
19+
"create-medusa-app": patch
20+
"@medusajs/cli": patch
21+
---
22+
23+
chore(): Upgrade mikro orm 6.5.4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"resolutions": {
8585
"@redocly/cli/react": "^17.0.1",
8686
"@redocly/cli/react-dom": "^17.0.1",
87-
"pg": "8.11.3",
87+
"pg": "8.16.3",
8888
"@changesets/assemble-release-plan@^6.0.0": "patch:@changesets/assemble-release-plan@npm:^6.0.0#.yarn/patches/changesets.patch"
8989
}
9090
}

packages/cli/create-medusa-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"node-fetch": "^3.3.1",
2424
"open": "^9.1.0",
2525
"ora": "^6.3.0",
26-
"pg": "^8.11.3",
26+
"pg": "^8.16.3",
2727
"slugify": "^1.6.6",
2828
"uuid": "^9.0.0",
2929
"validator": "^13.9.0",

packages/cli/medusa-cli/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@
3232
"author": "Sebastian Rindom",
3333
"license": "MIT",
3434
"devDependencies": {
35-
"@mikro-orm/core": "6.4.3",
36-
"@mikro-orm/knex": "6.4.3",
37-
"@mikro-orm/migrations": "6.4.3",
38-
"@mikro-orm/postgresql": "6.4.3",
35+
"@mikro-orm/core": "6.5.4",
36+
"@mikro-orm/knex": "6.5.4",
37+
"@mikro-orm/migrations": "6.5.4",
38+
"@mikro-orm/postgresql": "6.5.4",
3939
"@swc/core": "^1.7.28",
4040
"@swc/jest": "^0.2.36",
4141
"@types/yargs": "^15.0.15",
4242
"awilix": "^8.0.1",
4343
"jest": "^29.7.0",
44-
"pg": "^8.13.0",
44+
"pg": "^8.16.3",
4545
"rimraf": "^5.0.1",
4646
"typescript": "^5.6.2"
4747
},
@@ -62,7 +62,7 @@
6262
"is-valid-path": "^0.1.1",
6363
"meant": "^1.0.3",
6464
"ora": "^5.4.1",
65-
"pg": "^8.11.3",
65+
"pg": "^8.16.3",
6666
"pg-god": "^1.0.12",
6767
"prompts": "^2.4.2",
6868
"resolve-cwd": "^3.0.0",
@@ -72,12 +72,12 @@
7272
"yargs": "^15.3.1"
7373
},
7474
"peerDependencies": {
75-
"@mikro-orm/core": "6.4.3",
76-
"@mikro-orm/knex": "6.4.3",
77-
"@mikro-orm/migrations": "6.4.3",
78-
"@mikro-orm/postgresql": "6.4.3",
75+
"@mikro-orm/core": "6.5.4",
76+
"@mikro-orm/knex": "6.5.4",
77+
"@mikro-orm/migrations": "6.5.4",
78+
"@mikro-orm/postgresql": "6.5.4",
7979
"awilix": "^8.0.1",
80-
"pg": "^8.13.0"
80+
"pg": "^8.16.3"
8181
},
8282
"gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808"
8383
}

packages/core/core-flows/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
"license": "MIT",
2828
"devDependencies": {
2929
"@medusajs/framework": "2.10.3",
30-
"@mikro-orm/core": "6.4.3",
31-
"@mikro-orm/knex": "6.4.3",
32-
"@mikro-orm/migrations": "6.4.3",
33-
"@mikro-orm/postgresql": "6.4.3",
30+
"@mikro-orm/core": "6.5.4",
31+
"@mikro-orm/knex": "6.5.4",
32+
"@mikro-orm/migrations": "6.5.4",
33+
"@mikro-orm/postgresql": "6.5.4",
3434
"@swc/core": "^1.7.28",
3535
"@swc/jest": "^0.2.36",
3636
"awilix": "^8.0.1",
3737
"expect-type": "^0.20.0",
3838
"jest": "^29.7.0",
39-
"pg": "^8.13.0",
39+
"pg": "^8.16.3",
4040
"rimraf": "^5.0.1",
4141
"typescript": "^5.6.2"
4242
},

packages/core/framework/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
"devDependencies": {
5757
"@aws-sdk/client-dynamodb": "^3.218.0",
5858
"@medusajs/cli": "2.10.3",
59-
"@mikro-orm/core": "6.4.3",
60-
"@mikro-orm/knex": "6.4.3",
61-
"@mikro-orm/migrations": "6.4.3",
62-
"@mikro-orm/postgresql": "6.4.3",
59+
"@mikro-orm/core": "6.5.4",
60+
"@mikro-orm/knex": "6.5.4",
61+
"@mikro-orm/migrations": "6.5.4",
62+
"@mikro-orm/postgresql": "6.5.4",
6363
"@swc/core": "^1.7.28",
6464
"@swc/jest": "^0.2.36",
6565
"@types/cors": "^2.8.17",
@@ -68,7 +68,7 @@
6868
"connect-dynamodb": "^3.0.5",
6969
"ioredis": "^5.4.1",
7070
"jest": "^29.7.0",
71-
"pg": "^8.13.0",
71+
"pg": "^8.16.3",
7272
"rimraf": "^3.0.2",
7373
"supertest": "^4.0.2",
7474
"typescript": "^5.6.2",
@@ -103,15 +103,15 @@
103103
"peerDependencies": {
104104
"@aws-sdk/client-dynamodb": "^3.218.0",
105105
"@medusajs/cli": "2.10.3",
106-
"@mikro-orm/cli": "6.4.3",
107-
"@mikro-orm/core": "6.4.3",
108-
"@mikro-orm/knex": "6.4.3",
109-
"@mikro-orm/migrations": "6.4.3",
110-
"@mikro-orm/postgresql": "6.4.3",
106+
"@mikro-orm/cli": "6.5.4",
107+
"@mikro-orm/core": "6.5.4",
108+
"@mikro-orm/knex": "6.5.4",
109+
"@mikro-orm/migrations": "6.5.4",
110+
"@mikro-orm/postgresql": "6.5.4",
111111
"awilix": "^8.0.1",
112112
"connect-dynamodb": "^3.0.5",
113113
"ioredis": "^5.4.1",
114-
"pg": "^8.13.0",
114+
"pg": "^8.16.3",
115115
"vite": "^5.4.14"
116116
},
117117
"peerDependenciesMeta": {

packages/core/js-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
"author": "Medusa",
3030
"license": "MIT",
3131
"devDependencies": {
32+
"@medusajs/types": "2.10.3",
3233
"jest": "^29.7.0",
3334
"msw": "^2.3.0",
3435
"rimraf": "^5.0.1",
3536
"typescript": "^5.6.2"
3637
},
3738
"dependencies": {
38-
"@medusajs/types": "2.10.3",
3939
"fetch-event-stream": "^0.1.5",
4040
"qs": "^6.12.1"
4141
},

packages/core/modules-sdk/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,31 @@
3131
"watch": "tsc --build --watch"
3232
},
3333
"devDependencies": {
34-
"@mikro-orm/core": "6.4.3",
35-
"@mikro-orm/knex": "6.4.3",
36-
"@mikro-orm/migrations": "6.4.3",
37-
"@mikro-orm/postgresql": "6.4.3",
34+
"@medusajs/types": "2.10.3",
35+
"@mikro-orm/core": "6.5.4",
36+
"@mikro-orm/knex": "6.5.4",
37+
"@mikro-orm/migrations": "6.5.4",
38+
"@mikro-orm/postgresql": "6.5.4",
3839
"@swc/core": "^1.7.28",
3940
"@swc/jest": "^0.2.36",
4041
"awilix": "^8.0.1",
4142
"cross-env": "^5.2.1",
4243
"jest": "^29.7.0",
43-
"pg": "^8.13.0",
44+
"pg": "^8.16.3",
4445
"rimraf": "^5.0.1",
4546
"typescript": "^5.6.2"
4647
},
4748
"dependencies": {
4849
"@medusajs/orchestration": "2.10.3",
49-
"@medusajs/types": "2.10.3",
5050
"@medusajs/utils": "2.10.3"
5151
},
5252
"peerDependencies": {
53-
"@mikro-orm/core": "6.4.3",
54-
"@mikro-orm/knex": "6.4.3",
55-
"@mikro-orm/migrations": "6.4.3",
56-
"@mikro-orm/postgresql": "6.4.3",
53+
"@mikro-orm/core": "6.5.4",
54+
"@mikro-orm/knex": "6.5.4",
55+
"@mikro-orm/migrations": "6.5.4",
56+
"@mikro-orm/postgresql": "6.5.4",
5757
"awilix": "^8.0.1",
5858
"express": "^4.21.0",
59-
"pg": "^8.13.0"
59+
"pg": "^8.16.3"
6060
}
6161
}

packages/core/modules-sdk/src/remote-query/to-remote-query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function toRemoteQuery<const TEntity extends string>(
3636
pagination?: Partial<RemoteQueryInput<TEntity>["pagination"]>
3737
context?: Record<string, any>
3838
withDeleted?: boolean
39-
strategy?: "joined" | "select-in"
39+
strategy?: "joined" | "select-in" | "balanced"
4040
},
4141
entitiesMap: Map<string, any>
4242
): RemoteQueryGraph<TEntity> {

packages/core/orchestration/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,31 +26,31 @@
2626
"author": "Medusa",
2727
"license": "MIT",
2828
"devDependencies": {
29-
"@mikro-orm/core": "6.4.3",
30-
"@mikro-orm/knex": "6.4.3",
31-
"@mikro-orm/migrations": "6.4.3",
32-
"@mikro-orm/postgresql": "6.4.3",
29+
"@medusajs/types": "2.10.3",
30+
"@mikro-orm/core": "6.5.4",
31+
"@mikro-orm/knex": "6.5.4",
32+
"@mikro-orm/migrations": "6.5.4",
33+
"@mikro-orm/postgresql": "6.5.4",
3334
"@swc/core": "^1.7.28",
3435
"@swc/jest": "^0.2.36",
3536
"awilix": "^8.0.1",
3637
"jest": "^29.7.0",
37-
"pg": "^8.13.0",
38+
"pg": "^8.16.3",
3839
"rimraf": "^5.0.1",
3940
"typescript": "^5.6.2"
4041
},
4142
"dependencies": {
42-
"@medusajs/types": "2.10.3",
4343
"@medusajs/utils": "2.10.3",
4444
"ulid": "^2.3.0"
4545
},
4646
"peerDependencies": {
47-
"@mikro-orm/core": "6.4.3",
48-
"@mikro-orm/knex": "6.4.3",
49-
"@mikro-orm/migrations": "6.4.3",
50-
"@mikro-orm/postgresql": "6.4.3",
47+
"@mikro-orm/core": "6.5.4",
48+
"@mikro-orm/knex": "6.5.4",
49+
"@mikro-orm/migrations": "6.5.4",
50+
"@mikro-orm/postgresql": "6.5.4",
5151
"awilix": "^8.0.1",
5252
"express": "^4.21.0",
53-
"pg": "^8.13.0"
53+
"pg": "^8.16.3"
5454
},
5555
"scripts": {
5656
"build": "rimraf dist && tsc --build",

0 commit comments

Comments
 (0)