10.0.0-RC1 "Security Galore"
Pre-release
Pre-release
‼️ BREAKING CHANGES ‼️
Warning
Please also read https://github.com/rebing/graphql-laravel/blob/master/UPGRADE.md#upgrading-from-9-to-10
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/POSTtoPOSTonly - Batching disabled by default (
batching.default→false)- Added
max_batch_sizeconfig option to limit batch query operations
- Added
- Introspection disabled by default (
GRAPHQL_DISABLE_INTROSPECTIONenv var) - Default
query_max_depthset to13(was unlimited) - Default
query_max_complexityset to500(was unlimited) - Authorization now runs before validation in field resolver
- Authorization uses strict
=== truecomparison
See also the upgrade guide from 9 to 10.
For discussion, please use #1211
Full Changelog: 9.17.0...10.0.0-RC1