fix: migrate projects plugin from deprecated Projects (classic) to Pr…#1782
Open
endavis wants to merge 1 commit intolowlighter:masterfrom
Open
fix: migrate projects plugin from deprecated Projects (classic) to Pr…#1782endavis wants to merge 1 commit intolowlighter:masterfrom
endavis wants to merge 1 commit intolowlighter:masterfrom
Conversation
…ojectsV2 This removes all usage of the deprecated GitHub Projects (classic) API, which was sunset on May 23, 2024. ## Changes **Removed deprecated Projects classic API calls:** 1. **User projects (line 18)**: Removed `projects` query entirely - Before: Tried both `projects` and `projectsV2` - After: Only uses `projectsV2` 2. **Repository projects (lines 36-45)**: Removed classic fallback - Before: Tried ProjectsV2, then fell back to Projects classic - After: Only attempts ProjectsV2 ## Error Fixed ``` GraphqlResponseError: Projects (classic) is being deprecated in favor of the new Projects experience ``` ## Impact - ✅ Eliminates deprecation API errors - ✅ Uses only supported ProjectsV2 API - ✅ Maintains all existing functionality -⚠️ Projects (classic) will no longer be found (expected, as they're deprecated) ## Migration Note Users with old Projects (classic) should migrate to Projects (beta/v2): https://docs.github.com/en/issues/planning-and-tracking-with-projects ## Related - GitHub Sunset Notice: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/ - May be related to issues with projects plugin showing errors
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.
…ojectsV2
This removes all usage of the deprecated GitHub Projects (classic) API, which was sunset on May 23, 2024.
Changes
Removed deprecated Projects classic API calls:
User projects (line 18): Removed
projectsquery entirelyprojectsandprojectsV2projectsV2Repository projects (lines 36-45): Removed classic fallback
Error Fixed
Impact
Migration Note
Users with old Projects (classic) should migrate to Projects (beta/v2): https://docs.github.com/en/issues/planning-and-tracking-with-projects
Related