You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-5.3.md
+11
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,19 @@ PropertyInfo
69
69
Security
70
70
--------
71
71
72
+
* Deprecate all classes in the `Core\Encoder\` sub-namespace, use the `PasswordHasher` component instead
72
73
* Deprecated voters that do not return a valid decision when calling the `vote` method
73
74
75
+
SecurityBundle
76
+
--------------
77
+
78
+
* Deprecate `UserPasswordEncoderCommand` class and the corresponding `user:encode-password` command,
79
+
use `UserPasswordHashCommand` and `user:hash-password` instead
80
+
* Deprecate the `security.encoder_factory.generic` service, the `security.encoder_factory` and `Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface` aliases,
81
+
use `security.password_hasher_factory` and `Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface` instead
82
+
* Deprecate the `security.user_password_encoder.generic` service, the `security.password_encoder` and the `Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface` aliases,
83
+
use `security.user_password_hasher`, `security.password_hasher` and `Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface` instead
Copy file name to clipboardExpand all lines: UPGRADE-6.0.md
+11
Original file line number
Diff line number
Diff line change
@@ -166,6 +166,7 @@ Routing
166
166
Security
167
167
--------
168
168
169
+
* Drop all classes in the `Core\Encoder\` sub-namespace, use the `PasswordHasher` component instead
169
170
* Drop support for `SessionInterface $session` as constructor argument of `SessionTokenStorage`, inject a `\Symfony\Component\HttpFoundation\RequestStack $requestStack` instead
170
171
* Drop support for `session` provided by the ServiceLocator injected in `UsageTrackingTokenStorage`, provide a `request_stack` service instead
171
172
* Make `SessionTokenStorage` throw a `SessionNotFoundException` when called outside a request context
@@ -179,6 +180,16 @@ Security
179
180
* Removed the `AbstractRememberMeServices::$providerKey` property in favor of `AbstractRememberMeServices::$firewallName`
180
181
*`AccessDecisionManager` now throw an exception when a voter does not return a valid decision.
181
182
183
+
SecurityBundle
184
+
--------------
185
+
186
+
* Remove the `UserPasswordEncoderCommand` class and the corresponding `user:encode-password` command,
187
+
use `UserPasswordHashCommand` and `user:hash-password` instead
188
+
* Remove the `security.encoder_factory.generic` service, the `security.encoder_factory` and `Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface` aliases,
189
+
use `security.password_hasher_factory` and `Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface` instead
190
+
* Remove the `security.user_password_encoder.generic` service, the `security.password_encoder` and the `Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface` aliases,
191
+
use `security.user_password_hasher`, `security.password_hasher` and `Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface` instead
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/CHANGELOG.md
+10
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,16 @@
1
1
CHANGELOG
2
2
=========
3
3
4
+
5.3
5
+
---
6
+
7
+
* Deprecate `UserPasswordEncoderCommand` class and the corresponding `user:encode-password` command,
8
+
use `UserPasswordHashCommand` and `user:hash-password` instead
9
+
* Deprecate the `security.encoder_factory.generic` service, the `security.encoder_factory` and `Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface` aliases,
10
+
use `security.password_hasher_factory` and `Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface` instead
11
+
* Deprecate the `security.user_password_encoder.generic` service, the `security.password_encoder` and the `Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface` aliases,
12
+
use `security.user_password_hasher`, `security.password_hasher` and `Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface` instead
$errorIo->caution('The use of the "security:encode-password" command is deprecated since version 5.3 and will be removed in 6.0. Use "security:hash-password" instead.');
->scalarNode('hash_algorithm')->info('Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms.')->defaultValue('sha512')->end()
0 commit comments