mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-29 00:25:17 +03:00
v0.13.0
This commit is contained in:
parent
627cc786a5
commit
9bb8e73277
16
CHANGELOG.md
16
CHANGELOG.md
@ -1,8 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
## dev-master
|
## v0.13.0
|
||||||
This release brings several breaking changes. Please refer to [UPGRADE](UPGRADE.md) document for details.
|
This release brings several breaking changes. Please refer to [UPGRADE](UPGRADE.md) document for details.
|
||||||
|
|
||||||
New features and notable changes:
|
New features and notable changes:
|
||||||
|
- PHP version required: 7.1+
|
||||||
|
- Spec compliance: error `category` and extensions are displayed under `extensions` key when using default formatting (#389)
|
||||||
- New experimental executor with improved performance (#314).<br>
|
- New experimental executor with improved performance (#314).<br>
|
||||||
It is a one-line switch: `GraphQL::useExperimentalExecutor()`.<br>
|
It is a one-line switch: `GraphQL::useExperimentalExecutor()`.<br>
|
||||||
<br>
|
<br>
|
||||||
@ -10,11 +12,15 @@ It is a one-line switch: `GraphQL::useExperimentalExecutor()`.<br>
|
|||||||
(as it may become the default one in future)
|
(as it may become the default one in future)
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
- Spec compliance: error `category` and extensions are displayed under `extensions` key when using default formatting (#389)
|
- Ported `extendSchema` from the reference implementation under `GraphQL\Utils\SchemaExtender` (#362)
|
||||||
- `AbstractValidationRule` renamed to `ValidationRule` (NS `GraphQL\Validator\Rules`)
|
|
||||||
- `AbstractQuerySecurity` renamed to `QuerySecurityRule` (NS `GraphQL\Validator\Rules`)
|
|
||||||
- `FindBreakingChanges` renamed to `BreakingChangesFinder` (NS `GraphQL\Utils`)
|
|
||||||
- Added ability to override standard types via `GraphQL::overrideStandardTypes(array $types)` (#401)
|
- Added ability to override standard types via `GraphQL::overrideStandardTypes(array $types)` (#401)
|
||||||
|
- Added flag `Debug::RETHROW_UNSAFE_EXCEPTIONS` which would only rethrow app-specific exceptions (#337)
|
||||||
|
- Several classes were renamed (see [UPGRADE.md](UPGRADE.md))
|
||||||
|
- Schema Validation improvements
|
||||||
|
|
||||||
|
#### v0.12.6
|
||||||
|
- Bugfix: Call to a member function getLocation() on null (#336)
|
||||||
|
- Fixed several errors discovered by static analysis (#329)
|
||||||
|
|
||||||
#### v0.12.5
|
#### v0.12.5
|
||||||
- Execution performance optimization for lists
|
- Execution performance optimization for lists
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## Upgrade v0.12.x > dev-master
|
## Upgrade v0.12.x > v0.13.x
|
||||||
|
|
||||||
### Breaking (major): minimum supported version of PHP
|
### Breaking (major): minimum supported version of PHP
|
||||||
New minimum required version of PHP is **7.1+**
|
New minimum required version of PHP is **7.1+**
|
||||||
@ -72,6 +72,12 @@ To allow for an adaptive migration, use `allowLegacySDLImplementsInterfaces` opt
|
|||||||
Parser::parse($source, [ 'allowLegacySDLImplementsInterfaces' => true])
|
Parser::parse($source, [ 'allowLegacySDLImplementsInterfaces' => true])
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Breaking: several classes renamed
|
||||||
|
|
||||||
|
- `AbstractValidationRule` renamed to `ValidationRule` (NS `GraphQL\Validator\Rules`)
|
||||||
|
- `AbstractQuerySecurity` renamed to `QuerySecurityRule` (NS `GraphQL\Validator\Rules`)
|
||||||
|
- `FindBreakingChanges` renamed to `BreakingChangesFinder` (NS `GraphQL\Utils`)
|
||||||
|
|
||||||
|
|
||||||
## Upgrade v0.11.x > v0.12.x
|
## Upgrade v0.11.x > v0.12.x
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user