Skip to content

Commit

Permalink
chore(release): 7.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [7.0.0](v6.2.2...v7.0.0) (2019-03-28)

### Bug Fixes

* πŸ› fix TypeScript build errors ([5c95f28](5c95f28))
* πŸ› make sure all paths in usePageLeave return ([6655092](6655092))
* πŸ› track "over" state better in useDrop hook ([acc355c](acc355c))

### Features

* 🎸 add clear() to useList, use fn for state updates ([b20cf7c](b20cf7c))
* 🎸 add createRenderProp function for creating render-props ([f4fd748](f4fd748))
* 🎸 add useDrop hook ([6e415cf](6e415cf))
* 🎸 add useDropArea hook ([676d0de](676d0de))
* 🎸 add useEvent hook ([2a13cfb](2a13cfb))
* 🎸 add useKey hook ([299fd86](299fd86))
* 🎸 add useKeyboardJs hook ([3516aa6](3516aa6))
* 🎸 add usePageLeave hook ([33ac91b](33ac91b))
* 🎸 add useThrottleFn hook that throttles function ([0ccdf95](0ccdf95))
* 🎸 improve useFullscreen hook ([7c38165](7c38165))
* 🎸 keep keyboard events in useKeyPress hook ([00fecab](00fecab))
* 🎸 refactor useKeyPressEvent hook ([c0658f6](c0658f6))
* 🎸 return events from useKeyboardJs hook ([aa277b8](aa277b8))
* 🎸 simplify and improve useThrottle hook ([452e8d9](452e8d9))
* 🎸 useKeyPress hook now uses useKey, KeyboardJS removed ([727743b](727743b))

### BREAKING CHANGES

* 🧨 useKeyPressEvent hook modified for dependency injection and providing
event objects to user
* 🧨 KeyboardJS now available anymore in useKeyPress hook, instead it will be
a separate useKeyPressKJ hook.
* 🧨 useThrottle is now a completely different hook
  • Loading branch information
semantic-release-bot committed Mar 28, 2019
1 parent 07783d4 commit 42bb7c7
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 11 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
# [7.0.0](https://github.com/streamich/react-use/compare/v6.2.2...v7.0.0) (2019-03-28)


### Bug Fixes

* πŸ› fix TypeScript build errors ([5c95f28](https://github.com/streamich/react-use/commit/5c95f28))
* πŸ› make sure all paths in usePageLeave return ([6655092](https://github.com/streamich/react-use/commit/6655092))
* πŸ› track "over" state better in useDrop hook ([acc355c](https://github.com/streamich/react-use/commit/acc355c))


### Features

* 🎸 add clear() to useList, use fn for state updates ([b20cf7c](https://github.com/streamich/react-use/commit/b20cf7c))
* 🎸 add createRenderProp function for creating render-props ([f4fd748](https://github.com/streamich/react-use/commit/f4fd748))
* 🎸 add useDrop hook ([6e415cf](https://github.com/streamich/react-use/commit/6e415cf))
* 🎸 add useDropArea hook ([676d0de](https://github.com/streamich/react-use/commit/676d0de))
* 🎸 add useEvent hook ([2a13cfb](https://github.com/streamich/react-use/commit/2a13cfb))
* 🎸 add useKey hook ([299fd86](https://github.com/streamich/react-use/commit/299fd86))
* 🎸 add useKeyboardJs hook ([3516aa6](https://github.com/streamich/react-use/commit/3516aa6))
* 🎸 add usePageLeave hook ([33ac91b](https://github.com/streamich/react-use/commit/33ac91b))
* 🎸 add useThrottleFn hook that throttles function ([0ccdf95](https://github.com/streamich/react-use/commit/0ccdf95))
* 🎸 improve useFullscreen hook ([7c38165](https://github.com/streamich/react-use/commit/7c38165))
* 🎸 keep keyboard events in useKeyPress hook ([00fecab](https://github.com/streamich/react-use/commit/00fecab))
* 🎸 refactor useKeyPressEvent hook ([c0658f6](https://github.com/streamich/react-use/commit/c0658f6))
* 🎸 return events from useKeyboardJs hook ([aa277b8](https://github.com/streamich/react-use/commit/aa277b8))
* 🎸 simplify and improve useThrottle hook ([452e8d9](https://github.com/streamich/react-use/commit/452e8d9))
* 🎸 useKeyPress hook now uses useKey, KeyboardJS removed ([727743b](https://github.com/streamich/react-use/commit/727743b))


### BREAKING CHANGES

* 🧨 useKeyPressEvent hook modified for dependency injection and providing
event objects to user
* 🧨 KeyboardJS now available anymore in useKeyPress hook, instead it will be
a separate useKeyPressKJ hook.
* 🧨 useThrottle is now a completely different hook

## [6.2.2](https://github.com/streamich/react-use/compare/v6.2.1...v6.2.2) (2019-03-28)


Expand Down
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-use",
"version": "6.2.2",
"version": "7.0.0",
"description": "Collection of React Hooks",
"main": "lib/index.js",
"module": "esm/index.js",
Expand Down Expand Up @@ -41,8 +41,8 @@
"ts-easing": "^0.2.0"
},
"peerDependencies": {
"keyboardjs": "*",
"rebound": "*"
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"devDependencies": {
"@semantic-release/changelog": "3.0.2",
Expand Down Expand Up @@ -70,20 +70,19 @@
"ts-node": "8.0.3",
"typescript": "3.3.4000"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"config": {
"commitizen": {
"path": "git-cz"
}
},
"release": {
"branches": ["master", {
"name": "next",
"prerelease": "rc"
}],
"branches": [
"master",
{
"name": "next",
"prerelease": "rc"
}
],
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
Expand Down

0 comments on commit 42bb7c7

Please sign in to comment.