Skip to content

Latest commit

 

History

History
588 lines (282 loc) · 24.9 KB

CHANGELOG.md

File metadata and controls

588 lines (282 loc) · 24.9 KB

9.0.0 (2021-08-30)

Documentation

BREAKING CHANGES

  • IAnyPermissionDescriptor type removed in favor of built-in PermissionDescriptor.

  • docs(useCookieValue): example been using old index import

8.0.0 (2021-08-30)

chore

BREAKING CHANGES

  • TS: IAnyPermissionDescriptor type removed in favor of built-in PermissionDescriptor.

7.0.0 (2021-08-06)

Bug Fixes

  • useMediaQuery: add support for safari 13- that has obsolete useMediaQuery implementation (#249) (25c8599), closes #242

Code Refactoring

  • useKeyboardEvent: improve the code and change signature (#248) (a0e1b24)

BREAKING CHANGES

  • useKeyboardEvent: hook call signature has changed.

6.1.0 (2021-08-04)

Features

6.0.1 (2021-07-25)

Bug Fixes

  • make hooks that not listed in index.ts to be built too (c119371)

6.0.0 (2021-07-25)

Bug Fixes

BREAKING CHANGES

  • useCookieValue is no more exported from index file.

5.0.0 (2021-07-20)

Bug Fixes

  • improve useThrottledCallback and useDebouncedCallback types (04e965a)

BREAKING CHANGES

  • types changed, now only one generic argument received by useThrottledCallback and useDebouncedCallback - the original function type.

4.0.0 (2021-07-16)

Features

  • deps for useConditionalUpdateEffect and useConditionalEffect (#201) (bd56af3)

BREAKING CHANGES

  • useConditionalUpdateEffect and useConditionalEffect now has changed call signature (new argument).

3.8.0 (2021-07-03)

Features

3.7.0 (2021-07-03)

Features

3.6.0 (2021-07-03)

Features

3.5.0 (2021-06-24)

Features

3.4.0 (2021-06-24)

Features

3.3.0 (2021-06-22)

Features

3.2.0 (2021-06-22)

Features

3.1.0 (2021-06-17)

Features

  • new hooks useThrottledEffect and useThrottledState (#137) (1cc6677)

3.0.1 (2021-06-16)

Bug Fixes

3.0.0 (2021-06-16)

Bug Fixes

  • rename useThrottleCallback and useDebounceCallback (#130) (77f66d7), closes #129

Features

  • add maxWait parameter to useDebouncedCallback hook (#131) (600baa8)
  • change args for useThrottledCallback and useDebouncedCallback (#132) (131d98e)
  • new hooks useDebouncedEffect and useDebouncedState (#133) (1d164ff)

BREAKING CHANGES

  • delay and deps arguments are swapped position for useThrottledCallback and useDebouncedCallback hooks to be aligned with useCallback signature.
  • useDebounceCallback renamed to useDebouncedCallback useThrottleCallback renamed to useThrottledCallback

2.2.0 (2021-06-15)

Features

2.1.0 (2021-06-14)

Features

  • import reused hooks from the index file instead of its definition (f4bd609)

2.0.0 (2021-06-14)

Features

  • add initializeWithValue option to useCookie hook (#120) (17c9543)

BREAKING CHANGES

  • useCookie renamed to useCookieValue
  • useCookieValue default behaviour for browsers changed to fetch cookie value on state initialisation.

SSR remains untouched, but requires implicit setting of initializeWithValue option to false, to avoid hydration mismatch.

1.28.0 (2021-06-14)

Features

1.27.0 (2021-06-11)

Features

1.26.0 (2021-06-11)

Features

1.25.1 (2021-06-02)

Bug Fixes

  • tsconfig.build.json missconfig (ba92152), closes #102

1.25.0 (2021-06-02)

Features

1.24.1 (2021-06-02)

Bug Fixes

  • make useDebounceCallback and useRafCallback return proper fns (#100) (906d6e4)
  • make useDebounceCallback and useRafCallback return proper fns (#100) (2495e53)
  • make useDebounceCallback and useRafCallback return proper fns (#100) (1dcb083)

1.24.0 (2021-05-26)

Features

  • useTitle -> useDocumentTitle (24daf77)

1.23.0 (2021-05-25)

Features

1.22.0 (2021-05-25)

Features

1.21.0 (2021-05-25)

Features

1.20.4 (2021-05-24)

Bug Fixes

  • add module field to package.json so bundlers use proper version (b0119ce)

1.20.3 (2021-05-24)

Bug Fixes

  • mark package as side-effects free (74d6f1c)

1.20.2 (2021-05-24)

Bug Fixes

  • proper 'types' and 'esnext' fields values (069ae24)

1.20.1 (2021-05-20)

Bug Fixes

  • remove types field in package.json (#75) (340e7d7)

1.20.0 (2021-05-18)

Features

1.19.0 (2021-05-16)

Features

  • new hooks useLocalStorageValue and useSessionStorageValue (#43) (f02e8ea)

1.18.0 (2021-05-06)

Features

1.17.0 (2021-05-06)

Features

  • use stricter TS config and fix issues caused by this (6af7867)

1.16.0 (2021-05-06)

Features

1.15.0 (2021-05-06)

Features

  • new hook useIsomorphicLayoutEffect (#41) (8e17b3c)

1.14.0 (2021-05-03)

Features

1.13.0 (2021-05-02)

Features

  • make stateful hooks use useSafeState (d181c7f)

1.12.0 (2021-05-01)

Features

1.11.0 (2021-04-30)

Features

1.10.0 (2021-04-28)

Features

  • new hooks, useConditionalEffect and useConditionalUpdateEffect (#26) (eb7f0a5)

1.9.1 (2021-04-28)

Bug Fixes

  • default useUnmountEffect example to false (#27) (2ed0aa3)

1.9.0 (2021-04-28)

Features

1.8.0 (2021-04-28)

Features

1.7.5 (2021-04-28)

Bug Fixes

  • rollback husky version and add it to dependabot ignore (099ea5b)

1.7.4 (2021-04-25)

Bug Fixes

  • lint issues auto-fix with ESLint (9f9e53e)

1.7.3 (2021-04-24)

Bug Fixes

  • better not to split declarations from files (c6a2d92)
  • lint issues auto-fix with ESLint (63bf8e2)

1.7.2 (2021-04-24)

Bug Fixes

  • lint issues auto-fix with ESLint (11b9a07)
  • replace husky v6 with husky v4 as v5+ ruins CI lint autofix (a50955a)

1.7.1 (2021-04-23)

Bug Fixes

  • add ci yarn caching layer (5aa8ae1)

1.7.0 (2021-04-23)

Bug Fixes

  • add md and mdx files to lint-staged hook glob (d1d3d72)
  • add readme clarification about different lang level usages (0632992)
  • exclude new distributed directories from eslint and tsconfig (058960e)

Features

  • package now has /cjs, /esm, /esnext distibuted versions (4911c9d)

1.7.0 (2021-04-23)

Features

  • package now has /cjs, /esm, /esnext distibuted versions (4911c9d)

1.6.2 (2021-04-22)

Bug Fixes

  • add hook link to README.md (368f1d9)

1.7.0 (2021-04-22)

Features

  • add storybook docs with deploy to gh-pages (84de312)

1.6.1 (2021-04-21)

Bug Fixes

  • useUnmountEffect and useMountEffect typings fix (32ec0c7)

1.6.0 (2021-04-21)

Features

1.5.0 (2021-04-21)

Features

  • make tests import hooks from the index (3210650)

1.4.3 (2021-04-21)

Bug Fixes

  • dist package returned to bundle (e92bd18)

1.4.2 (2021-04-18)

Bug Fixes

  • add @semantic-release/github plugin (9f7e1b3)

1.4.1 (2021-04-16)

Bug Fixes

  • add types field to package json and tweak build (8d64b9a)

1.4.0 (2021-04-16)

Features

  • add main file and reexport new hooks (e2ea1cb)

1.3.0 (2021-04-16)

Features

1.2.3 (2021-04-16)

Bug Fixes

  • properly name useMountEffect and useUnmountEffect parameter (5218bfc)

1.2.2 (2021-04-15)

Bug Fixes

  • attempt to make codecov push only occur on release publish (ac5c221)

1.2.1 (2021-04-15)

Bug Fixes

  • codecov push should only occur on release publish (2a9e024)

1.2.0 (2021-04-15)

Features

  • add codecov coverage reporting (3254871)

1.1.0 (2021-04-15)

Features

  • implement useMountEffect and useUnmountEffect hooks (98ec434)

1.0.0 (2021-04-14)

Features

  • add .npmignore and filler .gitignore files. (e12375f)
  • add CI workflow and dependabot config. (7e365cf)
  • add semantic release dep. (4e39fa3)
  • configure basic builds. (34aafe4)
  • improve ci config and set initial version to 0.0.1 (adf4dca)
  • introduce useFirstMountState (bd7123b)

1.0.0 (2021-04-14)

Features

  • add .npmignore and filler .gitignore files. (e12375f)
  • add CI workflow and dependabot config. (7e365cf)
  • add semantic release dep. (4e39fa3)
  • configure basic builds. (34aafe4)
  • improve ci config and set initial version to 0.0.1 (adf4dca)
  • introduce useFirstMountState (bd7123b)

1.0.0 (2021-04-12)

Features

  • add .npmignore and filler .gitignore files. (e12375f)
  • add CI workflow and dependabot config. (7e365cf)
  • add semantic release dep. (4e39fa3)
  • configure basic builds. (34aafe4)
  • improve ci config and set initial version to 0.0.1 (adf4dca)
  • introduce useFirstMountState (bd7123b)