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.
- Fixed handling the
date_get_last_errors
function returningfalse
since PHP 8.2 when no errors occurred - Updated
mocker/mockery
to^1.3
- Allow library to work with different versions of
paysera/lib-object-wrapper
since0.3.0
- Updated the
paysera/lib-object-wrapper
to allow boolean values when (de)normalizing GET requests.
- Support from PHP 8.0
- Removed (temporary) paysera/lib-php-cs-fixer-config
NormalizationContext::markNullValuesForRemoval
method to be called in normalizers. If this is called, elements withnull
values will be removed from currently normalized object.
null
values are kept byDataFilter
and will be available in resulted normalized data.
- Support for normalization groups:
GroupedNormalizerRegistryProvider
, which allows to register normalizers for different groups;NormalizerRegistryProviderInterface
;NormalizationContext
andDenormalizationContext
can be configured with anynormalizationGroup
.
CoreNormalizer
andCoreDenormalizer
takesNormalizerRegistryProviderInterface
instead ofNormalizerRegistryInterface
as a first constructor argument.
Paysera\Component\Normalization\NormalizerRegistry
class. UsePaysera\Component\Normalization\Registry\GroupedNormalizerRegistryProvider
to register normalizers and get appropriate registries for concrete normalization groups. Always type-hintPaysera\Component\Normalization\NormalizerRegistryInterface
;- Unused constant
Paysera\Component\Normalization\NormalizerRegistryInterface::DENORMALIZER_TYPE_ARRAY
.