updating CHANGELOGs and fixing tests
This commit is contained in:
parent
b4788e4808
commit
4132bfebe7
@ -7,6 +7,12 @@ CHANGELOG
|
||||
* Not passing the project directory to the constructor of the `AssetsInstallCommand` is deprecated. This argument will
|
||||
be mandatory in 5.0.
|
||||
|
||||
* [BC Break] When using Messenger, the default transport changed from
|
||||
using Symfony's serializer service to use `PhpSerializer`, which uses
|
||||
PHP's native `serialize()` and `unserialize()` functions. To use the
|
||||
original serialization method, set the `framework.messenger.serializer.id`
|
||||
config option to `messenger.transport.symfony_serializer`.
|
||||
|
||||
4.2.0
|
||||
-----
|
||||
|
||||
|
@ -19,7 +19,6 @@ use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
|
||||
use Symfony\Component\Config\Definition\Processor;
|
||||
use Symfony\Component\Lock\Store\SemaphoreStore;
|
||||
use Symfony\Component\Messenger\MessageBusInterface;
|
||||
use Symfony\Component\Serializer\Serializer;
|
||||
|
||||
class ConfigurationTest extends TestCase
|
||||
{
|
||||
@ -295,7 +294,7 @@ class ConfigurationTest extends TestCase
|
||||
'routing' => [],
|
||||
'transports' => [],
|
||||
'serializer' => [
|
||||
'id' => !class_exists(FullStack::class) && class_exists(Serializer::class) ? 'messenger.transport.symfony_serializer' : null,
|
||||
'id' => 'messenger.transport.native_php_serializer',
|
||||
'format' => 'json',
|
||||
'context' => [],
|
||||
],
|
||||
|
@ -660,7 +660,7 @@ abstract class FrameworkExtensionTest extends TestCase
|
||||
|
||||
/**
|
||||
* @expectedException \Symfony\Component\DependencyInjection\Exception\LogicException
|
||||
* @expectedExceptionMessage The default Messenger serializer cannot be enabled as the Serializer support is not available. Try enabling it or running "composer require symfony/serializer-pack".
|
||||
* @expectedExceptionMessage The Messenger serializer cannot be enabled as the Serializer support is not available. Try enabling it or running "composer require symfony/serializer-pack".
|
||||
*/
|
||||
public function testMessengerTransportConfigurationWithoutSerializer()
|
||||
{
|
||||
|
@ -1,6 +1,12 @@
|
||||
CHANGELOG
|
||||
=========
|
||||
|
||||
4.3.0
|
||||
-----
|
||||
|
||||
* Added `PhpSerializer` which uses PHP's native `serialize()` and
|
||||
`unserialize()` to serialize messages to a transport
|
||||
|
||||
4.2.0
|
||||
-----
|
||||
|
||||
|
@ -15,7 +15,7 @@ use Symfony\Component\Messenger\Envelope;
|
||||
use Symfony\Component\Messenger\Exception\InvalidArgumentException;
|
||||
|
||||
/**
|
||||
* @author Ruyan Weaver<ryan@symfonycasts.com>
|
||||
* @author Ryan Weaver<ryan@symfonycasts.com>
|
||||
*
|
||||
* @experimental in 4.2
|
||||
*/
|
||||
|
Reference in New Issue
Block a user