Skip to content

Releases: FriendsOfSymfony/FOSUserBundle

3.2.1

06 Jul 10:39
v3.2.1
Compare
Choose a tag to compare
  • Fixed remaining deprecations with Symfony 6.3

3.2.0

06 Jul 10:23
v3.2.0
Compare
Choose a tag to compare
  • Fixed deprecations with Symfony 6.3
  • Fixed deprecations with Doctrine ORM (requires using DoctrineBundle 2.10.1 or newer for the fix to be effective)
  • Fixed the way to access the session when enabling confirmation emails
  • Fixed the way to access the firewall name when enabling the registration feature

3.1.0

26 Oct 09:11
v3.1.0
Compare
Choose a tag to compare

Added support for Symfony 6

3.0.2

26 Oct 09:07
v3.0.2
Compare
Choose a tag to compare
  • Fixed support for the remember-me in the programmatic login when using the new authentication system of Symfony.
  • Fixed some deprecations when using Symfony 5.4.

3.0.1

27 Aug 12:14
v3.0.1
Compare
Choose a tag to compare
  • Fixed the wiring of controllers to avoid a deprecation warning when using Twig.

3.0.0

28 Apr 07:56
v3.0.0
Compare
Choose a tag to compare
  • [BC break] Change the base class of controllers to use the AbstractController (but extending the controllers is not officially supported anymore).
  • [BC break] Remove the group feature
  • [BC break] Change the base class for events to Symfony\Contracts\EventDispatcher\Event instead of Symfony\Component\EventDispatcher\Event
  • [BC break] Remove the Symfony\Component\Security\Core\User\AdvancedUserInterface methods from our UserInterface
  • [BC break] The ResettingListener now longer blocks password resetting requests based on the isAccountNonLocked method of the AdvancedUserInterface. Projects customizing isAccountNonLocked for that purpose should instead register their own listener for the FOSUserEvents::RESETTING_RESET_REQUEST event to set a response instead of processing the request.
  • [BC break] Made \FOS\UserBundle\Model\User::serialize and \FOS\UserBundle\Model\User::unserialize final. Child classes needing to extend the serialization must override __serialize and __unserialize instead.
  • [BC break] \FOS\UserBundle\Event\GetResponseNullableUserEvent no longer inherits from \FOS\UserBundle\Event\GetResponseUserEvent and \FOS\UserBundle\Event\UserEvent as that was breaking variance rules.
  • [BC break] A few methods of FOS\UserBundle\Model\User now have return types (in methods where Symfony 6 requires them)
  • [BC break] The legacy mailer based on SwiftMailer and symfony/templating is no longer used by default. Selecting a mailer service is now mandatory when using a feature needing the mailer.
  • [BC break] Remove the legacy mailer based on SwiftMailer and symfony/templating. Use fos_user.mailer.twig_swift or a custom mailer service.
  • Add support for Symfony 5.
  • Add return types in most methods.
  • Add autowiring support for FOS\UserBundle\Mailer\MailerInterface

2.2.4

14 Jan 15:56
v2.2.4
5459f83
Compare
Choose a tag to compare
  • Fixed a deprecated warning reported by DebugClassLoader in the AdvancedUserInterface BC layer due to the change done in 2.2.3.

2.2.3

14 Jan 13:08
v2.2.3
Compare
Choose a tag to compare
  • Added missing deprecations on some group-related event classes
  • Fixed an invalid report of UserInterface being deprecated in static analyzers
  • Fixed the documented return type for \FOS\UserBundle\Event\GetResponseNullableUserEvent::getUser

2.2.2

08 Sep 09:56
v2.2.2
813161b
Compare
Choose a tag to compare
  • Fixed a deprecation warning about groups being triggered when loading all Doctrine metadata.

2.2.1

08 Sep 08:49
v2.2.1
dcc2ec6
Compare
Choose a tag to compare
  • Fixed a deprecation warning about groups being triggered when loading the User class of the bundle.