github graphql/graphiql @graphiql/react@0.11.0

Minor Changes

  • #2523 e1c6e3bf Thanks @thomasheyenbrock! - BREAKING: The onHasCompletion export has been removed as it is only meant to be used internally.

  • #2523 d1805200 Thanks @thomasheyenbrock! - Add new components:

    • UI components (Button, ButtonGroup, Dialog, Menu, Spinner, Tab, Tabs, Tooltip, UnStyledButton and lots of icon components)
    • Editor components (QueryEditor, VariableEditor, HeaderEditor and ResponseEditor)
    • Toolbar components (ExecuteButton, ToolbarButton, ToolbarMenu and ToolbarSelect)
    • Docs components (Argument, DefaultValue, DeprecationReason, Directive, DocExplorer, ExplorerSection, FieldDocumentation, FieldLink, SchemaDocumentation, Search, TypeDocumentation and TypeLink)
    • History component
    • A GraphiQLProvider component that renders all other existing provider components from @graphiql/react for ease of use
  • #2523 b5a7bee1 Thanks @thomasheyenbrock! - BREAKING: Add a new context provider for plugins. This induces changes to the following other contexts and their provider components:

    • The property isVisible and the methods hide and show of the ExplorerContext have been removed. Also, the property isVisible and the methods hide, show and toggle of the HistoryContext have been removed. Visibility state of plugins is now part of the PluginContext using the visiblePlugin property. The visibility state can be altered using the setVisiblePlugin method of the PluginContext.
    • The isVisible prop of the ExplorerContextProvider has been removed. For controlling the visibility state of plugins you can now use the visiblePlugin prop of the PluginContextProvider.
    • The onToggle prop of the HistoryContextProvider and the onToggleVisibility prop of the ExplorerContextProvider have been removed. For listening on visibility changes for any plugin you can now use the onTogglePluginVisibility prop of the PluginContextProvider.
  • #2523 11c2778b Thanks @thomasheyenbrock! - BREAKING: The ResponseTooltip prop of the ResponseEditor has been renamed to responseTooltip

Patch Changes

Don't miss a new graphiql release

NewReleases is sending notifications on new releases.