Skip to content

Commit

Permalink
4.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Nov 24, 2020
1 parent ecc961b commit 65ec2e2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.10.0](https://github.com/sonata-project/SonataUserBundle/compare/4.9.0...4.10.0) - 2020-11-24
### Added
- [[#1263](https://github.com/sonata-project/SonataUserBundle/pull/1263)] Support for "symfony/mailer" in `Sonata\UserBundle\Mailer\Mailer` ([@phansys](https://github.com/phansys))

### Changed
- [[#1271](https://github.com/sonata-project/SonataUserBundle/pull/1271)] Updates dutch translations ([@zghosts](https://github.com/zghosts))

### Deprecated
- [[#1263](https://github.com/sonata-project/SonataUserBundle/pull/1263)] Support for "swiftmailer/swiftmailer" in `Sonata\UserBundle\Mailer\Mailer` ([@phansys](https://github.com/phansys))

### Fixed
- [[#1266](https://github.com/sonata-project/SonataUserBundle/pull/1266)] Fixed the problem of the message "sonata_user_already_authenticated" not being translated ([@BitScout](https://github.com/BitScout))

## [4.9.0](https://github.com/sonata-project/SonataUserBundle/compare/4.8.0...4.9.0) - 2020-10-26
### Added
- [[#1225](https://github.com/sonata-project/SonataUserBundle/pull/1225)] Support for `nelmio/api-doc-bundle` >= 3.6 ([@wbloszyk](https://github.com/wbloszyk))
Expand Down
3 changes: 3 additions & 0 deletions UPGRADE-4.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ UPGRADE 4.x
UPGRADE FROM 4.x to 4.x
=======================

UPGRADE FROM 4.9 to 4.10
========================

### Sonata\UserBundle\Mailer\Mailer

Passing an instance of `\Swift_Mailer` as argument 3 for `Sonata\UserBundle\Mailer\Mailer::__construct()`
Expand Down
2 changes: 1 addition & 1 deletion src/Action/LoginAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function __construct(
if (null === $translator) {
@trigger_error(sprintf(
'Not passing an instance of "%s" as argument 6 to "%s()" is deprecated since'
.' sonata-project/user-bundle 4.x and will be not possible in version 5.0.',
.' sonata-project/user-bundle 4.10 and will be not possible in version 5.0.',
TranslatorInterface::class,
__METHOD__
), E_USER_DEPRECATED);
Expand Down
4 changes: 2 additions & 2 deletions src/Mailer/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public function __construct(UrlGeneratorInterface $urlGenerator, Environment $tw

if (!$mailer instanceof SymfonyMailerInterface) {
@trigger_error(sprintf(
'Passing other type than "%s" as argument 3 for "%s()" is deprecated since sonata-project/user-bundle 4.x'
.' and will be not supported in version 5.x.',
'Passing other type than "%s" as argument 3 for "%s()" is deprecated since sonata-project/user-bundle 4.10'
.' and will be not supported in version 5.0.',
SymfonyMailerInterface::class,
__METHOD__
), E_USER_DEPRECATED);
Expand Down

0 comments on commit 65ec2e2

Please sign in to comment.