chore: update peerDependency ⛱︎ require @tanstack/react-query@^5.80.0 due to interface changes#342
Merged
Merged
Conversation
…ryOptions` for the TanStack Query prior to 5.80.0
🦋 Changeset detectedLatest commit: 58bb1d8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
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 |
8bfb206 to
de451bc
Compare
b8fee3b to
3ef05cf
Compare
peerDependency: require @tanstack/react-query@^5.80.0 due to interface changes
peerDependency: require @tanstack/react-query@^5.80.0 due to interface changespeerDependency - require @tanstack/react-query@^5.80.0 due to interface changes
peerDependency - require @tanstack/react-query@^5.80.0 due to interface changespeerDependency ⛱︎ require @tanstack/react-query@^5.80.0 due to interface changes
1bf4e25 to
454eb8d
Compare
…initeQueryOptions` for the TanStack Query prior to 5.80.0" This reverts commit 05ab0ca.
BREAKING CHANGE: Due to the fact that by default, the latest version of TanStack Query will always be installed, it doesn't make sense to support the old version of TanStack Query, since the new one doesn't have any breaking changes compared to the previous ones.
…vour of simplified installation
…o 5.80.0 BREAKING CHANGE: Due to the fact that by default, the latest version of TanStack Query will always be installed, it doesn't make sense to support the old version of TanStack Query, since the new one doesn't have any breaking changes compared to the previous ones.
….80.0` due to breaking changes in the `UseSuspenseInfiniteQueryOptions` interface.
454eb8d to
6419f64
Compare
…t of support for TanStack Query versions prior to 5.80.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGE: Updated peer dependency for
@tanstack/react-queryto^5.80.0in all relevant packages.Reason
The interface
UseSuspenseInfiniteQueryOptionsin@tanstack/react-querychanged its parameter structure starting from version 5.80.0. Supporting older versions is no longer possible or practical.Breaking Changes
@tanstack/react-queryolder than5.80.0will no longer be compatible.Motivation
This change simplifies dependency management and ensures compatibility with the latest features and fixes in TanStack Query.
Additional Context
The main reason for this breaking change is that the interface
UseSuspenseInfiniteQueryOptionsfrom the@tanstack/react-querypackage has changed. Previously, this interface had six parameters, but its structure was updated in version 5.80.0. Supporting older versions would require maintaining compatibility with the outdated interface, which is no longer practical.