The server component of API Platform: hypermedia and GraphQL APIs in minutes
MIT License
Full Changelog: https://github.com/api-platform/core/compare/v3.3.5...v3.3.6
Published by soyuka 4 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.23...v3.2.24
Published by soyuka 5 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.3.4...v3.3.5
Published by soyuka 5 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.3.3...v3.3.4
Published by soyuka 5 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.22...v3.2.23
Published by soyuka 6 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.3.2...v3.3.3
Published by soyuka 6 months ago
You can remove the event_listeners_backward_compatibility_layer
flag and set use_symfony_listeners
instead. The use_symfony_listeners
should be true
if you use controllers or if you rely on Symfony event listeners.
Note that now flags like read
can be forced to true
if you want to call a Provider even on POST
operations. These are the rules we set up on runtime if no value has been set:
if (null === $operation->canValidate()) {
$operation = $operation->withValidate(!$request->isMethodSafe() && !$request->isMethod('DELETE'));
}
if (null === $operation->canRead()) {
$operation = $operation->withRead($operation->getUriVariables() || $request->isMethodSafe());
}
if (null === $operation->canDeserialize()) {
$operation = $operation->withDeserialize(\in_array($operation->getMethod(), ['POST', 'PUT', 'PATCH'], true));
}
Previously listeners did the checks before reading our flags and you could not force the values.
Full Changelog: https://github.com/api-platform/core/compare/v3.3.0...v3.3.1
Full Changelog: https://github.com/api-platform/core/compare/v3.3.0...v3.3.2
Published by soyuka 6 months ago
You can remove the event_listeners_backward_compatibility_layer
flag and set use_symfony_listeners
instead. The use_symfony_listeners
should be true
if you use controllers or if you rely on Symfony event listeners.
Note that now flags like read
can be forced to true
if you want to call a Provider even on POST
operations. These are the rules we set up on runtime if no value has been set:
if (null === $operation->canValidate()) {
$operation = $operation->withValidate(!$request->isMethodSafe() && !$request->isMethod('DELETE'));
}
if (null === $operation->canRead()) {
$operation = $operation->withRead($operation->getUriVariables() || $request->isMethodSafe());
}
if (null === $operation->canDeserialize()) {
$operation = $operation->withDeserialize(\in_array($operation->getMethod(), ['POST', 'PUT', 'PATCH'], true));
}
Previously listeners did the checks before reading our flags and you could not force the values.
Full Changelog: https://github.com/api-platform/core/compare/v3.3.0...v3.3.1
Published by soyuka 6 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.3.0-beta.2...v3.3.0
Published by soyuka 6 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.21...v3.2.22
Published by soyuka 6 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.1.28...v3.1.29
Published by soyuka 6 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.3.0-beta.1...v3.3.0-beta.2
Published by soyuka 6 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.20...v3.2.21
Published by soyuka 6 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.1.27...v3.1.28
Published by soyuka 7 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.19...v3.2.20
Published by soyuka 7 months ago
The v3.3.0-beta.1 introduces a new QueryParameter
attribute to improve the filtering system.
Published by soyuka 7 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.18...v3.2.19
Published by soyuka 7 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.18...v3.1.27
Published by soyuka 7 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.17...v3.2.18
Published by soyuka 7 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.16...v3.2.17