Releases: schmittjoh/serializer
Releases · schmittjoh/serializer
3.31.1
What's Changed
- fix(unions): Filter out null type by @scyzoryck in #1563
Full Changelog: 3.31.0...3.31.1
3.31.0
What's Changed
- docs(annotations): Link new Changelog. Add docs for 3.30.0 by @scyzoryck in #1539
- Fix incorrect namespace for ANNOTATIONS_TO_ATTRIBUTES class. by @tandrus in #1541
- deps(composer): Update to PHPUnit 11 & Rector 1.0 by @scyzoryck in #1540
- docs(annotations): Prefer Attributes over Annotations by @scyzoryck in #1534
- Fix code style by @scyzoryck in #1542
- Union types deserialisation by @idbentley in #1546
- feat: support imported array shapes (
@phpstan-import-type
) by @simPod in #1551 - refactor(driver): use instanceof checks for correct phpdoc node by @simPod in #1548
- Allow union deserialization using discriminator map by @idbentley in #1553
- fix(doctrine 3): fix phpstan issues with doctrine 3.x by @scyzoryck in #1556
- Remove unused properties by @scyzoryck in #1555
- Doctrine ODM: fix tests for 2.0 by @scyzoryck in #1557
- Do not use single quotes in enum type definition by @bobvandevijver in #1561
- DateTime - Deserialize from more formats (default) by @iKsSs in #1559
New Contributors
- @tandrus made their first contribution in #1541
- @idbentley made their first contribution in #1546
Full Changelog: 3.30.0...3.31.0
3.30.0
What's Changed
- Require PHP 7.4 and Symfony 5.4 by @mbabker in #1528
- build(ci): Add Rector into static analysis. by @scyzoryck in #1530
- Remove min-stability by @scyzoryck in #1535
- Fix serialization of BackedEnum - annotation without name/value by @iKsSs in #1536
- [B/C Break] Make the Annotations package optional in the builder API by @mbabker in #1471
Upgrading
Starting from this release doctrine/annotations is an optional package.
If you still want to use them, please make sure that you require in composer.json
file.
We strongly recommend to start using Attributes with PHP 8.
You can easily migrate annotations to attributes with rector and Rector\Symfony\Set\SymfonySetList::ANNOTATIONS_TO_ATTRIBUTES
rules.
New Contributors
Full Changelog: 3.29.1...3.30.0
3.29.1
3.29.0
What's Changed
- Allow Symfony 7 in dev dependencies by @mbabker in #1514
- feat(ci): Run tests with dev dependencies by @scyzoryck in #1515
- Fix - change the order of instantiation checks by @rossriley in #1513
- Run the ORM tests using an attribute driver when able by @mbabker in #1517
- Inject an attribute metadata driver into the DoctrineDriver when testing by @mbabker in #1520
- Bump minimum dependencies to match what's actually tested by @mbabker in #1519
- refactor(test): Stop using ORM Version class by @scyzoryck in #1521
- refactor(test): Stop using EntityManager::create() method. Use constructor instead. by @scyzoryck in #1522
- Allow
doctrine/orm
3.0 by @scyzoryck in #1523 - Allow missing attributes in serialized objects by @boesing in #1526
New Contributors
- @rossriley made their first contribution in #1513
- @boesing made their first contribution in #1526
Full Changelog: 3.28.0...3.29.0
3.28.0
What's Changed
- Don't return a metadata object unless there is explicit annotation or attribute configuration by @mbabker in #1494
- chore(composer): Update doctrine code standards to 12.x by @scyzoryck in #1503
- Fix CS issues by @mbabker in #1505
- fix(test): Fix tests for doctrine 2.16 by @scyzoryck in #1507
- do not return null when no annotations or attributes are found by the… by @goetas in #1506
- Only add the YamlDriver to the chain when
symfony/yaml
is installed by @mbabker in #1497
Full Changelog: 3.27.0...3.28.0
3.27.0
What's Changed
- Improve null checks in drivers with a delegate by @mbabker in #1495
- chore(dependencies): Allow doctrine/lexer:^3.0 by @Anticom in #1500
- fix(builder): enableEnumSupport should return self by @Anticom in #1501
- refactor(phpstan): Implement PHPStan lvl 3 by @scyzoryck in #1498
New Contributors
Full Changelog: 3.26.0...3.27.0
3.26.0
What's Changed
- fix(stringable-type): Allow stringable object as type. by @pmysiak in #1493
- Enable constants in YAML files with
!php/const
prefix. by @Nathanael-Shermett in #1496 - feat(TypeResolvers): Add support for alternative name in doc blocs. by @scyzoryck in #1490
New Contributors
- @Nathanael-Shermett made their first contribution in #1496
Full Changelog: 3.25.0...3.26.0
3.25.0
3.24.0
What's Changed
- chore(phpunit): Allow PHPUnit10 by @scyzoryck in #1481
- Fixed DateTimeInterface description. by @bkonetzny in #1414
- refactor(handlers): Unregister unused YML handlers by @scyzoryck in #1485
- feat(driver): TypedPropertiesDriver support virtual property getter by @mpoiriert in #1487
- Allow doctrine instantiator 2.0 by @dgafka in #1488
- feat(stringable-type): Allow stringable object as type. by @pmysiak in #1492
New Contributors
- @bkonetzny made their first contribution in #1414
- @pmysiak made their first contribution in #1492
Full Changelog: 3.23.0...3.24.0