Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.2.3 (2021-10-12)
Bug Fixes
1.2.2 (2021-10-06)
Bug Fixes
- Fix nullish operator is not transform
1.2.1 (2021-10-06)
Features
- core: add throttle and debounce options #63 (decbbd3)
1.2.0 (2021-05-22)
Features
- usePagination: add
changePagination() to modify both current and pageSize #43 (c3822f0)
- add
onBefore() and onAfter() hooks #42 (135e76f)
- add
reloading to record the loading status of reload() #41 (5034f2c)
Performance Improvements
⚠ BREAKING CHANGES
1.1.1 (2021-04-28)
Bug Fixes
- usePagination:
defaultParams.current and defaultParams.pageSize should work if manual: true (3ca5fd7), closes #40
1.1.0 (2021-04-19)
Features
- useLoadMore: refactor
refresh and cancel of useLoadMore, add refreshing #36 (7c34351)
Bug Fixes
- root level
refresh, mutate, cancel not work with queryKey #37 (66b3198)
⚠ BREAKING CHANGES
- useLoadMore: remove
mutate of useLoadMore (b935bcd)
1.0.5 (2021-03-22)
Bug Fixes
1.0.4 (2021-03-08)
Bug Fixes
1.0.3 (2021-03-06)
Bug Fixes
- concurrent request should have independent events (7511720)
Features
usePagination and useLoadMore support global config (8cceb1e)
- usePagination: add
reload function to reset paging info (def45e3)
- useRequest: add
reload function to clear the queries list (b64216b)
Features
⚠ BREAKING CHANGES
queries changed from shallowReactive to reactive (8f940a4)
⚠ BREAKING CHANGES
- usePagination: does not support concurrent request (2c083ef)
Refactor
- usePagination:
current and pageSize can modify and can trigger request, means you can directly use v-model to bind them (ea5a238)
Features
Feature
- add back off algorithm to errorRetryInterval (#19) 13ce153
Refactor
- add
isServer to be compatible with node env 4f1c797
- modify the default value of
cacheTime to 10 minutes a56ecb0
Bug Fixes