From 2907b08ff55608cd9ce5923f1e7a4992349f1f11 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Wed, 19 Feb 2020 09:20:52 +0100 Subject: [PATCH] chore: Publish v0.9.0 --- CHANGELOG.md | 36 ++++++++++++++++++++++ lerna.json | 2 +- packages/admin-ui-plugin/package.json | 8 ++--- packages/admin-ui/package.json | 4 +-- packages/asset-server-plugin/package.json | 6 ++-- packages/common/package.json | 2 +- packages/core/package.json | 4 +-- packages/create/package.json | 6 ++-- packages/dev-server/package.json | 18 +++++------ packages/elasticsearch-plugin/package.json | 6 ++-- packages/email-plugin/package.json | 6 ++-- packages/testing/package.json | 6 ++-- packages/ui-devkit/package.json | 6 ++-- 13 files changed, 73 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ac41cce00..7c54ae6083 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,39 @@ +## 0.9.0 (2020-02-19) + + +#### Fixes + +* **asset-server-plugin** Correctly handle non-integer image dimensions ([e28c2b3](https://github.com/vendure-ecommerce/vendure/commit/e28c2b3)) +* **core** Do not merge orders from another Customer ([de3715f](https://github.com/vendure-ecommerce/vendure/commit/de3715f)), closes [#263](https://github.com/vendure-ecommerce/vendure/issues/263) +* **testing** Correctly log from the main process ([bdd419f](https://github.com/vendure-ecommerce/vendure/commit/bdd419f)) + +#### Features + +* **admin-ui** Asset names can be updated ([fcb4f3d](https://github.com/vendure-ecommerce/vendure/commit/fcb4f3d)) +* **admin-ui** Export BaseEntityResolver ([db68d86](https://github.com/vendure-ecommerce/vendure/commit/db68d86)) +* **admin-ui** Implement editing of Asset focal point ([11b6b33](https://github.com/vendure-ecommerce/vendure/commit/11b6b33)), closes [#93](https://github.com/vendure-ecommerce/vendure/issues/93) +* **admin-ui** Thumbnails make use of focal point data ([667b885](https://github.com/vendure-ecommerce/vendure/commit/667b885)), closes [#93](https://github.com/vendure-ecommerce/vendure/issues/93) +* **asset-server-plugin** Add ability to disable caching per-request ([22cc878](https://github.com/vendure-ecommerce/vendure/commit/22cc878)) +* **asset-server-plugin** Implement focal point-aware cropping ([5fef77d](https://github.com/vendure-ecommerce/vendure/commit/5fef77d)), closes [#93](https://github.com/vendure-ecommerce/vendure/issues/93) +* **asset-server-plugin** Make AssetNamingStrategy configurable ([09dc445](https://github.com/vendure-ecommerce/vendure/commit/09dc445)), closes [#258](https://github.com/vendure-ecommerce/vendure/issues/258) +* **asset-server-plugin** Make the AssetStorageStrategy configurable ([a13a504](https://github.com/vendure-ecommerce/vendure/commit/a13a504)), closes [#258](https://github.com/vendure-ecommerce/vendure/issues/258) +* **core** Add `focalPoint` field to Asset entity ([1666e22](https://github.com/vendure-ecommerce/vendure/commit/1666e22)), closes [#93](https://github.com/vendure-ecommerce/vendure/issues/93) +* **core** Add asset focal point data to SearchResult type ([f717fb3](https://github.com/vendure-ecommerce/vendure/commit/f717fb3)), closes [#93](https://github.com/vendure-ecommerce/vendure/issues/93) +* **core** Publish AssetEvent when Asset created/modified ([3a352c5](https://github.com/vendure-ecommerce/vendure/commit/3a352c5)) +* **elasticsearch-plugin** Store asset focal point data ([9027beb](https://github.com/vendure-ecommerce/vendure/commit/9027beb)), closes [#93](https://github.com/vendure-ecommerce/vendure/issues/93) + +#### Perf + +* **asset-server-plugin** Implement hashed directory naming for assets ([30c27c5](https://github.com/vendure-ecommerce/vendure/commit/30c27c5)), closes [#258](https://github.com/vendure-ecommerce/vendure/issues/258) +* **testing** Disable synchronization for sqljs e2e tests ([4ad7752](https://github.com/vendure-ecommerce/vendure/commit/4ad7752)) + + +### BREAKING CHANGE + +* A new field, `focalPoint` has been added to the `Asset` entity which will require a database migration to add. +* The `LocalAssetStorageStrategy` class has been removed from `@vendure/core` and now lives in the `@vendure/asset-server-plugin` package. +* The `search` query's `SearchResult` type has had two properties deprecated: `productPreview` and `productVariantPreview`. They are replaced by `productAsset.preview` and `productVariantAsset.preview respectively`. The deprecated properties still work but will be removed from a future release. +* The AssetServerPlugin has a new default naming strategy - instead of dumping all assets & previews into a single directory, it will now split sources & previews into subdirectories and in each of them will use hashed directories to ensure that the total number of files in a single directory does not grow too large (as this can have a negative performance impact). If you wish to keep the current behavior, then you must manually set the `namingStrategy: new DefaultAssetNamingStrategy()` in the `AssetServerPlugin.init()` method. ## 0.8.2 (2020-02-12) diff --git a/lerna.json b/lerna.json index 5fff4499b5..14e0d00ad4 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "0.8.2", + "version": "0.9.0", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/admin-ui-plugin/package.json b/packages/admin-ui-plugin/package.json index 4e95ff6ccc..50257c918e 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": "0.8.2", + "version": "0.9.0", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ @@ -19,14 +19,14 @@ "devDependencies": { "@types/express": "^4.0.39", "@types/fs-extra": "^8.0.1", - "@vendure/common": "^0.8.2", - "@vendure/core": "^0.8.2", + "@vendure/common": "^0.9.0", + "@vendure/core": "^0.9.0", "express": "^4.16.4", "rimraf": "^3.0.0", "typescript": "~3.5.3" }, "dependencies": { - "@vendure/admin-ui": "^0.8.2", + "@vendure/admin-ui": "^0.9.0", "fs-extra": "^8.0.1" } } diff --git a/packages/admin-ui/package.json b/packages/admin-ui/package.json index 8aa16b2751..8a24583b07 100644 --- a/packages/admin-ui/package.json +++ b/packages/admin-ui/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/admin-ui", - "version": "0.8.2", + "version": "0.9.0", "license": "MIT", "scripts": { "ng": "ng", @@ -36,7 +36,7 @@ "@ng-select/ng-select": "^3.0.5", "@ngx-translate/core": "^11.0.1", "@ngx-translate/http-loader": "^4.0.0", - "@vendure/ui-devkit": "^0.8.2", + "@vendure/ui-devkit": "^0.9.0", "@webcomponents/custom-elements": "^1.2.4", "apollo-angular": "^1.6.0", "apollo-cache-inmemory": "^1.6.2", diff --git a/packages/asset-server-plugin/package.json b/packages/asset-server-plugin/package.json index 539f3efb9e..09e74a3f71 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": "0.8.2", + "version": "0.9.0", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ @@ -22,8 +22,8 @@ "@types/fs-extra": "^8.0.1", "@types/node-fetch": "^2.5.4", "@types/sharp": "^0.22.2", - "@vendure/common": "^0.8.2", - "@vendure/core": "^0.8.2", + "@vendure/common": "^0.9.0", + "@vendure/core": "^0.9.0", "express": "^4.16.4", "node-fetch": "^2.6.0", "rimraf": "^3.0.0", diff --git a/packages/common/package.json b/packages/common/package.json index 125764b599..0914c10309 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/common", - "version": "0.8.2", + "version": "0.9.0", "main": "index.js", "license": "MIT", "scripts": { diff --git a/packages/core/package.json b/packages/core/package.json index 439acb8d50..b637517f1e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/core", - "version": "0.8.2", + "version": "0.9.0", "description": "A modern, headless ecommerce framework", "repository": { "type": "git", @@ -45,7 +45,7 @@ "@nestjs/testing": "6.8.5", "@nestjs/typeorm": "6.2.0", "@types/fs-extra": "^8.0.1", - "@vendure/common": "^0.8.2", + "@vendure/common": "^0.9.0", "apollo-server-express": "2.9.7", "bcrypt": "^3.0.6", "body-parser": "^1.18.3", diff --git a/packages/create/package.json b/packages/create/package.json index 09a21a8ea7..3ee1cd53da 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/create", - "version": "0.8.2", + "version": "0.9.0", "license": "MIT", "bin": { "create": "./index.js" @@ -26,8 +26,8 @@ "@types/handlebars": "^4.1.0", "@types/listr": "^0.14.0", "@types/semver": "^6.0.0", - "@vendure/common": "^0.8.2", - "@vendure/core": "^0.8.2", + "@vendure/common": "^0.9.0", + "@vendure/core": "^0.9.0", "rimraf": "^3.0.0", "ts-node": "^8.4.1", "typescript": "~3.5.3" diff --git a/packages/dev-server/package.json b/packages/dev-server/package.json index 1976c9b976..96cb12e768 100644 --- a/packages/dev-server/package.json +++ b/packages/dev-server/package.json @@ -1,6 +1,6 @@ { "name": "dev-server", - "version": "0.8.2", + "version": "0.9.0", "main": "index.js", "license": "MIT", "private": true, @@ -14,18 +14,18 @@ "load-test:100k": "node -r ts-node/register load-testing/run-load-test.ts 100000" }, "dependencies": { - "@vendure/admin-ui-plugin": "^0.8.2", - "@vendure/asset-server-plugin": "^0.8.2", - "@vendure/common": "^0.8.2", - "@vendure/core": "^0.8.2", - "@vendure/elasticsearch-plugin": "^0.8.2", - "@vendure/email-plugin": "^0.8.2", + "@vendure/admin-ui-plugin": "^0.9.0", + "@vendure/asset-server-plugin": "^0.9.0", + "@vendure/common": "^0.9.0", + "@vendure/core": "^0.9.0", + "@vendure/elasticsearch-plugin": "^0.9.0", + "@vendure/email-plugin": "^0.9.0", "typescript": "^3.3.4000" }, "devDependencies": { "@types/csv-stringify": "^3.1.0", - "@vendure/testing": "^0.8.2", - "@vendure/ui-devkit": "^0.8.2", + "@vendure/testing": "^0.9.0", + "@vendure/ui-devkit": "^0.9.0", "concurrently": "^5.0.0", "csv-stringify": "^5.3.3" } diff --git a/packages/elasticsearch-plugin/package.json b/packages/elasticsearch-plugin/package.json index a0ba2cc3d1..505aad62c5 100644 --- a/packages/elasticsearch-plugin/package.json +++ b/packages/elasticsearch-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/elasticsearch-plugin", - "version": "0.8.2", + "version": "0.9.0", "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -22,8 +22,8 @@ "deepmerge": "^4.0.0" }, "devDependencies": { - "@vendure/common": "^0.8.2", - "@vendure/core": "^0.8.2", + "@vendure/common": "^0.9.0", + "@vendure/core": "^0.9.0", "rimraf": "^3.0.0", "typescript": "~3.5.3" } diff --git a/packages/email-plugin/package.json b/packages/email-plugin/package.json index ea77b5da8c..f594946768 100644 --- a/packages/email-plugin/package.json +++ b/packages/email-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/email-plugin", - "version": "0.8.2", + "version": "0.9.0", "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -33,8 +33,8 @@ "@types/handlebars": "^4.1.0", "@types/mjml": "^4.0.2", "@types/nodemailer": "^4.6.5", - "@vendure/common": "^0.8.2", - "@vendure/core": "^0.8.2", + "@vendure/common": "^0.9.0", + "@vendure/core": "^0.9.0", "rimraf": "^3.0.0", "typescript": "~3.5.3" } diff --git a/packages/testing/package.json b/packages/testing/package.json index a179e9cfd4..72ebb44bc5 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/testing", - "version": "0.8.2", + "version": "0.9.0", "description": "End-to-end testing tools for Vendure projects", "keywords": [ "vendure", @@ -32,7 +32,7 @@ "url": "https://github.com/vendure-ecommerce/vendure/issues" }, "dependencies": { - "@vendure/common": "^0.8.2", + "@vendure/common": "^0.9.0", "faker": "^4.1.0", "graphql": "^14.5.8", "graphql-tag": "^2.10.1", @@ -44,7 +44,7 @@ "@types/mysql": "^2.15.8", "@types/node-fetch": "^2.5.4", "@types/pg": "^7.14.1", - "@vendure/core": "^0.8.2", + "@vendure/core": "^0.9.0", "mysql": "^2.17.1", "pg": "^7.17.1", "rimraf": "^3.0.0", diff --git a/packages/ui-devkit/package.json b/packages/ui-devkit/package.json index 6e96db9475..e7292a725a 100644 --- a/packages/ui-devkit/package.json +++ b/packages/ui-devkit/package.json @@ -1,6 +1,6 @@ { "name": "@vendure/ui-devkit", - "version": "0.8.2", + "version": "0.9.0", "description": "A library for authoring Vendure Admin UI extensions", "keywords": [ "vendure", @@ -31,12 +31,12 @@ "url": "https://github.com/vendure-ecommerce/vendure/issues" }, "dependencies": { - "@vendure/common": "^0.8.2", + "@vendure/common": "^0.9.0", "rxjs": "^6.5.3" }, "devDependencies": { "@rollup/plugin-node-resolve": "^6.0.0", - "@vendure/core": "^0.8.2", + "@vendure/core": "^0.9.0", "rimraf": "^3.0.0", "rollup": "^1.27.9", "rollup-plugin-terser": "^5.1.2",