Merge branch '4.4'
This commit is contained in:
commit
b332f9b4c0
@ -121,8 +121,9 @@ Routing
|
|||||||
|
|
||||||
* The `generator_base_class`, `generator_cache_class`, `matcher_base_class`, and `matcher_cache_class` router
|
* The `generator_base_class`, `generator_cache_class`, `matcher_base_class`, and `matcher_cache_class` router
|
||||||
options have been deprecated.
|
options have been deprecated.
|
||||||
* Implementing `Serializable` for `Route` and `CompiledRoute` is deprecated; if you serialize them, please
|
* `Serializable` implementing methods for `Route` and `CompiledRoute` are marked as `@internal` and `@final`.
|
||||||
ensure your unserialization logic can recover from a failure related to an updated serialization format
|
Instead of overwriting them, use `__serialize` and `__unserialize` as extension points which are forward compatible
|
||||||
|
with the new serialization methods in PHP 7.4.
|
||||||
|
|
||||||
Security
|
Security
|
||||||
--------
|
--------
|
||||||
|
@ -317,8 +317,9 @@ Routing
|
|||||||
|
|
||||||
* The `generator_base_class`, `generator_cache_class`, `matcher_base_class`, and `matcher_cache_class` router
|
* The `generator_base_class`, `generator_cache_class`, `matcher_base_class`, and `matcher_cache_class` router
|
||||||
options have been removed.
|
options have been removed.
|
||||||
* `Route` and `CompiledRoute` don't implement `Serializable` anymore; if you serialize them, please
|
* `Serializable` implementing methods for `Route` and `CompiledRoute` are final.
|
||||||
ensure your unserialization logic can recover from a failure related to an updated serialization format
|
Instead of overwriting them, use `__serialize` and `__unserialize` as extension points which are forward compatible
|
||||||
|
with the new serialization methods in PHP 7.4.
|
||||||
|
|
||||||
Security
|
Security
|
||||||
--------
|
--------
|
||||||
|
@ -8,8 +8,9 @@ CHANGELOG
|
|||||||
* added `CompiledUrlGenerator` and `CompiledUrlGeneratorDumper`
|
* added `CompiledUrlGenerator` and `CompiledUrlGeneratorDumper`
|
||||||
* deprecated `PhpGeneratorDumper` and `PhpMatcherDumper`
|
* deprecated `PhpGeneratorDumper` and `PhpMatcherDumper`
|
||||||
* deprecated `generator_base_class`, `generator_cache_class`, `matcher_base_class` and `matcher_cache_class` router options
|
* deprecated `generator_base_class`, `generator_cache_class`, `matcher_base_class` and `matcher_cache_class` router options
|
||||||
* deprecated implementing `Serializable` for `Route` and `CompiledRoute`; if you serialize them, please
|
* `Serializable` implementing methods for `Route` and `CompiledRoute` are marked as `@internal` and `@final`.
|
||||||
ensure your unserialization logic can recover from a failure related to an updated serialization format
|
Instead of overwriting them, use `__serialize` and `__unserialize` as extension points which are forward compatible
|
||||||
|
with the new serialization methods in PHP 7.4.
|
||||||
* exposed `utf8` Route option, defaults "locale" and "format" in configuration loaders and configurators
|
* exposed `utf8` Route option, defaults "locale" and "format" in configuration loaders and configurators
|
||||||
* added support for invokable route loader services
|
* added support for invokable route loader services
|
||||||
|
|
||||||
|
@ -64,7 +64,8 @@ class CompiledRoute implements \Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal since Symfony 4.3, will be removed in Symfony 5 as the class won't implement Serializable anymore
|
* @internal since Symfony 4.3
|
||||||
|
* @final since Symfony 4.3
|
||||||
*/
|
*/
|
||||||
public function serialize()
|
public function serialize()
|
||||||
{
|
{
|
||||||
@ -84,7 +85,8 @@ class CompiledRoute implements \Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal since Symfony 4.3, will be removed in Symfony 5 as the class won't implement Serializable anymore
|
* @internal since Symfony 4.3
|
||||||
|
* @final since Symfony 4.3
|
||||||
*/
|
*/
|
||||||
public function unserialize($serialized)
|
public function unserialize($serialized)
|
||||||
{
|
{
|
||||||
|
@ -78,7 +78,8 @@ class Route implements \Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal since Symfony 4.3, will be removed in Symfony 5 as the class won't implement Serializable anymore
|
* @internal since Symfony 4.3
|
||||||
|
* @final since Symfony 4.3
|
||||||
*/
|
*/
|
||||||
public function serialize()
|
public function serialize()
|
||||||
{
|
{
|
||||||
@ -104,7 +105,8 @@ class Route implements \Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal since Symfony 4.3, will be removed in Symfony 5 as the class won't implement Serializable anymore
|
* @internal since Symfony 4.3
|
||||||
|
* @final since Symfony 4.3
|
||||||
*/
|
*/
|
||||||
public function unserialize($serialized)
|
public function unserialize($serialized)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user