8000 Document session issue when upgrading from Symfony 4.x by ajgarlag · Pull Request #16326 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Document session issue when upgrading from Symfony 4.x #16326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Document session issue when upgrading from Symfony 4.x
  • Loading branch information
ajgarlag committed Dec 27, 2021
commit 8e982a1bd9aeae476aa82d2a3d7dba8c78743314
8 changes: 8 additions & 0 deletions setup/upgrade_major.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,11 @@ Next, use Composer to download new versions of the libraries:
In some rare situations, the next major version *may* contain backwards-compatibility
breaks. Make sure you read the ``UPGRADE-X.0.md`` (where X is the new major version)
included in the Symfony repository for any BC break that you need to be aware of.

.. caution::

Upgrading from Symfony 4.x to Symfony 5.x will terminate all active sessions.
If you need to keep previous sessions active after the upgrade, you can require
the `ajgl/sf4-to-sf5-role-unserialization`_ compoment in your ``composer.json``.

.. _`ajgl/sf4-to-sf5-role-unserialization`: https://packagist.org/packages/ajgl/sf4-to-sf5-role-unserialization
0