Releases: graphql/graphiql
@graphiql/toolkit@0.10.0
Minor Changes
-
#3682
6c9f0dfThanks @yaacovCR! - Support v17 ofgraphql-jsfrom17.0.0-alpha.2forward.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
6c9f0dfThanks @yaacovCR! - Support v17 ofgraphql-jsfrom17.0.0-alpha.2forward.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
6c9f0dfThanks @yaacovCR! - Support v17 ofgraphql-jsfrom17.0.0-alpha.2forward.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
cc2808fThanks @dimaMachina! - useposition: absolutefor.graphiql-logoclass -
Updated dependencies [
bf0c4e7]:- @graphiql/react@1.0.0-alpha.1
graphiql@4.0.0-alpha.1
Major Changes
-
#3713
27bbc51Thanks @dimaMachina! - show tabs even there is only 1 tab -
#3707
3c901c1Thanks @dimaMachina! - Removetoolbar.additionalContentandtoolbar.additionalComponentprops in favor ofGraphiQL.Toolbarrender props.Migration from
toolbar.additionalContentBefore
<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.additionalComponentBefore
<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>
@graphiql/react@1.0.0-alpha.1
Minor Changes
- #3717
bf0c4e7Thanks @dimaMachina! - removecreateComponentGrouputility in favourObject.assign
graphiql@4.0.0-alpha.0
Major Changes
-
#3706
343dd59Thanks @dimaMachina! - remove default exportMigration
Before
import GraphiQL from 'graphiql';
After
import { GraphiQL } from 'graphiql';
-
#3687
09e7004Thanks @dimaMachina! - removedisableTabsoption -
#3688
0fdd9b9Thanks @dimaMachina! - removedata-testid="graphiql-container" -
#3679
5d90e0eThanks @dimaMachina! - migrate fromwebpacktovitechanged exports
-graphiql/graphiql.css +graphiql/style.css
changed cdn paths,
dist/index.umd.jsanddist/style.cssare minified-https://unpkg.com/graphiql/graphiql.js -https://unpkg.com/graphiql/graphiql.min.js +https://unpkg.com/graphiql/dist/index.umd.js -https://unpkg.com/graphiql/graphiql.css -https://unpkg.com/graphiql/graphiql.min.css +https://unpkg.com/graphiql/dist/style.css
-
#3644
3c1a345Thanks @dimaMachina! - - new looks of tabs- fix
disableTabswhenAdd tabbutton is still shown
- fix
Patch Changes
-
#3683
8efb873Thanks @dimaMachina! - update graphql to16.9.0and use vitedefineconfiguration to remove development code from cdn bundle -
#3692
82bc961Thanks @dimaMachina! - - preferlocationoverwindow.location- prefer
navigatoroverwindow.navigator
- prefer
-
Updated dependencies [
00415d2,9baf1f0,8ff87d7,82bc961,3c1a345]:- @graphiql/react@1.0.0-alpha.0
@graphiql/react@1.0.0-alpha.0
Major Changes
-
#3709
9baf1f0Thanks @dimaMachina! -style.cssimport was changedMigration
-import '@graphiql/react/dist/style.css'; +import '@graphiql/react/style.css';
Minor Changes
-
#3702
00415d2Thanks @dimaMachina! - generate types withvite-plugin-dts -
#3644
3c1a345Thanks @dimaMachina! - - new looks of tabs- fix
disableTabswhenAdd tabbutton is still shown
- fix
Patch Changes
-
#3705
8ff87d7Thanks @dimaMachina! - usevite build --watchinstead ofvitefordevscript because we don't need development server for themdo not use
vite-plugin-dtswhen generating umd build -
#3692
82bc961Thanks @dimaMachina! - - preferlocationoverwindow.location- prefer
navigatoroverwindow.navigator
- prefer
@graphiql/plugin-explorer@4.0.0-alpha.0
Major Changes
-
#3709
9baf1f0Thanks @dimaMachina! -style.cssimport was changedMigration
-import '@graphiql/plugin-explorer/dist/style.css'; +import '@graphiql/plugin-explorer/style.css';
Minor Changes
- #3702
00415d2Thanks @dimaMachina! - generate types withvite-plugin-dts
Patch Changes
@graphiql/plugin-code-exporter@4.0.0-alpha.0
Major Changes
-
#3709
9baf1f0Thanks @dimaMachina! -style.cssimport was changedMigration
-import '@graphiql/plugin-code-exporter/dist/style.css'; +import '@graphiql/plugin-code-exporter/style.css';
Minor Changes
- #3702
00415d2Thanks @dimaMachina! - generate types withvite-plugin-dts