Releases: FriendsOfSymfony/FOSUserBundle
Releases · FriendsOfSymfony/FOSUserBundle
4.0.0
- [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
3.3.0
3.2.1
3.2.0
- 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
3.0.2
3.0.1
3.0.0
- [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 ofSymfony\Component\EventDispatcher\Event
- [BC break] Remove the
Symfony\Component\Security\Core\User\AdvancedUserInterface
methods from ourUserInterface
- [BC break] The ResettingListener now longer blocks password resetting requests based on the
isAccountNonLocked
method of theAdvancedUserInterface
. Projects customizingisAccountNonLocked
for that purpose should instead register their own listener for theFOSUserEvents::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