Skip to content

Commit baaeca8

Browse files
chore: release 14.0.0-beta.0
1 parent fa54a5a commit baaeca8

File tree

10 files changed

+117
-13
lines changed

10 files changed

+117
-13
lines changed

CHANGELOG.md

+104
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,107 @@
1+
<a name="14.0.0-beta.0"></a>
2+
3+
# [14.0.0-beta.0](https://github.com/ngrx/platform/compare/13.1.0...14.0.0-beta.0) (2022-05-30)
4+
5+
- Closes #3344, #3345 ([70056a8](https://github.com/ngrx/platform/commit/70056a8)), closes [#3344](https://github.com/ngrx/platform/issues/3344) [#3345](https://github.com/ngrx/platform/issues/3345)
6+
7+
### Bug Fixes
8+
9+
- **store:** rename template literal to string literal for createActionGroup ([#3426](https://github.com/ngrx/platform/issues/3426)) ([7d08db1](https://github.com/ngrx/platform/commit/7d08db1))
10+
11+
### Features
12+
13+
- **schematics:** remove creators option ([#3311](https://github.com/ngrx/platform/issues/3311)) ([e86278a](https://github.com/ngrx/platform/commit/e86278a))
14+
- update Angular packages to latest v14 RC ([#3425](https://github.com/ngrx/platform/issues/3425)) ([f15dd1e](https://github.com/ngrx/platform/commit/f15dd1e)), closes [#3417](https://github.com/ngrx/platform/issues/3417)
15+
- **component:** add error as value to LetDirective's context ([#3380](https://github.com/ngrx/platform/issues/3380)) ([6452e24](https://github.com/ngrx/platform/commit/6452e24)), closes [#3343](https://github.com/ngrx/platform/issues/3343)
16+
- **component:** add suspense template input to LetDirective ([#3377](https://github.com/ngrx/platform/issues/3377)) ([345ee53](https://github.com/ngrx/platform/commit/345ee53)), closes [#3340](https://github.com/ngrx/platform/issues/3340)
17+
- **component:** use global render strategy in zone-less mode ([#3379](https://github.com/ngrx/platform/issues/3379)) ([f233dae](https://github.com/ngrx/platform/commit/f233dae)), closes [#3342](https://github.com/ngrx/platform/issues/3342)
18+
- **component-store:** add OnStoreInit and OnStateInit lifecycle hooks ([#3368](https://github.com/ngrx/platform/issues/3368)) ([0ffed02](https://github.com/ngrx/platform/commit/0ffed02)), closes [#3335](https://github.com/ngrx/platform/issues/3335)
19+
- **eslint-plugin:** add NgRx ESLint Plugin ([#3373](https://github.com/ngrx/platform/issues/3373)) ([ae0041b](https://github.com/ngrx/platform/commit/ae0041b))
20+
- **store:** add createActionGroup function ([#3381](https://github.com/ngrx/platform/issues/3381)) ([2cdecb3](https://github.com/ngrx/platform/commit/2cdecb3)), closes [#3337](https://github.com/ngrx/platform/issues/3337)
21+
- **store:** install and configure the [@ngrx](https://github.com/ngrx)/eslint-plugin on ng-add ([#3386](https://github.com/ngrx/platform/issues/3386)) ([bf2672e](https://github.com/ngrx/platform/commit/bf2672e))
22+
23+
### Performance Improvements
24+
25+
- **component:** reset state / trigger CD only if necessary ([#3328](https://github.com/ngrx/platform/issues/3328)) ([f5b055b](https://github.com/ngrx/platform/commit/f5b055b))
26+
27+
### BREAKING CHANGES
28+
29+
- 1. The context of `LetDirective` is strongly typed when `null` or
30+
`undefined` is passed as input.
31+
32+
BEFORE:
33+
34+
```html
35+
<p *ngrxLet="null as n">{{ n }}</p>
36+
<p *ngrxLet="undefined as u">{{ u }}</p>
37+
```
38+
39+
- The type of `n` is `any`.
40+
- The type of `u` is `any`.
41+
42+
AFTER:
43+
44+
```html
45+
<p *ngrxLet="null as n">{{ n }}</p>
46+
<p *ngrxLet="undefined as u">{{ u }}</p>
47+
```
48+
49+
- The type of `n` is `null`.
50+
- The type of `u` is `undefined`.
51+
52+
* **schematics:** BEFORE:
53+
54+
Creating actions, reducers, and effects is possible without using the creator syntax is possible.
55+
56+
AFTER:
57+
58+
- All schematics use the non-creator syntax to scaffold the code.
59+
- The option `--creators` (and `-c`) is removed from the schematic options.
60+
- The `skipTests` option is removed while generating actions.
61+
62+
* Minimum version of Angular has been updated
63+
64+
BEFORE:
65+
66+
Minimum version of Angular was 13.x
67+
68+
AFTER:
69+
70+
Minimum version of Angular is 14.x
71+
72+
- **component:** The native local rendering strategy is replaced by global
73+
in zone-less mode for better performance.
74+
75+
BEFORE:
76+
77+
The change detection is triggered via `changeDetectorRef.detectChanges`
78+
in zone-less mode.
79+
80+
AFTER:
81+
82+
The change detection is triggered via `ɵmarkDirty` in zone-less mode.
83+
84+
- **component:** The `$error` property from `LetDirective`'s view context is
85+
a thrown error or `undefined` instead of `true`/`false`.
86+
87+
BEFORE:
88+
89+
```ts
90+
<p *ngrxLet="obs$; $error as e">{{ e }}</p>
91+
```
92+
93+
- `e` will be `true` when `obs$` emits error event.
94+
- `e` will be `false` when `obs$` emits next/complete event.
95+
96+
AFTER:
97+
98+
```ts
99+
<p *ngrxLet="obs$; $error as e">{{ e }}</p>
100+
```
101+
102+
- `e` will be thrown error when `obs$` emits error event.
103+
- `e` will be `undefined` when `obs$` emits next/complete event.
104+
1105
<a name="13.1.0"></a>
2106

3107
# [13.1.0](https://github.com/ngrx/platform/compare/13.0.2...13.1.0) (2022-03-28)

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald
3+
Copyright (c) 2017-2022 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

modules/component-store/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"homepage": "https://github.com/ngrx/platform#readme",
2424
"peerDependencies": {
25-
"@angular/core": "^14.0.0",
25+
"@angular/core": "^14.0.0-rc.0",
2626
"rxjs": "^6.5.3 || ^7.5.0"
2727
},
2828
"schematics": "./schematics/collection.json",

modules/component/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
},
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
23-
"@angular/common": "^14.0.0",
24-
"@angular/core": "^14.0.0",
23+
"@angular/common": "^14.0.0-rc.0",
24+
"@angular/core": "^14.0.0-rc.0",
2525
"rxjs": "^6.5.3 || ^7.5.0"
2626
},
2727
"schematics": "./schematics/collection.json",

modules/data/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
},
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
23-
"@angular/common": "^14.0.0",
24-
"@angular/core": "^14.0.0",
23+
"@angular/common": "^14.0.0-rc.0",
24+
"@angular/core": "^14.0.0-rc.0",
2525
"@ngrx/store": "14.0.0-beta.0",
2626
"@ngrx/effects": "14.0.0-beta.0",
2727
"@ngrx/entity": "14.0.0-beta.0",

modules/effects/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"homepage": "https://github.com/ngrx/platform#readme",
2323
"peerDependencies": {
24-
"@angular/core": "^14.0.0",
24+
"@angular/core": "^14.0.0-rc.0",
2525
"@ngrx/store": "14.0.0-beta.0",
2626
"rxjs": "^6.5.3 || ^7.5.0"
2727
},

modules/entity/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
23-
"@angular/core": "^14.0.0",
23+
"@angular/core": "^14.0.0-rc.0",
2424
"@ngrx/store": "14.0.0-beta.0",
2525
"rxjs": "^6.5.3 || ^7.5.0"
2626
},

modules/eslint-plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"sideEffects": false,
3838
"dependencies": {
39-
"@angular-devkit/schematics": "^13.0.3",
39+
"@angular-devkit/schematics": "^14.0.0-rc.0",
4040
"@typescript-eslint/experimental-utils": "^5.4.0",
4141
"eslint-etc": "^5.1.0",
4242
"semver": "^7.3.5",

modules/router-store/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
},
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
23-
"@angular/common": "^14.0.0",
24-
"@angular/core": "^14.0.0",
25-
"@angular/router": "^14.0.0",
23+
"@angular/common": "^14.0.0-rc.0",
24+
"@angular/core": "^14.0.0-rc.0",
25+
"@angular/router": "^14.0.0-rc.0",
2626
"@ngrx/store": "14.0.0-beta.0",
2727
"rxjs": "^6.5.3 || ^7.5.0"
2828
},

modules/store/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"homepage": "https://github.com/ngrx/platform#readme",
2323
"peerDependencies": {
24-
"@angular/core": "^14.0.0",
24+
"@angular/core": "^14.0.0-rc.0",
2525
"rxjs": "^6.5.3 || ^7.5.0"
2626
},
2727
"schematics": "./schematics/collection.json",

0 commit comments

Comments
 (0)