Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
[email protected]
Major Changes
#3904
d1395f9
Thanks @dimaMachina! - drop commonjs build files#3904
d1395f9
Thanks @dimaMachina! - show tabs even there is only 1 tab#3904
d1395f9
Thanks @dimaMachina! - remove default exportMigration
Before
After
#3904
d1395f9
Thanks @dimaMachina! - - support react 19, drop support react 16 and react 17ReactDOM.unmountComponentAtNode()
andReactDOM.render()
withroot.unmount()
andcreateRoot(container).render()
@radix-ui
and@headlessui/react
dependencies#3904
d1395f9
Thanks @dimaMachina! - removedisableTabs
option#3904
d1395f9
Thanks @dimaMachina! - removedata-testid="graphiql-container"
#3904
d1395f9
Thanks @dimaMachina! - changed exportschanged cdn paths,
dist/index.umd.js
anddist/style.css
are minified#3904
d1395f9
Thanks @dimaMachina! - - new looks of tabsdisableTabs
whenAdd tab
button is still shown#3904
d1395f9
Thanks @dimaMachina! - Removetoolbar.additionalContent
andtoolbar.additionalComponent
props in favor ofGraphiQL.Toolbar
render props.Migration from
toolbar.additionalContent
Before
After
Migration from
toolbar.additionalComponent
Before
After
Additionally, you can sort default toolbar buttons in different order or remove unneeded buttons for you:
Minor Changes
#3904
d1395f9
Thanks @dimaMachina! - Add support foronPrettifyQuery
callback to enable customised query formatting#3904
d1395f9
Thanks @dimaMachina! - Update GraphiQL CDN example using ESM-based CDN esm.sh#3904
d1395f9
Thanks @dimaMachina! - updatevite
and related dependencies#3904
d1395f9
Thanks @dimaMachina! - remove.graphiql-session
classPatch Changes
#3904
d1395f9
Thanks @dimaMachina! - update graphql to16.9.0
and use vitedefine
configuration to remove development code from cdn bundle#3904
d1395f9
Thanks @dimaMachina! - Respect Markdown format: ignore single newline#3904
d1395f9
Thanks @dimaMachina! - useposition: absolute
for.graphiql-logo
class#3904
d1395f9
Thanks @dimaMachina! - replaceoverflow-y: scroll
withoverflow-y: auto
#3904
d1395f9
Thanks @dimaMachina! - rollbackposition: absolute
style for.graphiql-logo
because tabs will behind logo#3904
d1395f9
Thanks @dimaMachina! - - preferlocation
overwindow.location
navigator
overwindow.navigator
#3904
d1395f9
Thanks @dimaMachina! - useright: var(--px-16)
instead ofright: 0
for.graphiql-logo
#3904
d1395f9
Thanks @dimaMachina! - replaceTooltip
s in tabs with htmltitle="..."
attributeUpdated dependencies [
d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
]:@graphiql/[email protected]
Major Changes
#3904
d1395f9
Thanks @dimaMachina! -style.css
import was changedMigration
#3904
d1395f9
Thanks @dimaMachina! - drop commonjs build files#3904
d1395f9
Thanks @dimaMachina! - - support react 19, drop support react 16 and react 17ReactDOM.unmountComponentAtNode()
andReactDOM.render()
withroot.unmount()
andcreateRoot(container).render()
@radix-ui
and@headlessui/react
dependenciesMinor Changes
#3904
d1395f9
Thanks @dimaMachina! - Update GraphiQL CDN example using ESM-based CDN esm.sh#3904
d1395f9
Thanks @dimaMachina! - generate types withvite-plugin-dts
#3904
d1395f9
Thanks @dimaMachina! - updatevite
and related dependenciesPatch Changes
#3904
d1395f9
Thanks @dimaMachina! - fix types incorrect types entry#3904
d1395f9
Thanks @dimaMachina! - usevite build --watch
instead ofvite
fordev
script because we don't need development server for themdo not use
vite-plugin-dts
when generating umd buildUpdated dependencies [
d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
]:@graphiql/[email protected]
Major Changes
#3904
d1395f9
Thanks @dimaMachina! - drop commonjs build files#3904
d1395f9
Thanks @dimaMachina! - - support react 19, drop support react 16 and react 17ReactDOM.unmountComponentAtNode()
andReactDOM.render()
withroot.unmount()
andcreateRoot(container).render()
@radix-ui
and@headlessui/react
dependencies#3904
d1395f9
Thanks @dimaMachina! -style.css
import was changedMigration
Minor Changes
#3904
d1395f9
Thanks @dimaMachina! - Update GraphiQL CDN example using ESM-based CDN esm.sh#3904
d1395f9
Thanks @dimaMachina! - generate types withvite-plugin-dts
#3904
d1395f9
Thanks @dimaMachina! - updatevite
and related dependenciesPatch Changes
#3904
d1395f9
Thanks @dimaMachina! - improve explorer styles#3904
d1395f9
Thanks @dimaMachina! - fix types incorrect types entry#3904
d1395f9
Thanks @dimaMachina! - usevite build --watch
instead ofvite
fordev
script because we don't need development server for themdo not use
vite-plugin-dts
when generating umd buildUpdated dependencies [
d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
,d1395f9
]:@graphiql/[email protected]
Minor Changes
#3904
d1395f9
Thanks @dimaMachina! - Add support foronPrettifyQuery
callback to enable customised query formatting#3904
d1395f9
Thanks @dimaMachina! - Update GraphiQL CDN example using ESM-based CDN esm.sh#3904
d1395f9
Thanks @dimaMachina! - drop commonjs build files#3904
d1395f9
Thanks @dimaMachina! - generate types withvite-plugin-dts
#3904
d1395f9
Thanks @dimaMachina! - - support react 19, drop support react 16 and react 17ReactDOM.unmountComponentAtNode()
andReactDOM.render()
withroot.unmount()
andcreateRoot(container).render()
@radix-ui
and@headlessui/react
dependencies#3904
d1395f9
Thanks @dimaMachina! -style.css
import was changedMigration
#3904
d1395f9
Thanks @dimaMachina! - updatevite
and related dependencies#3904
d1395f9
Thanks @dimaMachina! - removecreateComponentGroup
utility in favourObject.assign
#3904
d1395f9
Thanks @dimaMachina! - - new looks of tabsdisableTabs
whenAdd tab
button is still shownPatch Changes
#3904
d1395f9
Thanks @dimaMachina! - Respect Markdown format: ignore single newline#3904
d1395f9
Thanks @dimaMachina! - usevite build --watch
instead ofvite
fordev
script because we don't need development server for themdo not use
vite-plugin-dts
when generating umd build#3904
d1395f9
Thanks @dimaMachina! - replaceoverflow-y: scroll
withoverflow-y: auto
#3904
d1395f9
Thanks @dimaMachina! - rollbackposition: absolute
style for.graphiql-logo
because tabs will behind logo#3904
d1395f9
Thanks @dimaMachina! - - preferlocation
overwindow.location
navigator
overwindow.navigator