Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump @reduxjs/toolkit from 2.2.6 to 2.2.7 #1081

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2024

Bumps @reduxjs/toolkit from 2.2.6 to 2.2.7.

Release notes

Sourced from @​reduxjs/toolkit's releases.

v2.2.7

This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.

Changelog

TS Type Portability

We've had a slew of issues reported around "TS type portability" errors, such as:

The error messages are typically along the lines of:

Type error: The inferred type of 'configureStore' cannot be named without a reference to '@reduxjs/toolkit/node_modules/redux'. This is likely not portable. A type annotation is necessary.

@​aryaemami59 did some deep investigation and concluded these were due to a mixture of using interface instead of type in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.

Arya put together a highly detailed writeup and set of fixes in [ #4467: Fix: TypeScript Type Portability Issues](#4467), and that appears to resolve all of those issues we've seen. Thank you!

Other Changes

Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.

We've exported additional types like UpdateDefinitions and RetryOptions, per request.

listenerMiddleware.withTypes() methods now allow passing in an ExtraArgument generic.

What's Changed

Full Changelog: reduxjs/redux-toolkit@v2.2.6...v2.2.7

Commits

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)

@dependabot dependabot bot added dependencies Updates a dependency file javascript Pull requests that update Javascript code labels Aug 19, 2024
Copy link

vercel bot commented Aug 19, 2024

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

Name Status Preview Comments Updated (UTC)
bloom-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2024 0:55am

Copy link

cypress bot commented Aug 19, 2024

Bloom frontend    Run #704

Run Properties:  status check failed Failed #704  •  git commit 80a7a3ecec: build(deps): bump @reduxjs/toolkit from 2.2.6 to 2.2.7
Project Bloom frontend
Branch Review dependabot/npm_and_yarn/reduxjs/toolkit-2.2.7
Run status status check failed Failed #704
Run duration 03m 04s
Commit git commit 80a7a3ecec: build(deps): bump @reduxjs/toolkit from 2.2.6 to 2.2.7
Committer dependabot[bot]
View all properties for this run ↗︎

Test results
Tests that failed  Failures 22
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 11
Tests that passed  Passing 36
View all changes introduced in this branch ↗︎

Tests for review

Failed  navigation.cy.tsx • 4 failed tests

View Output

Test Artifacts
Navigation > A logged in public user > on the home page, the nav bar should have the correct links Test Replay Screenshots
Navigation > A logged in bumble user > on the home page, the nav bar should have the correct links Test Replay Screenshots
Navigation > A logged in badoo user with therapy access > on the home page, the nav bar should have the correct links Test Replay Screenshots
Navigation > A logged in partner admin user > on the home page, the nav bar should have the correct links Test Replay Screenshots
Failed  partner-admin.cy.tsx • 1 failed test

View Output

Test Artifacts
A partner admin should be directed to admin > Once logged in should be redirected to the admin page` Test Replay Screenshots
Failed  welcome.badoo.cy.tsx • 1 failed test

View Output

Test Artifacts
Welcome badoo page should display > for a public logged in user > continue to bloom panel Test Replay Screenshots
Failed  register-partner-with-code.cy.tsx • 1 failed test

View Output

Test Artifacts
Register with access code > Access code input should be on form Test Replay Screenshots
Failed  user-update-email.cy.tsx • 1 failed test

View Output

Test Artifacts
User account settings page > Should successfully update name Test Replay Screenshots

The first 5 failed specs are shown, see all 18 specs in Cypress Cloud.

@eleanorreem
Copy link
Contributor

@dependabot rebase

Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.2.6 to 2.2.7.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](reduxjs/redux-toolkit@v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Updates a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant