415 Commits

Author SHA1 Message Date
Renovate Bot
ff615a3807 chore(deps): update dependency lint-staged to v9.2.5 2019-08-27 07:56:50 +00:00
semantic-release-bot
0b458dfd31 chore(release): 11.3.2 [skip ci]
## [11.3.2](https://github.com/streamich/react-use/compare/v11.3.1...v11.3.2) (2019-08-25)

### Bug Fixes

* useThrottle & useThrottleFn proper timeout type; ([e2cdb94](https://github.com/streamich/react-use/commit/e2cdb94))
2019-08-25 21:58:13 +00:00
semantic-release-bot
bca86db57d chore(release): 11.3.1 [skip ci]
## [11.3.1](https://github.com/streamich/react-use/compare/v11.3.0...v11.3.1) (2019-08-25)

### Bug Fixes

* update createReducer to fix initial state ([fd083f2](https://github.com/streamich/react-use/commit/fd083f2))
2019-08-25 19:29:01 +00:00
Anton Zinovyev
943acb25e8
Merge pull request #565 from streamich/renovate/lint-staged-9.x
chore(deps): update dependency lint-staged to v9.2.4
2019-08-25 22:23:54 +03:00
semantic-release-bot
254eac5c93 chore(release): 11.3.0 [skip ci]
# [11.3.0](https://github.com/streamich/react-use/compare/v11.2.0...v11.3.0) (2019-08-25)

### Features

* add usePreviousDistinct ([#551](https://github.com/streamich/react-use/issues/551)) ([6c3e569](https://github.com/streamich/react-use/commit/6c3e569))
2019-08-25 19:22:29 +00:00
semantic-release-bot
c5151c74a2 chore(release): 11.2.0 [skip ci]
# [11.2.0](https://github.com/streamich/react-use/compare/v11.1.1...v11.2.0) (2019-08-25)

### Features

* add useCircularIterate ([8d84340](https://github.com/streamich/react-use/commit/8d84340))
2019-08-25 18:04:19 +00:00
Renovate Bot
36d396d346
chore(deps): update dependency lint-staged to v9.2.4 2019-08-25 17:46:39 +00:00
Renovate Bot
11860640ab chore(deps): pin dependency react-frame-component to 4.1.1 2019-08-25 12:42:08 +00:00
semantic-release-bot
c7e9ea0811 chore(release): 11.1.1 [skip ci]
## [11.1.1](https://github.com/streamich/react-use/compare/v11.1.0...v11.1.1) (2019-08-25)

### Bug Fixes

* [#550](https://github.com/streamich/react-use/issues/550) ([2617d74](https://github.com/streamich/react-use/commit/2617d74))
2019-08-25 11:41:45 +00:00
Vadim Dalecky
a6ee928471
Merge pull request #561 from streamich/fix-#550
fix: make useLockBodyScroll support iframes
2019-08-25 13:39:50 +02:00
semantic-release-bot
9c56ce93ee chore(release): 11.1.0 [skip ci]
# [11.1.0](https://github.com/streamich/react-use/compare/v11.0.2...v11.1.0) (2019-08-25)

### Features

* 🎸 add useHarmonicIntervalFn() hook ([d9f21e3](https://github.com/streamich/react-use/commit/d9f21e3))
2019-08-25 11:10:53 +00:00
streamich
d9f21e30e1 feat: 🎸 add useHarmonicIntervalFn() hook 2019-08-25 12:52:03 +02:00
xobotyi
2617d74b8a fix: #550 2019-08-25 07:41:33 +03:00
semantic-release-bot
8c2658f8e1 chore(release): 11.0.2 [skip ci]
## [11.0.2](https://github.com/streamich/react-use/compare/v11.0.1...v11.0.2) (2019-08-23)

### Bug Fixes

* **useSetState:** memoize setState callback ([0275329](https://github.com/streamich/react-use/commit/0275329))
* **useSetState:** memoize setState callback ([16f023f](https://github.com/streamich/react-use/commit/16f023f))
2019-08-23 19:05:48 +00:00
semantic-release-bot
ff07a6bb12 chore(release): 11.0.1 [skip ci]
## [11.0.1](https://github.com/streamich/react-use/compare/v11.0.0...v11.0.1) (2019-08-23)

### Bug Fixes

* correct useSpring() hook behaviour ([d7a622d](https://github.com/streamich/react-use/commit/d7a622d))
2019-08-23 18:57:02 +00:00
Renovate Bot
3b6b72385a chore(deps): update dependency semantic-release to v15.13.24 2019-08-22 19:41:05 +00:00
semantic-release-bot
a656c15f57 chore(release): 11.0.0 [skip ci]
# [11.0.0](https://github.com/streamich/react-use/compare/v10.8.0...v11.0.0) (2019-08-22)

### Features

* add cancel and reset methods to useTimeout ([283045a](https://github.com/streamich/react-use/commit/283045a))
* add useTimeoutFn ([284e6fd](https://github.com/streamich/react-use/commit/284e6fd))

### BREAKING CHANGES

* useTimeout now returns a tuple
2019-08-22 08:59:02 +00:00
Renovate Bot
255c6006c2 chore(deps): update dependency tslint to v5.19.0 2019-08-20 23:52:15 +00:00
Renovate Bot
44181d44e6 chore(deps): pin dependency raf-stub to 3.0.0 2019-08-20 22:44:41 +00:00
semantic-release-bot
528258561f chore(release): 10.8.0 [skip ci]
# [10.8.0](https://github.com/streamich/react-use/compare/v10.7.1...v10.8.0) (2019-08-20)

### Bug Fixes

* Reworked useBattery hook ([1069060](https://github.com/streamich/react-use/commit/1069060))
* succeed useRafLoop tests ([09167df](https://github.com/streamich/react-use/commit/09167df))

### Features

* 🎸 support useBattery hook on server side ([5d31cf0](https://github.com/streamich/react-use/commit/5d31cf0))
* 🎸 use only one useState and one useEffect call ([2d0fabf](https://github.com/streamich/react-use/commit/2d0fabf))
2019-08-20 21:45:30 +00:00
Vadim Dalecky
09167df364
fix: succeed useRafLoop tests 2019-08-20 23:43:13 +02:00
xobotyi
be950bbc41 Fix useRafLoop tests. Now it always succeed. 2019-08-21 00:31:18 +03:00
semantic-release-bot
49aba72d9c chore(release): 10.7.1 [skip ci]
## [10.7.1](https://github.com/streamich/react-use/compare/v10.7.0...v10.7.1) (2019-08-20)

### Bug Fixes

* async test warnings ([#543](https://github.com/streamich/react-use/issues/543)) ([7af237e](https://github.com/streamich/react-use/commit/7af237e))
2019-08-20 20:41:48 +00:00
Renovate Bot
70ca004983
chore(deps): update dependency @types/jest to v24.0.18 2019-08-19 17:50:01 +00:00
semantic-release-bot
da1f00799e chore(release): 10.7.0 [skip ci]
# [10.7.0](https://github.com/streamich/react-use/compare/v10.6.4...v10.7.0) (2019-08-19)

### Features

* 🎸 add useUpsert ([6875e13](https://github.com/streamich/react-use/commit/6875e13))
* 🎸 export useUpsert from index ([3eda2b2](https://github.com/streamich/react-use/commit/3eda2b2))
* add useUpsert ([a7c2899](https://github.com/streamich/react-use/commit/a7c2899))
2019-08-19 17:35:50 +00:00
semantic-release-bot
d273d99df3 chore(release): 10.6.4 [skip ci]
## [10.6.4](https://github.com/streamich/react-use/compare/v10.6.3...v10.6.4) (2019-08-19)

### Bug Fixes

* return from useUpdateEffect ([2f70dc2](https://github.com/streamich/react-use/commit/2f70dc2))
* useUpdateEffect add return ([8b24df4](https://github.com/streamich/react-use/commit/8b24df4))
2019-08-19 16:00:55 +00:00
Vadim Dalecky
8700ad241b
chore: dedupe yarn.lock 2019-08-19 17:54:39 +02:00
semantic-release-bot
da88600af0 chore(release): 10.6.3 [skip ci]
## [10.6.3](https://github.com/streamich/react-use/compare/v10.6.2...v10.6.3) (2019-08-19)

### Bug Fixes

* allow import default for ESM ([bd3a062](https://github.com/streamich/react-use/commit/bd3a062))
* rollup build error: Cannot call a namespace ('writeText') ([b3e672b](https://github.com/streamich/react-use/commit/b3e672b))
2019-08-19 15:54:21 +00:00
xobotyi
6311f3a8ce Update @types/react to react's respective version;
Deduplicated yarn.lock;
Fixed some problem with dependencies versions (tsc now runs properly);
2019-08-19 07:23:35 +03:00
semantic-release-bot
b93bb0a6ed chore(release): 10.6.2 [skip ci]
## [10.6.2](https://github.com/streamich/react-use/compare/v10.6.1...v10.6.2) (2019-08-18)

### Bug Fixes

* 🐛 fix master ([d1df7a5](https://github.com/streamich/react-use/commit/d1df7a5))
2019-08-18 13:36:31 +00:00
streamich
d1df7a5aec fix: 🐛 fix master 2019-08-18 15:32:33 +02:00
Renovate Bot
898da079dd
Update dependency husky to v3.0.4 2019-08-18 11:15:28 +00:00
Anton Zinovyev
0f2d7219fa
Merge pull request #523 from streamich/renovate/rimraf-3.x
chore(deps): update dependency rimraf to v3
2019-08-18 14:14:20 +03:00
Anton Zinovyev
4d2f532f32
Merge pull request #528 from streamich/renovate/jest-monorepo
chore(deps): update dependency jest to v24.9.0
2019-08-18 14:14:07 +03:00
Anton Zinovyev
a4100845fb
Merge pull request #527 from streamich/renovate/react-16.x
chore(deps): update dependency @types/react to v16.9.2
2019-08-18 14:13:53 +03:00
semantic-release-bot
4c772f9634 chore(release): 10.6.1 [skip ci]
## [10.6.1](https://github.com/streamich/react-use/compare/v10.6.0...v10.6.1) (2019-08-17)

### Bug Fixes

* useUpdateEffect run on the wrong time ([1d5cd10](https://github.com/streamich/react-use/commit/1d5cd10))
2019-08-17 20:37:08 +00:00
Renovate Bot
2351185e85 chore(deps): update dependency semantic-release to v15.13.21 2019-08-17 18:48:16 +00:00
Renovate Bot
84b4f77dcf chore(deps): update dependency lint-staged to v9.2.3 2019-08-17 17:47:22 +00:00
Renovate Bot
2ef813f3af
chore(deps): update dependency @types/react to v16.9.2 2019-08-17 17:47:14 +00:00
semantic-release-bot
09a5fa023b chore(release): 10.6.0 [skip ci]
# [10.6.0](https://github.com/streamich/react-use/compare/v10.5.0...v10.6.0) (2019-08-17)

### Features

* add min/max to useNumber ([586faab](https://github.com/streamich/react-use/commit/586faab))
2019-08-17 16:24:11 +00:00
streamich
56e59fa482 chore: 🤖 fix master 2019-08-17 17:54:19 +02:00
Renovate Bot
b9caace3b7
Update dependency jest to v24.9.0 2019-08-16 06:37:08 +00:00
Renovate Bot
5f40d7b453
Update dependency rimraf to v3 2019-08-14 18:21:37 +00:00
Renovate Bot
927cef3351
chore(deps): update dependency @testing-library/react-hooks to v2 2019-08-13 20:29:22 +00:00
Anton Zinovyev
e919c72fdc
Merge pull request #508 from streamich/renovate/react-16.x
chore(deps): update dependency @types/react to v16.9.1
2019-08-13 23:28:51 +03:00
Renovate Bot
fd24970ca3 chore(deps): update storybook monorepo to v5.1.11 2019-08-13 02:54:51 +00:00
Renovate Bot
9d0243dbf9
chore(deps): update dependency @types/react to v16.9.1 2019-08-09 14:25:29 +00:00
Renovate Bot
2ccde2f7fa chore(deps): update react monorepo to v16.9.0 2019-08-08 23:44:10 +00:00
Renovate Bot
b630c0476d chore(deps): update dependency husky to v3.0.3 2019-08-08 16:41:28 +00:00
Renovate Bot
2e1b433fcc chore(deps): update dependency gh-pages to v2.1.1 2019-08-08 15:49:44 +00:00