Skip to content

10.0.0-RC1 "Security Galore"

Pre-release
Pre-release

Choose a tag to compare

@mfn mfn released this 18 Mar 11:25
e1ec2ca

‼️ BREAKING CHANGES ‼️

This release focuses on hardening the security defaults of this library for production deployments and hence comes with breaking changes:

  • Default HTTP method changed from GET/POST to POST only
  • Batching disabled by default (batching.defaultfalse)
    • Added max_batch_size config option to limit batch query operations
  • Introspection disabled by default (GRAPHQL_DISABLE_INTROSPECTION env var)
  • Default query_max_depth set to 13 (was unlimited)
  • Default query_max_complexity set to 500 (was unlimited)
  • Authorization now runs before validation in field resolver
  • Authorization uses strict === true comparison

See also the upgrade guide from 9 to 10.

For discussion, please use #1211

Full Changelog: 9.17.0...10.0.0-RC1