Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 22, 2024

This PR contains the following updates:

Package Change Age Confidence
graphiql (source) 1.11.5 -> 5.2.0 age confidence

Release Notes

graphql/graphiql (graphiql)

v5.2.0

Compare Source

Minor Changes
  • #​4081 4950dec Thanks @​dimaMachina! - feat: add loader for initial loading of operation editor
    fix: adjust command palette width, border and remove box-shadow
    feat: add short cut Cmd/Ctrl + , for opening GraphiQL settings dialog
Patch Changes

v5.1.1

Compare Source

Patch Changes

v5.1.0

Compare Source

Minor Changes
  • #​4071 3a0a755 Thanks @​dimaMachina! - feat(graphql-language-service): export getContextAtPosition
    feat(graphiql): dynamically import monaco-editor and monaco-graphql

    When using GraphiQL in Next.js app, you no longer need to use next/dynamic:

    -import dynamic from 'next/dynamic'
    -const GraphiQL = dynamic(() => import('graphiql').then(mod => mod.GraphiQL), {
    -  ssr: false
    -})
    +import { GraphiQL } from 'graphiql'
  • #​4074 fd3f9e6 Thanks @​dimaMachina! - Ensure storage and theme store values aren't shared between GraphiQL instances. Deprecate useTheme and useStorage hooks in favour of values from useGraphiQL and useGraphiQLActions hooks

    feat(@graphiql/plugin-history/@graphiql/plugin-doc-explorer): move @graphiql/react to peerDependencies

  • #​4077 3d41e11 Thanks @​dimaMachina! - add new example Usage GraphiQL 5 with Vite, React Router and ssr: true

Patch Changes

v5.0.6

Compare Source

Patch Changes
  • #​4069 142f3f2 Thanks @​dimaMachina! - reduce bundle size, import prettier dynamically to avoid bundling Prettier

    diff from vite example

    -dist/assets/index-BMgFrxsd.js             4,911.53 kB │ gzip: 1,339.77 kB
    +dist/assets/index-BlpzusGL.js             4,221.28 kB │ gzip: 1,145.58 kB
  • Updated dependencies [142f3f2]:

v5.0.5

Compare Source

Patch Changes

v5.0.4

Compare Source

Patch Changes

v5.0.3

Compare Source

Patch Changes
  • #​4052 9b54581 Thanks @​dimaMachina! - fix multiple GraphiQL instances, suffix a unique id for operation, request headers, variables and response URI.

    E.g., the first GraphiQL instance will have:

    • 1-operation.graphql
    • 1-request-headers.json
    • 1-variables.json
    • 1-response.json

    The 2nd instance will have:

    • 2-operation.graphql
    • 2-request-headers.json
    • 2-variables.json
    • 2-response.json

    etc.

  • #​4049 2c0586d Thanks @​dimaMachina! - - use allowTrailingComma option in jsonc parser to make tryParseJsonObject sync

    • parse introspection headers with jsonc parser
    • use prettier format for operation editor since we already use prettier for jsonc editors
  • #​4050 002f133 Thanks @​dimaMachina! - fix can't access property "jsonDefaults"

  • Updated dependencies [9b54581, 2c0586d, 002f133]:

v5.0.2

Compare Source

Patch Changes

v5.0.1

Compare Source

Patch Changes

v5.0.0

Compare Source

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:
      • 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
  • #​3949 0844dc1 Thanks @​dimaMachina! - - replace onCopyQuery hook with copyQuery function

    • replace onMergeQuery hook with mergeQuery function
    • replace onPrettifyEditors hook with prettifyEditors function
    • remove fetcher prop from SchemaContextProvider and schemaStore and add fetcher to executionStore
    • add onCopyQuery and onPrettifyQuery props to EditorContextProvider
    • remove exports (use GraphiQLProvider)
      • EditorContextProvider
      • ExecutionContextProvider
      • PluginContextProvider
      • SchemaContextProvider
      • StorageContextProvider
      • ExecutionContextType
      • PluginContextType
    • feat(@​graphiql/react): migrate React context to zustand:
      • replace useExecutionContext with useExecutionStore hook
      • replace useEditorContext with useEditorStore hook
    • prefer getComputedStyle over window.getComputedStyle
  • #​4008 e0dafa4 Thanks @​dimaMachina! - - add f1 command as first item in shortcut table

    • set color of quickInputList.focusForeground in command palette to be primary color
  • #​3950 2455907 Thanks @​dimaMachina! - - remove useQueryEditor, useVariableEditor, useHeaderEditor, useResponseEditor hooks

    • remove UseHeaderEditorArgs, UseQueryEditorArgs, UseResponseEditorArgs, UseVariableEditorArgs exports
    • rename components
      • StorageContextProvider => StorageStore
      • EditorContextProvider => EditorStore
      • SchemaContextProvider => SchemaStore
      • ExecutionContextProvider => ExecutionStore
      • HistoryContextProvider => HistoryStore
      • ExplorerContextProvider => ExplorerStore
  • Updated dependencies [27e7eb6, 0844dc1, 866a8f3, 4936492, 7792dc9, f9780bd, 3c0ad34, 1e3ec84, 0c8e390, 0a08642, cff3da5, 6a50740, 16fdd6a, 86a96e5, 30bc3f9, 4b39f11, 7fb5ac3, 2455907]:

v4.1.2

Compare Source

Patch Changes
  • #​3993 70d2216 Thanks @​dimaMachina! - fix TypeError: Cannot read properties of null (reading 'get') and update graphiql webpack example to show how to use useStorage hook with GraphiQL component

v4.1.1

Compare Source

Patch Changes

v4.1.0

Compare Source

Minor Changes
  • #​3946 71755b7 Thanks @​dimaMachina! - feat(@​graphiql/react): migrate React context to zustand:
    • replace useExecutionContext with useExecutionStore hook
    • replace useEditorContext with useEditorStore hook
    • replace useAutoCompleteLeafs hook with getAutoCompleteLeafs function
Patch Changes

v4.0.5

Compare Source

Patch Changes

v4.0.4

Compare Source

Patch Changes

v4.0.3

Compare Source

Patch Changes

v4.0.2

Compare Source

Patch Changes
  • #​3916 98d13a3 Thanks @​dimaMachina! - - remove the following exports from @graphiql/react and move them in @graphiql/plugin-doc-explorer package:

    • Argument
    • DefaultValue
    • DeprecationReason
    • Directive
    • DocExplorer
    • ExplorerContext
    • ExplorerContextProvider
    • ExplorerSection
    • FieldDocumentation
    • FieldLink
    • SchemaDocumentation
    • Search
    • TypeDocumentation
    • TypeLink
    • useExplorerContext
    • DOC_EXPLORER_PLUGIN
    • ExplorerContextType
    • ExplorerFieldDef
    • ExplorerNavStack
    • ExplorerNavStackItem
    • add new referencePlugin prop on PluginContextProviderProps component for plugin which is used to display the reference documentation when selecting a type.
  • Updated dependencies [98d13a3]:

v4.0.1

Compare Source

Patch Changes
  • #​3911 e7c436b Thanks @​dimaMachina! - - export cn from @graphiql/react

    • remove following exports from @graphiql/react and move them in @graphiql/plugin-history package:
      • History
      • HistoryContext
      • HistoryContextType
      • HistoryContextProvider
      • useHistoryContext
      • HISTORY_PLUGIN
    • remove types from @graphiql/react (use ComponentProps<typeof MyContextProviderProps> instead):
      • HistoryContextProviderProps
      • ExecutionContextProviderProps
      • EditorContextProviderProps
      • ExplorerContextProviderProps
      • PluginContextProviderProps
      • SchemaContextProviderProps
      • StorageContextProviderProps
      • GraphiQLProviderProps
  • #​3915 bc31cd9 Thanks @​dimaMachina! - fix unpkg.com results to Not found when main field isn't specified in package.json

  • Updated dependencies [e7c436b]:

v4.0.0

Compare Source

Major Changes

v3.9.0

Compare Source

Minor Changes
Patch Changes

v3.8.3

Compare Source

Patch Changes

v3.8.2

Compare Source

Patch Changes

v3.8.1

Compare Source

Patch Changes

v3.8.0

Compare Source

Minor Changes
Patch Changes

v3.7.2

Compare Source

Patch Changes

v3.7.1

Compare Source

Patch Changes

v3.7.0

Compare Source

Minor Changes
Patch Changes

v3.6.0

Compare Source

Minor Changes
Patch Changes

v3.5.0

Compare Source

Minor Changes
Patch Changes

v3.4.1

Compare Source

Patch Changes

v3.4.0

Compare Source

Minor Changes
Patch Changes

v3.3.2

Compare Source

Patch Changes

v3.3.1

Compare Source

Patch Changes

v3.3.0

Compare Source

Minor Changes

v3.2.3

Compare Source

Patch Changes

v3.2.2

Compare Source

Patch Changes

v3.2.1

Compare Source

Patch Changes

v3.2.0

Compare Source

Minor Changes
Patch Changes

v3.1.2

Compare Source

Patch Changes

v3.1.1

Compare Source

Patch Changes

v3.1.0

Compare Source

Minor Changes

v3.0.10

Compare Source

Patch Changes

v3.0.9

Compare Source

Patch Changes

v3.0.8

Compare Source

Patch Changes

v3.0.7

Compare Source

Patch Changes

v3.0.6

Compare Source

Patch Changes

v3.0.5

Compare Source

Patch Changes
  • #​3371 2348641c Thanks @​acao! - Solves #​2825, an old bug where new tabs were created on every refresh

    the bug occurred when:

    1. shouldPersistHeaders is not set to true
    2. headers or defaultHeaders are provided as props
    3. the user refreshes the browser
  • Updated dependencies [2348641c]:

v3.0.4

Compare Source

Patch Changes

[v3.0.3](https://redirect.github.com/graphql/g


Configuration

📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot
Copy link

changeset-bot bot commented Dec 22, 2024

⚠️ No Changeset found

Latest commit: 3c9256c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/major-graphiql-monorepo branch 2 times, most recently from 56bd4c8 to 26eec66 Compare May 3, 2025 10:51
@renovate renovate bot changed the title fix(deps): update dependency graphiql to v3 fix(deps): update dependency graphiql to v4 May 3, 2025
@renovate renovate bot force-pushed the renovate/major-graphiql-monorepo branch 3 times, most recently from 9fd7774 to 98d19ef Compare May 10, 2025 15:59
@renovate renovate bot force-pushed the renovate/major-graphiql-monorepo branch 2 times, most recently from acf2fdf to 14bcdcb Compare May 14, 2025 02:01
@renovate renovate bot force-pushed the renovate/major-graphiql-monorepo branch from 14bcdcb to 25d33d2 Compare May 31, 2025 15:59
@renovate renovate bot force-pushed the renovate/major-graphiql-monorepo branch from 25d33d2 to 3c9256c Compare August 10, 2025 08:00
@renovate renovate bot changed the title fix(deps): update dependency graphiql to v4 fix(deps): update dependency graphiql to v5 Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant