Skip to content

v0.10.0

Choose a tag to compare

@vladar vladar released this 20 Aug 16:42
· 1715 commits to master since this release

This release brings several breaking changes. Please refer to UPGRADE document for details.

New features and notable changes:

  • Changed minimum PHP version from 5.4 to 5.5
  • Lazy loading of types without separate build step (see #69, see docs)
  • PSR-7 compliant Standard Server (see docs)
  • New default error formatting, which does not expose sensitive data (see docs)
  • Ability to define custom error handler to filter/log/re-throw exceptions after execution (see docs)
  • Allow defining schema configuration using objects with fluent setters vs array (see docs)
  • Allow serializing AST to array and re-creating AST from array lazily (see docs)
  • Apollo-style query batching support via server (see docs)
  • Schema validation, including validation of interface implementations (see docs)
  • Ability to pass custom config formatter when defining schema using GraphQL type language (see docs)

Improvements:

  • Significantly improved parser performance (see #137 and #128)
  • Support for PHP7 exceptions everywhere (see #127)
  • Improved documentation and docblock comments

Deprecations and breaking changes - see UPGRADE document.