Skip to content

Commit d7e03df

Browse files
feat: update to Angular v16.0.0-next.6 release (#3831)
1 parent e50126d commit d7e03df

File tree

30 files changed

+343
-657
lines changed

30 files changed

+343
-657
lines changed

MIGRATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# V15 Migration guide
1+
# V16 Migration guide
22

3-
This document has been moved to https://ngrx.io/guide/migration/v15.
3+
This document has been moved to https://ngrx.io/guide/migration/v16.

modules/component-store/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/component-store",
3-
"version": "15.4.0",
3+
"version": "16.0.0-beta.0",
44
"description": "Reactive store for component state",
55
"repository": {
66
"type": "git",
@@ -22,7 +22,7 @@
2222
},
2323
"homepage": "https://github.com/ngrx/platform#readme",
2424
"peerDependencies": {
25-
"@angular/core": "^15.0.0",
25+
"@angular/core": "^16.0.0-next.0",
2626
"rxjs": "^6.5.3 || ^7.5.0"
2727
},
2828
"schematics": "./schematics/collection.json",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^15.4.0';
1+
export const platformVersion = '^16.0.0-beta.0';

modules/component-store/src/component-store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ export class ComponentStore<T extends object> implements OnDestroy {
267267
(projector
268268
? map((projectorArgs) =>
269269
// projectorArgs could be an Array in case where the entire state is an Array, so adding this check
270-
observablesOrSelectorsObject.length > 0 &&
271-
Array.isArray(projectorArgs)
270+
(observablesOrSelectorsObject as Observable<unknown>[]).length >
271+
0 && Array.isArray(projectorArgs)
272272
? projector(...projectorArgs)
273273
: projector(projectorArgs)
274274
)

modules/component/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/component",
3-
"version": "15.4.0",
3+
"version": "16.0.0-beta.0",
44
"description": "Reactive Extensions for Angular Components",
55
"repository": {
66
"type": "git",
@@ -20,8 +20,8 @@
2020
},
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
23-
"@angular/common": "^15.0.0",
24-
"@angular/core": "^15.0.0",
23+
"@angular/common": "^16.0.0-next.0",
24+
"@angular/core": "^16.0.0-next.0",
2525
"rxjs": "^6.5.3 || ^7.5.0"
2626
},
2727
"schematics": "./schematics/collection.json",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^15.4.0';
1+
export const platformVersion = '^16.0.0-beta.0';

modules/data/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/data",
3-
"version": "15.4.0",
3+
"version": "16.0.0-beta.0",
44
"description": "API management for NgRx",
55
"repository": {
66
"type": "git",
@@ -20,11 +20,11 @@
2020
},
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
23-
"@angular/common": "^15.0.0",
24-
"@angular/core": "^15.0.0",
25-
"@ngrx/store": "15.4.0",
26-
"@ngrx/effects": "15.4.0",
27-
"@ngrx/entity": "15.4.0",
23+
"@angular/common": "^16.0.0-next.0",
24+
"@angular/core": "^16.0.0-next.0",
25+
"@ngrx/store": "16.0.0-beta.0",
26+
"@ngrx/effects": "16.0.0-beta.0",
27+
"@ngrx/entity": "16.0.0-beta.0",
2828
"rxjs": "^6.5.3 || ^7.5.0"
2929
},
3030
"schematics": "./schematics/collection.json",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^15.4.0';
1+
export const platformVersion = '^16.0.0-beta.0';

modules/effects/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/effects",
3-
"version": "15.4.0",
3+
"version": "16.0.0-beta.0",
44
"description": "Side effect model for @ngrx/store",
55
"repository": {
66
"type": "git",
@@ -21,8 +21,8 @@
2121
},
2222
"homepage": "https://github.com/ngrx/platform#readme",
2323
"peerDependencies": {
24-
"@angular/core": "^15.0.0",
25-
"@ngrx/store": "15.4.0",
24+
"@angular/core": "^16.0.0-next.0",
25+
"@ngrx/store": "16.0.0-beta.0",
2626
"rxjs": "^6.5.3 || ^7.5.0"
2727
},
2828
"schematics": "./schematics/collection.json",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^15.4.0';
1+
export const platformVersion = '^16.0.0-beta.0';

0 commit comments

Comments
 (0)