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.
- Support for PHP < 7.4
Codec
andEncoder
interfaces. RemovedCodecs
entrypoint.
0.0.3 - 2022-01-16
SimplePathReporter
error reporter.
Facile\PhpCodec\PathReporter
moved toFacile\PhpCodec\Reporters\PathReporter
.
0.0.2 - 2021-08-13
trasformValidationSuccess
function for decoders. Structurally equivalent to a map. (#24)- Decoders to replace codecs. (#33)
Validation::sequence
moved toListOfValidation::sequence
. (#33)
- The usage of codecs is deprecated in favour of decoders. (#24)
- Used Psalm specific annotations to avoid confusing IDEs without Psalm support. (#26)
- Every class in the namespace
Facile\PhpCodec\Internal
is marked as internal, and it should not be used outside. (#33)
Facile\PhpCodec\Internal\Type
. (#33)Facile\PhpCodec\Refiner
. (#33)
0.0.1 - 2021-04-30
- Defined project's basic architecture
- Codecs for primitive php types
- Codecs for arrays
- Codecs for building class instances from array versions of them
- The union codec
- The pipe function and the composition codec