@hanxx/vue-hooks
Version:
⚡️ Awesome Vue Hooks
114 lines (77 loc) • 7.54 kB
Markdown
## [1.1.1](https://github.com/lianghx-319/vue-hooks/compare/v1.1.0...v1.1.1) (2020-07-06)
### Bug Fixes
* **hook:** useAsync manul run function return type ([#5](https://github.com/lianghx-319/vue-hooks/issues/5)) ([3dd6b1f](https://github.com/lianghx-319/vue-hooks/commit/3dd6b1f))
# [1.1.0](https://github.com/lianghx-319/vue-hooks/compare/v1.0.1...v1.1.0) (2020-06-17)
### Features
* no neet to call Vue.use(hooks) ([#4](https://github.com/lianghx-319/vue-hooks/issues/4)) ([ac8183d](https://github.com/lianghx-319/vue-hooks/commit/ac8183d))
## [1.0.1](https://github.com/lianghx-319/vue-hooks/compare/v1.0.0...v1.0.1) (2020-05-31)
### Bug Fixes
* previously published version 1.0.0 ([0513e61](https://github.com/lianghx-319/vue-hooks/commit/0513e61))
* previously published version 1.0.0 ([8c7c07a](https://github.com/lianghx-319/vue-hooks/commit/8c7c07a))
# 1.0.0 (2020-05-31)
### Bug Fixes
* **deps:** move to dev dependencies ([8a64b14](https://github.com/lianghx-319/vue-hooks/commit/8a64b14))
* **hooks:** `vm.$router` should not be computed wrapper ([8483d43](https://github.com/lianghx-319/vue-hooks/commit/8483d43))
* **hooks:** fix `usePrevious` does not work when passing state ([8567a04](https://github.com/lianghx-319/vue-hooks/commit/8567a04))
* **hooks:** improve vuex interface ([fdae9b1](https://github.com/lianghx-319/vue-hooks/commit/fdae9b1))
* **hooks:** improve vuex interface again ([87bd2a5](https://github.com/lianghx-319/vue-hooks/commit/87bd2a5))
* **hooks:** remove useCounter typeof and use as const ([#132](https://github.com/lianghx-319/vue-hooks/issues/132)) ([721dfff](https://github.com/lianghx-319/vue-hooks/commit/721dfff))
* **hooks:** using runtime plugin ([e0f556d](https://github.com/lianghx-319/vue-hooks/commit/e0f556d))
* **release:** semantic release ([c5d2ee8](https://github.com/lianghx-319/vue-hooks/commit/c5d2ee8))
* **ts:** forgot to export the type definition file ([5cb25ec](https://github.com/lianghx-319/vue-hooks/commit/5cb25ec))
* **util:** `vm` must have a `setup` function ([d6ffe8b](https://github.com/lianghx-319/vue-hooks/commit/d6ffe8b))
### Features
* replace with vue composition api ([5ee9248](https://github.com/lianghx-319/vue-hooks/commit/5ee9248)), closes [#52](https://github.com/lianghx-319/vue-hooks/issues/52)
* **hooks:** add `useActions` hook ([1106ade](https://github.com/lianghx-319/vue-hooks/commit/1106ade))
* **hooks:** add `useCounter` hook ([200086e](https://github.com/lianghx-319/vue-hooks/commit/200086e))
* **hooks:** add `useGetters` hook ([49376cb](https://github.com/lianghx-319/vue-hooks/commit/49376cb))
* **hooks:** add `useMedia` hook ([dee851e](https://github.com/lianghx-319/vue-hooks/commit/dee851e))
* **hooks:** add `useMountedState` hook ([1e70d5e](https://github.com/lianghx-319/vue-hooks/commit/1e70d5e))
* **hooks:** add `useMutations` hook ([b38358c](https://github.com/lianghx-319/vue-hooks/commit/b38358c))
* **hooks:** add `usePrevious` hook ([f4d0dc8](https://github.com/lianghx-319/vue-hooks/commit/f4d0dc8))
* **hooks:** add `useRef` hook ([f600ab8](https://github.com/lianghx-319/vue-hooks/commit/f600ab8))
* **hooks:** add `useRouter` hook ([df8bdda](https://github.com/lianghx-319/vue-hooks/commit/df8bdda))
* **hooks:** add `useState` hook ([607dfd1](https://github.com/lianghx-319/vue-hooks/commit/607dfd1))
* **hooks:** add `useStore` hook ([109995a](https://github.com/lianghx-319/vue-hooks/commit/109995a))
* **hooks:** add `useTimeout` hook ([61db981](https://github.com/lianghx-319/vue-hooks/commit/61db981))
* **hooks:** add async hook ([#10](https://github.com/lianghx-319/vue-hooks/issues/10)) ([7e54ea5](https://github.com/lianghx-319/vue-hooks/commit/7e54ea5))
* **hooks:** export hooks in entry ([3f0d5dd](https://github.com/lianghx-319/vue-hooks/commit/3f0d5dd))
* **hooks:** useClickAway ([#1](https://github.com/lianghx-319/vue-hooks/issues/1)) ([70215ad](https://github.com/lianghx-319/vue-hooks/commit/70215ad))
* **util:** add vue runtime ([f7ff827](https://github.com/lianghx-319/vue-hooks/commit/f7ff827))
### Reverts
* **hooks:** remove `useRef` hook ([999bc89](https://github.com/lianghx-319/vue-hooks/commit/999bc89))
### BREAKING CHANGES
* replace to [`@vue/composition-api`](https://github.com/vuejs/composition-api)
# 1.0.0 (2020-05-24)
### Bug Fixes
* **deps:** move to dev dependencies ([8a64b14](https://github.com/lianghx-319/vue-hooks/commit/8a64b14))
* **hooks:** `vm.$router` should not be computed wrapper ([8483d43](https://github.com/lianghx-319/vue-hooks/commit/8483d43))
* **hooks:** fix `usePrevious` does not work when passing state ([8567a04](https://github.com/lianghx-319/vue-hooks/commit/8567a04))
* **hooks:** improve vuex interface ([fdae9b1](https://github.com/lianghx-319/vue-hooks/commit/fdae9b1))
* **hooks:** improve vuex interface again ([87bd2a5](https://github.com/lianghx-319/vue-hooks/commit/87bd2a5))
* **hooks:** remove useCounter typeof and use as const ([#132](https://github.com/lianghx-319/vue-hooks/issues/132)) ([721dfff](https://github.com/lianghx-319/vue-hooks/commit/721dfff))
* **hooks:** using runtime plugin ([e0f556d](https://github.com/lianghx-319/vue-hooks/commit/e0f556d))
* **release:** semantic release ([c5d2ee8](https://github.com/lianghx-319/vue-hooks/commit/c5d2ee8))
* **ts:** forgot to export the type definition file ([5cb25ec](https://github.com/lianghx-319/vue-hooks/commit/5cb25ec))
* **util:** `vm` must have a `setup` function ([d6ffe8b](https://github.com/lianghx-319/vue-hooks/commit/d6ffe8b))
### Features
* replace with vue composition api ([5ee9248](https://github.com/lianghx-319/vue-hooks/commit/5ee9248)), closes [#52](https://github.com/lianghx-319/vue-hooks/issues/52)
* **hooks:** add `useActions` hook ([1106ade](https://github.com/lianghx-319/vue-hooks/commit/1106ade))
* **hooks:** add `useCounter` hook ([200086e](https://github.com/lianghx-319/vue-hooks/commit/200086e))
* **hooks:** add `useGetters` hook ([49376cb](https://github.com/lianghx-319/vue-hooks/commit/49376cb))
* **hooks:** add `useMedia` hook ([dee851e](https://github.com/lianghx-319/vue-hooks/commit/dee851e))
* **hooks:** add `useMountedState` hook ([1e70d5e](https://github.com/lianghx-319/vue-hooks/commit/1e70d5e))
* **hooks:** add `useMutations` hook ([b38358c](https://github.com/lianghx-319/vue-hooks/commit/b38358c))
* **hooks:** add `usePrevious` hook ([f4d0dc8](https://github.com/lianghx-319/vue-hooks/commit/f4d0dc8))
* **hooks:** add `useRef` hook ([f600ab8](https://github.com/lianghx-319/vue-hooks/commit/f600ab8))
* **hooks:** add `useRouter` hook ([df8bdda](https://github.com/lianghx-319/vue-hooks/commit/df8bdda))
* **hooks:** add `useState` hook ([607dfd1](https://github.com/lianghx-319/vue-hooks/commit/607dfd1))
* **hooks:** add `useStore` hook ([109995a](https://github.com/lianghx-319/vue-hooks/commit/109995a))
* **hooks:** add `useTimeout` hook ([61db981](https://github.com/lianghx-319/vue-hooks/commit/61db981))
* **hooks:** add async hook ([#10](https://github.com/lianghx-319/vue-hooks/issues/10)) ([7e54ea5](https://github.com/lianghx-319/vue-hooks/commit/7e54ea5))
* **hooks:** export hooks in entry ([3f0d5dd](https://github.com/lianghx-319/vue-hooks/commit/3f0d5dd))
* **util:** add vue runtime ([f7ff827](https://github.com/lianghx-319/vue-hooks/commit/f7ff827))
### Reverts
* **hooks:** remove `useRef` hook ([999bc89](https://github.com/lianghx-319/vue-hooks/commit/999bc89))
### BREAKING CHANGES
* replace to [`@vue/composition-api`](https://github.com/vuejs/composition-api)