Skip to content

Commit e8fe908

Browse files
chore: release 19.0.0-rc.0
1 parent 1b571c3 commit e8fe908

File tree

26 files changed

+89
-32
lines changed

26 files changed

+89
-32
lines changed

CHANGELOG.md

+57
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,60 @@
1+
<a name="19.0.0-rc.0"></a>
2+
3+
# [19.0.0-rc.0](https://github.com/ngrx/platform/compare/19.0.0-beta.0...19.0.0-rc.0) (2024-12-10)
4+
5+
### Bug Fixes
6+
7+
- **eslint-plugin:** support ESM modudule syntax (.mjs) ([e2f35c8](https://github.com/ngrx/platform/commit/e2f35c8))
8+
- **signals:** create deep signals for custom class instances ([#4614](https://github.com/ngrx/platform/issues/4614)) ([4d34dc4](https://github.com/ngrx/platform/commit/4d34dc4)), closes [#4604](https://github.com/ngrx/platform/issues/4604)
9+
10+
### Features
11+
12+
- **eslint-plugin:** add new rule require-super-ondestroy ([#4611](https://github.com/ngrx/platform/issues/4611)) ([2ac4372](https://github.com/ngrx/platform/commit/2ac4372)), closes [#4505](https://github.com/ngrx/platform/issues/4505)
13+
- **signals:** add `signalMethod` ([#4597](https://github.com/ngrx/platform/issues/4597)) ([bdd1d3e](https://github.com/ngrx/platform/commit/bdd1d3e)), closes [#4581](https://github.com/ngrx/platform/issues/4581)
14+
- **signals:** add `withProps` base feature ([#4607](https://github.com/ngrx/platform/issues/4607)) ([e626082](https://github.com/ngrx/platform/commit/e626082))
15+
- **signals:** add migration for `withProps` ([#4612](https://github.com/ngrx/platform/issues/4612)) ([5f803d0](https://github.com/ngrx/platform/commit/5f803d0)), closes [#4608](https://github.com/ngrx/platform/issues/4608)
16+
- **store:** enable dispatching actions on signal changes ([#4600](https://github.com/ngrx/platform/issues/4600)) ([2528d39](https://github.com/ngrx/platform/commit/2528d39)), closes [#4537](https://github.com/ngrx/platform/issues/4537)
17+
18+
### BREAKING CHANGES
19+
20+
- **signals:** - The `computed` property in `SignalStoreFeatureResult` type is renamed to `props`.
21+
22+
* The `EntityComputed` and `NamedEntityComputed` types in the `entities` plugin are renamed to `EntityProps` and `NamedEntityProps`.
23+
24+
BEFORE:
25+
26+
```ts
27+
import { computed, Signal } from '@angular/core';
28+
import { signalStoreFeature, SignalStoreFeature, type, withComputed } from '@ngrx/signals';
29+
import { EntityComputed } from '@ngrx/signals/entities';
30+
31+
export function withTotalEntities<Entity>(): SignalStoreFeature<{ state: {}; computed: EntityComputed<Entity>; methods: {} }, { state: {}; computed: { total: Signal<number> }; methods: {} }> {
32+
return signalStoreFeature(
33+
{ computed: type<EntityComputed<Entity>>() },
34+
withComputed(({ entities }) => ({
35+
total: computed(() => entities().length),
36+
}))
37+
);
38+
}
39+
```
40+
41+
AFTER:
42+
43+
```ts
44+
import { computed, Signal } from '@angular/core';
45+
import { signalStoreFeature, SignalStoreFeature, type, withComputed } from '@ngrx/signals';
46+
import { EntityProps } from '@ngrx/signals/entities';
47+
48+
export function withTotalEntities<Entity>(): SignalStoreFeature<{ state: {}; props: EntityProps<Entity>; methods: {} }, { state: {}; props: { total: Signal<number> }; methods: {} }> {
49+
return signalStoreFeature(
50+
{ props: type<EntityProps<Entity>>() },
51+
withComputed(({ entities }) => ({
52+
total: computed(() => entities().length),
53+
}))
54+
);
55+
}
56+
```
57+
158
<a name="19.0.0-beta.0""></a>
259

360
# [19.0.0-beta.0"](https://github.com/ngrx/platform/compare/18.1.1...19.0.0-beta.0") (2024-11-20)

modules/component-store/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/component-store",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "Reactive store for component state",
55
"repository": {
66
"type": "git",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/component/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/component",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "Reactive Extensions for Angular Components",
55
"repository": {
66
"type": "git",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/data/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/data",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "API management for NgRx",
55
"repository": {
66
"type": "git",
@@ -22,9 +22,9 @@
2222
"peerDependencies": {
2323
"@angular/common": "^19.0.0",
2424
"@angular/core": "^19.0.0",
25-
"@ngrx/store": "19.0.0-beta.0",
26-
"@ngrx/effects": "19.0.0-beta.0",
27-
"@ngrx/entity": "19.0.0-beta.0",
25+
"@ngrx/store": "19.0.0-rc.0",
26+
"@ngrx/effects": "19.0.0-rc.0",
27+
"@ngrx/entity": "19.0.0-rc.0",
2828
"rxjs": "^6.5.3 || ^7.5.0"
2929
},
3030
"schematics": "./schematics/collection.json",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/effects/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/effects",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "Side effect model for @ngrx/store",
55
"repository": {
66
"type": "git",
@@ -22,7 +22,7 @@
2222
"homepage": "https://github.com/ngrx/platform#readme",
2323
"peerDependencies": {
2424
"@angular/core": "^19.0.0",
25-
"@ngrx/store": "19.0.0-beta.0",
25+
"@ngrx/store": "19.0.0-rc.0",
2626
"rxjs": "^6.5.3 || ^7.5.0"
2727
},
2828
"schematics": "./schematics/collection.json",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/entity/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/entity",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "Common utilities for entity reducers",
55
"repository": {
66
"type": "git",
@@ -21,7 +21,7 @@
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
2323
"@angular/core": "^19.0.0",
24-
"@ngrx/store": "19.0.0-beta.0",
24+
"@ngrx/store": "19.0.0-rc.0",
2525
"rxjs": "^6.5.3 || ^7.5.0"
2626
},
2727
"schematics": "./schematics/collection.json",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/eslint-plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/eslint-plugin",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "NgRx ESLint Plugin",
55
"repository": {
66
"type": "git",

modules/operators/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/operators",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "Shared RxJS Operators for NgRx libraries",
55
"repository": {
66
"type": "git",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/router-store/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/router-store",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "Bindings to connect @angular/router to @ngrx/store",
55
"repository": {
66
"type": "git",
@@ -23,7 +23,7 @@
2323
"@angular/common": "^19.0.0",
2424
"@angular/core": "^19.0.0",
2525
"@angular/router": "^19.0.0",
26-
"@ngrx/store": "19.0.0-beta.0",
26+
"@ngrx/store": "19.0.0-rc.0",
2727
"rxjs": "^6.5.3 || ^7.5.0"
2828
},
2929
"schematics": "./schematics/collection.json",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/schematics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/schematics",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "NgRx Schematics for Angular",
55
"repository": {
66
"type": "git",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/signals/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/signals",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "Reactive Store and Set of Utilities for Angular Signals",
55
"repository": {
66
"type": "git",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/store-devtools/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/store-devtools",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "Developer tools for @ngrx/store",
55
"repository": {
66
"type": "git",
@@ -21,7 +21,7 @@
2121
"homepage": "https://github.com/ngrx/platform#readme",
2222
"peerDependencies": {
2323
"@angular/core": "^19.0.0",
24-
"@ngrx/store": "19.0.0-beta.0",
24+
"@ngrx/store": "19.0.0-rc.0",
2525
"rxjs": "^6.5.3 || ^7.5.0"
2626
},
2727
"schematics": "./schematics/collection.json",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

modules/store/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/store",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "RxJS powered Redux for Angular apps",
55
"repository": {
66
"type": "git",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const platformVersion = '^19.0.0-beta.0';
1+
export const platformVersion = '^19.0.0-rc.0';

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrx/platform",
3-
"version": "19.0.0-beta.0",
3+
"version": "19.0.0-rc.0",
44
"description": "monorepo for ngrx development",
55
"scripts": {
66
"ng": "ng",

0 commit comments

Comments
 (0)