Releases: alibaba/hooks
v3.7.3
What's Changed
-
feat(useUrlState): keep state when navigating by @miracles1919 in #2002
-
feat(useAntdTable): run Adds the extra parameter by @JarvisArt in #1956
-
fix: useTextSelection by @junjunzzz in #1924
-
perf: build optimizations by @miracles1919 in #1936
-
chore: udpate pnpm install ci by @miracles1919 in #1942
-
docs: update docs by @li-jia-nan in #1943
-
style: code style optimization by @li-jia-nan in #1945
-
test: upgrade
@testing-library/react
and adjust tests by @miracles1919 in #1949 -
test(useFavicon): refactor test by @miracles1919 in #1954
-
Update index.en-US.md - spelling error by @dungle-scrubs in #1976
-
chore: fix auto close label name by @miracles1919 in #1978
-
chore: remove unused deps by @miracles1919 in #1985
-
test: support react strict test by @miracles1919 in #1986
-
fix: listen for the
meta
press failure on the keyup event by @miracles1919 in #1968 -
fix: handleResize never perform in React 18 strictMode by @hchlq in #1929
-
fix: 修复useInViewport的rootMargin值无法使用组件state更新 by @captain1023 in #1984
New Contributors
- @Flcwl made their first contribution in #1928
- @junjunzzz made their first contribution in #1924
- @Kido-200 made their first contribution in #1911
- @JarvisArt made their first contribution in #1956
- @dungle-scrubs made their first contribution in #1976
- @captain1023 made their first contribution in #1984
Full Changelog: v3.7.2...v3.7.3
v3.7.2
What's Changed
- ✨ feat(useHistoryTravel): add limit history length parameter by @Alt-er in #1921
- 🐛 fix(useAntdTable): typo by @KangXinzhi in #1879
- 🐛 fix(useRequest): multiple unsubscriptions should not delete the last subscription listener by @hchlq in #1916
- 🐛 fix(useFullScreen): When full screen is displayed, the parent element will exit full screen after repeated full screen and full screen exit by @Easy-Martin in #1862
- 📚 docs: fix a typo by @sanjayheaven in #1873
- ⬆️ chore: add commitlint by @miracles1919 in #1876
- ⬆️ chore: upgrade dumi by @miracles1919 in #1896
- ⬆️ chore: update pnpm-lock by @miracles1919 in #1909
- ⬆️ chore: bump
actions/*
versions by @madhead in #1912 - ⬆️ chore: strong type by @li-jia-nan in #1920
- 💄 style: fix text overflow by @KangXinzhi in #1907
- ✅ test(useCachePlugin): refactor test and add some tests by @miracles1919 in #1872
New Contributors
- @sanjayheaven made their first contribution in #1873
- @Easy-Martin made their first contribution in #1862
- @madhead made their first contribution in #1912
- @ozonep made their first contribution in #1900
- @Alt-er made their first contribution in #1921
Full Changelog: v3.7.1...v3.7.2
v3.7.1
What's Changed
- ⬆️ chore: upgrade @testing-library/react-hooks by @miracles1919 in #1799
- ⬆️ chore: add
transformIgnorePatterns
by @miracles1919 in #1816 - 📚docs: fix the bug that the text out of document without line break by @c0dedance in #1810
- 📚docs(useRequest): update cancel desc by @miracles1919 in #1836
- 📚 docs(useInfiniteScroll): update cancel desc by @li-jia-nan in #1844
- 💄 style: code optimize by @li-jia-nan in #1839
- 🔨 refactor: optimize
isDev
code by @miracles1919 in #1848 - 🐛 fix(useRequest): useRequest demo by @hchlq in #1849
- 🐛 fix(useDrag): fixed the closure issue by @hchlq in #1838
- 🐛 fix(useToggle): useToggle text defautValue to defaultValue by @liangchaofei in #1870
- 🐛 fix(useRequest): useRequest cache not reset stale error by @kongmoumou in #1860
- 🐛 fix(useScroll): update index.ts by @ray0324 in #1835
- 🐛 fix: type enhancement, code optimization by @li-jia-nan in #1797
- ✅ test: Fix error introduction in test method by @h7ml in #1822
- ✅ test(useMount): add test by @miracles1919 in #1842
- ✅ test(useRafState): fix error tests by @miracles1919 in #1841
- ✅ test(useSize): add test by @miracles1919 in #1840
- ✅ test(useMap): add tests by @miracles1919 in #1847
- ✅ test(useMouse): add some tests by @miracles1919 in #1825
- ✅ test: upgrade jest and fix some failed tests by @miracles1919 in #1804
- ✅ test(useUrlState): refactor test by @miracles1919 in #1802
New Contributors
- @Accepted1 made their first contribution in #1811
- @c0dedance made their first contribution in #1810
- @h7ml made their first contribution in #1822
- @ray0324 made their first contribution in #1835
- @liangchaofei made their first contribution in #1870
- @kongmoumou made their first contribution in #1860
Full Changelog: v3.7.0...v3.7.1
v3.7.0
What's Changed
- ✨ feat(useResetState): useResetState by @hemengke1997 in #1781
- ✨ feat(usePagination): adds default parameter defaultPage by @lmsccc in #1777
- 🐛 fix(useVirtualList): adjust type definition by @miracles1919 in #1732
- 🐛 fix(createUpdateEffect): Using on-demand loading will report an error. by @mushan0x0 in #1790
- 🐛 fix(useRequest): when pollingWhenHidden is fasle,page hidden may also be round questions by @icy9596 in #1793
- ✅ test(useRequest): exclude error msg by @miracles1919 in #1788
New Contributors
- @lmsccc made their first contribution in #1777
- @mushan0x0 made their first contribution in #1790
- @hemengke1997 made their first contribution in #1781
- @icy9596 made their first contribution in #1793
Full Changelog: v3.6.0...v3.7.0
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