- Fixed: Dates with a getter/setter where incorrectly handled in the refactoring for 2.6.0. See (#44)[#44]
- Add support for symfony
7.x
- Also test against PHP
8.3
- Update rector to
1.2.1
- (De)serialization now accepts timezones, and lists of deserialization formats
- Generalized the improvement on arrays with primitive types to generate more efficient code.
- Clean CI workflow: fix GitHub composer caches
- Add rector-php analysis
- Increase Phpstan check level to 7
- Fix fallback to JMS serializer when the order of configured groups were not ordered as the ones in the generated PHP filenames. Keep consistent sorting on both Context and GroupCombination classes.
- Fix bug when serializing a multidimensional array with a primitive type.
- Increase liip/metadata to
1.1
and drop support for0.6
- Clean up build process
- Allow installation with liip/metadata 1.x in addition to 0.6
- Fixed deprecation warnings for PHP 8
- Dropped support for PHP 7
- Add new parameter
$options
to theGenerateConfiguration
class - Support (de)serializing arrays with undefined content by setting the
allow_generic_arrays
option totrue
.
- Add support for generating recursive code up to a specified maximum depth
that can be defined via the
@MaxDepth
annotation/attribute from JMS - Add support for (de-)serializing doctrine collections
- Allow installation with liip/metadata-parser 0.5
- Test with PHP 8.1
- Allow installation with liip/metadata-parser 0.4 and Symfony 6
- Support PHP 8
- Allow installation with liip/metadata-parser 0.3 and jms/serializer 3
- [DX]: Context now removes duplicates in groups.
- [DX]: Better exception message for unknown constructor argument.
- [Bugfix]: Respect group configuration when no version is specified.
- [Bugfix]: Fix deserialization of DateTime with a format.
- [BC Break]: Configuration of the serializer generator changed to configuration model. The new format allows to more precisely specify which serializers to generate.
Initial release