Skip to content

Commit

Permalink
chore: release 19.0.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Dec 10, 2024
1 parent 1b571c3 commit e8fe908
Show file tree
Hide file tree
Showing 26 changed files with 89 additions and 32 deletions.
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
<a name="19.0.0-rc.0"></a>

# [19.0.0-rc.0](https://github.com/ngrx/platform/compare/19.0.0-beta.0...19.0.0-rc.0) (2024-12-10)

### Bug Fixes

- **eslint-plugin:** support ESM modudule syntax (.mjs) ([e2f35c8](https://github.com/ngrx/platform/commit/e2f35c8))
- **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)

### Features

- **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)
- **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)
- **signals:** add `withProps` base feature ([#4607](https://github.com/ngrx/platform/issues/4607)) ([e626082](https://github.com/ngrx/platform/commit/e626082))
- **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)
- **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)

### BREAKING CHANGES

- **signals:** - The `computed` property in `SignalStoreFeatureResult` type is renamed to `props`.

* The `EntityComputed` and `NamedEntityComputed` types in the `entities` plugin are renamed to `EntityProps` and `NamedEntityProps`.

BEFORE:

```ts
import { computed, Signal } from '@angular/core';
import { signalStoreFeature, SignalStoreFeature, type, withComputed } from '@ngrx/signals';
import { EntityComputed } from '@ngrx/signals/entities';

export function withTotalEntities<Entity>(): SignalStoreFeature<{ state: {}; computed: EntityComputed<Entity>; methods: {} }, { state: {}; computed: { total: Signal<number> }; methods: {} }> {
return signalStoreFeature(
{ computed: type<EntityComputed<Entity>>() },
withComputed(({ entities }) => ({
total: computed(() => entities().length),
}))
);
}
```

AFTER:

```ts
import { computed, Signal } from '@angular/core';
import { signalStoreFeature, SignalStoreFeature, type, withComputed } from '@ngrx/signals';
import { EntityProps } from '@ngrx/signals/entities';

export function withTotalEntities<Entity>(): SignalStoreFeature<{ state: {}; props: EntityProps<Entity>; methods: {} }, { state: {}; props: { total: Signal<number> }; methods: {} }> {
return signalStoreFeature(
{ props: type<EntityProps<Entity>>() },
withComputed(({ entities }) => ({
total: computed(() => entities().length),
}))
);
}
```

<a name="19.0.0-beta.0""></a>

# [19.0.0-beta.0"](https://github.com/ngrx/platform/compare/18.1.1...19.0.0-beta.0") (2024-11-20)
Expand Down
2 changes: 1 addition & 1 deletion modules/component-store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/component-store",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "Reactive store for component state",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
2 changes: 1 addition & 1 deletion modules/component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/component",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "Reactive Extensions for Angular Components",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/component/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
8 changes: 4 additions & 4 deletions modules/data/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/data",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "API management for NgRx",
"repository": {
"type": "git",
Expand All @@ -22,9 +22,9 @@
"peerDependencies": {
"@angular/common": "^19.0.0",
"@angular/core": "^19.0.0",
"@ngrx/store": "19.0.0-beta.0",
"@ngrx/effects": "19.0.0-beta.0",
"@ngrx/entity": "19.0.0-beta.0",
"@ngrx/store": "19.0.0-rc.0",
"@ngrx/effects": "19.0.0-rc.0",
"@ngrx/entity": "19.0.0-rc.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
Expand Down
2 changes: 1 addition & 1 deletion modules/data/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
4 changes: 2 additions & 2 deletions modules/effects/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/effects",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "Side effect model for @ngrx/store",
"repository": {
"type": "git",
Expand All @@ -22,7 +22,7 @@
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/core": "^19.0.0",
"@ngrx/store": "19.0.0-beta.0",
"@ngrx/store": "19.0.0-rc.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
Expand Down
2 changes: 1 addition & 1 deletion modules/effects/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
4 changes: 2 additions & 2 deletions modules/entity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/entity",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "Common utilities for entity reducers",
"repository": {
"type": "git",
Expand All @@ -21,7 +21,7 @@
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/core": "^19.0.0",
"@ngrx/store": "19.0.0-beta.0",
"@ngrx/store": "19.0.0-rc.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
Expand Down
2 changes: 1 addition & 1 deletion modules/entity/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
2 changes: 1 addition & 1 deletion modules/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/eslint-plugin",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "NgRx ESLint Plugin",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/operators/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/operators",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "Shared RxJS Operators for NgRx libraries",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/operators/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
4 changes: 2 additions & 2 deletions modules/router-store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/router-store",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "Bindings to connect @angular/router to @ngrx/store",
"repository": {
"type": "git",
Expand All @@ -23,7 +23,7 @@
"@angular/common": "^19.0.0",
"@angular/core": "^19.0.0",
"@angular/router": "^19.0.0",
"@ngrx/store": "19.0.0-beta.0",
"@ngrx/store": "19.0.0-rc.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
2 changes: 1 addition & 1 deletion modules/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
2 changes: 1 addition & 1 deletion modules/schematics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/schematics",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "NgRx Schematics for Angular",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/schematics/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
2 changes: 1 addition & 1 deletion modules/signals/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/signals",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "Reactive Store and Set of Utilities for Angular Signals",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/signals/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
4 changes: 2 additions & 2 deletions modules/store-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/store-devtools",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "Developer tools for @ngrx/store",
"repository": {
"type": "git",
Expand All @@ -21,7 +21,7 @@
"homepage": "https://github.com/ngrx/platform#readme",
"peerDependencies": {
"@angular/core": "^19.0.0",
"@ngrx/store": "19.0.0-beta.0",
"@ngrx/store": "19.0.0-rc.0",
"rxjs": "^6.5.3 || ^7.5.0"
},
"schematics": "./schematics/collection.json",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
2 changes: 1 addition & 1 deletion modules/store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/store",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "RxJS powered Redux for Angular apps",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/store/schematics-core/utility/libs-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const platformVersion = '^19.0.0-beta.0';
export const platformVersion = '^19.0.0-rc.0';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngrx/platform",
"version": "19.0.0-beta.0",
"version": "19.0.0-rc.0",
"description": "monorepo for ngrx development",
"scripts": {
"ng": "ng",
Expand Down

0 comments on commit e8fe908

Please sign in to comment.