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

Commit

Permalink
chore: release 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Chau Tran authored and Chau Tran committed Sep 27, 2021
1 parent 55a1df7 commit c649d92
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 4 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
## [4.0.0](https://github.com/nartc/ngrx-slice/compare/3.1.1...4.0.0) (2021-09-27)


### Features

* add noop() to actions for triggering effects ([55a1df7](https://github.com/nartc/ngrx-slice/commit/55a1df71cd3721099a19628da724cb9679f160ab))
* **entity:** simplify `updateOne` usage ([62e0619](https://github.com/nartc/ngrx-slice/commit/62e061988cccafcf93c2d8c834001b394d787905))

### ⚠ BREAKING CHANGES: `updateOne` now accepts `Update<TModel>` instead of `{ update: Update<TModel> }`
```ts
// before
TodoActions.toggleComplete({
update: {
id: todo.id,
changes: { completed: !todo.completed }
}
});

// after
TodoActions.toggleComplete({
id: todo.id,
changes: { completed: !todo.completed }
});
```

### Bug Fixes

* **entity:** check if arg is object for payloadAction ([eb8bfbb](https://github.com/nartc/ngrx-slice/commit/eb8bfbb51b6b3c83910edcd1fcfb086cf74eb216))

### [3.1.1](https://github.com/nartc/ngrx-slice/compare/3.1.0...3.1.1) (2021-09-10)


Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngrx-slice",
"version": "3.1.1",
"version": "4.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
2 changes: 1 addition & 1 deletion projects/ngrx-slice/entity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngrx-slice/entity",
"version": "3.1.1",
"version": "4.0.0",
"license": "MIT",
"description": "createSlice Entity plugin for NgRX"
}
2 changes: 1 addition & 1 deletion projects/ngrx-slice/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngrx-slice",
"version": "3.1.1",
"version": "4.0.0",
"license": "MIT",
"description": "createSlice plugin for NgRX",
"keywords": [
Expand Down

0 comments on commit c649d92

Please sign in to comment.