|
| 1 | +# Changelog |
| 2 | + |
| 3 | +## v0.10.0 |
| 4 | +This release brings several breaking changes. Please refer to [UPGRADE](UPGRADE.md) document for details. |
| 5 | + |
| 6 | +New features and notable changes: |
| 7 | +- Changed minimum PHP version from 5.4 to 5.5 |
| 8 | +- Lazy loading of types without separate build step (see #69, see [docs](docs/type-system/schema.md#lazy-loading-of-types)) |
| 9 | +- PSR-7 compliant Standard Server (see [docs](docs/executing-queries.md#using-server)) |
| 10 | +- New default error formatting, which does not expose sensitive data (see [docs](docs/error-handling.md)) |
| 11 | +- Ability to define custom error handler to filter/log/re-throw exceptions after execution (see [docs](docs/error-handling.md#custom-error-handling-and-formatting)) |
| 12 | +- Allow defining schema configuration using objects with fluent setters vs array (see [docs](docs/type-system/schema.md#using-config-class)) |
| 13 | +- Allow serializing AST to array and re-creating AST from array lazily (see [docs](docs/reference.md#graphqlutilsast)) |
| 14 | +- [Apollo-style](https://dev-blog.apollodata.com/query-batching-in-apollo-63acfd859862) query batching support via server (see [docs](docs/executing-queries.md#query-batching)) |
| 15 | + |
| 16 | +Improvements: |
| 17 | +- Significantly improved parser performance (see #137 and #128) |
| 18 | +- Support for PHP7 exceptions everywhere (see #127) |
| 19 | +- Ability to pass custom config formatter when defining schema using [GraphQL type language](http://graphql.org/learn/schema/#type-language) (see [docs](docs/type-system/type-language.md)) |
| 20 | +- Improved [documentation](http://webonyx.github.io/graphql-php/) and docblock comments |
| 21 | + |
| 22 | +Deprecations and breaking changes - see [UPGRADE](UPGRADE.md) document. |
| 23 | + |
| 24 | +#### v0.9.14 |
| 25 | +- Minor change to assist DataLoader project in fixing #150 |
| 26 | + |
| 27 | +#### v0.9.13 |
| 28 | +- Fixed PHP notice and invalid conversion when non-scalar value is passed as ID or String type (see #121) |
| 29 | + |
| 30 | +#### v0.9.12 |
| 31 | +- Fixed bug occurring when enum `value` is bool, null or float (see #141) |
| 32 | + |
| 33 | +#### v0.9.11 |
| 34 | +- Ability to disable introspection (see #131) |
| 35 | + |
| 36 | +#### v0.9.10 |
| 37 | +- Fixed issue with query complexity throwing on invalid queries (see #125) |
| 38 | +- Fixed "Out of memory" error when `resolveType` returns unexpected result (see #119) |
| 39 | + |
| 40 | +#### v0.9.9 |
| 41 | +- Bugfix: throw UserError vs InvariantViolationError for errors caused by client (see #123) |
| 42 | + |
| 43 | +#### v0.9.8 |
| 44 | +- Bugfix: use directives when calculating query complexity (see #113) |
| 45 | +- Bugfix: `AST\Node::__toString()` will convert node to array recursively to encode to json without errors |
| 46 | + |
| 47 | +#### v0.9.7 |
| 48 | +- Bugfix: `ResolveInfo::getFieldSelection()` now correctly merges fragment selections (see #98) |
| 49 | + |
| 50 | +#### v0.9.6 |
| 51 | +- Bugfix: `ResolveInfo::getFieldSelection()` now respects inline fragments |
| 52 | + |
| 53 | +#### v0.9.5 |
| 54 | +- Fixed SyncPromiseAdapter::all() to not change the order of arrays (see #92) |
| 55 | + |
| 56 | +#### v0.9.4 |
| 57 | +- Tools to help building schema out of Schema definition language as well as printing existing |
| 58 | +schema in Schema definition language (see #91) |
| 59 | + |
| 60 | +#### v0.9.3 |
| 61 | +- Fixed Utils::assign() bug related to detecting missing required keys (see #89) |
| 62 | + |
| 63 | +#### v0.9.2 |
| 64 | +- Schema Definition Language: element descriptions can be set through comments (see #88) |
| 65 | + |
| 66 | +#### v0.9.1 |
| 67 | +- Fixed: `GraphQL\Server` now properly sets promise adapter before executing query |
| 68 | + |
| 69 | +## v0.9.0 |
| 70 | +- Deferred resolvers (see #66, see [docs](docs/data-fetching.md#solving-n1-problem)) |
| 71 | +- New Facade class with fluid interface: `GraphQL\Server` (see #82) |
| 72 | +- Experimental: ability to load types in Schema lazily via custom `TypeResolutionStrategy` (see #69) |
| 73 | + |
| 74 | + |
| 75 | +## v0.8.0 |
| 76 | +This release brings several minor breaking changes. Please refer to [UPGRADE](UPGRADE.md) document for details. |
| 77 | + |
| 78 | +New features: |
| 79 | +- Support for `null` value (as required by latest GraphQL spec) |
| 80 | +- Shorthand definitions for field and argument types (see #47) |
| 81 | +- `path` entry in errors produced by resolvers for better debugging |
| 82 | +- `resolveType` for interface/union is now allowed to return string name of type |
| 83 | +- Ability to omit name when extending type class (vs defining inline) |
| 84 | + |
| 85 | +Improvements: |
| 86 | +- Spec compliance improvements |
| 87 | +- New docs and examples |
| 88 | + |
| 89 | +## Older versions |
| 90 | +Look at [Github Releases Page](https://github.com/webonyx/graphql-php/releases). |
0 commit comments