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

Handle api.provided state changes in RTKQ 2.6.2 #1848

Merged
merged 3 commits into from
Apr 2, 2025

Conversation

markerikson
Copy link
Contributor

@markerikson markerikson commented Mar 31, 2025

This PR:

  • Switches from inferring the type of RTK Query's api.provided state field to copying the 2.6.1 types
  • Adds the revised state structure types for 2.6.2, which now nest the data as {keys, tags}
  • Updates the RTKQ processing logic to conditionally use the right tags field, so that it can handle both 2.6.1- and 2.6.2+ without crashing

This should handle the changes in the corresponding RTKQ PR, so that I can actually land and release an RTKQ update:

Copy link

changeset-bot bot commented Mar 31, 2025

🦋 Changeset detected

Latest commit: 9c01469

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@redux-devtools/rtk-query-monitor Minor
@redux-devtools/app-core Patch
rtk-query-demo Patch
@redux-devtools/app Patch
remotedev-redux-devtools-extension Patch
@redux-devtools/cli Patch

Not sure what this means? Click here to learn what changesets are.

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

@Methuselah96 Methuselah96 enabled auto-merge (squash) April 2, 2025 18:36
@Methuselah96 Methuselah96 merged commit 17b55ef into main Apr 2, 2025
1 check passed
@Methuselah96 Methuselah96 deleted the feature/rtkq-262-compat branch April 2, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants