-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
fix(eslint-plugin-query): add TypeScript v6 to peerDependencies #10360
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
Open
mixelburg
wants to merge
1
commit into
TanStack:main
Choose a base branch
from
mixelburg:fix/eslint-plugin-query-typescript-v6-peer-dep
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1
−1
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: TanStack/query
Length of output: 2106
🏁 Script executed:
Repository: TanStack/query
Length of output: 95
🌐 Web query:
What are the breaking changes in TypeScript 6.0.0 compiler API compared to TypeScript 5.x, specifically for getTypeChecker, getTypeAtLocation, getAwaitedType, getCallSignatures, and type flags?💡 Result:
No breaking changes found in TypeScript 6.0.0 compiler API for getTypeChecker, getTypeAtLocation, getAwaitedType, getCallSignatures, or type flags compared to 5.x. Official release notes, iteration plans, and company feedback (Google, Bloomberg) emphasize configuration defaults, deprecations like baseUrl/outFile, lib.d.ts updates, and type inference tweaks, but explicitly state API compatibility with 5.9 is maintained. The compiler API (tsserverlibrary) appears unchanged for these methods based on available sources.
Citations:
🏁 Script executed:
Repository: TanStack/query
Length of output: 395
🏁 Script executed:
Repository: TanStack/query
Length of output: 259
🏁 Script executed:
Repository: TanStack/query
Length of output: 232
🏁 Script executed:
Repository: TanStack/query
Length of output: 71
🏁 Script executed:
Repository: TanStack/query
Length of output: 77
🏁 Script executed:
Repository: TanStack/query
Length of output: 72
🏁 Script executed:
# List all files in .changeset directory ls -la .changeset/Repository: TanStack/query
Length of output: 232
🏁 Script executed:
Repository: TanStack/query
Length of output: 815
🏁 Script executed:
Repository: TanStack/query
Length of output: 76
🏁 Script executed:
Repository: TanStack/query
Length of output: 40
🏁 Script executed:
Repository: TanStack/query
Length of output: 84
Update
@typescript-eslint/utilsto ^8.58.0 to support TypeScript v6.The TypeScript v6 peer dependency support cannot be added without updating
@typescript-eslint/utils. The current version constraint^8.48.0(line 61) pulls versions 8.48.0 through 8.57.x, all of which have peer dependencytypescript: >=4.8.4 <6.0.0—explicitly excluding TypeScript 6.0.0. Only@typescript-eslint/utils@8.58.0+ support TypeScript 6 with constraint>=4.8.4 <6.1.0.With the current configuration, users installing TypeScript 6.0.0 alongside this plugin will face an unmet peer dependency error and potential runtime failures.
Change
@typescript-eslint/utilsfrom^8.48.0to^8.58.0in the dependencies (line 61).🤖 Prompt for AI Agents