Behaviour changes
- With the Apollo driver, the
introspectionsetting now applies to operations received overgraphql-wstoo. When introspection is off, explicitly or by default withNODE_ENV=production, an introspection query over the socket is refused with the sameINTROSPECTION_DISABLEDerror as over HTTP. It used to return the schema. The rule is added to your ownvalidationRules,validateandonSubscribe, never replacing them. - The GraphiQL page loads its scripts from pinned versions, with subresource integrity hashes.
Bug fixes
- fix(apollo): apply the introspection setting to graphql-ws operations by @kamilmysliwiec in #4259
- fix(apollo): pin graphiql page scripts and add subresource integrity by @ofri-peretz in #4253
- fix(graphql): pass the emitDescriptions option to the module's definitions generator by @ofri-peretz in #4256
Full Changelog: v14.2.1...v14.2.2