Skip to content

Commit a89eee3

Browse files
chore(release): 1.0.0 [skip ci]
# 1.0.0 (2020-10-02) ### Bug Fixes * fix eslint error ([41bae4a](41bae4a)) * **useEvent:** 修复 ref 变化时没有解绑事件的bug ([a5aa835](a5aa835)) * **useHistory:** patch when is client ([230290d](230290d)) * **useSessionStorage:** 修复没有导出 useSessionStorage 的bug ([644060a](644060a)) * **useTimeout:** clear setTimeout when component is unMounted ([6a00858](6a00858)) * **useToogle:** fix wrong type and ban changing state with ref ([963aca2](963aca2)) ### Features * **useDebounceFn:** support passing params tothe returned function ([17c97f0](17c97f0)) * **useHistory:** export clear function ([cbfd197](cbfd197)) * **useInterval:** support restart interval ([5376ed8](5376ed8)) * **useResize:** support debounce ([3ccabbf](3ccabbf)) * **useScroll:** support throttle ([cc8d636](cc8d636)) * **useTimeoutFn:** 将 watch 设置为同步执行 ([87a5635](87a5635)) * **useWindowScroll:** support throttle ([c600d1b](c600d1b)) * add useDebounce ([6a23363](6a23363)) * add useDebounceFn ([5f01102](5f01102)) * add useHash ([8c8d3f7](8c8d3f7)) * add useHistory ([af1bd7f](af1bd7f)) * add useInterval ([a52fa1b](a52fa1b)) * add useLifecycles ([b19dd8d](b19dd8d)) * add useLifecycles ([99286f8](99286f8)) * add useStorage & useLocalStorage & useSessionStorage ([b6d87c9](b6d87c9)) * add useTimeoutFn ([7324143](7324143)) * add useToogle & useBoolean ([addfd95](addfd95)) * config vitepress ([cc1a3a5](cc1a3a5)) * config vitepress ([31ba7fc](31ba7fc)) * useTimeout ([65b364a](65b364a)) * **project:** init project ([689d0c6](689d0c6)) * **useEvent:** add useEvent ([8db2731](8db2731)) * **useEventRef:** add useEventRef ([7f20514](7f20514)) * **useResize:** add useResize ([478f889](478f889)) * **useScroll:** add useScroll ([70b2a3a](70b2a3a)) * **useScrollRef:** add useScrollRef ([d963675](d963675)) * **useTitle:** add useTitle ([527846c](527846c)) * **useWindowScroll:** add useWindowScroll ([d1d29fc](d1d29fc))
1 parent 41bae4a commit a89eee3

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# 1.0.0 (2020-10-02)
2+
3+
4+
### Bug Fixes
5+
6+
* fix eslint error ([41bae4a](https://github.com/lmhcoding/vhook/commit/41bae4ac27721c1686567dce1946a49d50a3ac87))
7+
* **useEvent:** 修复 ref 变化时没有解绑事件的bug ([a5aa835](https://github.com/lmhcoding/vhook/commit/a5aa835b14e60a8dfd459cf3d6b2a923bc8c6f10))
8+
* **useHistory:** patch when is client ([230290d](https://github.com/lmhcoding/vhook/commit/230290d9be044c33f08dc947eedccd42d0ac19c8))
9+
* **useSessionStorage:** 修复没有导出 useSessionStorage 的bug ([644060a](https://github.com/lmhcoding/vhook/commit/644060ade92fce43499bb2ffee36db21baf35ae6))
10+
* **useTimeout:** clear setTimeout when component is unMounted ([6a00858](https://github.com/lmhcoding/vhook/commit/6a008585f49ef0b5f9c4024e2aafc43190dec28b))
11+
* **useToogle:** fix wrong type and ban changing state with ref ([963aca2](https://github.com/lmhcoding/vhook/commit/963aca220b609f5a780fe0dcac355d45c2c911cf))
12+
13+
14+
### Features
15+
16+
* **useDebounceFn:** support passing params tothe returned function ([17c97f0](https://github.com/lmhcoding/vhook/commit/17c97f0b086c203bb1d71a5d60fac206383c8754))
17+
* **useHistory:** export clear function ([cbfd197](https://github.com/lmhcoding/vhook/commit/cbfd197c35ae04096901a418d4868414a5f5397a))
18+
* **useInterval:** support restart interval ([5376ed8](https://github.com/lmhcoding/vhook/commit/5376ed8eb76f31c4147aa8d7351b674ea1db8c92))
19+
* **useResize:** support debounce ([3ccabbf](https://github.com/lmhcoding/vhook/commit/3ccabbf54ce05736ee422b81229203b8cd73b036))
20+
* **useScroll:** support throttle ([cc8d636](https://github.com/lmhcoding/vhook/commit/cc8d6368ad0b656cee1fc067e54f75f4ae81703c))
21+
* **useTimeoutFn:** 将 watch 设置为同步执行 ([87a5635](https://github.com/lmhcoding/vhook/commit/87a5635001eef0ee25cba6abfed89d9d8617fe63))
22+
* **useWindowScroll:** support throttle ([c600d1b](https://github.com/lmhcoding/vhook/commit/c600d1b7592b95abc68f439df9c7a8312c57846e))
23+
* add useDebounce ([6a23363](https://github.com/lmhcoding/vhook/commit/6a233638c4c7756299fd8084dc1ce6ce3bb5a24f))
24+
* add useDebounceFn ([5f01102](https://github.com/lmhcoding/vhook/commit/5f01102d4311586f648c1a37856587d475b2a9d5))
25+
* add useHash ([8c8d3f7](https://github.com/lmhcoding/vhook/commit/8c8d3f7e8468093fdb8b60f70f02d06285b3c047))
26+
* add useHistory ([af1bd7f](https://github.com/lmhcoding/vhook/commit/af1bd7fa1361927d4f5462f891bbbd354831a48c))
27+
* add useInterval ([a52fa1b](https://github.com/lmhcoding/vhook/commit/a52fa1bc1402bb90d3bd35dcf8426d7d4093686c))
28+
* add useLifecycles ([b19dd8d](https://github.com/lmhcoding/vhook/commit/b19dd8ddd4bef7e6543ec14119a517378df5353e))
29+
* add useLifecycles ([99286f8](https://github.com/lmhcoding/vhook/commit/99286f855c0273de065b6a1974fd400579443755))
30+
* add useStorage & useLocalStorage & useSessionStorage ([b6d87c9](https://github.com/lmhcoding/vhook/commit/b6d87c9d79a282b20fecf706896e4138ebf5f27b))
31+
* add useTimeoutFn ([7324143](https://github.com/lmhcoding/vhook/commit/73241434f3b9a60c97c4846a61d39437bac35588))
32+
* add useToogle & useBoolean ([addfd95](https://github.com/lmhcoding/vhook/commit/addfd95bf2a34f976b013ecb26657874fcaa6846))
33+
* config vitepress ([cc1a3a5](https://github.com/lmhcoding/vhook/commit/cc1a3a5d728c45c365c687e4bb5a2134aa7658fa))
34+
* config vitepress ([31ba7fc](https://github.com/lmhcoding/vhook/commit/31ba7fc3beb62831d9e3647e4acf7224cb4bcc95))
35+
* useTimeout ([65b364a](https://github.com/lmhcoding/vhook/commit/65b364a9ccdd5d9bcc1645f8655272755c2bd01f))
36+
* **project:** init project ([689d0c6](https://github.com/lmhcoding/vhook/commit/689d0c6b172595bae67acd645fad00d423bad61c))
37+
* **useEvent:** add useEvent ([8db2731](https://github.com/lmhcoding/vhook/commit/8db273151287b7a80f5c3e7c4a269276a9571037))
38+
* **useEventRef:** add useEventRef ([7f20514](https://github.com/lmhcoding/vhook/commit/7f205140cb3d426fb8ee52767dd6e2d690a96be4))
39+
* **useResize:** add useResize ([478f889](https://github.com/lmhcoding/vhook/commit/478f88979d827633cfbdbc5b59c785306c831347))
40+
* **useScroll:** add useScroll ([70b2a3a](https://github.com/lmhcoding/vhook/commit/70b2a3a1b2debc0e489ee9dca7b2f950326ba64b))
41+
* **useScrollRef:** add useScrollRef ([d963675](https://github.com/lmhcoding/vhook/commit/d963675572148f6529224aab8a056dd6b4daf99b))
42+
* **useTitle:** add useTitle ([527846c](https://github.com/lmhcoding/vhook/commit/527846c813304ceeee11f7095997f46026bbe724))
43+
* **useWindowScroll:** add useWindowScroll ([d1d29fc](https://github.com/lmhcoding/vhook/commit/d1d29fc0b4785b581990d117f6dab36b1c202c4c))

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vhook",
3-
"version": "0.0.1",
3+
"version": "1.0.0",
44
"description": "Vue Composition Function",
55
"main": "lib/index.js",
66
"module": "esm/index.js",

0 commit comments

Comments
 (0)