Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2024

Bumps usehooks-ts from 2.9.1 to 2.11.0.

Release notes

Sourced from usehooks-ts's releases.

[email protected]

Minor Changes

  • add1431: Created useUnmount hook
  • add1431: Created useDebounceCallback and useDebounceValue hooks
  • add1431: Depreciated useDebounce hook (replaced by useDebounceCallback or useDebounceValue)
  • fc8a30e: Fix hydration issues in both useScreen and useMediaQuery (Fixes #394, thanks to @​bryantcodesart)
  • 4a9fc88: Introduce the SSR-friendly new optional { initializeWithValue?: boolean } parameter to useLocalStorage, useReadLocalStorage, useSessionStorage, useDarkMode, useTernaryDarkMode, useMediaQuery, useScreen, useWindowSize and useElementSize, see #451.
  • 5c210c1: Add defaultValue option to useTernaryDarkMode and update its signature (using function overload for smooth migration)
  • 5c210c1: Update useDarkMode signature (using function overload for smooth migration)
  • 0321342, 4a9fc88: Drop Map, Set and Date supports in use*Storage hooks, it isn't compatible with useReadLocalStorage making the API un-consistent. Use a custom serializer/deserializer instead.

Patch Changes

  • add1431: Upgrade dependencies
  • a192167: Upgraded react and @testing-library/react (thanks to @​TheHaff)
  • 0321342: Make Typescript and @typescript-eslint stricter to catch bugs sooner
  • 382161a: Depreciate useImageOnLoad, too opinionated
  • 382161a: Add JSdoc comments to improve DX via in-IDE documentation
  • a192167: Migrate from jest to vitest (making test-suite execution 2 times faster)

[email protected]

2.10.0

Minor Changes

  • 8f3c90f: Enable setting localStorage key for useDarkTheme & useTernaryDarkMode (#298 by @​ubarbaxor)
  • ae47c9a: Expose setting dark mode value directly (#299 by ubarbaxor)
  • 771afa5: Add serialization support for use-*-storage hooks

Patch Changes

  • a816d6b: Depreciated useSsr #258
  • 42f3a3a: Remove the need of commenting out useEffect deps in useMediaQuery (#383 by @​lisandro52)
  • 9bc05f4: Fix hydration mismatch on use***Storage (fixes #176, #369 with #320 & #251)
  • 771afa5: Add Date, Set & Map support to use*Storage (#309 by @​AlecsFarias)
  • 4b3ed4e: Fix circular dependencies (#310)
  • a3588b8: Added unit tests for useFetch hook
  • c326dd3: Prevent unrelated storage keys from being updated unexpectedly in useLocalStorage and useSessionStorage (#313 by @​stevenvachon fixes #384)
  • e8aa777: make useLocalStorage and useSessionStorage compliant with useState (fixes #204 with #242 by @​valyrie97)
  • c5ad2b9: Recalculate useLocalStorage & useSessionStorage default value on dynamic key change (#355 by @​amirking59)
  • 7406e3c: fix(useCopyToClipboard): added useCallback to 'copy' to avoid rerendering (by @​nmacianx)
  • ffe0f32: Set sideEffects to false in package.json

[email protected]

Fixed

... (truncated)

Commits
  • 781378a 🔖 Update version
  • 4a9fc88 ✨ Feature: declarative SSR (#451)
  • 5c210c1 feat(useTernaryDarkMode): Add defaultValue parameter (#344)
  • eed729f Merge branch 'master' of github.com:juliencrn/usehooks-ts
  • 0321342 🎨 Feature/enforce linting (#450)
  • c2e0da6 📝 Update README
  • add1431 ✨ Feature: Create useDebounceCallback and useDebounceValue to replace leg...
  • a192167 ⬆️ Upgrade to react 18, latest @​testing-library and migrate to vitest (#302)
  • fc8a30e 🐛 Fix hydration issues in both useScreen and useMediaQuery (Fixes #394, thank...
  • 5a18619 ⬆️ Upgrade dependencies & fix eslint config (#447)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.9.1 to 2.11.0.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.11.0)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 1, 2024
@github-actions github-actions bot enabled auto-merge (squash) February 1, 2024 06:42
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 1, 2024

Superseded by #2255.

@dependabot dependabot bot closed this Feb 1, 2024
auto-merge was automatically disabled February 1, 2024 14:59

Pull request was closed

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/usehooks-ts-2.11.0 branch February 1, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant