diff --git a/CHANGELOG.md b/CHANGELOG.md index cb7eb237d5..7a562cf9a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## 2.2.5 (2024-06-03) + + +#### Fixes + +* **admin-ui** Add scrollbar to dropdowns that go out of the viewport ([8a78a70](https://github.com/vendure-ecommerce/vendure/commit/8a78a70)) +* **admin-ui** Fix order of bulk actions in dropdown ([d917874](https://github.com/vendure-ecommerce/vendure/commit/d917874)) +* **admin-ui** Fix stale values in zone selector component ([232ecbb](https://github.com/vendure-ecommerce/vendure/commit/232ecbb)), closes [#2867](https://github.com/vendure-ecommerce/vendure/issues/2867) +* **admin-ui** Fix update of Channel when removing default currency/lang ([1e0c96f](https://github.com/vendure-ecommerce/vendure/commit/1e0c96f)), closes [#2825](https://github.com/vendure-ecommerce/vendure/issues/2825) +* **cli** Install React typings when adding ui extensions ([94b6dcf](https://github.com/vendure-ecommerce/vendure/commit/94b6dcf)), closes [#2857](https://github.com/vendure-ecommerce/vendure/issues/2857) +* **core** Add field resolver for Order.shippingLines ([84ec0aa](https://github.com/vendure-ecommerce/vendure/commit/84ec0aa)), closes [#2859](https://github.com/vendure-ecommerce/vendure/issues/2859) +* **core** Apply price strategies when modifying order lines ([61fdbbd](https://github.com/vendure-ecommerce/vendure/commit/61fdbbd)), closes [#2870](https://github.com/vendure-ecommerce/vendure/issues/2870) +* **core** Fix nulling of primitive custom fields when updating relation ([96f0410](https://github.com/vendure-ecommerce/vendure/commit/96f0410)), closes [#2840](https://github.com/vendure-ecommerce/vendure/issues/2840) +* **core** Fix regression in updating of Order custom fields ([2744068](https://github.com/vendure-ecommerce/vendure/commit/2744068)) +* **core** Fix splitting of shippingLines on multivendor orders ([9112dd8](https://github.com/vendure-ecommerce/vendure/commit/9112dd8)), closes [#2859](https://github.com/vendure-ecommerce/vendure/issues/2859) +* **core** Keep order of nested relations during hydration (#2864) (#2865) ([b325a83](https://github.com/vendure-ecommerce/vendure/commit/b325a83)), closes [#2864](https://github.com/vendure-ecommerce/vendure/issues/2864) [#2865](https://github.com/vendure-ecommerce/vendure/issues/2865) +* **create** Move `typescript` to dev dependencies (#2816) ([b3c29e7](https://github.com/vendure-ecommerce/vendure/commit/b3c29e7)), closes [#2816](https://github.com/vendure-ecommerce/vendure/issues/2816) +* **payments-plugin** Allow mollie orders with $0 (#2855) ([b54c210](https://github.com/vendure-ecommerce/vendure/commit/b54c210)), closes [#2855](https://github.com/vendure-ecommerce/vendure/issues/2855) +* **payments-plugin** Events triggered by Mollie webhook include request ([4ca4593](https://github.com/vendure-ecommerce/vendure/commit/4ca4593)), closes [#2872](https://github.com/vendure-ecommerce/vendure/issues/2872) + ## 2.2.4 (2024-05-08) diff --git a/lerna.json b/lerna.json index fdcd0a5270..1f98e9efb3 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "packages": ["packages/*"], - "version": "2.2.4", + "version": "2.2.5", "npmClient": "npm", "command": { "version": { diff --git a/package-lock.json b/package-lock.json index e55fb2da33..5b6f96f682 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31735,7 +31735,7 @@ }, "packages/admin-ui": { "name": "@vendure/admin-ui", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "@angular/animations": "^17.2.4", @@ -31758,7 +31758,7 @@ "@ng-select/ng-select": "^12.0.7", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", - "@vendure/common": "^2.2.4", + "@vendure/common": "^2.2.5", "@webcomponents/custom-elements": "^1.6.0", "apollo-angular": "^6.0.0", "apollo-upload-client": "^18.0.1", @@ -31829,7 +31829,7 @@ }, "packages/admin-ui-plugin": { "name": "@vendure/admin-ui-plugin", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "date-fns": "^2.30.0", @@ -31838,9 +31838,9 @@ "devDependencies": { "@types/express": "^4.17.21", "@types/fs-extra": "^11.0.4", - "@vendure/admin-ui": "^2.2.4", - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4", + "@vendure/admin-ui": "^2.2.5", + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5", "express": "^4.18.3", "rimraf": "^5.0.5", "typescript": "5.4.2" @@ -31871,7 +31871,7 @@ }, "packages/asset-server-plugin": { "name": "@vendure/asset-server-plugin", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "file-type": "^19.0.0", @@ -31884,8 +31884,8 @@ "@types/express": "^4.17.21", "@types/fs-extra": "^11.0.4", "@types/node-fetch": "^2.6.11", - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4", + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5", "express": "^4.18.3", "node-fetch": "^2.7.0", "rimraf": "^5.0.5", @@ -31897,11 +31897,11 @@ }, "packages/cli": { "name": "@vendure/cli", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "@clack/prompts": "^0.7.0", - "@vendure/common": "^2.2.4", + "@vendure/common": "^2.2.5", "change-case": "^4.1.2", "commander": "^11.0.0", "dotenv": "^16.4.5", @@ -31915,7 +31915,7 @@ "vendure": "dist/cli.js" }, "devDependencies": { - "@vendure/core": "^2.2.4", + "@vendure/core": "^2.2.5", "typescript": "5.3.3" }, "funding": { @@ -31952,7 +31952,7 @@ }, "packages/common": { "name": "@vendure/common", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "devDependencies": { "rimraf": "^5.0.5", @@ -31964,7 +31964,7 @@ }, "packages/core": { "name": "@vendure/core", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "@apollo/server": "^4.10.1", @@ -31978,7 +31978,7 @@ "@nestjs/testing": "10.3.3", "@nestjs/typeorm": "10.0.2", "@types/fs-extra": "^9.0.1", - "@vendure/common": "^2.2.4", + "@vendure/common": "^2.2.5", "bcrypt": "^5.1.1", "body-parser": "^1.20.2", "cookie-session": "^2.1.0", @@ -32114,11 +32114,11 @@ }, "packages/create": { "name": "@vendure/create", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "@clack/prompts": "^0.7.0", - "@vendure/common": "^2.2.4", + "@vendure/common": "^2.2.5", "commander": "^11.0.0", "cross-spawn": "^7.0.3", "detect-port": "^1.5.1", @@ -32137,7 +32137,7 @@ "@types/fs-extra": "^11.0.4", "@types/handlebars": "^4.1.0", "@types/semver": "^7.5.8", - "@vendure/core": "^2.2.4", + "@vendure/core": "^2.2.5", "rimraf": "^5.0.5", "ts-node": "^10.9.2", "typescript": "5.3.3" @@ -32154,21 +32154,21 @@ } }, "packages/dev-server": { - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "@nestjs/axios": "^3.0.2", - "@vendure/admin-ui-plugin": "^2.2.4", - "@vendure/asset-server-plugin": "^2.2.4", - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4", - "@vendure/elasticsearch-plugin": "^2.2.4", - "@vendure/email-plugin": "^2.2.4", + "@vendure/admin-ui-plugin": "^2.2.5", + "@vendure/asset-server-plugin": "^2.2.5", + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5", + "@vendure/elasticsearch-plugin": "^2.2.5", + "@vendure/email-plugin": "^2.2.5", "typescript": "5.3.3" }, "devDependencies": { - "@vendure/testing": "^2.2.4", - "@vendure/ui-devkit": "^2.2.4", + "@vendure/testing": "^2.2.5", + "@vendure/ui-devkit": "^2.2.5", "commander": "^12.0.0", "concurrently": "^8.2.2", "csv-stringify": "^6.4.6", @@ -32186,7 +32186,7 @@ }, "packages/elasticsearch-plugin": { "name": "@vendure/elasticsearch-plugin", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "@elastic/elasticsearch": "~7.9.1", @@ -32194,8 +32194,8 @@ "fast-deep-equal": "^3.1.3" }, "devDependencies": { - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4", + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5", "rimraf": "^5.0.5", "typescript": "5.3.3" }, @@ -32205,7 +32205,7 @@ }, "packages/email-plugin": { "name": "@vendure/email-plugin", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "@types/nodemailer": "^6.4.9", @@ -32221,8 +32221,8 @@ "@types/express": "^4.17.21", "@types/fs-extra": "^11.0.4", "@types/mjml": "^4.7.4", - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4", + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5", "rimraf": "^5.0.5", "typescript": "5.3.3" }, @@ -32232,14 +32232,14 @@ }, "packages/harden-plugin": { "name": "@vendure/harden-plugin", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "graphql-query-complexity": "^0.12.0" }, "devDependencies": { - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4" + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5" }, "funding": { "url": "https://github.com/sponsors/michaelbromley" @@ -32247,12 +32247,12 @@ }, "packages/job-queue-plugin": { "name": "@vendure/job-queue-plugin", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "devDependencies": { "@google-cloud/pubsub": "^2.8.0", - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4", + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5", "bullmq": "^5.4.2", "ioredis": "^5.3.2", "rimraf": "^5.0.5", @@ -32264,7 +32264,7 @@ }, "packages/payments-plugin": { "name": "@vendure/payments-plugin", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "currency.js": "2.0.4" @@ -32273,9 +32273,9 @@ "@mollie/api-client": "^3.7.0", "@types/braintree": "^3.3.11", "@types/localtunnel": "2.0.4", - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4", - "@vendure/testing": "^2.2.4", + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5", + "@vendure/testing": "^2.2.5", "braintree": "^3.22.0", "localtunnel": "2.0.2", "nock": "^13.1.4", @@ -32331,12 +32331,12 @@ }, "packages/sentry-plugin": { "name": "@vendure/sentry-plugin", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "devDependencies": { "@sentry/node": "^7.106.1", - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4" + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5" }, "funding": { "url": "https://github.com/sponsors/michaelbromley" @@ -32347,14 +32347,14 @@ }, "packages/stellate-plugin": { "name": "@vendure/stellate-plugin", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "node-fetch": "^2.7.0" }, "devDependencies": { - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4" + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5" }, "funding": { "url": "https://github.com/sponsors/michaelbromley" @@ -32362,11 +32362,11 @@ }, "packages/testing": { "name": "@vendure/testing", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.2.0", - "@vendure/common": "^2.2.4", + "@vendure/common": "^2.2.5", "faker": "^4.1.0", "form-data": "^4.0.0", "graphql": "16.8.1", @@ -32379,7 +32379,7 @@ "@types/mysql": "^2.15.26", "@types/node-fetch": "^2.6.4", "@types/pg": "^8.11.2", - "@vendure/core": "^2.2.4", + "@vendure/core": "^2.2.5", "mysql": "^2.18.1", "pg": "^8.11.3", "rimraf": "^5.0.5", @@ -32395,15 +32395,15 @@ }, "packages/ui-devkit": { "name": "@vendure/ui-devkit", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "dependencies": { "@angular-devkit/build-angular": "^17.2.3", "@angular/cli": "^17.2.3", "@angular/compiler": "^17.2.4", "@angular/compiler-cli": "^17.2.4", - "@vendure/admin-ui": "^2.2.4", - "@vendure/common": "^2.2.4", + "@vendure/admin-ui": "^2.2.5", + "@vendure/common": "^2.2.5", "chalk": "^4.1.0", "chokidar": "^3.6.0", "fs-extra": "^11.2.0", @@ -32414,7 +32414,7 @@ "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", "@types/fs-extra": "^11.0.4", - "@vendure/core": "^2.2.4", + "@vendure/core": "^2.2.5", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.5", diff --git a/packages/admin-ui-plugin/package.json b/packages/admin-ui-plugin/package.json index 893241d120..9bd3a65258 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.2.4", + "version": "2.2.5", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ @@ -21,9 +21,9 @@ "devDependencies": { "@types/express": "^4.17.21", "@types/fs-extra": "^11.0.4", - "@vendure/admin-ui": "^2.2.4", - "@vendure/common": "^2.2.4", - "@vendure/core": "^2.2.4", + "@vendure/admin-ui": "^2.2.5", + "@vendure/common": "^2.2.5", + "@vendure/core": "^2.2.5", "express": "^4.18.3", "rimraf": "^5.0.5", "typescript": "5.4.2" diff --git a/packages/admin-ui/package.json b/packages/admin-ui/package.json index 21cb7b8b80..446de27f8b 100644 --- a/packages/admin-ui/package.json +++ b/packages/admin-ui/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/admin-ui", - "version": "2.2.4", + "version": "2.2.5", "license": "MIT", "scripts": { "ng": "ng", @@ -49,7 +49,7 @@ "@ng-select/ng-select": "^12.0.7", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", - "@vendure/common": "^2.2.4", + "@vendure/common": "^2.2.5", "@webcomponents/custom-elements": "^1.6.0", "apollo-angular": "^6.0.0", "apollo-upload-client": "^18.0.1", diff --git a/packages/admin-ui/src/lib/catalog/src/catalog.module.ts b/packages/admin-ui/src/lib/catalog/src/catalog.module.ts index b2ebeb964c..bb54ad822b 100644 --- a/packages/admin-ui/src/lib/catalog/src/catalog.module.ts +++ b/packages/admin-ui/src/lib/catalog/src/catalog.module.ts @@ -132,23 +132,24 @@ export class CatalogModule { } bulkActionRegistryService.registerBulkAction(assignFacetValuesToProductsBulkAction); bulkActionRegistryService.registerBulkAction(assignProductsToChannelBulkAction); - bulkActionRegistryService.registerBulkAction(assignProductVariantsToChannelBulkAction); - bulkActionRegistryService.registerBulkAction(removeProductsFromChannelBulkAction); - bulkActionRegistryService.registerBulkAction(removeProductVariantsFromChannelBulkAction); bulkActionRegistryService.registerBulkAction(duplicateProductsBulkAction); + bulkActionRegistryService.registerBulkAction(removeProductsFromChannelBulkAction); bulkActionRegistryService.registerBulkAction(deleteProductsBulkAction); - bulkActionRegistryService.registerBulkAction(deleteProductVariantsBulkAction); + bulkActionRegistryService.registerBulkAction(assignFacetValuesToProductVariantsBulkAction); + bulkActionRegistryService.registerBulkAction(assignProductVariantsToChannelBulkAction); + bulkActionRegistryService.registerBulkAction(removeProductVariantsFromChannelBulkAction); + bulkActionRegistryService.registerBulkAction(deleteProductVariantsBulkAction); bulkActionRegistryService.registerBulkAction(assignFacetsToChannelBulkAction); - bulkActionRegistryService.registerBulkAction(removeFacetsFromChannelBulkAction); bulkActionRegistryService.registerBulkAction(duplicateFacetsBulkAction); + bulkActionRegistryService.registerBulkAction(removeFacetsFromChannelBulkAction); bulkActionRegistryService.registerBulkAction(deleteFacetsBulkAction); bulkActionRegistryService.registerBulkAction(moveCollectionsBulkAction); bulkActionRegistryService.registerBulkAction(assignCollectionsToChannelBulkAction); - bulkActionRegistryService.registerBulkAction(removeCollectionsFromChannelBulkAction); bulkActionRegistryService.registerBulkAction(duplicateCollectionsBulkAction); + bulkActionRegistryService.registerBulkAction(removeCollectionsFromChannelBulkAction); bulkActionRegistryService.registerBulkAction(deleteCollectionsBulkAction); pageService.registerPageTab({ 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 9c6bacad46..7390734db1 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.2.4'; +export const ADMIN_UI_VERSION = '2.2.5'; diff --git a/packages/admin-ui/src/lib/core/src/shared/components/dropdown/dropdown-menu.component.ts b/packages/admin-ui/src/lib/core/src/shared/components/dropdown/dropdown-menu.component.ts index 80f190f0be..e6bd689578 100644 --- a/packages/admin-ui/src/lib/core/src/shared/components/dropdown/dropdown-menu.component.ts +++ b/packages/admin-ui/src/lib/core/src/shared/components/dropdown/dropdown-menu.component.ts @@ -3,6 +3,7 @@ import { TemplatePortal } from '@angular/cdk/portal'; import { AfterViewInit, ChangeDetectionStrategy, + ChangeDetectorRef, Component, HostListener, Input, @@ -37,7 +38,7 @@ export type DropdownPosition = 'top-left' | 'top-right' | 'bottom-left' | 'botto