Skip to content

Bump graphiql from 4.1.2 to 5.0.0 in /juniper #1331

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

Merged
merged 6 commits into from
Jun 25, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 24, 2025

Bumps graphiql from 4.1.2 to 5.0.0.

Release notes

Sourced from graphiql's releases.

[email protected]

We're thrilled to announce the release of the all-new GraphiQL 5, powered by the latest version of the Monaco editor! 🎉

We've also added support for comments in the Variables and Headers editors. This release is a major step forward.

The original issue for integrating the Monaco editor was opened over 3 years ago. And the issue requesting comments support in the Variables editor was opened over 6 years ago!

See the migration guide from GraphiQL 4

[email protected]

Major Changes

  • #3735 0a08642 Thanks @​dimaMachina! - - Remove query, variables, headers, and response props from <GraphiQL /> and <GraphiQLProvider />
    • Add initialQuery, initialVariables and initialHeaders props
    • Fix defaultQuery, when is set will only be used for the first tab. When opening more tabs, the query editor will start out empty
    • remove useSynchronizeValue hook

Patch Changes

  • Updated dependencies [0a08642]:
    • @​graphiql/react@​0.35.0-rc.9

[email protected]

Minor Changes

  • #4025 6a50740 Thanks @​dimaMachina! - set "importsNotUsedAsValues": "error" in tsconfig

  • #4026 7fb5ac3 Thanks @​dimaMachina! - - deprecate useExplorerContext, useHistoryContext, usePrettifyEditors, useCopyQuery, useMergeQuery, useExecutionContext, usePluginContext, useSchemaContext, useStorageContext hooks

    • fix response editor overflow on <GraphiQL.Footer />
    • export GraphiQLProps type
    • allow children: ReactNode for <GraphiQL.Toolbar />
    • change ToolbarMenu component:
      • The label and className props were removed
      • The button prop should now be a button element
    • document useGraphiQL and useGraphiQLActions hooks in @graphiql/react README.md
    • rename useThemeStore to useTheme

Patch Changes

  • Updated dependencies [6a50740, 7fb5ac3]:
    • @​graphiql/plugin-doc-explorer@​0.3.0-rc.4
    • @​graphiql/plugin-history@​0.3.0-rc.3
    • @​graphiql/react@​0.35.0-rc.8

[email protected]

Minor Changes

... (truncated)

Changelog

Sourced from graphiql's changelog.

5.0.0

Major Changes

  • #3990 27e7eb6 Thanks @​dimaMachina! - - allow multiple independent instances of GraphiQL on the same page

    • store onClickReference in query editor in React ref
    • remove onClickReference from variable editor
    • fix shortcut text per OS for run query in execute query button's tooltip and in default query
    • allow override all default GraphiQL plugins
    • adjust operation argument color to be purple from GraphiQL v2 on dark/light theme
  • #3999 866a8f3 Thanks @​dimaMachina! - update graphiql-cdn example to show how to load workers with esm.sh

  • #4009 4936492 Thanks @​dimaMachina! - separate store actions from state, add useGraphiQLActions state

  • #4002 2d9faec Thanks @​dimaMachina! - remove UMD builds

  • #4005 1e3ec84 Thanks @​dimaMachina! - support externalFragments prop and remove validationRules prop

  • #4003 0c8e390 Thanks @​dimaMachina! - remove readOnly prop document keyMap prop was removed in migration guide

  • #3735 0a08642 Thanks @​dimaMachina! - - Remove query, variables, headers, and response props from <GraphiQL /> and <GraphiQLProvider />

    • Add initialQuery, initialVariables and initialHeaders props
    • Fix defaultQuery, when is set will only be used for the first tab. When opening more tabs, the query editor will start out empty
    • remove useSynchronizeValue hook
  • #3966 17bee1c Thanks @​dimaMachina! - Remove examples: GraphiQL x Parcel and GraphiQL x Create React App

    Add new examples: GraphiQL x Vite and GraphiQL x Next.js

  • #3234 86a96e5 Thanks @​dimaMachina! - Migration from Codemirror to Monaco Editor

    Replacing codemirror-graphql with monaco-graphql

    Support for comments in Variables and Headers editors

Minor Changes

  • #4017 cff3da5 Thanks @​dimaMachina! - extract graphiql sidebar to react component

  • #4025 6a50740 Thanks @​dimaMachina! - set "importsNotUsedAsValues": "error" in tsconfig

  • #4026 7fb5ac3 Thanks @​dimaMachina! - - deprecate useExplorerContext, useHistoryContext, usePrettifyEditors, useCopyQuery, useMergeQuery, useExecutionContext, usePluginContext, useSchemaContext, useStorageContext hooks

    • fix response editor overflow on <GraphiQL.Footer />
    • export GraphiQLProps type
    • allow children: ReactNode for <GraphiQL.Toolbar />
    • change ToolbarMenu component:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [graphiql](https://github.com/graphql/graphiql/tree/HEAD/packages/graphiql) from 4.1.2 to 5.0.0.
- [Release notes](https://github.com/graphql/graphiql/releases)
- [Changelog](https://github.com/graphql/graphiql/blob/main/packages/graphiql/CHANGELOG.md)
- [Commits](https://github.com/graphql/graphiql/commits/[email protected]/packages/graphiql)

---
updated-dependencies:
- dependency-name: graphiql
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added enhancement Improvement of existing features or bugfix javascript Related to Javascript specifically k::dependencies Pull requests that update a dependency file k::integration Related to integration with third-party libraries or systems labels Jun 24, 2025
@tyranron tyranron added the lib::graphiql Related to GraphiQL integration label Jun 25, 2025
@tyranron tyranron self-assigned this Jun 25, 2025
@tyranron tyranron added this to the 0.17.0 milestone Jun 25, 2025
@tyranron tyranron added the k::toolchain Related to project toolchain label Jun 25, 2025
@tyranron tyranron enabled auto-merge (squash) June 25, 2025 11:03
@tyranron tyranron merged commit 077fded into master Jun 25, 2025
180 checks passed
@tyranron tyranron deleted the dependabot/npm_and_yarn/juniper/graphiql-5.0.0 branch June 25, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing features or bugfix javascript Related to Javascript specifically k::dependencies Pull requests that update a dependency file k::integration Related to integration with third-party libraries or systems k::toolchain Related to project toolchain lib::graphiql Related to GraphiQL integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant