All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
4.0.1 - 2017-12-20
- Fixed flipped choices values/labels in SecurityRolesType when using symfony 2.8
- Admin pool variable in admin resetting templates
4.0.0 - 2017-12-04
- Add support for FOSUser 2.0
- Added missing
swiftmailer
dependency
- Risky code change for PHP 7
- Made
sonata-project/google-authenticator
an optional dependency - Moved public methods of
User
toUserInterface
- Lowered upper composer dependencies
- default values moved to the Configuration class
sonata.user.admin.user
andsonata.user.admin.group
are public now
- Fixed PHPDoc
- Fixed wrong parent calls in UserManager
- Fixed wrong router call in Controller
- missing logo in templates
- Removed removed user model properties
- Removed deprecated code
3.6.0 - 2017-12-04
- make Roles in SecurityRolesType translateable
- Added Russian translations
- Changed internal folder structure to
src
,tests
anddocs
- Added a check to the UserAclVoter class to ensure the subject is an object
3.5.0 - 2017-11-04
- Rollback to PHP 5.6 as minimum support.
3.4.0 - 2017-10-22
- Fixed the twig configuration setting bug.
- Support for old versions of php and Symfony.
3.3.0 - 2017-10-22
- Use sonata admin pool the get the master role name
AccountBlockService
extendsAbstractAdminBlockService
instead of wrongAbstractBlockService
- missing spanish translations were added
3.2.4 - 2017-06-14
- Added Dutch translation for
title_user_authentication
- Google Authenticator 2 is now allowed
- Deprecated block service usage
- Compatibility with Twig 2.0 was improved
- Fixed hardcoded paths to classes in
.xml.skeleton
files of config
3.2.3 - 2017-03-16
- Fix non-use of container for has/get services.
3.2.2 - 2017-03-08
- Fixed empty route after registration
- Added missing throw in change password process
- Avoid deprecation message by using request_stack when it is present
- Avoid deprecation message by changing CSRF token generation when possible
- Wrong factory definition
- Removed form types non FQCN on SF2.8+
- Removed deprecations about form factory on SF2.8
3.2.1 - 2017-02-09
- Add missing (optional) dependency for JMSSerializerBundle, needed for the services defined in serializer.xml and api_form.xml
- FOSRestBundle 2.x was improved
- fixed a cross dependency when using UserBundle with FOSRestBundle and NelmioApiDocBundle depending JMSSerializerBundle.
- add missing use for DependencyInjection\Reference
- Added $ sign that was missing from a previous refactoring
asset
return/
if default avatar is empty- Declaration of
UserManagerProxy
usesSonata\UserBundle\Entity\User
instead of%fos_user.model.user.class%
- the bundle can be used without a
sonata.user.editable_role_builder
service - Issue where service was injected to constructor at wrong position
- Missing italian translations
- Deprecation of
security.context
onAdminSecurityController
3.2.0 - 2016-11-25
- Added russian and ukrainian translations
- Relying on the
sonata_basket_delivery_redirect
is deprecated and won't be supported anymore
- The reset password url now points to the action dedicated to administrators again
- The conflict rule for FOSRestBundle
>=2.0
3.1.0 - 2016-10-14
- The
friendsofsymfony/rest-bundle
dependency is optional again - The
jms/serializer-bundle
dependency is optional again - The
nelmio/api-doc-bundle
dependency is optional again - Changed implementation of
SecurityFOSUser1Controller::loginAction
- Changed implementation of
AdminSecurityController::loginAction
- Changed how the error message is translated in
login.html.twig
- Changed how the error message is translated in
base_login.html.twig
- Fixed a potential null error in
SecurityFOSUser1Controller::loginAction
- Fixed a potential empty route after calling
RegistrationFOSUser1Controller::registerAction
- Fixed wrong route name "sonata_user_admin_resetting_request", replaced with "sonata_user_resetting_request"
- Symfony 3 security classes use in
AdminSecurityController
- Fixed a possible security risk as noticed in this line
- Internal test classes are now excluded from the autoloader
- Removed translation for 'Bad credentials' message in
SonataUserBundle.de.xliff
3.0.1 - 2016-05-20
- Admin classes extend
Sonata\AdminBundle\Admin\AbstractAdmin