Skip to content

Commit

Permalink
Updated UPGRADE-5.1.md and CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
warslett committed Mar 30, 2020
1 parent 5ca96fb commit a510f9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions UPGRADE-5.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ FrameworkBundle

* Deprecated passing a `RouteCollectionBuilder` to `MicroKernelTrait::configureRoutes()`, type-hint `RoutingConfigurator` instead
* Deprecated *not* setting the "framework.router.utf8" configuration option as it will default to `true` in Symfony 6.0
* Deprecated session.attribute_bag service and session.flash_bag service.

HttpFoundation
--------------
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ CHANGELOG
* Added tag `routing.expression_language_function` to define functions available in route conditions
* Added `debug:container --deprecations` option to see compile-time deprecations.
* Made `BrowserKitAssertionsTrait` report the original error message in case of a failure
* Deprecated session.attribute_bag service and session.flash_bag service.

5.0.0
-----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@

<service id="session.flash_bag" class="Symfony\Component\HttpFoundation\Session\Flash\FlashBag">
<factory service="session" method="getFlashBag" />
<deprecated>The "%service_id%" service is deprecated since Symfony 5.1</deprecated>
<deprecated>The "%service_id%" service is deprecated since Symfony 5.1. Use $session->getFlashBag() instead</deprecated>
</service>
<service id="Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface" alias="session.flash_bag" />

<service id="session.attribute_bag" class="Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag">
<factory service="session" method="getAttributeBag" />
<deprecated>The "%service_id%" service is deprecated since Symfony 5.1</deprecated>
<deprecated>The "%service_id%" service is deprecated since Symfony 5.1. Use $session->getAttributeBag() instead</deprecated>
</service>

<service id="session.storage.mock_file" class="Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage">
Expand Down

0 comments on commit a510f9b

Please sign in to comment.