Skip to content

Latest commit

 

History

History
149 lines (87 loc) · 3.99 KB

CHANGELOG.md

File metadata and controls

149 lines (87 loc) · 3.99 KB

Changelog

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

Fixes

  • Revert dependencies

2.5.0 - 2022-04-11

Added

  • 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

Added

  • Improve useEventListener reactivity (#117 from @TunA-Kai)
  • Use useIsomorphicLayoutEffect instead of useLayoutEffect
  • Memoise useLocalStorage setter (from #118)

2.4.1 - 2022-02-21

Added

  • Add unit tests on useWindowSize (#112 from @createdbymahmood)
  • Add unit tests on useElementSize (#111 from @createdbymahmood)
  • Add useIsomorphicLayoutEffect and replace all useLayoutEffect (#116)

Fixes

  • Fix use[Read]LocalStorage render cycle (#109 from @bogdanailincaipnt)

2.4.0 - 2022-02-12

Added

  • Add unit tests on useInterval (#104/#106 from @createdbymahmood)
  • Add unit tests on useDarkMode (#105/#106 from @createdbymahmood)

Updated

  • 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

Added

  • Create useTernaryDarMode (#89 from @PabloLION)

2.2.2 - 2022-01-25

Fix

  • Fix esm and source map (issued (#88) by @egehandulger)

2.2.1 - 2022-01-12

Added

  • Fix types add tests on useEventListener (#82 from @egehandulger)

2.2.0 - 2022-01-03

Added

  • 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

Added

  • Create media query hook (#74 from @AbbalYouness)
  • Add param to allow 'mouseup' event on useOnClickOutside (#69 from @JamesBarretDev)

2.0.2 - 2021-11-19

Added

  • Create useClickAnyWhere hook (#66 from @sonjoydatta)

Fixes

  • Fix useTimeout and useInterval (#65 from @oluckyman).
  • Fix useOnClickOutside (bug introduced in the 2.0.1).

2.0.1 - 2021-11-17

Added

  • Simplify useOnClickOutside (introduces a bug fixed in 2.0.2)

2.0.0 - 2021-11-16

BREAKING CHANGE

  • Fixing the useElementSize changes the hook interface.

1.2.1 - 2021-11-10

Added

  • useEffectOnce()
  • useUpdateEffect()
  • useIsFirstRender()
  • Add Revonate

Fixes

  • fix(site-templates-post): Fixed edit link (#59 from @ducktordanny)

1.1.1 - 2021-11-08

Added

  • Add renovate bot.
  • Upgrade @Material-ui to Mui@5 (including a lot of UI refactoring)
  • Upgrade Gatsby to v4.

Fix

  • 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

Added

  • CHANGELOG.md was created.
  • SemVer started.
  • Upgrade Node and NPM to publish quickly with lerna