diff --git a/CHANGELOG.md b/CHANGELOG.md index c6e3491f9a..fe725a5473 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +## 2.1.3 (2023-11-17) + + +#### Fixes + +* **admin-ui** Fix getting currencyCode in create product variant dialog (#2508) ([c4595e7](https://github.com/vendure-ecommerce/vendure/commit/c4595e7)), closes [#2508](https://github.com/vendure-ecommerce/vendure/issues/2508) +* **admin-ui** Fix handling of Country custom fields ([3538bee](https://github.com/vendure-ecommerce/vendure/commit/3538bee)) +* **admin-ui** Fix promotion list actionbar location id ([18a0b2c](https://github.com/vendure-ecommerce/vendure/commit/18a0b2c)) +* **admin-ui** Prevent module constructor side effects from repeating ([a684b59](https://github.com/vendure-ecommerce/vendure/commit/a684b59)), closes [#2455](https://github.com/vendure-ecommerce/vendure/issues/2455) +* **admin-ui** Update channel switcher after deleting channel ([32f592d](https://github.com/vendure-ecommerce/vendure/commit/32f592d)), closes [#2511](https://github.com/vendure-ecommerce/vendure/issues/2511) +* **core** Add constraints to Channel currencyCode settings ([0ebf0fb](https://github.com/vendure-ecommerce/vendure/commit/0ebf0fb)), closes [#GHSA-wm63-7627-ch33](https://github.com/vendure-ecommerce/vendure/issues/GHSA-wm63-7627-ch33) +* **core** Allow case-sensitive Administrator identifiers ([6527e23](https://github.com/vendure-ecommerce/vendure/commit/6527e23)), closes [#2485](https://github.com/vendure-ecommerce/vendure/issues/2485) +* **core** Apply pricing adjustments against updated order (#2512) ([272be66](https://github.com/vendure-ecommerce/vendure/commit/272be66)), closes [#2512](https://github.com/vendure-ecommerce/vendure/issues/2512) +* **core** Correctly handle changing Order currencyCode ([f544cf3](https://github.com/vendure-ecommerce/vendure/commit/f544cf3)), closes [#2469](https://github.com/vendure-ecommerce/vendure/issues/2469) [#GHSA-wm63-7627-ch33](https://github.com/vendure-ecommerce/vendure/issues/GHSA-wm63-7627-ch33) +* **core** Fix default currencyCode change error in MySQL ([38e739a](https://github.com/vendure-ecommerce/vendure/commit/38e739a)) +* **core** Fix validation of fulfillment state config ([cb13de4](https://github.com/vendure-ecommerce/vendure/commit/cb13de4)) +* **core** Improved validation of state machine configs ([b44cc88](https://github.com/vendure-ecommerce/vendure/commit/b44cc88)), closes [#2521](https://github.com/vendure-ecommerce/vendure/issues/2521) +* **core** Prevent duplicate variant price when updating currencyCode ([feecfae](https://github.com/vendure-ecommerce/vendure/commit/feecfae)), closes [#2391](https://github.com/vendure-ecommerce/vendure/issues/2391) +* **core** Prevent use of unrecognized currency codes in RequestContext ([fee503f](https://github.com/vendure-ecommerce/vendure/commit/fee503f)), closes [#GHSA-wm63-7627-ch33](https://github.com/vendure-ecommerce/vendure/issues/GHSA-wm63-7627-ch33) +* **core** Remove insecure fallback from default price selection strat ([6f34d06](https://github.com/vendure-ecommerce/vendure/commit/6f34d06)), closes [#GHSA-wm63-7627-ch33](https://github.com/vendure-ecommerce/vendure/issues/GHSA-wm63-7627-ch33) +* **payments-plugin** Update Stripe peerDependency version ([6926638](https://github.com/vendure-ecommerce/vendure/commit/6926638)) +* **testing** Allow NestJs to rethrow errors on e2e tests (#2514) ([1348ce0](https://github.com/vendure-ecommerce/vendure/commit/1348ce0)), closes [#2514](https://github.com/vendure-ecommerce/vendure/issues/2514) + ## 2.1.2 (2023-11-03) diff --git a/lerna.json b/lerna.json index 20b1f7a742..f8495c408b 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "packages": ["packages/*"], - "version": "2.1.2", + "version": "2.1.3", "npmClient": "yarn", "command": { "version": { diff --git a/packages/admin-ui-plugin/package.json b/packages/admin-ui-plugin/package.json index 9c7d183e3a..7dc0715c8e 100644 --- a/packages/admin-ui-plugin/package.json +++ b/packages/admin-ui-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/admin-ui-plugin", - "version": "2.1.2", + "version": "2.1.3", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ @@ -21,8 +21,8 @@ "devDependencies": { "@types/express": "^4.17.8", "@types/fs-extra": "^9.0.1", - "@vendure/common": "^2.1.2", - "@vendure/core": "^2.1.2", + "@vendure/common": "^2.1.3", + "@vendure/core": "^2.1.3", "express": "^4.17.1", "rimraf": "^3.0.2", "typescript": "4.9.5" diff --git a/packages/admin-ui/package-lock.json b/packages/admin-ui/package-lock.json index 77ee6a113e..d2476b7260 100644 --- a/packages/admin-ui/package-lock.json +++ b/packages/admin-ui/package-lock.json @@ -1,6 +1,6 @@ { "name": "@vendure/admin-ui", - "version": "2.1.2", + "version": "2.1.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/admin-ui/package.json b/packages/admin-ui/package.json index da2f91a6da..236e5858c2 100644 --- a/packages/admin-ui/package.json +++ b/packages/admin-ui/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/admin-ui", - "version": "2.1.2", + "version": "2.1.3", "license": "MIT", "scripts": { "ng": "ng", @@ -49,7 +49,7 @@ "@ng-select/ng-select": "^11.1.1", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", - "@vendure/common": "^2.1.2", + "@vendure/common": "^2.1.3", "@webcomponents/custom-elements": "^1.6.0", "apollo-angular": "^5.0.0", "apollo-upload-client": "^17.0.0", diff --git a/packages/admin-ui/src/lib/core/src/common/version.ts b/packages/admin-ui/src/lib/core/src/common/version.ts index cbd7877ed7..faca0350d9 100644 --- a/packages/admin-ui/src/lib/core/src/common/version.ts +++ b/packages/admin-ui/src/lib/core/src/common/version.ts @@ -1,2 +1,2 @@ // Auto-generated by the set-version.js script. -export const ADMIN_UI_VERSION = '2.1.2'; +export const ADMIN_UI_VERSION = '2.1.3'; diff --git a/packages/asset-server-plugin/package.json b/packages/asset-server-plugin/package.json index 3931dc4ccb..6b56735258 100644 --- a/packages/asset-server-plugin/package.json +++ b/packages/asset-server-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/asset-server-plugin", - "version": "2.1.2", + "version": "2.1.3", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ @@ -27,8 +27,8 @@ "@types/fs-extra": "^11.0.1", "@types/node-fetch": "^2.5.8", "@types/sharp": "^0.30.4", - "@vendure/common": "^2.1.2", - "@vendure/core": "^2.1.2", + "@vendure/common": "^2.1.3", + "@vendure/core": "^2.1.3", "express": "^4.17.1", "node-fetch": "^2.6.7", "rimraf": "^3.0.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index 0b5340b0c3..57f9186d99 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/cli", - "version": "2.1.2", + "version": "2.1.3", "description": "A modern, headless ecommerce framework", "repository": { "type": "git", @@ -34,7 +34,7 @@ ], "dependencies": { "@clack/prompts": "^0.7.0", - "@vendure/common": "^2.1.2", + "@vendure/common": "^2.1.3", "change-case": "^4.1.2", "commander": "^11.0.0", "fs-extra": "^11.1.1", diff --git a/packages/common/package.json b/packages/common/package.json index e0dfba5d3d..9753924532 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/common", - "version": "2.1.2", + "version": "2.1.3", "main": "index.js", "license": "MIT", "scripts": { diff --git a/packages/core/package.json b/packages/core/package.json index b3086826c4..5d9deae6dc 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/core", - "version": "2.1.2", + "version": "2.1.3", "description": "A modern, headless ecommerce framework", "repository": { "type": "git", @@ -50,7 +50,7 @@ "@nestjs/testing": "10.2.1", "@nestjs/typeorm": "10.0.0", "@types/fs-extra": "^9.0.1", - "@vendure/common": "^2.1.2", + "@vendure/common": "^2.1.3", "bcrypt": "^5.1.1", "body-parser": "^1.20.2", "chalk": "^4.1.2", diff --git a/packages/create/package.json b/packages/create/package.json index a4dcb67923..449bb2e7e8 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/create", - "version": "2.1.2", + "version": "2.1.3", "license": "MIT", "bin": { "create": "./index.js" @@ -28,14 +28,14 @@ "@types/fs-extra": "^9.0.1", "@types/handlebars": "^4.1.0", "@types/semver": "^6.2.2", - "@vendure/core": "^2.1.2", + "@vendure/core": "^2.1.3", "rimraf": "^3.0.2", "ts-node": "^10.9.1", "typescript": "4.9.5" }, "dependencies": { "@clack/prompts": "^0.7.0", - "@vendure/common": "^2.1.2", + "@vendure/common": "^2.1.3", "commander": "^11.0.0", "cross-spawn": "^7.0.3", "detect-port": "^1.5.1", diff --git a/packages/dev-server/package.json b/packages/dev-server/package.json index a2e8990ecf..d8b76a6a39 100644 --- a/packages/dev-server/package.json +++ b/packages/dev-server/package.json @@ -1,6 +1,6 @@ { "name": "dev-server", - "version": "2.1.2", + "version": "2.1.3", "main": "index.js", "license": "MIT", "private": true, @@ -15,18 +15,18 @@ }, "dependencies": { "@nestjs/axios": "^3.0.0", - "@vendure/admin-ui-plugin": "^2.1.2", - "@vendure/asset-server-plugin": "^2.1.2", - "@vendure/common": "^2.1.2", - "@vendure/core": "^2.1.2", - "@vendure/elasticsearch-plugin": "^2.1.2", - "@vendure/email-plugin": "^2.1.2", + "@vendure/admin-ui-plugin": "^2.1.3", + "@vendure/asset-server-plugin": "^2.1.3", + "@vendure/common": "^2.1.3", + "@vendure/core": "^2.1.3", + "@vendure/elasticsearch-plugin": "^2.1.3", + "@vendure/email-plugin": "^2.1.3", "typescript": "4.9.5" }, "devDependencies": { "@types/csv-stringify": "^3.1.0", - "@vendure/testing": "^2.1.2", - "@vendure/ui-devkit": "^2.1.2", + "@vendure/testing": "^2.1.3", + "@vendure/ui-devkit": "^2.1.3", "commander": "^7.1.0", "concurrently": "^8.2.1", "csv-stringify": "^5.3.3", diff --git a/packages/elasticsearch-plugin/package.json b/packages/elasticsearch-plugin/package.json index ed800283d5..ba5ff8f01e 100644 --- a/packages/elasticsearch-plugin/package.json +++ b/packages/elasticsearch-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/elasticsearch-plugin", - "version": "2.1.2", + "version": "2.1.3", "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -26,8 +26,8 @@ "fast-deep-equal": "^3.1.3" }, "devDependencies": { - "@vendure/common": "^2.1.2", - "@vendure/core": "^2.1.2", + "@vendure/common": "^2.1.3", + "@vendure/core": "^2.1.3", "rimraf": "^3.0.2", "typescript": "4.9.5" } diff --git a/packages/email-plugin/package.json b/packages/email-plugin/package.json index 5e9e8e92c5..f166f90c61 100644 --- a/packages/email-plugin/package.json +++ b/packages/email-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/email-plugin", - "version": "2.1.2", + "version": "2.1.3", "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -35,8 +35,8 @@ "@types/fs-extra": "^9.0.1", "@types/handlebars": "^4.1.0", "@types/mjml": "^4.0.4", - "@vendure/common": "^2.1.2", - "@vendure/core": "^2.1.2", + "@vendure/common": "^2.1.3", + "@vendure/core": "^2.1.3", "rimraf": "^3.0.2", "typescript": "4.9.5" } diff --git a/packages/harden-plugin/package.json b/packages/harden-plugin/package.json index 11c2f59ea1..2e9001e2af 100644 --- a/packages/harden-plugin/package.json +++ b/packages/harden-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/harden-plugin", - "version": "2.1.2", + "version": "2.1.3", "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -21,7 +21,7 @@ "graphql-query-complexity": "^0.12.0" }, "devDependencies": { - "@vendure/common": "^2.1.2", - "@vendure/core": "^2.1.2" + "@vendure/common": "^2.1.3", + "@vendure/core": "^2.1.3" } } diff --git a/packages/job-queue-plugin/package.json b/packages/job-queue-plugin/package.json index 19889ffe2d..0a49d00c6f 100644 --- a/packages/job-queue-plugin/package.json +++ b/packages/job-queue-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/job-queue-plugin", - "version": "2.1.2", + "version": "2.1.3", "license": "MIT", "main": "package/index.js", "types": "package/index.d.ts", @@ -23,8 +23,8 @@ }, "devDependencies": { "@google-cloud/pubsub": "^2.8.0", - "@vendure/common": "^2.1.2", - "@vendure/core": "^2.1.2", + "@vendure/common": "^2.1.3", + "@vendure/core": "^2.1.3", "bullmq": "^3.15.5", "ioredis": "^5.3.0", "rimraf": "^3.0.2", diff --git a/packages/payments-plugin/package.json b/packages/payments-plugin/package.json index fcaacc8b11..5b0be1d505 100644 --- a/packages/payments-plugin/package.json +++ b/packages/payments-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/payments-plugin", - "version": "2.1.2", + "version": "2.1.3", "license": "MIT", "main": "package/index.js", "types": "package/index.d.ts", @@ -46,9 +46,9 @@ "@mollie/api-client": "^3.7.0", "@types/braintree": "^2.22.15", "@types/localtunnel": "2.0.1", - "@vendure/common": "^2.1.2", - "@vendure/core": "^2.1.2", - "@vendure/testing": "^2.1.2", + "@vendure/common": "^2.1.3", + "@vendure/core": "^2.1.3", + "@vendure/testing": "^2.1.3", "braintree": "^3.16.0", "localtunnel": "2.0.2", "nock": "^13.1.4", diff --git a/packages/testing/package.json b/packages/testing/package.json index 6e0e1b3fff..763fd8c8ef 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/testing", - "version": "2.1.2", + "version": "2.1.3", "description": "End-to-end testing tools for Vendure projects", "keywords": [ "vendure", @@ -38,7 +38,7 @@ "dependencies": { "@graphql-typed-document-node/core": "^3.2.0", "@types/node-fetch": "^2.6.4", - "@vendure/common": "^2.1.2", + "@vendure/common": "^2.1.3", "faker": "^4.1.0", "form-data": "^4.0.0", "graphql": "16.8.0", @@ -49,7 +49,7 @@ "devDependencies": { "@types/mysql": "^2.15.15", "@types/pg": "^7.14.5", - "@vendure/core": "^2.1.2", + "@vendure/core": "^2.1.3", "mysql": "^2.18.1", "pg": "^8.4.0", "rimraf": "^3.0.0", diff --git a/packages/ui-devkit/package.json b/packages/ui-devkit/package.json index 7510f376a4..8176e27735 100644 --- a/packages/ui-devkit/package.json +++ b/packages/ui-devkit/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/ui-devkit", - "version": "2.1.2", + "version": "2.1.3", "description": "A library for authoring Vendure Admin UI extensions", "keywords": [ "vendure", @@ -40,8 +40,8 @@ "@angular/cli": "^16.2.0", "@angular/compiler": "^16.2.2", "@angular/compiler-cli": "^16.2.2", - "@vendure/admin-ui": "^2.1.2", - "@vendure/common": "^2.1.2", + "@vendure/admin-ui": "^2.1.3", + "@vendure/common": "^2.1.3", "chalk": "^4.1.0", "chokidar": "^3.5.3", "fs-extra": "^11.1.1", @@ -51,7 +51,7 @@ "devDependencies": { "@rollup/plugin-node-resolve": "^15.2.1", "@types/fs-extra": "^11.0.1", - "@vendure/core": "^2.1.2", + "@vendure/core": "^2.1.3", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^3.0.2",