From d0801a4fd600d18cb5217b4258501e97f777312c Mon Sep 17 00:00:00 2001 From: Marcin Czarnecki Date: Wed, 28 Feb 2024 21:02:05 +0100 Subject: [PATCH] docs(annotations): Link new Changelog. Add docs for 3.30.0 --- CHANGELOG.md | 2 ++ UPGRADING.md | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f93b3b59..9f5579068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +New versions can be found on the [realeases page](https://github.com/schmittjoh/serializer/releases) + ## [3.15.0](https://github.com/schmittjoh/serializer/tree/3.15.0) (2021-10-14) **Merged pull requests:** diff --git a/UPGRADING.md b/UPGRADING.md index 4c5b0c8c5..1784b1099 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -5,6 +5,15 @@ Unreleased - Deprecated the `@ReadOnly` annotation due to `readonly` becoming a keyword in PHP 8.1, use the `@ReadOnlyProperty` annotation instead - Doctrine type `decimal` is now correctly mapped to `string` instead of `float` +From 3.x to 3.30.0 +================== + +Starting from this release [doctrine/annotations](https://github.com/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](https://www.php.net/manual/en/language.attributes.overview.php) with PHP 8. +You can easily migrate annotations to attributes with [rector](https://github.com/rectorphp/rector) and `Rector\Symfony\Set::ANNOTATIONS_TO_ATTRIBUTES` rules. + From 2.x to 3.0.0 =================