github nestjs/graphql v14.2.2

5 hours ago

Behaviour changes

  • With the Apollo driver, the introspection setting now applies to operations received over graphql-ws too. When introspection is off, explicitly or by default with NODE_ENV=production, an introspection query over the socket is refused with the same INTROSPECTION_DISABLED error as over HTTP. It used to return the schema. The rule is added to your own validationRules, validate and onSubscribe, 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

Don't miss a new graphql release

NewReleases is sending notifications on new releases.