Skip to content
This repository has been archived by the owner on Jan 23, 2022. It is now read-only.

Releases: nartc/ngrx-slice

Release 6.0.0

19 Dec 17:03
Compare
Choose a tag to compare

6.0.0 (2021-12-19)

⚠ BREAKING CHANGES

  • Angular 13

Features

Bug Fixes

  • adjust slice and entity to ngrx13 (4295601)

Documentations

  • update peer dependencies (9c46e4b)

Release 5.0.0

22 Oct 20:08
Compare
Choose a tag to compare

5.0.0 (2021-10-22)

⚠ BREAKING CHANGES

  • generated actions for AsyncCaseReducer are now
    correctly generated with the type of cases provided, not all 5

Features

  • only generate correct amount of async case actions (c250f2a)

Documentations

  • remove scully plugins folder (de0a678)

Release 4.0.0

27 Sep 01:40
Compare
Choose a tag to compare

4.0.0 (2021-09-27)

Features

  • add noop() to actions for triggering effects (55a1df7)
  • entity: simplify updateOne usage (62e0619)

Bug Fixes

  • entity: check if arg is object for payloadAction (eb8bfbb)

Release 3.1.1

10 Sep 03:25
Compare
Choose a tag to compare

3.1.1 (2021-09-10)

Bug Fixes

Release 3.1.0

02 Sep 23:27
Compare
Choose a tag to compare

3.1.0 (2021-09-02)

Features

  • port strings utils from angular to support classify instead of capitalize (4e1e4cb)

Release 3.0.0

27 Aug 17:18
Compare
Choose a tag to compare

3.0.0 (2021-08-27)

⚠ BREAKING CHANGES

  • entity: Dictionary no longer has undefined defined
// before
state.entities[id]; // returns entity or undefined

// after
state.entities[id]; // returns entity 

You should make sure that it is IMPOSSIBLE to access the entity at some given id if the entity is undefined. Eg: via UI, undefined entity shouldn't be rendered.

  • noopReducer usage has been simplified. The type parameters (ActionProps and SliceState) have been switched
// before
noopReducer<TodoState, { filter: Filter }>();
noopReducer<TodoState>();

// after
noopReducer<{filter: Filter}>();
noopReducer();

Bug Fixes

  • adjust noopReducer implementation (34d65c3)
  • entity: remove undefined from Dictionary type (fa538eb)

Release 2.2.0

26 Aug 17:27
Compare
Choose a tag to compare

2.2.0 (2021-08-26)

Features

  • entity: add createSliceEntityAdapter (4d68582)

Release 2.1.1

19 Jul 03:38
Compare
Choose a tag to compare

2.1.1 (2021-07-19)

Bug Fixes

  • use proper type fo createSliceAction (d8334fd)

Documentations

Release 2.1.0

28 Jun 14:23
Compare
Choose a tag to compare

2.1.0 (2021-06-28)

Features

  • add createNamespacedSlice in addition to createSlice (71ef0f1)

Documentations

Release 2.0.0

28 Jun 01:41
Compare
Choose a tag to compare

2.0.0 (2021-06-28)

⚠ BREAKING CHANGES

  • API return type change. More info in CHANGELOG

Features

Documentations

  • add netlify status badge (6749bca)
  • update docs to reflect updated API (9311408)