Releases: graphql/graphiql
graphql-language-service-server@2.14.0
Minor Changes
-
#3682
6c9f0df
Thanks @yaacovCR! - Support v17 ofgraphql-js
from17.0.0-alpha.2
forward.Includes support for the latest incremental delivery response format. For further details, see graphql/defer-stream-wg#69.
Patch Changes
- Updated dependencies [
6c9f0df
]:- graphql-language-service@5.3.0
graphql-language-service-cli@3.5.0
Minor Changes
-
#3682
6c9f0df
Thanks @yaacovCR! - Support v17 ofgraphql-js
from17.0.0-alpha.2
forward.Includes support for the latest incremental delivery response format. For further details, see graphql/defer-stream-wg#69.
Patch Changes
- Updated dependencies [
6c9f0df
]:- graphql-language-service-server@2.14.0
- graphql-language-service@5.3.0
graphiql@3.5.0
Minor Changes
-
#3682
6c9f0df
Thanks @yaacovCR! - Support v17 ofgraphql-js
from17.0.0-alpha.2
forward.Includes support for the latest incremental delivery response format. For further details, see graphql/defer-stream-wg#69.
Patch Changes
- Updated dependencies [
6c9f0df
]:- @graphiql/react@0.24.0
codemirror-graphql@2.1.0
Minor Changes
-
#3682
6c9f0df
Thanks @yaacovCR! - Support v17 ofgraphql-js
from17.0.0-alpha.2
forward.Includes support for the latest incremental delivery response format. For further details, see graphql/defer-stream-wg#69.
Patch Changes
- Updated dependencies [
6c9f0df
]:- graphql-language-service@5.3.0
cm6-graphql@0.1.0
Minor Changes
-
#3682
6c9f0df
Thanks @yaacovCR! - Support v17 ofgraphql-js
from17.0.0-alpha.2
forward.Includes support for the latest incremental delivery response format. For further details, see graphql/defer-stream-wg#69.
Patch Changes
- Updated dependencies [
6c9f0df
]:- graphql-language-service@5.3.0
@graphiql/toolkit@0.10.0
Minor Changes
-
#3682
6c9f0df
Thanks @yaacovCR! - Support v17 ofgraphql-js
from17.0.0-alpha.2
forward.Includes support for the latest incremental delivery response format. For further details, see graphql/defer-stream-wg#69.
@graphiql/plugin-explorer@3.2.0
Minor Changes
-
#3682
6c9f0df
Thanks @yaacovCR! - Support v17 ofgraphql-js
from17.0.0-alpha.2
forward.Includes support for the latest incremental delivery response format. For further details, see graphql/defer-stream-wg#69.
Patch Changes
- Updated dependencies [
6c9f0df
]:- @graphiql/react@0.24.0
@graphiql/plugin-code-exporter@3.1.0
Minor Changes
-
#3682
6c9f0df
Thanks @yaacovCR! - Support v17 ofgraphql-js
from17.0.0-alpha.2
forward.Includes support for the latest incremental delivery response format. For further details, see graphql/defer-stream-wg#69.
Patch Changes
- Updated dependencies [
6c9f0df
]:- @graphiql/react@0.24.0
graphiql@4.0.0-alpha.2
Patch Changes
-
#3716
cc2808f
Thanks @dimaMachina! - useposition: absolute
for.graphiql-logo
class -
Updated dependencies [
bf0c4e7
]:- @graphiql/react@1.0.0-alpha.1
graphiql@4.0.0-alpha.1
Major Changes
-
#3713
27bbc51
Thanks @dimaMachina! - show tabs even there is only 1 tab -
#3707
3c901c1
Thanks @dimaMachina! - Removetoolbar.additionalContent
andtoolbar.additionalComponent
props in favor ofGraphiQL.Toolbar
render props.Migration from
toolbar.additionalContent
Before
<GraphiQL toolbar={{ additionalContent: <button>My button</button> }} />
After
<GraphiQL> <GraphiQL.Toolbar> {({ merge, prettify, copy }) => ( <> {prettify} {merge} {copy} <button>My button</button> </> )} </GraphiQL.Toolbar> </GraphiQL>
Migration from
toolbar.additionalComponent
Before
<GraphiQL toolbar={{ additionalComponent: function MyComponentWithAccessToContext() { return <button>My button</button>; }, }} />
After
<GraphiQL> <GraphiQL.Toolbar> {({ merge, prettify, copy }) => ( <> {prettify} {merge} {copy} <MyComponentWithAccessToContext /> </> )} </GraphiQL.Toolbar> </GraphiQL>
Additionally, you can sort default toolbar buttons in different order or remove unneeded buttons for you:
<GraphiQL> <GraphiQL.Toolbar> {({ prettify, copy }) => ( <> {copy /* Copy button will be first instead of default last */} {/* Merge button is removed from toolbar */} {prettify} </> )} </GraphiQL.Toolbar> </GraphiQL>