Skip to content

Commit 1a6d63d

Browse files
Version Packages (alpha) (#3689)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 7afb4be commit 1a6d63d

File tree

10 files changed

+171
-15
lines changed

10 files changed

+171
-15
lines changed

.changeset/pre.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,24 @@
1515
"monaco-graphql": "1.5.3",
1616
"vscode-graphql": "0.11.2",
1717
"vscode-graphql-execution": "0.2.6",
18-
"vscode-graphql-syntax": "1.3.6"
18+
"vscode-graphql-syntax": "1.3.6",
19+
"example-graphiql-webpack": "0.0.0",
20+
"example-monaco-graphql-nextjs": "0.0.0",
21+
"example-monaco-graphql-react-vite": "0.0.0",
22+
"example-monaco-graphql-webpack": "0.0.0"
1923
},
20-
"changesets": []
24+
"changesets": [
25+
"breezy-chicken-crash",
26+
"flat-lies-heal",
27+
"gentle-bugs-mix",
28+
"good-vans-refuse",
29+
"green-pugs-worry",
30+
"hungry-spiders-cheat",
31+
"metal-glasses-bow",
32+
"orange-rivers-draw",
33+
"poor-ghosts-jump",
34+
"rich-jobs-kick",
35+
"spotty-bulldogs-confess",
36+
"thirty-spoons-call"
37+
]
2138
}

examples/graphiql-webpack/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"start": "NODE_ENV=development webpack-cli serve"
1010
},
1111
"dependencies": {
12-
"@graphiql/plugin-code-exporter": "^3.0.5",
13-
"@graphiql/plugin-explorer": "^3.1.1",
12+
"@graphiql/plugin-code-exporter": "^4.0.0-alpha.0",
13+
"@graphiql/plugin-explorer": "^4.0.0-alpha.0",
1414
"@graphiql/toolkit": "^0.9.2",
15-
"@graphiql/react": "^0.23.1",
16-
"graphiql": "^3.4.1",
15+
"@graphiql/react": "^1.0.0-alpha.0",
16+
"graphiql": "^4.0.0-alpha.0",
1717
"graphql": "^16.9.0",
1818
"graphql-ws": "^5.5.5",
1919
"react": "^18.2.0",

packages/graphiql-plugin-code-exporter/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# @graphiql/plugin-code-exporter
22

3+
## 4.0.0-alpha.0
4+
5+
### Major Changes
6+
7+
- [#3709](https://github.com/graphql/graphiql/pull/3709) [`9baf1f0`](https://github.com/graphql/graphiql/commit/9baf1f0fc9f32404fbb8bf57b3d1c2c2c8778ddb) Thanks [@dimaMachina](https://github.com/dimaMachina)! - `style.css` import was changed
8+
9+
## Migration
10+
11+
```diff
12+
-import '@graphiql/plugin-code-exporter/dist/style.css';
13+
+import '@graphiql/plugin-code-exporter/style.css';
14+
```
15+
16+
### Minor Changes
17+
18+
- [#3702](https://github.com/graphql/graphiql/pull/3702) [`00415d2`](https://github.com/graphql/graphiql/commit/00415d2940c4d76a4a9e683e9fa0504ba97dd627) Thanks [@dimaMachina](https://github.com/dimaMachina)! - generate types with `vite-plugin-dts`
19+
20+
### Patch Changes
21+
22+
- [#3705](https://github.com/graphql/graphiql/pull/3705) [`8ff87d7`](https://github.com/graphql/graphiql/commit/8ff87d7b6b3d5d12b539612a39ca3abf7e631106) Thanks [@dimaMachina](https://github.com/dimaMachina)! - use `vite build --watch` instead of `vite` for `dev` script because we don't need development server for them
23+
24+
do not use `vite-plugin-dts` when generating umd build
25+
26+
- Updated dependencies [[`00415d2`](https://github.com/graphql/graphiql/commit/00415d2940c4d76a4a9e683e9fa0504ba97dd627), [`9baf1f0`](https://github.com/graphql/graphiql/commit/9baf1f0fc9f32404fbb8bf57b3d1c2c2c8778ddb), [`8ff87d7`](https://github.com/graphql/graphiql/commit/8ff87d7b6b3d5d12b539612a39ca3abf7e631106), [`82bc961`](https://github.com/graphql/graphiql/commit/82bc961a33c4e9da29dffb4a603035a4909f49ad), [`3c1a345`](https://github.com/graphql/graphiql/commit/3c1a345acd9bf07b45bc230009cb57c51c425673)]:
27+
- @graphiql/react@1.0.0-alpha.0
28+
329
## 3.0.5
430

531
### Patch Changes

packages/graphiql-plugin-code-exporter/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphiql/plugin-code-exporter",
3-
"version": "3.0.5",
3+
"version": "4.0.0-alpha.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/graphql/graphiql",
@@ -41,13 +41,13 @@
4141
"graphiql-code-exporter": "^3.0.3"
4242
},
4343
"peerDependencies": {
44-
"@graphiql/react": "^0.23.0",
44+
"@graphiql/react": "^1.0.0-alpha.0",
4545
"graphql": "^15.5.0 || ^16.0.0",
4646
"react": "^16.8.0 || ^17 || ^18",
4747
"react-dom": "^16.8.0 || ^17 || ^18"
4848
},
4949
"devDependencies": {
50-
"@graphiql/react": "^0.23.0",
50+
"@graphiql/react": "^1.0.0-alpha.0",
5151
"@vitejs/plugin-react": "^4.3.1",
5252
"graphql": "^16.9.0",
5353
"postcss-nesting": "^10.1.7",

packages/graphiql-plugin-explorer/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# @graphiql/plugin-explorer
22

3+
## 4.0.0-alpha.0
4+
5+
### Major Changes
6+
7+
- [#3709](https://github.com/graphql/graphiql/pull/3709) [`9baf1f0`](https://github.com/graphql/graphiql/commit/9baf1f0fc9f32404fbb8bf57b3d1c2c2c8778ddb) Thanks [@dimaMachina](https://github.com/dimaMachina)! - `style.css` import was changed
8+
9+
## Migration
10+
11+
```diff
12+
-import '@graphiql/plugin-explorer/dist/style.css';
13+
+import '@graphiql/plugin-explorer/style.css';
14+
```
15+
16+
### Minor Changes
17+
18+
- [#3702](https://github.com/graphql/graphiql/pull/3702) [`00415d2`](https://github.com/graphql/graphiql/commit/00415d2940c4d76a4a9e683e9fa0504ba97dd627) Thanks [@dimaMachina](https://github.com/dimaMachina)! - generate types with `vite-plugin-dts`
19+
20+
### Patch Changes
21+
22+
- [#3705](https://github.com/graphql/graphiql/pull/3705) [`8ff87d7`](https://github.com/graphql/graphiql/commit/8ff87d7b6b3d5d12b539612a39ca3abf7e631106) Thanks [@dimaMachina](https://github.com/dimaMachina)! - use `vite build --watch` instead of `vite` for `dev` script because we don't need development server for them
23+
24+
do not use `vite-plugin-dts` when generating umd build
25+
26+
- Updated dependencies [[`00415d2`](https://github.com/graphql/graphiql/commit/00415d2940c4d76a4a9e683e9fa0504ba97dd627), [`9baf1f0`](https://github.com/graphql/graphiql/commit/9baf1f0fc9f32404fbb8bf57b3d1c2c2c8778ddb), [`8ff87d7`](https://github.com/graphql/graphiql/commit/8ff87d7b6b3d5d12b539612a39ca3abf7e631106), [`82bc961`](https://github.com/graphql/graphiql/commit/82bc961a33c4e9da29dffb4a603035a4909f49ad), [`3c1a345`](https://github.com/graphql/graphiql/commit/3c1a345acd9bf07b45bc230009cb57c51c425673)]:
27+
- @graphiql/react@1.0.0-alpha.0
28+
329
## 3.1.1
430

531
### Patch Changes

packages/graphiql-plugin-explorer/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphiql/plugin-explorer",
3-
"version": "3.1.1",
3+
"version": "4.0.0-alpha.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/graphql/graphiql",
@@ -40,13 +40,13 @@
4040
"graphiql-explorer": "^0.9.0"
4141
},
4242
"peerDependencies": {
43-
"@graphiql/react": "^0.23.0",
43+
"@graphiql/react": "^1.0.0-alpha.0",
4444
"graphql": "^15.5.0 || ^16.0.0",
4545
"react": "^16.8.0 || ^17 || ^18",
4646
"react-dom": "^16.8.0 || ^17 || ^18"
4747
},
4848
"devDependencies": {
49-
"@graphiql/react": "^0.23.0",
49+
"@graphiql/react": "^1.0.0-alpha.0",
5050
"@vitejs/plugin-react": "^4.3.1",
5151
"graphql": "^16.9.0",
5252
"react": "^18.2.0",

packages/graphiql-react/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# @graphiql/react
22

3+
## 1.0.0-alpha.0
4+
5+
### Major Changes
6+
7+
- [#3709](https://github.com/graphql/graphiql/pull/3709) [`9baf1f0`](https://github.com/graphql/graphiql/commit/9baf1f0fc9f32404fbb8bf57b3d1c2c2c8778ddb) Thanks [@dimaMachina](https://github.com/dimaMachina)! - `style.css` import was changed
8+
9+
## Migration
10+
11+
```diff
12+
-import '@graphiql/react/dist/style.css';
13+
+import '@graphiql/react/style.css';
14+
```
15+
16+
### Minor Changes
17+
18+
- [#3702](https://github.com/graphql/graphiql/pull/3702) [`00415d2`](https://github.com/graphql/graphiql/commit/00415d2940c4d76a4a9e683e9fa0504ba97dd627) Thanks [@dimaMachina](https://github.com/dimaMachina)! - generate types with `vite-plugin-dts`
19+
20+
- [#3644](https://github.com/graphql/graphiql/pull/3644) [`3c1a345`](https://github.com/graphql/graphiql/commit/3c1a345acd9bf07b45bc230009cb57c51c425673) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - new looks of tabs
21+
22+
- fix `disableTabs` when `Add tab` button is still shown
23+
24+
### Patch Changes
25+
26+
- [#3705](https://github.com/graphql/graphiql/pull/3705) [`8ff87d7`](https://github.com/graphql/graphiql/commit/8ff87d7b6b3d5d12b539612a39ca3abf7e631106) Thanks [@dimaMachina](https://github.com/dimaMachina)! - use `vite build --watch` instead of `vite` for `dev` script because we don't need development server for them
27+
28+
do not use `vite-plugin-dts` when generating umd build
29+
30+
- [#3692](https://github.com/graphql/graphiql/pull/3692) [`82bc961`](https://github.com/graphql/graphiql/commit/82bc961a33c4e9da29dffb4a603035a4909f49ad) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - prefer `location` over `window.location`
31+
- prefer `navigator` over `window.navigator`
32+
333
## 0.23.1
434

535
### Patch Changes

packages/graphiql-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphiql/react",
3-
"version": "0.23.1",
3+
"version": "1.0.0-alpha.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/graphql/graphiql",

packages/graphiql/CHANGELOG.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,62 @@
11
# Change Log
22

3+
## 4.0.0-alpha.0
4+
5+
### Major Changes
6+
7+
- [#3706](https://github.com/graphql/graphiql/pull/3706) [`343dd59`](https://github.com/graphql/graphiql/commit/343dd599ee10b0670cd7ab4dfaa65344f0d48c84) Thanks [@dimaMachina](https://github.com/dimaMachina)! - remove default export
8+
9+
## Migration
10+
11+
### Before
12+
13+
```jsx
14+
import GraphiQL from 'graphiql';
15+
```
16+
17+
### After
18+
19+
```jsx
20+
import { GraphiQL } from 'graphiql';
21+
```
22+
23+
- [#3687](https://github.com/graphql/graphiql/pull/3687) [`09e7004`](https://github.com/graphql/graphiql/commit/09e700403beb6c7290d165df33a2455ac2196971) Thanks [@dimaMachina](https://github.com/dimaMachina)! - remove `disableTabs` option
24+
25+
- [#3688](https://github.com/graphql/graphiql/pull/3688) [`0fdd9b9`](https://github.com/graphql/graphiql/commit/0fdd9b9f32513d96281f577a5d9bd2fefb5f05d4) Thanks [@dimaMachina](https://github.com/dimaMachina)! - remove `data-testid="graphiql-container"`
26+
27+
- [#3679](https://github.com/graphql/graphiql/pull/3679) [`5d90e0e`](https://github.com/graphql/graphiql/commit/5d90e0eed58214c5926e6e0edb196971b15b1121) Thanks [@dimaMachina](https://github.com/dimaMachina)! - migrate from `webpack` to `vite`
28+
29+
changed exports
30+
31+
```diff
32+
-graphiql/graphiql.css
33+
+graphiql/style.css
34+
```
35+
36+
changed cdn paths, `dist/index.umd.js` and `dist/style.css` are minified
37+
38+
```diff
39+
-https://unpkg.com/graphiql/graphiql.js
40+
-https://unpkg.com/graphiql/graphiql.min.js
41+
+https://unpkg.com/graphiql/dist/index.umd.js
42+
-https://unpkg.com/graphiql/graphiql.css
43+
-https://unpkg.com/graphiql/graphiql.min.css
44+
+https://unpkg.com/graphiql/dist/style.css
45+
```
46+
47+
- [#3644](https://github.com/graphql/graphiql/pull/3644) [`3c1a345`](https://github.com/graphql/graphiql/commit/3c1a345acd9bf07b45bc230009cb57c51c425673) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - new looks of tabs
48+
49+
- fix `disableTabs` when `Add tab` button is still shown
50+
51+
### Patch Changes
52+
53+
- [#3683](https://github.com/graphql/graphiql/pull/3683) [`8efb873`](https://github.com/graphql/graphiql/commit/8efb873458489ce3497d917bcafd4ad8dfcbe6c8) Thanks [@dimaMachina](https://github.com/dimaMachina)! - update graphql to `16.9.0` and use vite `define` configuration to remove development code from cdn bundle
54+
55+
- [#3692](https://github.com/graphql/graphiql/pull/3692) [`82bc961`](https://github.com/graphql/graphiql/commit/82bc961a33c4e9da29dffb4a603035a4909f49ad) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - prefer `location` over `window.location`
56+
- prefer `navigator` over `window.navigator`
57+
- Updated dependencies [[`00415d2`](https://github.com/graphql/graphiql/commit/00415d2940c4d76a4a9e683e9fa0504ba97dd627), [`9baf1f0`](https://github.com/graphql/graphiql/commit/9baf1f0fc9f32404fbb8bf57b3d1c2c2c8778ddb), [`8ff87d7`](https://github.com/graphql/graphiql/commit/8ff87d7b6b3d5d12b539612a39ca3abf7e631106), [`82bc961`](https://github.com/graphql/graphiql/commit/82bc961a33c4e9da29dffb4a603035a4909f49ad), [`3c1a345`](https://github.com/graphql/graphiql/commit/3c1a345acd9bf07b45bc230009cb57c51c425673)]:
58+
- @graphiql/react@1.0.0-alpha.0
59+
360
## 3.4.1
461

562
### Patch Changes

packages/graphiql/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphiql",
3-
"version": "3.4.1",
3+
"version": "4.0.0-alpha.0",
44
"description": "An graphical interactive in-browser GraphQL IDE.",
55
"contributors": [
66
"Hyohyeon Jeong <[email protected]>",
@@ -41,7 +41,7 @@
4141
"e2e-server": "start-server-and-test 'cross-env PORT=8080 node test/e2e-server' 'http-get://localhost:8080/graphql?query={test { id }}'"
4242
},
4343
"dependencies": {
44-
"@graphiql/react": "^0.23.1"
44+
"@graphiql/react": "^1.0.0-alpha.0"
4545
},
4646
"peerDependencies": {
4747
"graphql": "^15.5.0 || ^16.0.0",

0 commit comments

Comments
 (0)