Major Changes
-
#4478
066528aThanks @trevor-scheer! - GraphQL.js 15 and 16.0–16.10 are no longer supported peer dependencies. The supported range is^16.11.0 || ^17.0.0. GraphQL.js 16.11 fixes OneOf input validation for nullable variables and tightens input-object coercion to reject arrays, giving GraphiQL 6 a correct baseline for OneOf inputs. Upgradegraphqlbefore upgrading these packages. -
#4566
f916fd6Thanks @trevor-scheer! - Upgrade the bundled Monaco Editor to 0.57 and adopt the worker and ESM entry points introduced in 0.56. Published packages acceptmonaco-editor>=0.56.0 <0.58.0. If you configure Monaco directly, use Monaco 0.56 or 0.57, replacemonaco-editor/esm/vs/*imports with exported entry points, and configureMonacoEnvironment.getWorkerto return the GraphQL worker for thegraphqllabel. Custom GraphQL workers must initialize immediately and provide non-cloneable configuration by overridingGraphQLWorker.initialize. GraphiQL's worker setup helpers handle these changes automatically. See the GraphiQL 6 migration guide for examples. This update builds on the initial worker migration contributed by @lukasbash.