Skip to content

Releases: FriendsOfSymfony/FOSUserBundle

4.0.0

04 Jul 11:30
v4.0.0
Compare
Choose a tag to compare
  • [BC break] Removed the CouchDB ODM integration
  • [BC break] Added return types in most methods
  • [BC break] Marked classes as final when they were @final
  • Removed support for symfony <6.4
  • Removed support for PHP <8.1
  • Remove the mailer implementation based on Swiftmailer
  • Added support for Symfony 7

3.4.0

25 Jun 08:44
v3.4.0
f0d6a90
Compare
Choose a tag to compare

What's Changed

  • Deprecated the TwigSwiftMailer implementation

Full Changelog: v3.3.0...v3.4.0

3.3.0

24 Jun 16:41
v3.3.0
Compare
Choose a tag to compare
  • Added a mailer implementation based on symfony/mailer and Twig
  • Added tentative return types in most methods
  • Deprecated the CouchDB ODM integration as the ODM is unmaintained

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.