434 Commits

Author SHA1 Message Date
Renovate Bot
8c0d178739 chore(deps): update yarn to v1.17.3 2019-09-25 12:30:23 +00:00
Renovate Bot
e89ec97f46 chore(deps): update node.js to v10.16.3 2019-09-25 10:33:26 +00:00
Renovate Bot
e6077c1e27 chore(deps): update babel monorepo to v7.6.2 2019-09-23 22:50:27 +00:00
semantic-release-bot
64048a0039 chore(release): 12.2.1 [skip ci]
## [12.2.1](https://github.com/streamich/react-use/compare/v12.2.0...v12.2.1) (2019-09-23)

### Bug Fixes

* remove attempt from deps of retry in useAsyncRetry ([#614](https://github.com/streamich/react-use/issues/614)) ([adce59e](https://github.com/streamich/react-use/commit/adce59e))
2019-09-23 17:09:56 +00:00
Renovate Bot
24b614c324 chore(deps): update dependency lint-staged to v9.3.0 2019-09-22 12:25:55 +00:00
Renovate Bot
18e7c54760 chore(deps): update dependency ts-loader to v6.1.2 2019-09-21 07:57:52 +00:00
Renovate Bot
b425eb52f9 chore(deps): update dependency ts-loader to v6.1.1 2019-09-20 08:45:55 +00:00
Renovate Bot
e2616735a3 Update dependency tslint-react to v4.1.0 2019-09-17 17:53:22 +00:00
Renovate Bot
6dbed8b54c Update dependency ts-node to v8.4.1 2019-09-16 01:51:46 +00:00
Renovate Bot
3ab2630a9f Update dependency ts-loader to v6.1.0 2019-09-10 22:50:38 +00:00
Renovate Bot
26174f2cdb Update dependency tslint to v5.20.0 2019-09-10 01:49:02 +00:00
Renovate Bot
e7cdec3967 Update babel monorepo to v7.6.0 2019-09-06 18:56:58 +00:00
Renovate Bot
71fb03083a chore(deps): update dependency rxjs to v6.5.3 2019-09-03 21:55:25 +00:00
semantic-release-bot
1ee1cb90b9 chore(release): 12.2.0 [skip ci]
# [12.2.0](https://github.com/streamich/react-use/compare/v12.1.0...v12.2.0) (2019-09-02)

### Features

* improve useWindowSize performance rAF ([60a4937](https://github.com/streamich/react-use/commit/60a4937))
2019-09-02 12:08:48 +00:00
Vadim Dalecky
b96f097653
Merge pull request #573 from lintuming/master
feat: add useMeasure
2019-09-01 23:22:39 +02:00
semantic-release-bot
99f663940a chore(release): 12.1.0 [skip ci]
# [12.1.0](https://github.com/streamich/react-use/compare/v12.0.0...v12.1.0) (2019-09-01)

### Features

* 🎸 add useSearchParam() hook ([b22f32f](https://github.com/streamich/react-use/commit/b22f32f))
* 🎸 support server-side rendering in useSearchParam() hook ([64ac924](https://github.com/streamich/react-use/commit/64ac924))
2019-09-01 21:20:36 +00:00
semantic-release-bot
b366c25960 chore(release): 12.0.0 [skip ci]
# [12.0.0](https://github.com/streamich/react-use/compare/v11.3.2...v12.0.0) (2019-09-01)

### Features

* store "paused" instead of "isPlaying" in media state ([ff900d5](https://github.com/streamich/react-use/commit/ff900d5))

### BREAKING CHANGES

* now media players return "paused" instead of "isPlaying" in their state.
2019-09-01 21:14:19 +00:00
Renovate Bot
60bca98eb4 chore(deps): update dependency husky to v3.0.5 2019-09-01 17:58:52 +00:00
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
lintuming
fea782051e useMeasure 2019-08-23 18:53:41 +08: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