All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Dependencies version constraints for
paysera/lib-normalization-bundleandpaysera/lib-dependency-injection
voidtypehint toPayseraApiBundle::buildmethod to fix the deprecation message- PHP 8.3 to CI
Call to a member function getClassAnnotations() on nullerror inRoutingAttributeLoaderon Symfony 6
- Support for PHP 8 attributes
- Support for
doctrine/annotations: ^2.0
- Support for Symfony 6.4
- Fixed code style
- Fixed tests
- Allow library to work with various version of
paysera/lib-object-wrapperfrom0.1.0
- Changed error handling signatures to work with new versions.
psr/logbumped to^2.0
- Support for Symfony 5.4
symfony/framework-bundlebumped to^5.4symfony/security-bundlebumped to^5.4symfony/validatorbumped to^5.4symfony/yamlbumped to^5.4
- Updated the paysera/lib-normalization library.
- support for PHP 8
doctrine/persistenceadded
paysera/lib-normalization-bundlebumped to^1.1.0paysera/lib-normalizationbumped to^1.2.0paysera/lib-dependency-injectionbumped to^1.3.0doctrine/doctrine-bundlebumped to^1.4|^2.0doctrine/ormbumped to^2.5.14|^2.6
- support for PHP 7.0
paysera/lib-php-cs-fixer-configdoctrine/common
paysera_api.listener.localelistener priority changed.
- When using annotations,
RestRequestOptionswill now be available afterkernel.requestevent instead ofkernel.controllerone. This allows to show proper REST errors when exceptions are raised in the firewall.
ErrorNormalizerdoes not return keys withnullvalues anymore. This means that you'll get errors like this:
{"error":"invalid_request","error_description":"Expected non-empty request body"}instead of this:
{"error":"invalid_request","error_description":"Expected non-empty request body","error_uri":null,"error_properties":null,"error_data":null,"errors":null}paysera/lib-paginationbumped to^1.0
- since
paysera/lib-normalizationversion1.0null keys are not filtered.