NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #4239 most downloaded on Packagist
Symfony SonataUserBundle
Last release 9 months ago
18 Dec 2025
Release timing varies
gaps range from 3 weeks to 8 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
76 releases · first in 2012
[ #1730 ] Support for Symfony 8 ( @dmaicher )
One column per quarter.
[ #1727 ] Rector use assertInstanceOf in tests ( @Hanmac )
[ #1723 ] Deprecated admin_resetting.xml routing config ( @dmaicher )
[ #1716 ] Added compatability to doctrine/persistence 4 ( @cngJo )
[ #1710 ] Extending GlobalVariablesCompilerPass ( @VincentLanglet )
[ #1669 ] Add support for Symfony 7. ( @jordisala1991 )
[ #1689 ] Symfony 7.1 deprecation about Symfony\Component\HttpKernel\DependencyInjection\Extension usage ( @VincentLanglet )
Symfony\Component\HttpKernel\DependencyInjection\Extension usage (@VincentLanglet)[ #1677 ] BaseUser3 with roles mapped type as json to be compatible with ORM 3 ( @RobinDev )
[ #1661 ] Default value true for the "multiple" option at RolesMatrixType form type ( @phansys )
[ #1651 ] Deprecation of Event Subscribers on Symfony 6.3. The UserListener now uses Event Listeners ( @Hanmac )
[#1646] Support for SonataBlockBundle 5.0 (@jordisala1991)
[#1643] Support for sonata-project/form-extensions 2.0 (@jordisala1991)
sonata-project/form-extensions 2.0 (@jordisala1991)[#1632] Support for Symfony 4.4 (@jordisala1991)
[#1627] Avoid deprecation on the check for is impersonator granted on Symfony >= 5.4 (@jordisala1991)
username and email is applied to usernameCanonical and emailCanonical fields (@jordisala1991)[#1624] XML validation of MongoDB ODM mapping. (@landure)
[#1615] Avoid deprecation for enabled boolean field on MongoDB ODM. (@jordisala1991)
[#1599] Support for doctrine/collections 2 (@gremo)
[#1577] Sonata-admin 4.20 deprecation (@VincentLanglet)
[#1572] Password field is now of type PasswordType (was TextType). (@m-ar-c)
[#1560] Add support for sonata-project/doctrine-extensions ^2.0. (@jordisala1991)
sonata-project/doctrine-extensions ^2.0. (@jordisala1991)sonata-project/twig-extensions ^2.0. (@jordisala1991)[#1556] User::getUsername return the real value in database (and can return null). (@VincentLanglet)
User::getUsername return the real value in database (and can return null). (@VincentLanglet)[#1553] Fix user edit page to check for a form attribute before rendering the role matrix. (@wluijt-endertech)
[#1540] Added RoleMatrixType:exclude Option to hide choices. (@Hanmac)
[#1543] Avoid deprecations with lazy commands on Symfony 6.1. (@jordisala1991)
doctrine/persistence ^3.0. (@jordisala1991)[#1533] Changed UserAdmin classnameLabel. This affects the breadcrumb translation generation. With this change Sonata will always pick the SonataUserB
[#1517] Added validation translation to fix untranslated content. (@jordisala1991)
Nothing published for this version
[#1489] Added ResetPasswordRequestFormType form type. (@jordisala1991)
ResetPasswordRequestFormType form type. (@jordisala1991)sonata:user:create command from FOSUserBundle (@jordisala1991)sonata:user:promote command from FOSUserBundle (@jordisala1991)sonata:user:demote command from FOSUserBundle (@jordisala1991)sonata:user:change-password command from FOSUserBundle (@jordisala1991)sonata:user:activate command from FOSUserBundle (@jordisala1991)sonata:user:deactivate command from FOSUserBundle (@jordisala1991)EditableRolesBuilderInterface. (@jordisala1991)__construct() of EditableRolesBuilder to provide TranslatorInterface (@jordisala1991)[#1471] Deprecated extending most of the classes of this bundle. (@jordisala1991)
User::__serialize() and User::__unserialize() methods (@VincentLanglet)[#1446] Deprecated the integration with sonata-project/GoogleAuthenticator (@jordisala1991)
sonata-project/GoogleAuthenticator (@jordisala1991)[#1412] en, lt, and ru translation keys (@ft-1408)
[#1396] Added support for PHP 8.0 (@jordisala1991)
http-foundation 5.3 (@jordisala1991)[#1332] Fix compatibility with doctrine/persistence 2.0 (@jordisala1991)
[#1325] Support for "doctrine/common:^3". (@phansys)
[#1323] GroupManager::getPager() return type is Sonata\DatagridBundle\Pager\PagerInterface. (@Jean-ita)
[#1288] Duplicate translation in src/Resources/translations/SonataUserBundle.nl.xliff (@elyanory)
[#1263] Support for "symfony/mailer" in Sonata\UserBundle\Mailer\Mailer (@phansys)
[#1254] Deprecation about the extension of AbstractAdmin::getExportFields() method in UserAdmin. (@phansys)
nelmio/api-doc-bundle >= 3.6 (@wbloszyk)AbstractAdmin::getExportFields() method in UserAdmin. (@phansys)[#1210] Added support for symfony/options-resolver:^5.1 (@phansys)
ip_white_list by trusted_ip_list configuration key (@davidromani)[#1183] SonataEasyExtendsBundle is now optional, using SonataDoctrineBundle is preferred (@jordisala1991)
UserController.
(@phansys)[#1185] Removed support for deprecated "rest" routing type. (@phansys)
Sonata\UserBundle\Controller\Api\UserController for
sonata.user.controller.api.user service;
(@phansys)Sonata\UserBundle\Controller\Api\GroupController for
sonata.user.controller.api.group service.
(@phansys)Fixed retrieving all forwarded ip headers in the google authenticator helper
some deprecations form the core bundle
Add missing translation for admin menu
Replaced usages of deprecated "templating" service with "twig" where possible.
{% spaceless %} tag, which is deprecated as of Twig 1.38
with {% apply spaceless %} filterUpdated _controller attribute for routes which were using deprecated syntax.
_controller attribute for routes which were using deprecated syntax.deprecation for symfony/config 4.2+
sonata:user:two-step-verification even with proper configurationSonata\UserBundle\Command\TwoStepVerificationCommand that did not receive arguments.Replace deprecated use of Google\Authenticator\GoogleAuthenticator by Sonata's namespace
Replace deprecated use of Google\Authenticator\GoogleAuthenticator by Sonata's namespace
The following services can be get via the container again:
sonata.user.user_managersonata.user.group_managerSonata\UserBundle\Form\Type\RolesMatrixTypeSonata\UserBundle\Entity\UserManagerProxyLoad Sonata\UserBundle\Twig\RolesMatrixExtension only if UserBundle is used
Sonata\UserBundle\Twig\RolesMatrixExtension only if UserBundle is usedSonata\UserBundle\Form\Type\SecurityRolesType public, as it is lazy loadedEntity\BaseUser::getGenderList to Model\User so that it is available to all persistence systemsRole permissions can now be displayed in a matrix view using the Sonata\UserBundle\Form\Type\RolesMatrixType
Sonata\UserBundle\Form\Type\RolesMatrixTypeDeprecation message on SecurityRolesType about choices_as_values
choices_as_valuesNew experience for sonata-project/google-authenticator users. Showing QR-code in login form, automatically setting 2FA secret to user.
sonata-project/google-authenticator users. Showing QR-code in login form, automatically setting 2FA secret to user.symfony/security-core and symfony/security-acl instead of symfony/securityFixed flipped choices values/labels in SecurityRolesType when using symfony 2.8
Added missing swiftmailer dependency
swiftmailer dependencysonata-project/google-authenticator an optional dependencyUser to UserInterfacesonata.user.admin.user and sonata.user.admin.group are public nowmake Roles in SecurityRolesType translateable
src, tests and docsRollback to PHP 5.6 as minimum support.
Fixed the twig configuration setting bug.
Use sonata admin pool the get the master role name
AccountBlockService extends AbstractAdminBlockService instead of wrong AbstractBlockServiceAdded Dutch translation for title_user_authentication
title_user_authentication.xml.skeleton files of configYour coding agent can read these notes before it upgrades. Set up the MCP server →