Skip to content

Upgrade graphiql to v5#2

Merged
berryr0 merged 9 commits intomainfrom
upgrade-graphiql
Jul 10, 2025
Merged

Upgrade graphiql to v5#2
berryr0 merged 9 commits intomainfrom
upgrade-graphiql

Conversation

@berryr0
Copy link
Copy Markdown
Contributor

@berryr0 berryr0 commented Jul 4, 2025

📌 Description

Upgraded graphiql and graphiql react


🔍 Changes Made

  • upgraded graphiql/react to v0.35.4
    • Migration Guide
    • Main updates in: packages/graphiql-plugin-multipart-requests/src/context.tsx
  • upgraded graphiql to v5 in example
  • added github workflow for pr checks
  • added github workflow for publishing
  • added pr template
  • Added .npmrc to point to public registry
  • Brief bullet-point list of changes
  • Highlight key files or logic updated
  • Mention any breaking changes or impacts

🧪 Testing

  • Tested locally
  • Unit tests updated/added
  • CI pipeline passed (lint, tests)

Describe how you tested the changes and any edge cases considered.


📷 Screenshots (if UI-related)

image


✅ Checklist

Please confirm all items are complete before requesting a review:

  • I have run lint and fixed any issues
  • I have run all existing tests and they pass
  • I have added tests for new code (if needed)
  • I have documented my changes (if needed)
  • Linked relevant issues in the PR description

]
},
resolve: {
// make sure we get the same libraries even if we symlink in dependencies
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this because it was causing errors when running dev for me. It was causing dev to keep looking at incorrect dependency after the version was upgraded.

icon: () => {
const [attachments] = useContext(MultipartAttachmentsInternalContext);
const pluginContext = usePluginContext();
const visiblePlugin = useGraphiQL(state => state.visiblePlugin);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@berryr0 berryr0 changed the title Upgrade graphiql to v5 (WIP) Upgrade graphiql to v5 Jul 7, 2025
@berryr0 berryr0 marked this pull request as ready for review July 7, 2025 17:35
@berryr0 berryr0 requested a review from dylanowen July 7, 2025 17:36
Copy link
Copy Markdown

@neeraj-aduri-wday neeraj-aduri-wday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. Looks good to me!

@berryr0 berryr0 merged commit 73dd0f3 into main Jul 10, 2025
2 checks passed
@berryr0 berryr0 deleted the upgrade-graphiql branch July 10, 2025 23:59
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.

3 participants