From 2015ab2e13cc83cc62a061429b1f8137b8b6f444 Mon Sep 17 00:00:00 2001 From: Joel Wurtz Date: Tue, 2 Apr 2024 19:53:55 +0200 Subject: [PATCH] chore(release): prepare 9.0.0-beta2 release --- .github/scripts/build-documentation.sh | 4 ++-- CHANGELOG.md | 12 ++++++++++++ src/AutoMapper.php | 6 +++--- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/scripts/build-documentation.sh b/.github/scripts/build-documentation.sh index 3adf15d6..b6c8ef4d 100755 --- a/.github/scripts/build-documentation.sh +++ b/.github/scripts/build-documentation.sh @@ -20,8 +20,8 @@ poetry run mike deploy --push --remote gh-pages --update-aliases 8.2.2 latest poetry run mike set-default --push latest # build documentation for 9.x -git checkout tags/9.0.0-beta.1 -poetry run mike deploy --push --remote gh-pages 9.0.0-beta.1 +git checkout tags/9.0.0-beta.2 +poetry run mike deploy --push --remote gh-pages 9.0.0-beta.2 # clean fake remote cd ./.build diff --git a/CHANGELOG.md b/CHANGELOG.md index e65fd767..c44858a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [9.0.0-beta.2] - 2024-04-02 +### Added +- [GH#95](https://github.com/jolicode/automapper/pull/95) Add Api Platform integration +- [GH#103](https://github.com/jolicode/automapper/pull/103) Add debug command and profiler for the symfony bundle + +### Changed +- [GH#104](https://github.com/jolicode/automapper/pull/104) Replace allow_constructor with constructor_strategy to have more control on how to use the constructor +- [GH#102](https://github.com/jolicode/automapper/pull/102) Change default reload behavior for the symfony bundle + +### Fixed +- [GH#101](https://github.com/jolicode/automapper/pull/101) Fix some inconsistencies with symfony/serializer behavior + ## [9.0.0-beta.1] - 2024-03-25 ### Added - [GH#61](https://github.com/jolicode/automapper/pull/61) Add event system during code generation, make serializer optional thanks to it diff --git a/src/AutoMapper.php b/src/AutoMapper.php index a7627542..388df12d 100644 --- a/src/AutoMapper.php +++ b/src/AutoMapper.php @@ -35,12 +35,12 @@ */ class AutoMapper implements AutoMapperInterface, AutoMapperRegistryInterface { - public const VERSION = '9.0.0-dev'; - public const VERSION_ID = 90000; + public const VERSION = '9.0.0-beta.2'; + public const VERSION_ID = 90000.2; public const MAJOR_VERSION = 9; public const MINOR_VERSION = 0; public const RELEASE_VERSION = 0; - public const EXTRA_VERSION = 'dev'; + public const EXTRA_VERSION = 'beta.2'; /** @var array|GeneratedMapper, object>|GeneratedMapper>> */ private array $mapperRegistry = [];