github graphql/graphiql @graphiql/plugin-doc-explorer@0.3.0-rc.0

pre-release3 months ago

Migration guide

Minor Changes

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

    Replacing codemirror-graphql with monaco-graphql

    Support for comments in Variables and Headers editors

  • #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

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
  • Updated dependencies [0844dc1, 86a96e5, 2455907]:
    • @graphiql/react@0.35.0-rc.0

Don't miss a new graphiql release

NewReleases is sending notifications on new releases.