All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.5.1 - 2022-04-12
- Revert dependencies
2.5.0 - 2022-04-11
- Memoise useBoolean (#122 from @angusd3v)
- make setter from useLocalStorage referentially stable (#133 from @jbean96)
- add support for useMediaQuery in older versions (#135 from @brycedorn)
- update dependencies
2.4.2 - 2022-02-27
- Improve useEventListener reactivity (#117 from @TunA-Kai)
- Use useIsomorphicLayoutEffect instead of useLayoutEffect
- Memoise useLocalStorage setter (from #118)
2.4.1 - 2022-02-21
- Add unit tests on useWindowSize (#112 from @createdbymahmood)
- Add unit tests on useElementSize (#111 from @createdbymahmood)
- Add useIsomorphicLayoutEffect and replace all useLayoutEffect (#116)
- Fix use[Read]LocalStorage render cycle (#109 from @bogdanailincaipnt)
2.4.0 - 2022-02-12
- Add unit tests on useInterval (#104/#106 from @createdbymahmood)
- Add unit tests on useDarkMode (#105/#106 from @createdbymahmood)
- Update local-storage key in useTernaryDarMode (#98 from @PabloLION)
- Update local-storage key in useDarMode (#98 from @PabloLION)
- Update Typescript to 4.5.5 (minor)
2.3.0 - 2022-01-30
- Create useTernaryDarMode (#89 from @PabloLION)
2.2.2 - 2022-01-25
- Fix esm and source map (issued (#88) by @egehandulger)
2.2.1 - 2022-01-12
- Fix types add tests on useEventListener (#82 from @egehandulger)
2.2.0 - 2022-01-03
- Add tests on useIsMounted (#75 from @DidrikLind)
- Add useCountdown() hook (#76 from @hexp1989)
- Add tests on useDebounce (#80 from @DidrikLind)
2.1.0 - 2021-12-01
- Create media query hook (#74 from @AbbalYouness)
- Add param to allow 'mouseup' event on useOnClickOutside (#69 from @JamesBarretDev)
2.0.2 - 2021-11-19
- Create useClickAnyWhere hook (#66 from @sonjoydatta)
- Fix useTimeout and useInterval (#65 from @oluckyman).
- Fix useOnClickOutside (bug introduced in the 2.0.1).
2.0.1 - 2021-11-17
- Simplify useOnClickOutside (introduces a bug fixed in 2.0.2)
2.0.0 - 2021-11-16
- Fixing the useElementSize changes the hook interface.
1.2.1 - 2021-11-10
- useEffectOnce()
- useUpdateEffect()
- useIsFirstRender()
- Add Revonate
- fix(site-templates-post): Fixed edit link (#59 from @ducktordanny)
1.1.1 - 2021-11-08
- Add renovate bot.
- Upgrade @Material-ui to Mui@5 (including a lot of UI refactoring)
- Upgrade Gatsby to v4.
- Re-generate package-lock.json due wrong npm version.
1.1.0 - 2021-11-06
- Use useEventListener in the hooks when possible #DRY.
- Enforce tree-shaking support with an Eslint plugin.
- New hook: useStep() (#48 from @qlaffont).
1.0.14 - 2021-11-03
- CHANGELOG.md was created.
- SemVer started.
- Upgrade Node and NPM to publish quickly with lerna