contentful / forma-36

A design system by Contentful
https://f36.contentful.com
MIT License
331 stars 81 forks source link

chore: bump use-debounce from 8.0.4 to 10.0.1 #2769

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps use-debounce from 8.0.4 to 10.0.1.

Release notes

Sourced from use-debounce's releases.

v10.0.1

  • Fixed flush method return args, thanks to @​h

v10.0.0

  • ❗️ [Major breaking change] replaced index.modern.js with index.mjs. Might require a little change in your build pipeline
  • ❗️ [Major breaking change] New option debounceOnServer: if you put the option to true, it will run debouncing on server (via setTimeout). The new option can break your current server behaviour, as v9.x, it runs all the time and might cause unnessesary server CPU utilisation. Now, by default, debounced callbacks do not happen on server.
  • ❕[Minor breaking change]: Replaced useState for useDebounce with useReducer. It might lead to reduced amount of re-renders, as useState is known to have excess re-renders in some corner: https://stackoverflow.com/questions/57652176/react-hooks-usestate-setvalue-still-rerender-one-more-time-when-value-is-equal
  • ❕[Minor breaking change]: useDebouncedCallback now updates function to call asap. Meaning, if you re-called the hook and it should trigger immediately, it will trigger the newest function all the time.
  • ℹ Lib size:
    • 914 B: index.js.gz
    • 851 B: index.js.br
    • 883 B: index.mjs.gz
    • 826 B: index.mjs.br
    • 938 B: index.module.js.gz
    • 873 B: index.module.js.br
    • 989 B: index.umd.js.gz
    • 919 B: index.umd.js.br
  • ℹ [Internal] Replaced Enzyme with testing-library
  • ℹ [Internal] yarn classic => npm
  • ℹ [Internal] Updated devDependencies

v9.0.4

v9.0.3

  • Represent correct return type from useDebounce(), see issue, thanks to @​appden

v9.0.1

Fix the bug with the incorrect import path. Now it's index.cjs, instead of index.js

v9.0.0

  • Moved use-debounce to support modules see issue Thank to @​matewilk
  • breaking change The path to dist/index.js is changed. Now it's dist/index.cjs.
Changelog

Sourced from use-debounce's changelog.

10.0.1

  • Fixed flush method return args, thanks to @​h

10.0.0

  • Major breaking change: replaced index.modern.js with index.mjs. Might require a little change in your build pipeline
  • Major breaking change: New option debounceOnServer: if you put the option to true, it will run debouncing on server (via setTimeout). The new option can break your current server behaviour, as v9.x, it runs all the time and might cause unnessesary server CPU utilisation. Now, by default, debounced callbacks do not happen on server.
  • Minor breaking change: Replaced useState for useDebounce with useReducer. It might lead to reduced amount of re-renders, as useState is known to have excess re-renders in some corner: https://stackoverflow.com/questions/57652176/react-hooks-usestate-setvalue-still-rerender-one-more-time-when-value-is-equal
  • Minor breaking change: useDebouncedCallback now updates function to call asap. Meaning, if you re-called the hook and it should trigger immediately, it will trigger the newest function all the time.
  • Lib size: 914 B: index.js.gz 851 B: index.js.br 883 B: index.mjs.gz 826 B: index.mjs.br 938 B: index.module.js.gz 873 B: index.module.js.br 989 B: index.umd.js.gz 919 B: index.umd.js.br
  • [Internal] Replaced Enzyme with @​testing-library
  • [Internal] yarn classic => npm
  • [Internal] Updated devDependencies

9.0.4

9.0.3

  • Represent correct return type from useDebounce(), see issue, thanks to @​appden

9.0.2

  • Reverted 9.0.0. We will revisit these changes later

9.0.0

  • Moved use-debounce to support modules see issue Thanks to @​matewilk
  • breaking change The path to dist/index.js is changed. Now it's dist/index.cjs.
Commits
  • e84bac1 bump new version
  • 126b911 Merge pull request #173 from shortstorybox/master
  • 8429bef Fix type declaration for flush().
  • bcdcf77 Merge pull request #172 from xnimorz/dependabot/npm_and_yarn/ejs-3.1.10
  • 3930f10 Bump ejs from 3.1.9 to 3.1.10
  • f6e4dde Merge pull request #170 from xnimorz/dependabot/npm_and_yarn/adobe/css-tools-...
  • 7999bbb Bump @​adobe/css-tools from 4.3.1 to 4.3.2
  • 1d0a0df Merge pull request #169 from koenpunt/patch-1
  • 806942a remove incorrect docblock about obsolete .callback property
  • 24fc538 Merge pull request #168 from xnimorz/yarn_to_npm
  • 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 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)
vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
forma-36 ✅ Ready (Inspect) Visit Preview May 27, 2024 2:31pm
changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: 4c180f3f5500d430f53cadc98750ea12dd9c2da8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

dependabot[bot] commented 3 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.