Skip to content

Commit 1d88966

Browse files
authored
add migration guide for graphiql v5 (#3988)
1 parent a3729f9 commit 1d88966

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/migration/graphiql-5.0.0.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Upgrading `graphiql` from `4.x` to `5.0.0-rc`
2+
3+
---
4+
5+
## `graphiql`
6+
7+
- Migration from Codemirror to
8+
[Monaco Editor](https://github.com/microsoft/monaco-editor)
9+
- Replacing `codemirror-graphql` with
10+
[`monaco-graphql`](https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql)
11+
- Clicking on a reference in the query editor now works by holding `Cmd` on macOS or `Ctrl` on Windows/Linux
12+
- Support for comments in **Variables** and **Headers** editors
13+
- Added new examples: [**GraphiQL x Vite**](https://github.com/graphql/graphiql/tree/graphiql-5/examples/graphiql-vite) and [**GraphiQL x
14+
Next.js**](https://github.com/graphql/graphiql/tree/graphiql-5/examples/graphiql-nextjs)
15+
- Removed examples: **GraphiQL x Parcel** and **GraphiQL x Create React App**

0 commit comments

Comments
 (0)