Skip to content

Commit 470290c

Browse files
authored
Merge branch 'graphiql-v4' into main
2 parents b4c38d0 + f2a6b39 commit 470290c

File tree

108 files changed

+1807
-2339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1807
-2339
lines changed

.changeset/breezy-chicken-crash.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@graphiql/plugin-code-exporter': major
3+
---
4+
5+
`style.css` import was changed
6+
7+
## Migration
8+
9+
```diff
10+
-import '@graphiql/plugin-code-exporter/dist/style.css';
11+
+import '@graphiql/plugin-code-exporter/style.css';
12+
```

.changeset/few-steaks-clap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'graphiql': major
3+
---
4+
5+
show tabs even there is only 1 tab

.changeset/flat-lies-heal.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@graphiql/react': minor
3+
'@graphiql/plugin-explorer': minor
4+
'@graphiql/plugin-code-exporter': minor
5+
---
6+
7+
generate types with `vite-plugin-dts`

.changeset/gentle-bugs-mix.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'graphiql': major
3+
---
4+
5+
remove default export
6+
7+
## Migration
8+
9+
### Before
10+
11+
```jsx
12+
import GraphiQL from 'graphiql'
13+
```
14+
15+
### After
16+
17+
```jsx
18+
import { GraphiQL } from 'graphiql'
19+
```

.changeset/good-vans-refuse.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@graphiql/react': major
3+
---
4+
5+
`style.css` import was changed
6+
7+
## Migration
8+
9+
```diff
10+
-import '@graphiql/react/dist/style.css';
11+
+import '@graphiql/react/style.css';
12+
```

.changeset/green-pugs-worry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'graphiql': major
3+
---
4+
5+
remove `disableTabs` option

.changeset/hungry-spiders-cheat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'graphiql': major
3+
---
4+
5+
remove `data-testid="graphiql-container"`

.changeset/metal-glasses-bow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'graphiql': patch
3+
---
4+
5+
update graphql to `16.9.0` and use vite `define` configuration to remove development code from cdn bundle

.changeset/orange-rivers-draw.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@graphiql/plugin-code-exporter': patch
3+
'@graphiql/plugin-explorer': patch
4+
'@graphiql/react': patch
5+
---
6+
7+
use `vite build --watch` instead of `vite` for `dev` script because we don't need development server for them
8+
9+
do not use `vite-plugin-dts` when generating umd build

.changeset/pink-moose-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'graphiql': patch
3+
---
4+
5+
use `position: absolute` for `.graphiql-logo` class

0 commit comments

Comments
 (0)