Releases: schmittjoh/serializer
Releases · schmittjoh/serializer
3.32.5
What's Changed
- Add PHPStan type for JMS serialization Type by @scyzoryck in #1597
- Parse list into
listtype instead ofarrayby @simPod in #1599 - XML Serialization: fix #1601 by @NikoGrano in #1602
New Contributors
- @NikoGrano made their first contribution in #1602
Full Changelog: 3.32.4...3.32.5
3.32.4
What's Changed
- Fix array access in Doctrine Driver for new Doctrine ORM 3.1+ by @scyzoryck in #1592
- Do not change types during deseralization by @scyzoryck in #1578
- Update PHP test versions by @scyzoryck in #1593
- Fix rector config by @scyzoryck in #1594
- Fix warnings in a test code by @scyzoryck in #1595
Full Changelog: 3.32.3...3.32.4
3.32.3
What's Changed
- Do not typehint DNF union types by @scyzoryck in #1585
Full Changelog: 3.32.2...3.32.3
3.32.2
What's Changed
- Add true/false as primitive types by @bobvandevijver in #1582
- Test - add attributes to ObjectWithEnums' props by @iKsSs in #1581
Full Changelog: 3.32.1...3.32.2
3.32.1
What's Changed
- build(github): update actions by @scyzoryck in #1564
- Fix syntax error in annotations.rst by @gregtyler in #1570
- Support value types in serialization by @gregtyler in #1569
- Allow PHPStan PHPDoc parser 2.0 by @ruudk in #1572
- Allow Rector 2.x@dev by @scyzoryck in #1574
- feat(unions): Add support for simple arrays by @scyzoryck in #1571
New Contributors
- @gregtyler made their first contribution in #1570
Full Changelog: 3.31.1...3.32.1
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/orm3.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