Skip to content

Commit bcba4a6

Browse files
krjordanbrandonroberts
authored andcommitted
chore(Platform): Added changelog and changelog script (#158)
1 parent b9c6679 commit bcba4a6

File tree

3 files changed

+129
-1
lines changed

3 files changed

+129
-1
lines changed

CHANGELOG.md

+111
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
<a name="4.0.0"></a>
2+
# [4.0.0](https://github.com/ngrx/platform/compare/v4.0.1...v4.0.0) (2017-07-22)
3+
4+
5+
### Bug Fixes
6+
7+
* **docs:** update angular-cli variable ([eeb7d5d](https://github.com/ngrx/platform/commit/eeb7d5d))
8+
* **Effects:** Wrap testing source in an Actions observable (#121) ([bfdb83b](https://github.com/ngrx/platform/commit/bfdb83b)), closes [#117](https://github.com/ngrx/platform/issues/117)
9+
* **Store:** Remove auto-memoization of selector functions ([90899f7](https://github.com/ngrx/platform/commit/90899f7)), closes [#118](https://github.com/ngrx/platform/issues/118)
10+
11+
12+
### Features
13+
14+
* **Effects:** Add generic type to the "ofType" operator ([55c13b2](https://github.com/ngrx/platform/commit/55c13b2))
15+
* **Store:** Added initial state function support for features. Added more tests (#85) ([5e5d7dd](https://github.com/ngrx/platform/commit/5e5d7dd))
16+
17+
18+
19+
<a name="4.0.1"></a>
20+
## [4.0.1](https://github.com/ngrx/platform/compare/v4.0.0...v4.0.1) (2017-07-18)
21+
22+
23+
### Bug Fixes
24+
25+
* **effects:** allow downleveled annotations (#98) ([875b326](https://github.com/ngrx/platform/commit/875b326)), closes [#93](https://github.com/ngrx/platform/issues/93)
26+
* **effects:** make correct export path for testing module (#96) ([a5aad22](https://github.com/ngrx/platform/commit/a5aad22)), closes [#94](https://github.com/ngrx/platform/issues/94)
27+
28+
29+
30+
<a name="4.0.0"></a>
31+
# [4.0.0](https://github.com/ngrx/platform/compare/68bd9df...v4.0.0) (2017-07-18)
32+
33+
34+
### Bug Fixes
35+
36+
* **build:** Fixed deployment of latest master as commit (#18) ([5d0ecf9](https://github.com/ngrx/platform/commit/5d0ecf9)), closes [#18](https://github.com/ngrx/platform/issues/18)
37+
* **build:** Get tests running for each project ([c4a1054](https://github.com/ngrx/platform/commit/c4a1054))
38+
* **build:** Limit concurrency for lerna bootstrap ([7e7a7d8](https://github.com/ngrx/platform/commit/7e7a7d8))
39+
* **Devtools:** Removed SHOULD_INSTRUMENT token used to eagerly inject providers (#57) ([b90df34](https://github.com/ngrx/platform/commit/b90df34))
40+
* **Effects:** Start child effects after running root effects (#43) ([931adb1](https://github.com/ngrx/platform/commit/931adb1))
41+
* **Effects:** Use Actions generic type for the return of the ofType operator ([d176a11](https://github.com/ngrx/platform/commit/d176a11))
42+
* **Example:** Fix Book State interface parent (#90) ([6982952](https://github.com/ngrx/platform/commit/6982952)), closes [#90](https://github.com/ngrx/platform/issues/90)
43+
* **example-app:** Suppress StoreDevtoolsConfig compiler warning ([8804156](https://github.com/ngrx/platform/commit/8804156))
44+
* **omit:** Strengthen the type checking of the omit utility function ([3982038](https://github.com/ngrx/platform/commit/3982038))
45+
* **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)
46+
* **Store:** Exported initial state tokens (#65) ([4b27b6d](https://github.com/ngrx/platform/commit/4b27b6d))
47+
* **Store:** pass all required arguments to projector (#74) ([9b82b3a](https://github.com/ngrx/platform/commit/9b82b3a))
48+
* **Store:** Remove parameter destructuring for strict mode (#33) (#77) ([c9d6a45](https://github.com/ngrx/platform/commit/c9d6a45))
49+
* **Store:** Removed readonly from type (#72) ([68274c9](https://github.com/ngrx/platform/commit/68274c9))
50+
* **StoreDevtools:** Type InjectionToken for AOT compilation ([e21d688](https://github.com/ngrx/platform/commit/e21d688))
51+
52+
53+
### Code Refactoring
54+
55+
* **Effects:** Simplified AP, added better error reporting and effects stream control ([015107f](https://github.com/ngrx/platform/commit/015107f))
56+
57+
58+
### Features
59+
60+
* **build:** Updated build pipeline for modules ([68bd9df](https://github.com/ngrx/platform/commit/68bd9df))
61+
* **Effects:** Ensure effects are only subscribed to once ([089abdc](https://github.com/ngrx/platform/commit/089abdc))
62+
* **Effects:** Introduce new Effects testing module (#70) ([7dbb571](https://github.com/ngrx/platform/commit/7dbb571))
63+
* **router-store:** Added action types (#47) ([1f67cb3](https://github.com/ngrx/platform/commit/1f67cb3)), closes [#44](https://github.com/ngrx/platform/issues/44)
64+
* **store:** Add 'createSelector' and 'createFeatureSelector' utils (#10) ([41758b1](https://github.com/ngrx/platform/commit/41758b1))
65+
* **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)
66+
* **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)
67+
* **Store:** Simplify API for adding meta-reducers (#87) ([d2295c7](https://github.com/ngrx/platform/commit/d2295c7))
68+
69+
70+
### BREAKING CHANGES
71+
72+
* **Effects:** Effects API for registering effects has been updated to allow for multiple classes to be provided.
73+
74+
BEFORE:
75+
```ts
76+
@NgModule({
77+
imports: [
78+
EffectsModule.run(SourceA),
79+
EffectsModule.run(SourceB)
80+
]
81+
})
82+
export class AppModule { }
83+
```
84+
85+
AFTER:
86+
```ts
87+
@NgModule({
88+
imports: [
89+
EffectsModule.forRoot([
90+
SourceA,
91+
SourceB,
92+
SourceC,
93+
])
94+
]
95+
})
96+
export class AppModule { }
97+
98+
@NgModule({
99+
imports: [
100+
EffectsModule.forFeature([
101+
FeatureSourceA,
102+
FeatureSourceB,
103+
FeatureSourceC,
104+
])
105+
]
106+
})
107+
export class SomeFeatureModule { }
108+
```
109+
110+
111+

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"ci": "yarn run build && yarn run test && nyc report --reporter=text-lcov | coveralls",
2121
"prettier": "prettier --parser typescript --single-quote --trailing-comma --write \"./**/*.ts\"",
2222
"watch:tests": "chokidar 'modules/**/*.ts' --initial -c 'nyc --reporter=text --reporter=html yarn run test:unit'",
23-
"postinstall": "opencollective postinstall"
23+
"postinstall": "opencollective postinstall",
24+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
2425
},
2526
"keywords": [
2627
"ngrx",
@@ -66,6 +67,7 @@
6667
"chokidar": "^1.7.0",
6768
"chokidar-cli": "^1.2.0",
6869
"codelyzer": "^2.1.1",
70+
"conventional-changelog": "^1.1.4",
6971
"core-js": "^2.4.1",
7072
"coveralls": "^2.13.0",
7173
"cpy-cli": "^1.0.1",

yarn.lock

+15
Original file line numberDiff line numberDiff line change
@@ -1352,6 +1352,21 @@ conventional-changelog@^1.1.3:
13521352
conventional-changelog-jscs "^0.1.0"
13531353
conventional-changelog-jshint "^0.1.0"
13541354

1355+
conventional-changelog@^1.1.4:
1356+
version "1.1.4"
1357+
resolved "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-1.1.4.tgz#108bc750c2a317e200e2f9b413caaa1f8c7efa3b"
1358+
dependencies:
1359+
conventional-changelog-angular "^1.3.4"
1360+
conventional-changelog-atom "^0.1.0"
1361+
conventional-changelog-codemirror "^0.1.0"
1362+
conventional-changelog-core "^1.9.0"
1363+
conventional-changelog-ember "^0.2.6"
1364+
conventional-changelog-eslint "^0.1.0"
1365+
conventional-changelog-express "^0.1.0"
1366+
conventional-changelog-jquery "^0.1.0"
1367+
conventional-changelog-jscs "^0.1.0"
1368+
conventional-changelog-jshint "^0.1.0"
1369+
13551370
conventional-commits-filter@^1.0.0:
13561371
version "1.0.0"
13571372
resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-1.0.0.tgz#6fc2a659372bc3f2339cf9ffff7e1b0344b93039"

0 commit comments

Comments
 (0)