Skip to content

Comments

chore(deps): bump react-cookie from 7.2.2 to 8.0.1#5731

Merged
dependabot[bot] merged 4 commits intomainfrom
dependabot/npm_and_yarn/react-cookie-8.0.1
Apr 7, 2025
Merged

chore(deps): bump react-cookie from 7.2.2 to 8.0.1#5731
dependabot[bot] merged 4 commits intomainfrom
dependabot/npm_and_yarn/react-cookie-8.0.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2025

Bumps react-cookie from 7.2.2 to 8.0.1.

Release notes

Sourced from react-cookie's releases.

v8.0.1

What's Changed

Renovate

Full Changelog: bendotcodes/cookies@v8.0.0...v8.0.1

v8.0.0

What's Changed

Renovate

... (truncated)

Commits
  • 0d81f2e Release v8.0.1 (#879)
  • 1cf45e2 Bump major version for universal-cookie on dependency (#878)
  • 7a90c3c chore(deps): update dependency @​types/react to ^19.0.11 (#877)
  • f3b9a9f chore(deps): update dependency @​playwright/test to ^1.51.1 (#876)
  • e9e999a chore(deps): update dependency rollup to ^4.36.0 (#875)
  • ae6738d chore(deps): lock file maintenance (#874)
  • 86315e6 Release v8.0.0 (#867)
  • 7447fe9 chore(deps): update dependency typescript to ^5.8.2 (#869)
  • ba511af chore(deps): update dependency @​types/express to v5 (#871)
  • 4d0cbec chore(deps): update react monorepo (#870)
  • 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 will merge this PR once CI passes on it, as requested by @Vinnl.


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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 24, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-cookie-8.0.1 branch 8 times, most recently from 28b35d1 to 5858fc1 Compare March 26, 2025 10:24
Copy link
Contributor

@flozia flozia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting a review from @codemist and @Vinnl because of the changes added in 3149fb8:

We’ve been missing the CookiesProvider resulting in the error Missing <CookiesProvider> for this version bump. Detection has been added with react-cookie v8.0.0 with bendotcodes/cookies#862.

@flozia flozia requested review from Vinnl and codemist March 26, 2025 10:33
@github-actions
Copy link

Copy link
Collaborator

@Vinnl Vinnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry Florian, I had not seen that this Dependabot notification email actually mentioned me directly. Changes look good, though I added two small changes on top: I moved it deeper in the hierarchy in case it rerenders more often, and aligned the API with our other context providers.

One also wonders what this actually does, given that our application worked anyway 😅 (I'm not actually convinced we need a separate React library for this anyway.)

@dependabot merge

dependabot bot and others added 4 commits April 7, 2025 16:35
Bumps [react-cookie](https://github.com/bendotcodes/cookies) from 7.2.2 to 8.0.1.
- [Release notes](https://github.com/bendotcodes/cookies/releases)
- [Changelog](https://github.com/bendotcodes/cookies/blob/main/LEGACY-CHANGELOG.md)
- [Commits](bendotcodes/cookies@v7.2.2...v8.0.1)

---
updated-dependencies:
- dependency-name: react-cookie
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
I'm not sure whether it re-renders every time cookies change, but
in case they do, this at least prevens the more static context
providers from re-rendering as well.
Specifically, use a named export, and pass on *all* props, in case
the upstream API changes.
@Vinnl Vinnl force-pushed the dependabot/npm_and_yarn/react-cookie-8.0.1 branch from 1bd5f00 to 0ec58bf Compare April 7, 2025 14:35
@dependabot dependabot bot merged commit 42dc0cf into main Apr 7, 2025
17 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-cookie-8.0.1 branch April 7, 2025 14:42
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants