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

@ngrx/router-store

Package Overview
Dependencies
Maintainers
4
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/router-store - npm Package Versions

23
14

19.0.0-rc.0

Diff

brandonroberts
published 19.0.0-beta.0 •

Changelog

Source

19.0.0-beta.0" (2024-11-20)

Features

  • schematics: change standalone default to true for components (#4569) (c7d0ce6)
  • signals: rename rxMethod.unsubscribe to destroy (#4584) (57ad5c5)
  • signals: throw error in dev mode on state mutation (#4526) (7a84209)

BREAKING CHANGES

  • signals: The signalState/signalStore state object is frozen in development mode. If a mutable change occurs to the state object, an error will be thrown.

BEFORE:

const userState = signalState(initialState);
patchState(userState, (state) => {
  state.user.firstName = 'mutable change'; // mutable change which went through
  return state;
});

AFTER:

const userState = signalState(initialState);
patchState(userState, (state) => {
  state.user.firstName = 'mutable change'; // throws in dev mode
  return state;
});
  • signals: The unsubscribe method from rxMethod is renamed to destroy.

BEFORE:

const logNumber = rxMethod<number>(tap(console.log));

const num1Ref = logNumber(interval(1_000));
const num2Ref = logNumber(interval(2_000));

// destroy `num1Ref` after 2 seconds
setTimeout(() => num1Ref.unsubscribe(), 2_000);

// destroy all reactive method refs after 5 seconds
setTimeout(() => logNumber.unsubscribe(), 5_000);

AFTER:

const logNumber = rxMethod<number>(tap(console.log));

const num1Ref = logNumber(interval(1_000));
const num2Ref = logNumber(interval(2_000));

// destroy `num1Ref` after 2 seconds
setTimeout(() => num1Ref.destroy(), 2_000);

// destroy all reactive method refs after 5 seconds
setTimeout(() => logNumber.destroy(), 5_000);
  • schematics: The default setting for generating components using schematics is updated.

BEFORE:

The default setting for generating components using schematics does not use standalone components.

AFTER:

The default setting for generating components using schematics uses standalone components.

  • The minimum required version of Angular has been updated.

BEFORE:

The minimum required version is Angular 18.x

AFTER:

The minimum required version is Angular 19.x

<a name="18.1.1"></a>

brandonroberts
published 18.1.1 •

Changelog

Source

18.1.1 (2024-10-29)

Bug Fixes

  • data: export HttpOptions (#4564) (4909627)
  • router-store: use non-const enum to allow isolatedModules tsconfig option (#4554) (f993759)

<a name="18.1.0"></a>

brandonroberts
published 18.1.0 •

Changelog

Source

18.1.0 (2024-10-08)

Bug Fixes

Features

<a name="18.0.2"></a>

brandonroberts
published 18.0.2 •

Changelog

Source

18.0.2 (2024-07-31)

Bug Fixes

  • eslint-plugin: do not report non-array returns in no-multiple-actions-in-effects (#4418) (92a68bc)
  • operators: add @ngrx/operators to packageGroup for updates (#4472) (521ce7b), closes #4465
  • signals: allow modifying entity id on update (#4404) (0106e93)

<a name="18.0.1"></a>

brandonroberts
published 18.0.1 •

Changelog

Source

18.0.1 (2024-06-27)

Bug Fixes

  • component-store: resolve issues in migration script to v18 (#4403) (a15d53e)
  • effects: fix bugs in migration script to v18 (#4402) (6ae4723)
  • eslint-plugin: only take return statement into account with no-multiple-actions-in-effects (#4410) (c9c646c), closes #4409

Features

  • signals: rename signals to computed when defining custom features with input (#4395) (05f0940), closes #4391
  • signals: replace idKey with selectId when defining custom entity ID (#4396) (67a5a93), closes #4217 #4392

<a name="18.0.1"></a>

brandonroberts
published 18.0.0 •

Changelog

Source

18.0.0 (2024-06-13)

<a name="18.0.0-rc.1"></a>

brandonroberts
published 18.0.0-rc.1 •

Changelog

Source

18.0.0-rc.1 (2024-06-12)

Bug Fixes

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

brandonroberts
published 18.0.0-rc.0 •

Changelog

Source

18.0.0-rc.0 (2024-06-10)

Bug Fixes

  • router-store: include string[] as return type for selectQueryParam (#4369) (b0b43f7)
  • signals: export DeepSignal (#4377) (fa26c5c)

Features

BREAKING CHANGES

  • effects: The concatLatestFrom operator has been removed from @ngrx/effects in favor of the @ngrx/operators package.

BEFORE:

import { concatLatestFrom } from '@ngrx/effects';

AFTER:

import { concatLatestFrom } from '@ngrx/operators';

  • component-store: The tapResponse operator has been removed from @ngrx/component-store in favor of the @ngrx/operators package.

BEFORE:

import { tapResponse } from '@ngrx/component-store';

AFTER:

import { tapResponse } from '@ngrx/operators';

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

brandonroberts
published 18.0.0-beta.1 •

Changelog

Source

18.0.0-beta.1 (2024-05-20)

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

23
14
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