File tree 3 files changed +4
-2
lines changed
src/Symfony/Bundle/FrameworkBundle
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ FrameworkBundle
30
30
31
31
* Deprecated passing a ` RouteCollectionBuilder ` to ` MicroKernelTrait::configureRoutes() ` , type-hint ` RoutingConfigurator ` instead
32
32
* Deprecated * not* setting the "framework.router.utf8" configuration option as it will default to ` true ` in Symfony 6.0
33
+ * Deprecated session.attribute_bag service and session.flash_bag service.
33
34
34
35
HttpFoundation
35
36
--------------
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ CHANGELOG
16
16
* Added tag ` routing.expression_language_function ` to define functions available in route conditions
17
17
* Added ` debug:container --deprecations ` option to see compile-time deprecations.
18
18
* Made ` BrowserKitAssertionsTrait ` report the original error message in case of a failure
19
+ * Deprecated session.attribute_bag service and session.flash_bag service.
19
20
20
21
5.0.0
21
22
-----
Original file line number Diff line number Diff line change 37
37
38
38
<service id =" session.flash_bag" class =" Symfony\Component\HttpFoundation\Session\Flash\FlashBag" >
39
39
<factory service =" session" method =" getFlashBag" />
40
- <deprecated >The "%service_id%" service is deprecated since Symfony 5.1</deprecated >
40
+ <deprecated >The "%service_id%" service is deprecated since Symfony 5.1. Use $session->getFlashBag() instead </deprecated >
41
41
</service >
42
42
<service id =" Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface" alias =" session.flash_bag" />
43
43
44
44
<service id =" session.attribute_bag" class =" Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag" >
45
45
<factory service =" session" method =" getAttributeBag" />
46
- <deprecated >The "%service_id%" service is deprecated since Symfony 5.1</deprecated >
46
+ <deprecated >The "%service_id%" service is deprecated since Symfony 5.1. Use $session->getAttributeBag() instead </deprecated >
47
47
</service >
48
48
49
49
<service id =" session.storage.mock_file" class =" Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage" >
You can’t perform that action at this time.
0 commit comments