Releases: alibaba/hooks
Releases · alibaba/hooks
v3.6.2
What's Changed
- ✨ feat(useCountDown): add leftTime for useCountDown by @li-jia-nan in #1737
- ✨ feat(useMutationObserver): add new hook useMutationObserver by @li-jia-nan in #1751
- 🐛 fix(useVirtualList): getDistanceTop calls the itemHeight parameter error by @8696 in #1730
- 🐛 fix(useFullscreen): replace the initial value with screenfull.isFullscreen by @KangXinzhi in #1755
- 🐛 fix: add codesandbox dependencies by @miracles1919 in #1735
- 🐛 fix(useAntdTable): table type by @GpingFeng in #1768
- 📚 doc(useInterval): update Description by @hchlq in #1762
- 📚 doc(useInfiniteScroll): update doc by @zyhong1998 in #1765
- ⬆️ chore: upgrade dumi by @miracles1919 in #1749
- ⬆️ chore: remove canUseDom with isBrowser by @chenym1992 in #1753
- ⬆️ chore: add github actions by @miracles1919 in #1773
- ⬆️ chore: fix typo by @hchlq in #1756
- ✅ test(useCountDown): fix wrong tests by @miracles1919 in #1740
- ✅ test(useLongPress): adjust and add some tests by @miracles1919 in #1754
- ✅ test(useVirtualList): remove useless code by @miracles1919 in #1733
New Contributors
- @8696 made their first contribution in #1730
- @KangXinzhi made their first contribution in #1755
- @chenym1992 made their first contribution in #1753
- @zyhong1998 made their first contribution in #1765
Full Changelog: v3.5.2...v3.6.2
v3.5.2
What's Changed
- 🐛 fix: node.getRootNode incompatibility in lower version browsers by @brickspert in #1731
Full Changelog: v3.5.1...v3.5.2
v3.5.1
What's Changed
- ✨ feat(useClickAway): support shadow root by @minjamalesevic in #1650
- ✨ feat(useHover): add onChange callback by @li-jia-nan in #1681
- 🐛 fix(useResponsive): use isBrowser instead of windowExists by @ihaichao in #1682
- 🐛 fix(useInterval): use clearInterval instead of clearTimeout by @hchlq in #1695
- 💄 style(useKeyPress): rename word by @hchlq in #1696
- 💄 style(useUrlState): rename word by @hchlq in #1707
- 📚 doc(useWebSocket): update socket url key by @hchlq in #1708
- 📚 doc: document formatting by @li-jia-nan in #1709
- 📚 doc: format markdown with prettier by @miracles1919 in #1687
- 📚 doc(useCookieState): documentation colon escape by @xiaotiandada in #1698
- ✅ test(useFullscreen): add some tests by @miracles1919 in #1710
- ✅ test: add exports modules test by @miracles1919 in #1716
- ✅ test(useInfiniteScroll): add some tests by @miracles1919 in #1714
- ✅ test(useExternal): add some tests by @miracles1919 in #1692
- ✅ test(useInViewport): add some tests by @miracles1919 in #1686
- ✅ test(useInterval): add clearTimeout and clearInterval by @miracles1919 in #1697
- ⬆️ chore: pin gitleaks version by @hchlq in #1704
- ⬆️ chore(useFocusWithin): adjust ts definition by @miracles1919 in #1666
- ⬆️ chore(useInViewport): code style optimization by @li-jia-nan in #1680
New Contributors
- @minjamalesevic made their first contribution in #1650
- @li-jia-nan made their first contribution in #1681
- @ihaichao made their first contribution in #1682
- @xiaotiandada made their first contribution in #1698
Full Changelog: v3.5.0...v3.5.1
v3.5.0
v3.4.1
v3.4.0
v3.3.13
v3.3.12
v3.3.11
- 🐎 Perf: useAsyncEffect support dependent parameter is optional #1595
- 🐎 Perf: useControllableValue use hasOwnProperty instead of
in
#1587 - 🐛 Fix: useAntdTable change default dataSource to stable #1579
- 🐛 Fix: useStorage return T always can be undefined #1586
- 🐛 Fix: usePrevious use Object.is to compare whether the two values have changed #1593
v3.3.10
- 🐛 Fix: useInfiniteScroll add noMore judgment before loadMore and loadMoreAsync