Socket
Socket
Sign inDemoInstall

@ngrx/component-store

Package Overview
Dependencies
4
Maintainers
4
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
35
8Next

14.3.2

Diff

Changelog

Source

14.3.2 (2022-10-04)

Bug Fixes

  • component: replace animationFrameScheduler with requestAnimationFrame (#3592) (0a4d2dd), closes #3591
  • component-store: use asapScheduler to schedule lifecycle hooks check (#3580) (02431b4), closes #3573
  • eslint-plugin: avoid-combining-selectors with arrays should warn (#3566) (4b0c6de)
  • router-store: set undefined for unserializable route title (#3593) (8eb4001), closes #3495
  • store: fix typing of on fn (#3577) (d054aa9), closes #3576

<a name="14.3.1"></a>

brandonroberts
published 14.3.1 •

Changelog

Source

14.3.1 (2022-09-08)

Bug Fixes

<a name="14.3.0"></a>

brandonroberts
published 14.3.0 •

Changelog

Source

14.3.0 (2022-08-25)

Features

<a name="14.2.0"></a>

brandonroberts
published 14.2.0 •

Changelog

Source

14.2.0 (2022-08-18)

Bug Fixes

  • component-store: make synchronous updater errors catchable (#3490) (1a906fd)
  • component-store: move isInitialized check to queueScheduler context on state update (#3492) (53636e4), closes #2991

Features

  • component-store: handle errors in next callback (#3533) (551c8eb)

<a name="14.1.0"></a>

brandonroberts
published 14.1.0 •

Changelog

Source

14.1.0 (2022-08-09)

Bug Fixes

  • eslint-plugin: allow sequential dispatches in a different block context (#3515) (faf446f), closes #3513
  • eslint-plugin: Remove the md suffix from the docsUrl path (#3518) (71d4d4b)
  • store: improve error for forbidden characters in createActionGroup (#3496) (398fbed)

Features

  • component: add RenderScheduler to the public API (#3516) (4642919)
  • component: replace markDirty with custom TickScheduler (#3488) (3fcd8af)

Performance Improvements

  • component: do not schedule render for synchronous events (#3487) (bb9071c)

<a name="14.0.2"></a>

brandonroberts
published 14.0.2 •

Changelog

Source

14.0.2 (2022-07-12)

Bug Fixes

  • component: import operators from rxjs/operators (#3479) (20ef7a4)
  • component-store: effect handles generics that extend upon a type (#3485) (9d2bda7), closes #3482
  • data: add TSDoc annotations (#3483) (cbbc49f)
  • eslint-plugin: fix configuration guide link (#3480) (8219b1d)

<a name="14.0.1"></a>

brandonroberts
published 14.0.1 •

Changelog

Source

14.0.1 (2022-06-29)

Bug Fixes

  • component-store: allow void callbacks in effect (#3466) (e6dedd6), closes #3462
  • component-store: import operators from rxjs/operators (#3465) (f9ba513)
  • schematics: add workingDirectory to schemas (#3473) (50ea6b3), closes #3469
  • schematics: create schematicCollections if not exists (#3470) (011cbcc)

<a name="14.0.0"></a>

brandonroberts
published 14.0.0 •

Changelog

Source

14.0.0 (2022-06-20)

Bug Fixes

  • component: do not exclude falsy types from LetDirective's input type (#3460) (7028adb)

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

brandonroberts
published 14.0.0-rc.0 •

Changelog

Source

14.0.0-rc.0 (2022-06-08)

Code Refactoring

  • router-store: change name for full router state serializer (#3430) (d443f50), closes #3416

Features

  • component: add separate modules for PushPipe and LetDirective (#3449) (eacc4b4), closes #3341
  • component: deprecate ReactiveComponentModule (#3451) (b4dd2c8)
  • eslint-plugin: improve install flow (#3447) (8ddaf60)
  • schematics: use schematicCollections instead of defaultCollection (#3441) (5abf828), closes #3383

BREAKING CHANGES

  • router-store: The full router state serializer has been renamed.

BEFORE:

The full router state serializer is named DefaultRouterStateSerializer

AFTER:

The full router state serializer is named FullRouterStateSerializer. A migration is provided to rename the export in affected projects.

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

brandonroberts
published 14.0.0-beta.0 •

Changelog

Source

14.0.0-beta.0 (2022-05-30)

Bug Fixes

  • store: rename template literal to string literal for createActionGroup (#3426) (7d08db1)

Features

Performance Improvements

  • component: reset state / trigger CD only if necessary (#3328) (f5b055b)

BREAKING CHANGES

    1. The context of LetDirective is strongly typed when null or undefined is passed as input.

BEFORE:

<p *ngrxLet="null as n">{{ n }}</p>
<p *ngrxLet="undefined as u">{{ u }}</p>
  • The type of n is any.
  • The type of u is any.

AFTER:

<p *ngrxLet="null as n">{{ n }}</p>
<p *ngrxLet="undefined as u">{{ u }}</p>
  • The type of n is null.
  • The type of u is undefined.
  • schematics: BEFORE:

Creating actions, reducers, and effects is possible without using the creator syntax is possible.

AFTER:

  • All schematics use the non-creator syntax to scaffold the code.
  • The option --creators (and -c) is removed from the schematic options.
  • The skipTests option is removed while generating actions.
  • Minimum version of Angular has been updated

BEFORE:

Minimum version of Angular was 13.x

AFTER:

Minimum version of Angular is 14.x

  • component: The native local rendering strategy is replaced by global in zone-less mode for better performance.

BEFORE:

The change detection is triggered via changeDetectorRef.detectChanges in zone-less mode.

AFTER:

The change detection is triggered via ɵmarkDirty in zone-less mode.

  • component: The $error property from LetDirective's view context is a thrown error or undefined instead of true/false.

BEFORE:

<p *ngrxLet="obs$; $error as e">{{ e }}</p>
  • e will be true when obs$ emits error event.
  • e will be false when obs$ emits next/complete event.

AFTER:

<p *ngrxLet="obs$; $error as e">{{ e }}</p>
  • e will be thrown error when obs$ emits error event.
  • e will be undefined when obs$ emits next/complete event.

<a name="13.1.0"></a>

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc