Skip to content

Latest commit

 

History

History
384 lines (297 loc) · 18 KB

CHANGELOG.md

File metadata and controls

384 lines (297 loc) · 18 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

4.12.0 - 2021-09-08

Added

Removed

4.11.1 - 2021-03-03

Fixed

4.11.0 - 2021-02-15

Added

4.10.2 - 2021-02-05

Changed

  • [#1323] GroupManager::getPager() return type is Sonata\DatagridBundle\Pager\PagerInterface. (@Jean-ita)
  • [#1323] UserManager::getPager() return type is Sonata\DatagridBundle\Pager\PagerInterface. (@Jean-ita)

4.10.1 - 2020-11-24

Fixed

  • [#1288] Duplicate translation in src/Resources/translations/SonataUserBundle.nl.xliff (@elyanory)

4.10.0 - 2020-11-24

Added

  • [#1263] Support for "symfony/mailer" in Sonata\UserBundle\Mailer\Mailer (@phansys)

Changed

Deprecated

  • [#1263] Support for "swiftmailer/swiftmailer" in Sonata\UserBundle\Mailer\Mailer (@phansys)

Fixed

  • [#1266] Fixed the problem of the message "sonata_user_already_authenticated" not being translated (@BitScout)

4.9.0 - 2020-10-26

Added

  • [#1225] Support for nelmio/api-doc-bundle >= 3.6 (@wbloszyk)
  • [#1230] Support for sonata-project/datagrid-bundle to version ^3.0 (@wbloszyk)

Fixed

  • [#1247] Fixed Asserts validation for Default group. (@eerison)
  • [#1254] Deprecation about the extension of AbstractAdmin::getExportFields() method in UserAdmin. (@phansys)
  • [#1235] API routing paths after move routing type from 'REST' to 'XML' in v4.6.0 (@wbloszyk)
  • [#1212] Removed sonata.templating argument from google_authenticator.xml (@Jean-ita)

Removed

  • [#1230] Support for sonata-project/datagrid-bundle to version < 3.0 (@wbloszyk)

4.8.0 - 2020-09-07

Added

  • [#1210] Added support for symfony/options-resolver:^5.1 (@phansys)

Changed

Fixed

  • [#1198] Fixed support for string model identifiers at Open API definitions (@phansys)

Removed

  • [#1198] Removed requirements that were only allowing integers for model identifiers at Open API definitions (@phansys)

4.7.0 - 2020-07-30

Changed

  • [#1183] SonataEasyExtendsBundle is now optional, using SonataDoctrineBundle is preferred (@jordisala1991)

Deprecated

Fixed

  • [#1202] Fixed wrong placeholder delimiters at ReST API controller UserController. (@phansys)
  • [#1195] Fixed passing "format' parameter to API routes. (@phansys)
  • [#1194] Fixed API route names. (@phansys)

Removed

4.6.0 - 2020-06-29

Added

  • [#1185] Added support for "friendsofsymfony/rest-bundle:^3.0"; (@phansys)
  • [#1185] Added public alias Sonata\UserBundle\Controller\Api\UserController for sonata.user.controller.api.user service; (@phansys)
  • [#1185] Added public alias Sonata\UserBundle\Controller\Api\GroupController for sonata.user.controller.api.group service. (@phansys)

Fixed

Removed

4.5.3 - 2020-05-07

Added

  • czech translations

Fixed

  • Fixed retrieving all forwarded ip headers in the google authenticator helper

Security

  • Avoid leaking usernames in password recovery

4.5.2 - 2020-02-04

Fixed

  • some deprecations form the core bundle
  • Doctrine MongoDB mapping

4.5.1 - 2019-10-21

Added

  • Add missing translation for admin menu

Fixed

  • Fixed invocation of non-existent "getLogger" method. Changed to access property.

4.5.0 - 2019-09-27

Fixed

  • Missing Spanish translations.

Changed

  • Replaced usages of deprecated "templating" service with "twig" where possible.

Removed

  • Dependency conflict against "jms/serializer:^3.0".

Changed

  • Add missing dependency against "twig/twig"
  • Changed usages of {% spaceless %} tag, which is deprecated as of Twig 1.38 with {% apply spaceless %} filter

4.4.0 - 2019-06-13

Added

  • Added compatibility with jms/serializer-bundle:^3.0 and jms/serializer:^2.0
  • Added missing google auth french translation

Fixed

  • Fixed a bug with inability to use external model classes
  • Fixed wrong google auth user manager argument when not using autowiring
  • Fixed hard coded google auth redirection url

Changed

  • Updated _controller attribute for routes which were using deprecated syntax.

4.3.0 - 2019-01-30

Fixed

  • exception when calling sonata:user:two-step-verification even with proper configuration
  • deprecation for symfony/config 4.2+
  • case when user was not found in sendEmailAction
  • rendering resetting email on Windows

Deprecated

  • executing a Sonata\UserBundle\Command\TwoStepVerificationCommand that did not receive arguments.

4.2.3 - 2018-07-08

Fixed

Replace deprecated use of Google\Authenticator\GoogleAuthenticator by Sonata's namespace

4.2.2 - 2018-06-09

Fixed

  • The following services can be get via the container again:
    • sonata.user.user_manager
    • sonata.user.group_manager
    • Sonata\UserBundle\Form\Type\RolesMatrixType
    • Sonata\UserBundle\Entity\UserManagerProxy

4.2.1 - 2018-05-15

Fixed

  • Load Sonata\UserBundle\Twig\RolesMatrixExtension only if UserBundle is used
  • Make Sonata\UserBundle\Form\Type\SecurityRolesType public, as it is lazy loaded
  • Move static Entity\BaseUser::getGenderList to Model\User so that it is available to all persistence systems

4.2.0 - 2018-05-08

Added

  • Role permissions can now be displayed in a matrix view using the Sonata\UserBundle\Form\Type\RolesMatrixType

Fixed

  • Missing french translations were added
  • Commands now work on Symfony 4

Removed

  • Removed compatibility with older versions of FOSRestBundle (<2.1)

4.1.1 - 2018-02-08

Changed

  • Switch all templates references to Twig namespaced syntax
  • Switch from templating service to sonata.templating

Fixed

  • choices for User gender now appears correctly flipped and translated
  • Deprecation message on SecurityRolesType about choices_as_values

4.1.0 - 2018-01-20

Added

  • New experience for sonata-project/google-authenticator users. Showing QR-code in login form, automatically setting 2FA secret to user.
  • use forcedRoles and ipWhiteList also on InteractiveLoginListener

Changed

  • use symfony/security-core and symfony/security-acl instead of symfony/security

Fixed

  • Avoid templates path colon notation
  • Bad conflict rule for nelmio/api-doc-bundle

4.0.1 - 2017-12-20

Fixed

  • 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

Added

  • Add support for FOSUser 2.0
  • Added missing swiftmailer dependency

Changed

  • Risky code change for PHP 7
  • Made sonata-project/google-authenticator an optional dependency
  • Moved public methods of User to UserInterface
  • Lowered upper composer dependencies
  • default values moved to the Configuration class
  • sonata.user.admin.user and sonata.user.admin.group are public now

Fixed

  • Fixed PHPDoc
  • Fixed wrong parent calls in UserManager
  • Fixed wrong router call in Controller
  • missing logo in templates

Removed

  • Removed removed user model properties
  • Removed deprecated code

3.6.0 - 2017-12-04

Added

  • make Roles in SecurityRolesType translateable
  • Added Russian translations

Changed

  • Changed internal folder structure to src, tests and docs

Fixed

  • Added a check to the UserAclVoter class to ensure the subject is an object

3.5.0 - 2017-11-04

Changed

  • Rollback to PHP 5.6 as minimum support.

3.4.0 - 2017-10-22

Fixed

  • Fixed the twig configuration setting bug.

Removed

  • Support for old versions of php and Symfony.

3.3.0 - 2017-10-22

Changed

  • Use sonata admin pool the get the master role name

Fixed

  • AccountBlockService extends AbstractAdminBlockService instead of wrong AbstractBlockService
  • missing spanish translations were added

3.2.4 - 2017-06-14

Added

  • Added Dutch translation for title_user_authentication

Changed

  • Google Authenticator 2 is now allowed

Fixed

  • 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

Fixed

  • Fix non-use of container for has/get services.

3.2.2 - 2017-03-08

Fixed

  • 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

  • Removed form types non FQCN on SF2.8+
  • Removed deprecations about form factory on SF2.8

3.2.1 - 2017-02-09

Added

  • Add missing (optional) dependency for JMSSerializerBundle, needed for the services defined in serializer.xml and api_form.xml

Fixed

  • 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 uses Sonata\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 on AdminSecurityController

3.2.0 - 2016-11-25

Added

  • Added russian and ukrainian translations

Deprecated

  • Relying on the sonata_basket_delivery_redirect is deprecated and won't be supported anymore

Fixed

  • The reset password url now points to the action dedicated to administrators again

Removed

  • The conflict rule for FOSRestBundle >=2.0

3.1.0 - 2016-10-14

Changed

  • 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

  • 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

Removed

  • 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

Changed

  • Admin classes extend Sonata\AdminBundle\Admin\AbstractAdmin