You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migration/graphiql-5.0.0.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ function App() {
132
132
133
133
- Migration from Codemirror to [Monaco Editor](https://github.com/microsoft/monaco-editor)
134
134
- Replacing `codemirror-graphql` with [`monaco-graphql`](../../packages/monaco-graphql)
135
-
- Clicking on a reference in the query editor now works by holding `Cmd` on macOS or `Ctrl` on Windows/Linux
135
+
- Clicking on a reference in the operation editor now works by holding `Cmd` on macOS or `Ctrl` on Windows/Linux
136
136
- Support for comments in **Variables** and **Headers** editors
137
137
- Added new examples: [**GraphiQL x Vite**](../../examples/graphiql-vite) and [**GraphiQL x Next.js**](../../examples/graphiql-nextjs)
138
138
- Removed examples: **GraphiQL x Parcel** and **GraphiQL x Create React App**
@@ -149,7 +149,7 @@ function App() {
149
149
>
150
150
> If you used `query`, `variables` and `headers` in integration tests, you can use the new `initialQuery`,
151
151
> `initialVariables` and `initialHeaders` props instead. These props will only be used for the first tab.
152
-
> When opening more tabs, the query editor will start out empty.
152
+
> When opening more tabs, the operation editor will start out empty.
153
153
154
154
- Added new props
155
155
-`initialQuery`
@@ -163,14 +163,14 @@ function App() {
163
163
164
164
> [!IMPORTANT]
165
165
>
166
-
> Clicking on a reference in the Query editor now works by holding `Cmd` on macOS or `Ctrl` on Windows/Linux.
166
+
> Clicking on a reference in the operation editor now works by holding `Cmd` on macOS or `Ctrl` on Windows/Linux.
167
167
168
168
-`usePrettifyEditors`, `useCopyQuery`, `useMergeQuery`, `useExecutionContext`, `usePluginContext`, `useSchemaContext`, `useStorageContext` hooks are deprecated.
169
169
- Add new `useGraphiQL` and `useGraphiQLActions` hooks instead. See updated [README](../../packages/graphiql-react/README.md#available-stores) for more details about them.
170
170
- remove `useSynchronizeValue` hook
171
171
- fix `defaultQuery` with empty string does not result in an empty default query
172
-
- fix `defaultQuery`, when is set will only be used for the first tab. When opening more tabs, the query editor will start out empty
173
-
- fix execute query shortcut in query editor, run it even there are no operations in query editor
172
+
- fix `defaultQuery`, when is set will only be used for the first tab. When opening more tabs, the operation editor will start out empty
173
+
- fix execute query shortcut in operation editor, run it even there are no operations in the operation editor
174
174
- fix plugin store, save last opened plugin in storage
175
175
- remove `onClickReference` from variable editor
176
176
- fix shortcut text per OS for default query and in run query in execute query button's tooltip
0 commit comments