diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f1bc5915..1c1de01f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [4.15.0](https://github.com/sonata-project/SonataUserBundle/compare/4.14.0...4.15.0) - 2022-01-08 +### Deprecated +- [[#1471](https://github.com/sonata-project/SonataUserBundle/pull/1471)] Deprecated extending most of the classes of this bundle. ([@jordisala1991](https://github.com/jordisala1991)) + +### Fixed +- [[#1476](https://github.com/sonata-project/SonataUserBundle/pull/1476)] `User::__serialize()` and `User::__unserialize()` methods ([@VincentLanglet](https://github.com/VincentLanglet)) + ## [4.14.0](https://github.com/sonata-project/SonataUserBundle/compare/4.13.0...4.14.0) - 2021-12-28 ### Deprecated - [[#1446](https://github.com/sonata-project/SonataUserBundle/pull/1446)] Deprecated the integration with `sonata-project/GoogleAuthenticator` ([@jordisala1991](https://github.com/jordisala1991)) diff --git a/UPGRADE-4.x.md b/UPGRADE-4.x.md index 0ea13c961..904ad2c69 100644 --- a/UPGRADE-4.x.md +++ b/UPGRADE-4.x.md @@ -1,8 +1,8 @@ UPGRADE 4.x =========== -UPGRADE FROM 4.x to 4.x -======================= +UPGRADE FROM 4.14 to 4.15 +========================= ### Mark classes as final diff --git a/src/Admin/Document/UserAdmin.php b/src/Admin/Document/UserAdmin.php index 4a0c6c026..59bdebc0c 100644 --- a/src/Admin/Document/UserAdmin.php +++ b/src/Admin/Document/UserAdmin.php @@ -16,7 +16,7 @@ use Sonata\UserBundle\Admin\Model\UserAdmin as BaseUserAdmin; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 */ class UserAdmin extends BaseUserAdmin { diff --git a/src/Admin/Entity/UserAdmin.php b/src/Admin/Entity/UserAdmin.php index a9fe58c3e..9dd0e3fc8 100644 --- a/src/Admin/Entity/UserAdmin.php +++ b/src/Admin/Entity/UserAdmin.php @@ -16,7 +16,7 @@ use Sonata\UserBundle\Admin\Model\UserAdmin as BaseUserAdmin; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 */ class UserAdmin extends BaseUserAdmin { diff --git a/src/DependencyInjection/Compiler/GlobalVariablesCompilerPass.php b/src/DependencyInjection/Compiler/GlobalVariablesCompilerPass.php index 1be3e6dca..80ebd69e3 100644 --- a/src/DependencyInjection/Compiler/GlobalVariablesCompilerPass.php +++ b/src/DependencyInjection/Compiler/GlobalVariablesCompilerPass.php @@ -18,7 +18,7 @@ use Symfony\Component\DependencyInjection\Reference; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 * * @author Thomas Rabaix */ diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index ad15f3292..1c89ca84e 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -22,7 +22,7 @@ use Symfony\Component\Config\Definition\ConfigurationInterface; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 * * This is the class that validates and merges configuration from your app/config files. * diff --git a/src/DependencyInjection/SonataUserExtension.php b/src/DependencyInjection/SonataUserExtension.php index 1eb108d28..1f1c66f01 100644 --- a/src/DependencyInjection/SonataUserExtension.php +++ b/src/DependencyInjection/SonataUserExtension.php @@ -30,7 +30,7 @@ use Symfony\Component\HttpKernel\DependencyInjection\Extension; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 * * @author Thomas Rabaix */ diff --git a/src/Document/GroupManager.php b/src/Document/GroupManager.php index d7ba2bc31..29f8025a7 100644 --- a/src/Document/GroupManager.php +++ b/src/Document/GroupManager.php @@ -18,7 +18,7 @@ use Sonata\UserBundle\Model\GroupManagerInterface; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 * * @author Hugo Briand */ diff --git a/src/Document/UserManager.php b/src/Document/UserManager.php index 381ed9289..f6e676942 100644 --- a/src/Document/UserManager.php +++ b/src/Document/UserManager.php @@ -18,7 +18,7 @@ use Sonata\UserBundle\Model\UserManagerInterface; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 * * @author Hugo Briand */ diff --git a/src/Entity/GroupManager.php b/src/Entity/GroupManager.php index d609950a4..281b43a40 100644 --- a/src/Entity/GroupManager.php +++ b/src/Entity/GroupManager.php @@ -19,7 +19,7 @@ use Sonata\UserBundle\Model\GroupManagerInterface; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 * * @author Hugo Briand */ diff --git a/src/Entity/UserManager.php b/src/Entity/UserManager.php index 6132a2e23..97133e1d9 100644 --- a/src/Entity/UserManager.php +++ b/src/Entity/UserManager.php @@ -21,7 +21,7 @@ use Sonata\UserBundle\Model\UserManagerInterface; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 * * @author Hugo Briand */ diff --git a/src/Form/Transformer/RestoreRolesTransformer.php b/src/Form/Transformer/RestoreRolesTransformer.php index 330c42f8c..75456ca50 100644 --- a/src/Form/Transformer/RestoreRolesTransformer.php +++ b/src/Form/Transformer/RestoreRolesTransformer.php @@ -17,7 +17,7 @@ use Symfony\Component\Form\DataTransformerInterface; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 */ class RestoreRolesTransformer implements DataTransformerInterface { diff --git a/src/Form/Type/SecurityRolesType.php b/src/Form/Type/SecurityRolesType.php index 3e14045bf..854a35089 100644 --- a/src/Form/Type/SecurityRolesType.php +++ b/src/Form/Type/SecurityRolesType.php @@ -26,7 +26,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 */ class SecurityRolesType extends AbstractType { diff --git a/src/Security/Authorization/Voter/UserAclVoter.php b/src/Security/Authorization/Voter/UserAclVoter.php index 7e7a23876..020fe543c 100644 --- a/src/Security/Authorization/Voter/UserAclVoter.php +++ b/src/Security/Authorization/Voter/UserAclVoter.php @@ -18,7 +18,7 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 */ class UserAclVoter extends AclVoter { diff --git a/src/Security/EditableRolesBuilder.php b/src/Security/EditableRolesBuilder.php index c6ef5a09e..dd1d75a6a 100644 --- a/src/Security/EditableRolesBuilder.php +++ b/src/Security/EditableRolesBuilder.php @@ -19,7 +19,7 @@ use Symfony\Component\Translation\TranslatorInterface; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 */ class EditableRolesBuilder { diff --git a/src/SonataUserBundle.php b/src/SonataUserBundle.php index c64d987f1..4aa0f7303 100644 --- a/src/SonataUserBundle.php +++ b/src/SonataUserBundle.php @@ -20,7 +20,7 @@ use Symfony\Component\HttpKernel\Bundle\Bundle; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 */ class SonataUserBundle extends Bundle { diff --git a/src/Twig/GlobalVariables.php b/src/Twig/GlobalVariables.php index 6d1c95658..547072ef0 100644 --- a/src/Twig/GlobalVariables.php +++ b/src/Twig/GlobalVariables.php @@ -17,7 +17,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * @final since sonata-project/user-bundle 4.x + * @final since sonata-project/user-bundle 4.15 * * @author Thomas Rabaix */