|
|
@@ -1,3 +1,56 @@
|
|
|
+## 0.5.0 (2019-10-23)
|
|
|
+
|
|
|
+
|
|
|
+#### Features
|
|
|
+
|
|
|
+* **admin-ui-plugin** Allow UI extensions to contain multiple modules ([b23c3e8](https://github.com/vendure-ecommerce/vendure/commit/b23c3e8))
|
|
|
+* **admin-ui** Display hint if deleting Collection with descendants ([27b7080](https://github.com/vendure-ecommerce/vendure/commit/27b7080))
|
|
|
+* **admin-ui** Export BaseListComponent & BaseDetailComponent ([d222449](https://github.com/vendure-ecommerce/vendure/commit/d222449))
|
|
|
+* **admin-ui** Make CollectionList items expandable ([147bf17](https://github.com/vendure-ecommerce/vendure/commit/147bf17))
|
|
|
+* **core** Allow log level to be set in migration helpers ([34cb07e](https://github.com/vendure-ecommerce/vendure/commit/34cb07e))
|
|
|
+* **core** Auto-generate GraphQL ListOptions for plugin extensions ([aa40776](https://github.com/vendure-ecommerce/vendure/commit/aa40776))
|
|
|
+* **core** Export all service-layer helpers in PluginCommonModule ([0d57eca](https://github.com/vendure-ecommerce/vendure/commit/0d57eca))
|
|
|
+* **core** Export ListQueryBuilder helper ([5bb5c1e](https://github.com/vendure-ecommerce/vendure/commit/5bb5c1e))
|
|
|
+
|
|
|
+#### Fixes
|
|
|
+
|
|
|
+* **admin-ui** Fix notification label for CollectionList ([cd02789](https://github.com/vendure-ecommerce/vendure/commit/cd02789)), closes [#186](https://github.com/vendure-ecommerce/vendure/issues/186)
|
|
|
+* **admin-ui** Import missing social-shapes icons ([7b5b943](https://github.com/vendure-ecommerce/vendure/commit/7b5b943))
|
|
|
+* **admin-ui** Remove paging from CollectionList ([517fcd0](https://github.com/vendure-ecommerce/vendure/commit/517fcd0))
|
|
|
+* **core** Correctly handle 404 and other Nestjs errors ([4f2c4df](https://github.com/vendure-ecommerce/vendure/commit/4f2c4df)), closes [#187](https://github.com/vendure-ecommerce/vendure/issues/187)
|
|
|
+* **core** Deleting a Collection also deletes descendants ([1ba9e2d](https://github.com/vendure-ecommerce/vendure/commit/1ba9e2d)), closes [#186](https://github.com/vendure-ecommerce/vendure/issues/186)
|
|
|
+* **core** Prevent unhandled promise rejection on worker SIGINT ([39ca526](https://github.com/vendure-ecommerce/vendure/commit/39ca526)), closes [#150](https://github.com/vendure-ecommerce/vendure/issues/150)
|
|
|
+* **create** Add .gitattributes to prevent eol conversions ([5fdeace](https://github.com/vendure-ecommerce/vendure/commit/5fdeace)), closes [#185](https://github.com/vendure-ecommerce/vendure/issues/185)
|
|
|
+
|
|
|
+
|
|
|
+### BREAKING CHANGE
|
|
|
+
|
|
|
+* The API for configuring Admin UI extensions has changed to allow a single extension to define multiple Angular NgModules. This arose as a requirement when working on more complex UI extensions which e.g. define both a shared and a lazy module which share code. Such an arrangement was not possible using the existing API.
|
|
|
+
|
|
|
+Here's how to update:
|
|
|
+```TypeScript
|
|
|
+// Old API
|
|
|
+extensions: [
|
|
|
+ {
|
|
|
+ type: 'lazy',
|
|
|
+ ngModulePath: path.join(__dirname, 'ui-extensions/greeter'),
|
|
|
+ ngModuleFileName: 'greeter-extension.module.ts',
|
|
|
+ ngModuleName: 'GreeterModule',
|
|
|
+ }
|
|
|
+],
|
|
|
+
|
|
|
+// New API
|
|
|
+extensions: [
|
|
|
+ {
|
|
|
+ extensionPath: path.join(__dirname, 'ui-extensions/greeter'),
|
|
|
+ ngModules: [{
|
|
|
+ type: 'lazy',
|
|
|
+ ngModuleFileName: 'greeter-extension.module.ts',
|
|
|
+ ngModuleName: 'GreeterModule',
|
|
|
+ }],
|
|
|
+ }
|
|
|
+],
|
|
|
+```
|
|
|
## 0.4.0 (2019-10-16)
|
|
|
|
|
|
|