Skip to content

Commit 88f64d4

Browse files
committed
[ci skip] Add password registry RFC to changelog
1 parent eb9ad31 commit 88f64d4

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

NEWS

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ PHP NEWS
3333
. Added FFI extension. (Dmitry)
3434

3535
- Filter:
36-
. The filter extension no longer have the --with-pcre-dir on Unix builds,
37-
allowing the extension to be once more compiled as shared using
36+
. The filter extension no longer have the --with-pcre-dir on Unix builds,
37+
allowing the extension to be once more compiled as shared using
3838
./configure. (Kalle)
3939

4040
- FPM:
@@ -108,7 +108,7 @@ PHP NEWS
108108
. Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints).
109109
(krakjoe)
110110
. Fixed bug #77805 (phpdbg build fails when readline is shared). (krakjoe)
111-
111+
112112
- Sockets:
113113
. Fixed bug #67619 (Validate length on socket_write). (thiagooak)
114114

@@ -132,6 +132,8 @@ PHP NEWS
132132
. Implemented FR #38301 (field enclosure behavior in fputcsv). (cmb)
133133
. Implemented FR #51496 (fgetcsv should take empty string as an escape). (cmb)
134134
. Implemented FR #77377 (No way to handle CTRL+C in Windows). (Anatol)
135+
. Implemented password hashing registry RFC:
136+
https://wiki.php.net/rfc/password_registry. (Sara)
135137

136138
- Reflection:
137139
. Fixed bug #76737 (Unserialized reflection objects are broken, they

UPGRADING

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,17 @@ PHP 7.4 UPGRADE NOTES
102102
- Standard:
103103
. The "o" serialization format has been removed. As it is never produced by
104104
PHP, this may only break unserialization of manually crafted strings.
105+
. Password hashing algorithm identifiers are now nullable strings rather
106+
than integers.
107+
108+
* PASSWORD_DEFAULT was int 1; now is null
109+
* PASSWORD_BCRYPT was int 1; now is string '2y'
110+
* PASSWORD_ARGON2I was int 2; now is string 'argon2i'
111+
* PASSWORD_ARGON2ID was int 3; now is string 'argon2id'
112+
113+
Applications correctly using the constants PASSWORD_DEFAULT,
114+
PASSWORD_BCRYPT, PASSWORD_ARGON2I, and PASSWORD_ARGON2ID will continue to
115+
function correctly.
105116

106117
========================================
107118
2. New Features
@@ -243,6 +254,9 @@ PHP 7.4 UPGRADE NOTES
243254
identical to using the default).
244255
. proc_open() on Windows can be passed a "create_process_group" option. It
245256
is required, if the child process is supposed to handle CTRL events.
257+
. password_hash() now accepts nullable string and int as $algo argument.
258+
. password_needs_rehash() now accepts nullable string and int as $algo
259+
argument.
246260

247261
========================================
248262
6. New Functions
@@ -271,6 +285,9 @@ PHP 7.4 UPGRADE NOTES
271285
function is expected have a signature "function handler(int $event)".
272286
. bool sapi_windows_generate_ctrl_event(int type, int pid) - send a CTRL event
273287
to another process.
288+
. array password_algos() - return a complete list of all registered password
289+
hashing algorithms. For more details see the RFC:
290+
https://wiki.php.net/rfc/password_registry
274291

275292
========================================
276293
7. New Classes and Interfaces
@@ -343,9 +360,9 @@ PHP 7.4 UPGRADE NOTES
343360
. The bundled libsqlite has been removed. To build the SQLite3 extension
344361
a system libsqlite3 ≥ 3.7.4 is now required. To build the PDO_SQLite
345362
extension a system libsqlite3 ≥ 3.5.0 is now required.
346-
. (Un)serialization of SQLite3, SQLite3Stmt and SQLite3Result is now explicitly
347-
forbidden. Formerly, serialization of instances of these classes was
348-
possible, but unserialization yielded unusable objects.
363+
. (Un)serialization of SQLite3, SQLite3Stmt and SQLite3Result is now
364+
explicitly forbidden. Formerly, serialization of instances of these classes
365+
was possible, but unserialization yielded unusable objects.
349366
. The @param notation can now also be used to denote SQL query parameters.
350367

351368
- Zip:

0 commit comments

Comments
 (0)