Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7657258

Browse filesBrowse files
committed
Add an upgrade note about the removal of Serializable
1 parent 019b2c6 commit 7657258
Copy full SHA for 7657258

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎UPGRADE-6.0.md

Copy file name to clipboardExpand all lines: UPGRADE-6.0.md
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ Security
158158
in `PreAuthenticatedToken`, `RememberMeToken`, `SwitchUserToken`, `UsernamePasswordToken`,
159159
`DefaultAuthenticationSuccessHandler`.
160160
* Removed the `AbstractRememberMeServices::$providerKey` property in favor of `AbstractRememberMeServices::$firewallName`
161+
* Authentication tokens do not implement the deprecated `Serializable`
162+
interface anymore. The consequence is that tokens that were serialized (e.g.
163+
into the session) with PHP 7.3 or below cannot be unserialized anymore. It is
164+
recommended to roll out a Symfony 5 application with PHP 7.4 or later first
165+
before upgrading it to Symfony 6.
161166

162167
TwigBundle
163168
----------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.