Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 2.13 KB

CHANGELOG.md

File metadata and controls

56 lines (43 loc) · 2.13 KB

Changelog

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.

[1.3.1]

Changed

  • Fixed handling the date_get_last_errors function returning false since PHP 8.2 when no errors occurred
  • Updated mocker/mockery to ^1.3

[1.3.0]

Added

  • Allow library to work with different versions of paysera/lib-object-wrapper since 0.3.0

[1.2.1]

Changed

  • Updated the paysera/lib-object-wrapper to allow boolean values when (de)normalizing GET requests.

[1.2.0]

Added

  • Support from PHP 8.0

Removed

  • Removed (temporary) paysera/lib-php-cs-fixer-config

Added

  • NormalizationContext::markNullValuesForRemoval method to be called in normalizers. If this is called, elements with null values will be removed from currently normalized object.

Changed

  • null values are kept by DataFilter and will be available in resulted normalized data.

0.1.1

Added

  • Support for normalization groups:
    • GroupedNormalizerRegistryProvider, which allows to register normalizers for different groups;
    • NormalizerRegistryProviderInterface;
    • NormalizationContext and DenormalizationContext can be configured with any normalizationGroup.

Changed

  • CoreNormalizer and CoreDenormalizer takes NormalizerRegistryProviderInterface instead of NormalizerRegistryInterface as a first constructor argument.

Removed

  • Paysera\Component\Normalization\NormalizerRegistry class. Use Paysera\Component\Normalization\Registry\GroupedNormalizerRegistryProvider to register normalizers and get appropriate registries for concrete normalization groups. Always type-hint Paysera\Component\Normalization\NormalizerRegistryInterface;
  • Unused constant Paysera\Component\Normalization\NormalizerRegistryInterface::DENORMALIZER_TYPE_ARRAY.