Skip to content

Commit

Permalink
chore(release): 11.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [11.0.0](v10.1.1...v11.0.0) (2021-09-28)

### Bug Fixes

* proper links in readme that don't break in firefox ([b406dc6](b406dc6))

### Features

* improve `useConditionalEffect` and remove `useConditionalUpdateEffect` ([#345](#345)) ([4474cf7](4474cf7))

### BREAKING CHANGES

* `useConditionalEffect` conditions and deps arguments now switched places.

* feat(useConditionalEffect): added ability to wrap other effect hooks

* feat: remove `useConditionalUpdateEffect`
* `useConditionalUpdateEffect` removed in favor of
composition with `useConditionalEffect`.

Now you should simpy pass extra argument to achieve same functionality:
`useConditionalEffect(()=>{}, undefined, [], truthyAndArrayPredicate,
useUpdateEffect)`
* Interface `IUseConditionalEffectPredicate` renamed to
`IConditionsPredicate`

* docs: cleanup, remove `useConditionalUpdateEffect` from readme

Co-authored-by: Joe Duncko <[email protected]>
  • Loading branch information
semantic-release-bot and JoeDuncko committed Sep 28, 2021
1 parent aa332a0 commit 1c53a68
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
# [11.0.0](https://github.com/react-hookz/web/compare/v10.1.1...v11.0.0) (2021-09-28)


### Bug Fixes

* proper links in readme that don't break in firefox ([b406dc6](https://github.com/react-hookz/web/commit/b406dc69d0ad5a08d26ab85144d056b6916b18f7))


### Features

* improve `useConditionalEffect` and remove `useConditionalUpdateEffect` ([#345](https://github.com/react-hookz/web/issues/345)) ([4474cf7](https://github.com/react-hookz/web/commit/4474cf730f9e02599eb3c2674ac3304d9f33ec93))


### BREAKING CHANGES

* `useConditionalEffect` conditions and deps arguments now switched places.

* feat(useConditionalEffect): added ability to wrap other effect hooks

* feat: remove `useConditionalUpdateEffect`
* `useConditionalUpdateEffect` removed in favor of
composition with `useConditionalEffect`.

Now you should simpy pass extra argument to achieve same functionality:
`useConditionalEffect(()=>{}, undefined, [], truthyAndArrayPredicate,
useUpdateEffect)`
* Interface `IUseConditionalEffectPredicate` renamed to
`IConditionsPredicate`

* docs: cleanup, remove `useConditionalUpdateEffect` from readme

Co-authored-by: Joe Duncko <[email protected]>

## [10.1.1](https://github.com/react-hookz/web/compare/v10.1.0...v10.1.1) (2021-09-24)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-hookz/web",
"version": "10.1.1",
"version": "11.0.0",
"description": "React hooks done right, for browser and SSR.",
"keywords": [
"react",
Expand Down

0 comments on commit 1c53a68

Please sign in to comment.