github graphql/graphiql codemirror-graphql@2.2.3-rc.0

pre-release3 months ago

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

Don't miss a new graphiql release

NewReleases is sending notifications on new releases.