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

@ngrx/effects

Package Overview
Dependencies
Maintainers
4
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/effects - npm Package Versions

1
15

12.0.0-beta.0

Diff

Changelog

Source

12.0.0-beta.0 (2021-04-27)

Bug Fixes

  • component: include files in ng-add schematics (ad13c9c)
  • component-store: include files in ng-add schematics (bfef622)
  • data: include files in ng-add schematics (526edd9)
  • effects: ng-add schematics will generate effects files properly (4389307)
  • entity: include files in ng-add schematics (4d9f647)
  • router-store: include files in ng-add schematics (eb71d5c)
  • store: ng-add schematics will generate router files if minimal set to false (74a2671)
  • store-devtools: include files in ng-add schematics (ac706de)

build

  • update to Angular libraries to version 12 RC.0 (#3000) (4fb030e)
  • update to Nx version 12.0.x and TypeScript 4.1.x (#2999) (cb258cb)

Features

BREAKING CHANGES

  • Minimum versions of Angular and TypeScript have been updated

BEFORE:

Minimum of Angular version 11.x Minimum of TypeScript 4.1.x

AFTER:

Minimum of Angular version 12.x Minimum of TypeScript 4.2.x

  • The minimum TypeScript version has been updated to 4.1.x

BEFORE:

The minimum TypeScript version is 4.0.x

AFTER:

The minimum TypeScript version is 4.1.x

<a name="11.1.1"></a>

brandonroberts
published 11.1.1 •

Changelog

Source

11.1.1 (2021-04-20)

Bug Fixes

Features

<a name="11.1.0"></a>

brandonroberts
published 11.1.0 •

Changelog

Source

11.1.0 (2021-03-31)

Bug Fixes

Features

  • component-store: add ability for patchState to accept Observable (#2937) (8930e22), closes #2852
  • schematics: add component store schematics (#2886) (f086f80), closes #2570

<a name="11.0.1"></a>

brandonroberts
published 11.0.1 •

Changelog

Source

11.0.1 (2021-02-15)

Bug Fixes

<a name="11.0.0"></a>

brandonroberts
published 11.0.0 •

Changelog

Source

11.0.0 (2021-02-09)

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

brandonroberts
published 11.0.0-rc.0 •

Changelog

Source

11.0.0-rc.0 (2021-02-04)

<a name="11.0.0-beta.2"></a>

brandonroberts
published 11.0.0-beta.2 •

Changelog

Source

11.0.0-beta.2 (2021-02-02)

Bug Fixes

  • component: remove ? from LetViewContext props to prevent 'possibly undefined' error in strict mode (#2876) (c3ac252)
  • component: transform to Observable if Input is Promise (b611367)
  • data: make entity param partial when is not optimistic (#2899) (bb70e6c), closes #2870
  • data: type overloaded add for is optimistic true | undefined (#2906) (6d46ac4)
  • push: fix return typing for observables to include undefined (#2907) (abcc599), closes #2888
  • router-store: cast return type as RouterReducerState (#2887) (d489484)

Features

Performance Improvements

  • schematics: speed up create effect migration (#2873) (2f5dcb4)

BREAKING CHANGES

  • push: BEFORE:

ngrxPush typing doesn't consider undefined when the input type is an observable

AFTER:

ngrxPush typing considers undefined when the input type is an observable

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

brandonroberts
published 11.0.0-beta.1 •

brandonroberts
published 11.0.0-beta.0 •

Changelog

Source

11.0.0-beta.0 (2021-01-05)

Bug Fixes

  • update Angular peer dependencies to version 11 (#2843) (f63d281), closes #2842
  • component: add schematic assets to ng-package.json (9598527), closes #2819
  • component-store: add schematic assets to ng-package.json (0e3b52d), closes #2819
  • component-store: adjust updater to accept partials (#2765) (b54b9b6), closes #2754
  • router-store: ingore slash when comparing routes (#2834) (cad3f60), closes #2829 #1781
  • schematics: add schematics to devDependencies (#2784) (daf1889)
  • store: add noop for all methods in MockReducerManager (#2777) (a489b48), closes #2776
  • store: correct types for SelectorFactoryConfig (#2752) (aa9bf1a)

Code Refactoring

  • use consistent naming of injection tokens across packages (#2737) (e02d0d4)

Features

  • component-store: add patchState method (#2788) (ecedadb)
  • component-store: add tapResponse operator (#2763) (d1873c9)
  • component-store: allow more than 4 selects (#2841) (7c29320)
  • effects: add support for provideMockActions outside of the TestBed (#2762) (c47114c)
  • effects: allow usage of empty forRoot array multiple times (#2774) (5219ff5)
  • entity: remove addAll (#2783) (93a4754)
  • router-store: add selectParamFromRouterState selector (#2771) (3a1f359), closes #2758
  • router-store: Add urlAfterRedirects (#2775) (14553f6)
  • store: add object-style StoreModule.forFeature overload (#2821) (17571e5), closes #2809
  • store: add support for provideMockStore outside of the TestBed (#2759) (1650582), closes #2745

Performance Improvements

  • router-store: optimize selectQueryParams, selectQueryParam and selectFragment selectors (#2764) (918f184)

BREAKING CHANGES

  • router-store: Router-store selectors for query params and fragment select from the root router state node. This could potentially break unit tests, but is functionally equivalent to the current behavior at runtime.

BEFORE:

selectQueryParams - returns query params from the last router state node selectQueryParam - returns a query param from the last router state node selectFragment - returns the fragment from the last router state node

AFTER:

selectQueryParams - returns query params from routerState.root selectQueryParam - returns a query param from routerState.root selectFragment - returns the fragment from routerState.root

  • Angular peer dependency versions are bumped to latest major (11)

BEFORE:

Minimum Angular peer dependency version is ^10.0.0

AFTER:

Minimum Angular peer dependency version is ^11.0.0

  • entity: To overwrite the entities, we previously used the addAll method but the method name was confusing.

BEFORE:

adapter.addAll(action.entities, state);

AFTER:

The new method name setAll describes the intention better.

adapter.setAll(action.entities, state);
  • refactor(data): use the setAll adapter method
  • The initial state Injection Token for @ngrx/component-store has been renamed

BEFORE:

Injection Token is initialStateToken

AFTER:

Injection Token is INITIAL_STATE_TOKEN

<a name="10.0.1"></a>

brandonroberts
published 10.1.2 •

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