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_errorsfunction returningfalsesince PHP 8.2 when no errors occurred - Updated
mocker/mockeryto^1.3
- Allow library to work with different versions of
paysera/lib-object-wrappersince0.3.0
- Updated the
paysera/lib-object-wrapperto allow boolean values when (de)normalizing GET requests.
- Support from PHP 8.0
- Removed (temporary) paysera/lib-php-cs-fixer-config
NormalizationContext::markNullValuesForRemovalmethod to be called in normalizers. If this is called, elements withnullvalues will be removed from currently normalized object.
nullvalues are kept byDataFilterand will be available in resulted normalized data.
- Support for normalization groups:
GroupedNormalizerRegistryProvider, which allows to register normalizers for different groups;NormalizerRegistryProviderInterface;NormalizationContextandDenormalizationContextcan be configured with anynormalizationGroup.
CoreNormalizerandCoreDenormalizertakesNormalizerRegistryProviderInterfaceinstead ofNormalizerRegistryInterfaceas a first constructor argument.
Paysera\Component\Normalization\NormalizerRegistryclass. UsePaysera\Component\Normalization\Registry\GroupedNormalizerRegistryProviderto 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.