From e3143c238629d36f2f101cabc7c9f2b229052a13 Mon Sep 17 00:00:00 2001 From: Brandon Date: Tue, 18 Jul 2017 08:14:57 -0500 Subject: [PATCH] chore(Platform): Updated release packages to 4.0.0 (#88) --- lerna.json | 4 +- modules/effects/CHANGELOG.md | 67 ++++++++++++++++++++++++++ modules/effects/package.json | 4 +- modules/router-store/CHANGELOG.md | 17 +++++++ modules/router-store/package.json | 6 +-- modules/store-devtools/CHANGELOG.md | 19 ++++++++ modules/store-devtools/package.json | 6 +-- modules/store/CHANGELOG.md | 73 +++++++++++++++++++++++++++++ modules/store/package.json | 2 +- package.json | 4 +- 10 files changed, 189 insertions(+), 13 deletions(-) create mode 100644 modules/effects/CHANGELOG.md create mode 100644 modules/router-store/CHANGELOG.md create mode 100644 modules/store-devtools/CHANGELOG.md create mode 100644 modules/store/CHANGELOG.md diff --git a/lerna.json b/lerna.json index f9b7c90be3..8177fb2ecc 100644 --- a/lerna.json +++ b/lerna.json @@ -1,8 +1,8 @@ { - "lerna": "2.0.0-beta.38", + "lerna": "2.0.0", "packages": [ "modules/*" ], - "version": "4.0.0-alpha.0", + "version": "4.0.0", "npmClient": "yarn" } diff --git a/modules/effects/CHANGELOG.md b/modules/effects/CHANGELOG.md new file mode 100644 index 0000000000..eb3580ae7e --- /dev/null +++ b/modules/effects/CHANGELOG.md @@ -0,0 +1,67 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + + +# 4.0.0 (2017-07-18) + + +### Bug Fixes + +* **build:** Get tests running for each project ([c4a1054](https://github.com/ngrx/platform/commit/c4a1054)) +* **Effects:** Start child effects after running root effects (#43) ([931adb1](https://github.com/ngrx/platform/commit/931adb1)) +* **Effects:** Use Actions generic type for the return of the ofType operator ([d176a11](https://github.com/ngrx/platform/commit/d176a11)) + + +### Code Refactoring + +* **Effects:** Simplified AP, added better error reporting and effects stream control ([015107f](https://github.com/ngrx/platform/commit/015107f)) + + +### Features + +* **build:** Updated build pipeline for modules ([68bd9df](https://github.com/ngrx/platform/commit/68bd9df)) +* **Effects:** Ensure effects are only subscribed to once ([089abdc](https://github.com/ngrx/platform/commit/089abdc)) +* **Effects:** Introduce new Effects testing module (#70) ([7dbb571](https://github.com/ngrx/platform/commit/7dbb571)) + + +### BREAKING CHANGES + +* **Effects:** Effects API for registering effects has been updated to allow for multiple classes to be provided. + +BEFORE: +```ts +@NgModule({ +imports: [ + EffectsModule.run(SourceA), + EffectsModule.run(SourceB) +] +}) +export class AppModule { } +``` + +AFTER: +```ts +@NgModule({ +imports: [ + EffectsModule.forRoot([ + SourceA, + SourceB, + SourceC, + ]) +] +}) +export class AppModule { } + +@NgModule({ +imports: [ + EffectsModule.forFeature([ + FeatureSourceA, + FeatureSourceB, + FeatureSourceC, + ]) +] +}) +export class SomeFeatureModule { } +``` diff --git a/modules/effects/package.json b/modules/effects/package.json index 1e0dbfeea3..e0b620f7b0 100644 --- a/modules/effects/package.json +++ b/modules/effects/package.json @@ -1,6 +1,6 @@ { "name": "@ngrx/effects", - "version": "4.0.0-alpha.0", + "version": "4.0.0", "description": "Side effect model for @ngrx/store", "module": "@ngrx/effects.es5.js", "es2015": "@ngrx/effects.js", @@ -16,7 +16,7 @@ "license": "MIT", "peerDependencies": { "@angular/core": "^4.0.0", - "@ngrx/store": "^4.0.0-alpha.0", + "@ngrx/store": "^4.0.0", "rxjs": "^5.0.0" } } diff --git a/modules/router-store/CHANGELOG.md b/modules/router-store/CHANGELOG.md new file mode 100644 index 0000000000..25f7c3c950 --- /dev/null +++ b/modules/router-store/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + + +# 4.0.0 (2017-07-18) + + +### Bug Fixes + +* **router-store:** NavigationCancel and NavigationError creates a cycle when used with routerReducer ([a085730](https://github.com/ngrx/platform/commit/a085730)), closes [#68](https://github.com/ngrx/platform/issues/68) + + +### Features + +* **router-store:** Added action types (#47) ([1f67cb3](https://github.com/ngrx/platform/commit/1f67cb3)), closes [#44](https://github.com/ngrx/platform/issues/44) diff --git a/modules/router-store/package.json b/modules/router-store/package.json index 7bc5720eec..ae9839248a 100644 --- a/modules/router-store/package.json +++ b/modules/router-store/package.json @@ -1,6 +1,6 @@ { "name": "@ngrx/router-store", - "version": "4.0.0-alpha.0", + "version": "4.0.0", "description": "Bindings to connect @angular/router to @ngrx/store", "module": "@ngrx/router-store.es5.js", "es2015": "@ngrx/router-store.js", @@ -20,10 +20,10 @@ ], "license": "MIT", "peerDependencies": { - "rxjs": "^5.0.0", "@angular/common": "^4.0.0", "@angular/core": "^4.0.0", "@angular/router": "^4.0.0", - "@ngrx/store": "^4.0.0-alpha.0" + "@ngrx/store": "^4.0.0", + "rxjs": "^5.0.0" } } diff --git a/modules/store-devtools/CHANGELOG.md b/modules/store-devtools/CHANGELOG.md new file mode 100644 index 0000000000..d3501d964a --- /dev/null +++ b/modules/store-devtools/CHANGELOG.md @@ -0,0 +1,19 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + + +# 4.0.0 (2017-07-18) + + +### Bug Fixes + +* **Devtools:** Removed SHOULD_INSTRUMENT token used to eagerly inject providers (#57) ([b90df34](https://github.com/ngrx/platform/commit/b90df34)) +* **example-app:** Suppress StoreDevtoolsConfig compiler warning ([8804156](https://github.com/ngrx/platform/commit/8804156)) +* **StoreDevtools:** Type InjectionToken for AOT compilation ([e21d688](https://github.com/ngrx/platform/commit/e21d688)) + + +### Features + +* **Effects:** Introduce new Effects testing module (#70) ([7dbb571](https://github.com/ngrx/platform/commit/7dbb571)) diff --git a/modules/store-devtools/package.json b/modules/store-devtools/package.json index 11c2828017..9ede42dbe8 100644 --- a/modules/store-devtools/package.json +++ b/modules/store-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@ngrx/store-devtools", - "version": "4.0.0-alpha.0", + "version": "4.0.0", "description": "Developer tools for @ngrx/store", "module": "@ngrx/store-devtools.es5.js", "es2015": "@ngrx/store-devtools.js", @@ -12,7 +12,7 @@ }, "keywords": [ "RxJS", - "Angular2", + "Angular", "Redux", "Store", "@ngrx/store" @@ -33,7 +33,7 @@ }, "homepage": "https://github.com/ngrx/platform#readme", "peerDependencies": { - "@ngrx/store": "^4.0.0-alpha.0", + "@ngrx/store": "^4.0.0", "rxjs": "^5.0.0" } } diff --git a/modules/store/CHANGELOG.md b/modules/store/CHANGELOG.md new file mode 100644 index 0000000000..ed4fc6dbde --- /dev/null +++ b/modules/store/CHANGELOG.md @@ -0,0 +1,73 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + + +# 4.0.0 (2017-07-18) + + +### Bug Fixes + +* **Devtools:** Removed SHOULD_INSTRUMENT token used to eagerly inject providers (#57) ([b90df34](https://github.com/ngrx/platform/commit/b90df34)) +* **omit:** Strengthen the type checking of the omit utility function ([3982038](https://github.com/ngrx/platform/commit/3982038)) +* **Store:** Exported initial state tokens (#65) ([4b27b6d](https://github.com/ngrx/platform/commit/4b27b6d)) +* **Store:** pass all required arguments to projector (#74) ([9b82b3a](https://github.com/ngrx/platform/commit/9b82b3a)) +* **Store:** Remove parameter destructuring for strict mode (#33) (#77) ([c9d6a45](https://github.com/ngrx/platform/commit/c9d6a45)) +* **Store:** Removed readonly from type (#72) ([68274c9](https://github.com/ngrx/platform/commit/68274c9)) + + +### Code Refactoring + +* **Effects:** Simplified AP, added better error reporting and effects stream control ([015107f](https://github.com/ngrx/platform/commit/015107f)) + + +### Features + +* **build:** Updated build pipeline for modules ([68bd9df](https://github.com/ngrx/platform/commit/68bd9df)) +* **Effects:** Introduce new Effects testing module (#70) ([7dbb571](https://github.com/ngrx/platform/commit/7dbb571)) +* **store:** Add 'createSelector' and 'createFeatureSelector' utils (#10) ([41758b1](https://github.com/ngrx/platform/commit/41758b1)) +* **Store:** Allow initial state function for AoT compatibility (#59) ([1a166ec](https://github.com/ngrx/platform/commit/1a166ec)), closes [#51](https://github.com/ngrx/platform/issues/51) +* **Store:** Allow parent modules to provide reducers with tokens (#36) ([069b12f](https://github.com/ngrx/platform/commit/069b12f)), closes [#34](https://github.com/ngrx/platform/issues/34) +* **Store:** Simplify API for adding meta-reducers (#87) ([d2295c7](https://github.com/ngrx/platform/commit/d2295c7)) + + +### BREAKING CHANGES + +* **Effects:** Effects API for registering effects has been updated to allow for multiple classes to be provided. + +BEFORE: +```ts +@NgModule({ +imports: [ + EffectsModule.run(SourceA), + EffectsModule.run(SourceB) +] +}) +export class AppModule { } +``` + +AFTER: +```ts +@NgModule({ +imports: [ + EffectsModule.forRoot([ + SourceA, + SourceB, + SourceC, + ]) +] +}) +export class AppModule { } + +@NgModule({ +imports: [ + EffectsModule.forFeature([ + FeatureSourceA, + FeatureSourceB, + FeatureSourceC, + ]) +] +}) +export class SomeFeatureModule { } +``` diff --git a/modules/store/package.json b/modules/store/package.json index ca9ae999c9..caaf57cf59 100644 --- a/modules/store/package.json +++ b/modules/store/package.json @@ -1,6 +1,6 @@ { "name": "@ngrx/store", - "version": "4.0.0-alpha.0", + "version": "4.0.0", "description": "RxJS powered Redux for Angular apps", "module": "@ngrx/store.es5.js", "es2015": "@ngrx/store.js", diff --git a/package.json b/package.json index 9bdf752a43..782a8b632e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ngrx/platform", - "version": "4.0.0-alpha.0", + "version": "4.0.0", "description": "monorepo for ngrx development", "scripts": { "precommit": "yarn run prettier", @@ -78,7 +78,7 @@ "karma-coverage-istanbul-reporter": "^0.2.0", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", - "lerna": "^2.0.0-rc.1", + "lerna": "^2.0.0", "module-alias": "^2.0.0", "ngrx-store-freeze": "^0.1.9", "nyc": "^10.1.2",