341 Commits

Author SHA1 Message Date
semantic-release-bot
14bf6dec75 chore(release): 10.3.0 [skip ci]
# [10.3.0](https://github.com/streamich/react-use/compare/v10.2.0...v10.3.0) (2019-07-26)

### Features

* add useDefault hook ([ade0557](https://github.com/streamich/react-use/commit/ade0557))
2019-07-26 20:14:21 +00:00
semantic-release-bot
6ed4a30a01 chore(release): 10.2.0 [skip ci]
# [10.2.0](https://github.com/streamich/react-use/compare/v10.1.2...v10.2.0) (2019-07-25)

### Features

* useWindowScroll - for cross-browser compatibility ([5987cc8](https://github.com/streamich/react-use/commit/5987cc8))
* useWindowScroll - for cross-browser compatibility ([#480](https://github.com/streamich/react-use/issues/480)) ([e37dd8d](https://github.com/streamich/react-use/commit/e37dd8d))
2019-07-25 09:14:39 +00:00
Renovate Bot
c58aac0432 chore(deps): update dependency lint-staged to v9.2.1 2019-07-25 05:35:43 +00:00
semantic-release-bot
950f5edb77 chore(release): 10.1.2 [skip ci]
## [10.1.2](https://github.com/streamich/react-use/compare/v10.1.1...v10.1.2) (2019-07-21)

### Bug Fixes

* remove OpenCollective postinstall hook ([26dcebc](https://github.com/streamich/react-use/commit/26dcebc))
2019-07-21 19:18:52 +00:00
Vadim Dalecky
024260f147
bug: fix opencollective postinstall error (#477)
bug: fix opencollective postinstall error
2019-07-21 21:16:24 +02:00
Vadim Dalecky
26dcebc6e6
fix: remove OpenCollective postinstall hook 2019-07-21 21:15:55 +02:00
semantic-release-bot
6ffd9ef300 chore(release): 10.1.1 [skip ci]
## [10.1.1](https://github.com/streamich/react-use/compare/v10.1.0...v10.1.1) (2019-07-21)

### Bug Fixes

* useMouse & useMouseHovered type definitions for SVG ([9e97451](https://github.com/streamich/react-use/commit/9e97451))
* useMouse & useMouseHovered type definitions for SVG ([#479](https://github.com/streamich/react-use/issues/479)) ([e2e4a60](https://github.com/streamich/react-use/commit/e2e4a60))
2019-07-21 19:14:58 +00:00
Yaroslav Kiliba
55671e0f46 bug: fix opencollective postinstall error 2019-07-21 20:18:19 +03:00
Renovate Bot
2e308db9b6 chore(deps): update dependency husky to v3.0.1 2019-07-18 22:50:55 +00:00
Renovate Bot
e502b7b120 chore(deps): update babel monorepo to v7.5.5 2019-07-17 22:32:16 +00:00
semantic-release-bot
ed03fc2c3b chore(release): 10.1.0 [skip ci]
# [10.1.0](https://github.com/streamich/react-use/compare/v10.0.0...v10.1.0) (2019-07-17)

### Features

* add latest `react-wait` types ([6ebe3bb](https://github.com/streamich/react-use/commit/6ebe3bb))
2019-07-17 15:30:57 +00:00
Vadim Dalecky
6ebe3bba85
feat: add latest react-wait types 2019-07-17 17:28:56 +02:00
semantic-release-bot
4d9271f921 chore(release): 10.0.0 [skip ci]
# [10.0.0](https://github.com/streamich/react-use/compare/v9.12.0...v10.0.0) (2019-07-17)

### Features

* remove big libs from peerDependencies ([1dbdc5d](https://github.com/streamich/react-use/commit/1dbdc5d))

### BREAKING CHANGES

* `useSpring` and `useKeyboardJs` hooks need to be imported directly now and libs they depend on are not in peerDependencies anymore.
2019-07-17 14:48:54 +00:00
Daniel K
17dd1f141a Remove peer deps 2019-07-17 08:27:21 +02:00
semantic-release-bot
0f137d8523 chore(release): 9.12.0 [skip ci]
# [9.12.0](https://github.com/streamich/react-use/compare/v9.11.2...v9.12.0) (2019-07-16)

### Bug Fixes

* 🐛 fix useDebounce import ([40b33da](https://github.com/streamich/react-use/commit/40b33da))

### Features

* add useInterval hook ([6645ed9](https://github.com/streamich/react-use/commit/6645ed9))
2019-07-16 23:01:26 +00:00
Renovate Bot
f7fc3d4e13 chore(deps): update dependency ts-loader to v6 2019-07-17 00:58:56 +02:00
Renovate Bot
655e62edee chore(deps): update dependency lint-staged to v9 2019-07-17 00:06:40 +02:00
Renovate Bot
52f715402a chore(deps): update dependency husky to v3 2019-07-17 00:05:43 +02:00
Renovate Bot
074fa2b8d8 chore(deps): update dependency fork-ts-checker-webpack-plugin to v1.4.3 2019-07-17 00:05:21 +02:00
Renovate Bot
1c28c70b8e chore(deps): pin dependency opencollective-postinstall to 2.0.2 2019-07-16 11:27:29 +00:00
Vadim Dalecky
c9fd4ec0b6
docs: add OpenCollective feature to README 2019-07-16 12:31:14 +02:00
streamich
89c5fe29a9 chore: 🤖 move opencollective-postinstall pkg to dev deps 2019-07-16 12:15:18 +02:00
semantic-release-bot
3d393f4377 chore(release): 9.11.2 [skip ci]
## [9.11.2](https://github.com/streamich/react-use/compare/v9.11.1...v9.11.2) (2019-07-16)

### Bug Fixes

* support useMedia usage server-side ([50a5160](https://github.com/streamich/react-use/commit/50a5160))
2019-07-16 10:11:40 +00:00
semantic-release-bot
18b7c99b2d chore(release): 9.11.1 [skip ci]
## [9.11.1](https://github.com/streamich/react-use/compare/v9.11.0...v9.11.1) (2019-07-16)

### Bug Fixes

* createReducer stable dispatch function identity ([9780545](https://github.com/streamich/react-use/commit/9780545))
2019-07-16 08:42:16 +00:00
Jess
6fe5bcc023 Added call to donate after npm install (optional) 2019-07-15 06:37:09 -07:00
Renovate Bot
f2b38cabd8 chore(deps): update dependency fork-ts-checker-webpack-plugin to v1.4.2 2019-07-15 10:24:46 +00:00
Renovate Bot
92084c6ef1 chore(deps): update dependency fork-ts-checker-webpack-plugin to v1.4.1 2019-07-14 20:38:36 +00:00
Spencer Elliott
b43f7f8594 Add dependency "@types/react-wait"
Fixes #306
2019-07-12 14:45:12 -04:00
Renovate Bot
c8c023e764 chore(deps): update dependency fork-ts-checker-webpack-plugin to v1.4.0 2019-07-12 06:20:28 +00:00
semantic-release-bot
d1f7d9c5f1 chore(release): 9.11.0 [skip ci]
# [9.11.0](https://github.com/streamich/react-use/compare/v9.10.0...v9.11.0) (2019-07-11)

### Features

* useMedia - initialize state with call to media query ([#454](https://github.com/streamich/react-use/issues/454)) ([ab81897](https://github.com/streamich/react-use/commit/ab81897))
2019-07-11 14:13:14 +00:00
semantic-release-bot
058830f8ef chore(release): 9.10.0 [skip ci]
# [9.10.0](https://github.com/streamich/react-use/compare/v9.9.0...v9.10.0) (2019-07-10)

### Features

* expose useIsomorphicLayoutEffect + docs ([#451](https://github.com/streamich/react-use/issues/451)) ([8dcbbf1](https://github.com/streamich/react-use/commit/8dcbbf1))
2019-07-10 13:06:59 +00:00
semantic-release-bot
caf5451b1c chore(release): 9.9.0 [skip ci]
# [9.9.0](https://github.com/streamich/react-use/compare/v9.8.3...v9.9.0) (2019-07-10)

### Features

* add usePermission ([4da40b9](https://github.com/streamich/react-use/commit/4da40b9))
* usePermission ([588a0c5](https://github.com/streamich/react-use/commit/588a0c5))
2019-07-10 11:30:52 +00:00
semantic-release-bot
a995e091c2 chore(release): 9.8.3 [skip ci]
## [9.8.3](https://github.com/streamich/react-use/compare/v9.8.2...v9.8.3) (2019-07-10)

### Bug Fixes

* useLocalStorage types for functional updates ([e2b8278](https://github.com/streamich/react-use/commit/e2b8278))
2019-07-10 10:17:45 +00:00
Renovate Bot
4730da61e4 chore(deps): update babel monorepo to v7.5.4 2019-07-09 21:52:26 +00:00
Renovate Bot
9db8af5b87 chore(deps): update dependency @babel/preset-env to v7.5.3 2019-07-09 17:30:31 +00:00
Renovate Bot
9c6290eef8 chore(deps): update dependency typescript to v3.5.3 2019-07-08 23:58:37 +00:00
Renovate Bot
3528c448f2 chore(deps): update dependency @babel/preset-env to v7.5.2 2019-07-08 21:52:20 +00:00
semantic-release-bot
b55427ed59 chore(release): 9.8.2 [skip ci]
## [9.8.2](https://github.com/streamich/react-use/compare/v9.8.1...v9.8.2) (2019-07-08)

### Bug Fixes

* **useSize:** prevents accessing iframe's property when it's not defined ([c9b5cdc](https://github.com/streamich/react-use/commit/c9b5cdc)), closes [#442](https://github.com/streamich/react-use/issues/442)
* **useSize:** prevents accessing iframe's property when it's not… ([#443](https://github.com/streamich/react-use/issues/443)) ([8f04e8f](https://github.com/streamich/react-use/commit/8f04e8f))
* iframe can be null ([a9e3bab](https://github.com/streamich/react-use/commit/a9e3bab))
2019-07-08 09:46:12 +00:00
Renovate Bot
cf68e36ad5 chore(deps): update babel monorepo to v7.5.0 2019-07-04 14:49:32 +00:00
Renovate Bot
a247692fd6 chore(deps): update dependency @types/react to v16.8.23 2019-07-03 18:59:39 +00:00
Renovate Bot
b5944c0d78 chore(deps): update dependency @semantic-release/git to v7.0.16 2019-07-01 18:27:32 +00:00
semantic-release-bot
bb6f16b5f3 chore(release): 9.8.1 [skip ci]
## [9.8.1](https://github.com/streamich/react-use/compare/v9.8.0...v9.8.1) (2019-06-30)

### Bug Fixes

* lint fixes via lint:fix ([7ce8e4f](https://github.com/streamich/react-use/commit/7ce8e4f))
* useMap uses prevMap state which is safer ([3554f79](https://github.com/streamich/react-use/commit/3554f79))
* **useMap:** remove now also uses prevMap state to not overwrite or lose state ([0a59869](https://github.com/streamich/react-use/commit/0a59869))
2019-06-30 10:49:09 +00:00
semantic-release-bot
62d531748c chore(release): 9.8.0 [skip ci]
# [9.8.0](https://github.com/streamich/react-use/compare/v9.7.2...v9.8.0) (2019-06-30)

### Bug Fixes

* 🐛 fix test and add pre-push hook ([1353b6c](https://github.com/streamich/react-use/commit/1353b6c))

### Features

* add voice option in use speech ([6dc2dd5](https://github.com/streamich/react-use/commit/6dc2dd5))
* add voice option in useSpeech ([#422](https://github.com/streamich/react-use/issues/422)) ([c32d02b](https://github.com/streamich/react-use/commit/c32d02b))
2019-06-30 10:41:43 +00:00
streamich
1353b6c125 fix: 🐛 fix test and add pre-push hook 2019-06-30 12:37:00 +02:00
Renovate Bot
1df06773fe chore(deps): update dependency react-spring to v8.0.27 2019-06-30 09:40:21 +00:00
Renovate Bot
ac20b2a487 chore(deps): update semantic-release monorepo 2019-06-28 20:54:27 +00:00
semantic-release-bot
0ba46f9cea chore(release): 9.7.2 [skip ci]
## [9.7.2](https://github.com/streamich/react-use/compare/v9.7.1...v9.7.2) (2019-06-27)

### Bug Fixes

* save to localStorage only when state changes ([ba6d375](https://github.com/streamich/react-use/commit/ba6d375))
* use correct list variable in useList ([#412](https://github.com/streamich/react-use/issues/412)) ([b937296](https://github.com/streamich/react-use/commit/b937296))
2019-06-27 10:51:45 +00:00
semantic-release-bot
733f532474 chore(release): 9.7.1 [skip ci]
## [9.7.1](https://github.com/streamich/react-use/compare/v9.7.0...v9.7.1) (2019-06-23)

### Bug Fixes

* 🐛 use synchronouse effect to subscribe to observables ([376eea3](https://github.com/streamich/react-use/commit/376eea3))
2019-06-23 11:08:41 +00:00
Renovate Bot
d8a49100cd chore(deps): update dependency tslint to v5.18.0 2019-06-21 16:46:23 +00:00
Renovate Bot
f45fee2aec chore(deps): update dependency @types/react to v16.8.22 2019-06-21 01:53:54 +00:00