Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngrx/component-store

Package Overview
Dependencies
Maintainers
4
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/component-store - npm Package Versions

1
8

13.0.0-beta.0

Diff

Changelog

Source

13.0.0-beta.0 (2021-11-04)

Bug Fixes

  • component: remove class-level generic from PushPipe (#3127) (548c72c), closes #3114
  • store: infer initial store state properly with metareducers (#3102) (d003b85), closes #3007
  • store: remove store config from forFeature signature with slice (#3218) (b1a64dd), closes #3216

build

Features

  • effects: move createEffect migration to ng-update migration (#3074) (5974913)
  • store: add createFeatureSelector migration (#3214) (62334f9)
  • store: provide better TS errors for action creator props (#3060) (5ed3c3d), closes #2892

BREAKING CHANGES

  • The minimum version required for Angular and RxJS has been updated

BEFORE:

Angular 12.x is the minimum version RxJS 6.5.x is the minimum required version

AFTER:

Angular 13.0.0-RC.0 is the minimum version RxJS 7.4.x is the minimum required version

  • store: The StoreConfig argument is removed from the StoreModule.forFeature signature with FeatureSlice.

BEFORE:

The StoreModule.forFeature signature with FeatureSlice has StoreConfig as the second input argument, but the configuration isn't registered if passed.

AFTER:

The StoreModule.forFeature signature with FeatureSlice no longer has StoreConfig as the second input argument.

  • store: initialState needs to match the interface of the store/feature.

BEFORE:

Missing properties were valid

StoreModule.forRoot(reducers, {
  initialState: { notExisting: 3 },
  metaReducers: [metaReducer],
});

AFTER:

A type error is produced for initialState that does not match the store/feature

StoreModule.forRoot(reducers, {
  initialState: { notExisting: 3 },
  metaReducers: [metaReducer],
});
  • component: PushPipe no longer has a class-level generic type parameter.

BEFORE:

Use of PushPipe outside of component templates required a generic

AFTER:

Use of PushPipe outside of component templates no longer requires a generic

  • store: Types for props outside an action creator is more strictly checked

BEFORE:

Usage of props outside of an action creator with invalid types was allowed

AFTER:

Usage of props outside of an action creator now breaks for invalid types

  • effects: The create-effect-migration migration is removed

BEFORE:

The Effect decorator removal and migration are done manually through schematics.

AFTER:

The Effect decorator removal and migration are performed automatically on upgrade to version 13 of NgRx Effects.

<a name="12.5.1"></a>

brandonroberts
published 12.5.1 •

Changelog

Source

12.5.1 (2021-10-25)

Bug Fixes

<a name="12.5.0"></a>

brandonroberts
published 12.5.0 •

Changelog

Source

12.5.0 (2021-10-14)

Bug Fixes

  • entity: set correct input argument types for removeMutably methods (#3148) (9611415)
  • schematics: add missing method (#3157) (2a927a2)
  • schematics: use prefix option in feature schematic (#3139) (5fa8890), closes #3116

Features

<a name="12.4.0"></a>

brandonroberts
published 12.4.0 •

Changelog

Source

12.4.0 (2021-08-11)

Bug Fixes

  • component: capture errors from observable when using ngrxPush pipe and ngrxLet directive (23c846b), closes #3100

Features

  • router-store: add createRouterSelector to select router data for default config (#3103) (507f58e)

<a name="12.3.0"></a>

brandonroberts
published 12.3.0 •

Changelog

Source

12.3.0 (2021-07-22)

Bug Fixes

Features

  • store: make reducers accessible from ReducerManager (#3064) (bf2bd1a)

<a name="12.2.0"></a>

brandonroberts
published 12.2.0 •

Changelog

Source

12.2.0 (2021-06-29)

Bug Fixes

  • component: avoid early destruction of view in ngrxLet which interfered with animations (#2890) (#3045) (7515e36)
  • data: make options optional on add with partial (#3043) (1620df9)

Features

  • component-store: accept error type in tapResponse (#3056) (61e1963)

<a name="12.1.0"></a>

brandonroberts
published 12.1.0 •

Changelog

Source

12.1.0 (2021-06-09)

Bug Fixes

Features

<a name="12.0.0"></a>

brandonroberts
published 12.0.0 •

Changelog

Source

12.0.0 (2021-05-12)

Features

  • store: register eslint-plugin-ngrx with ng add (#3014) (5259890)

<a name="12.0.0-rc.0"></a>

brandonroberts
published 12.0.0-rc.0 •

Changelog

Source

12.0.0-rc.0 (2021-05-05)

<a name="12.0.0-beta.1"></a>

brandonroberts
published 12.0.0-beta.1 •

Changelog

Source

12.0.0-beta.1 (2021-04-29)

Bug Fixes

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc