History log of /PHP-8.2/UPGRADING (Results 326 – 350 of 1683)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 902d6439 11-Oct-2021 Nikita Popov

Deprecate implicit dynamic properties

Writing to a proprety that hasn't been declared is deprecated,
unless the class uses the #[AllowDynamicProperties] attribute or
defines __get()/

Deprecate implicit dynamic properties

Writing to a proprety that hasn't been declared is deprecated,
unless the class uses the #[AllowDynamicProperties] attribute or
defines __get()/__set().

RFC: https://wiki.php.net/rfc/deprecate_dynamic_properties

show more ...


# 9cd7f41f 12-Nov-2021 Christopher Jones

Add oci8.prefetch_lob_size


# 7db32add 06-Nov-2021 George Peter Banyard

Refactor dba_(p)open() to be more sensible (#7610)

Actually use ZPP
Throw ValueErrors for invalid values
Use dedicated struc members for file permission and map size instead of a zva

Refactor dba_(p)open() to be more sensible (#7610)

Actually use ZPP
Throw ValueErrors for invalid values
Use dedicated struc members for file permission and map size instead of a zval stack

show more ...


# 2b32cafd 25-Oct-2021 DmitryMaksimov

Use neutral language instead of default on Windows

Most notably, this affects some Windows specific error messages, which
are no longer in the default language of the system, to better m

Use neutral language instead of default on Windows

Most notably, this affects some Windows specific error messages, which
are no longer in the default language of the system, to better match
error messages provided by PHP which are not localized anyway.

This also affects the com_dotnet extension, where it could fix some
DCOM related issues. Furthermore, the constant `LOCALE_NEUTRAL` is
added, which can be used for `variant_cmp()`.

Closes GH-7613.

show more ...


# e089a50f 15-Oct-2021 Felipe Pena

Add support for PCRE n modifier

Add support for /n (NO_AUTO_CAPTURE) modifier, which makes simple
`(xyz)` groups non-capturing.

Closes GH-7583.


# 9308974f 18-Oct-2021 Alex Dowad

Deprecate use of mbstring to convert text to Base64/QPrint/HTML entities/etc

The purpose of mbstring is for working with Unicode and legacy text
encodings; but Base64, QPrint, etc. are n

Deprecate use of mbstring to convert text to Base64/QPrint/HTML entities/etc

The purpose of mbstring is for working with Unicode and legacy text
encodings; but Base64, QPrint, etc. are not text encodings and don't
really belong in mbstring. PHP already contains separate implementations
of Base64, QPrint, and HTML entities. It will be better to eventually
remove these non-encodings from mbstring.

Regarding HTML entities... there is a bit more to say. mbstring's
implementation of HTML entities is different from the other built-in
implementation (htmlspecialchars and htmlentities). Those functions
convert <, >, and & to HTML entities, but mbstring does not.

It appears that the original author of mbstring intended for something
to be done with <, >, and &. He used a table to identify which
characters should be converted to HTML entities, and </>/& all have a
special value in that table. However, nothing ever checks for that
special value, so the characters are passed through unconverted.

This seems like a very useless implementation of HTML entities. The most
important characters which need to be expressed as entities in HTML
documents are those three!

show more ...


# 5e7e6545 27-Oct-2021 Sergey Panteleev

Fix a method name `ZipArchive::clearError` typo

Closes GH-7616.


# e56c5060 23-Oct-2021 George Peter Banyard

Refactor DBA

Use proper ZPP union types
Use standard function signature semantics for dba_fetch()
Re-ordering of checks


# ee510eed 01-Sep-2021 Nikita Popov

Deprecate partially supported callables

This deprecates all callables that are accepted by
call_user_func($callable) but not by $callable(). In particular:

"self::method"

Deprecate partially supported callables

This deprecates all callables that are accepted by
call_user_func($callable) but not by $callable(). In particular:

"self::method"
"parent::method"
"static::method"
["self", "method"]
["parent", "method"]
["static", "method"]
["Foo", "Bar::method"]
[new Foo, "Bar::method"]

RFC: https://wiki.php.net/rfc/deprecate_partially_supported_callables

Closes GH-7446.

show more ...


# d23e36da 19-Oct-2021 Ayesh Karunaratne

Add `CURLINFO_EFFECTIVE_METHOD`

Since Curl 7.72.0, it supports a new parameter
called `CURLINFO_EFFECTIVE_METHOD`, which returns the effect method
in HTTP(s) requests. This is simila

Add `CURLINFO_EFFECTIVE_METHOD`

Since Curl 7.72.0, it supports a new parameter
called `CURLINFO_EFFECTIVE_METHOD`, which returns the effect method
in HTTP(s) requests. This is similar to `CURLINFO_EFFECTIVE_URL`.

- https://curl.se/libcurl/c/CURLINFO_EFFECTIVE_METHOD.html

This adds support for CURLINFO_EFFECTIVE_URL if ext/curl is built
with libcurl >= 7.72.0 (0x074800).

Closes GH-7595.

show more ...


# e9cf14e8 19-Oct-2021 Remi Collet

add note in UPGRADING


# e9b96ae5 05-Oct-2021 Remi Collet

Add ZipArchive::clearError, getStreamIndex and getStreamName methods

public function clearError(): void {}
public function getStreamIndex(int $index, int $flags = 0) {}
p

Add ZipArchive::clearError, getStreamIndex and getStreamName methods

public function clearError(): void {}
public function getStreamIndex(int $index, int $flags = 0) {}
public function getStreamName(string $name, int $flags = 0) {}

ZipArchive::getStream is kept for BC

See https://github.com/pierrejoye/php_zip/issues/20

show more ...


# 9d8f97d5 29-Sep-2021 Nikita Popov

Revert "Fix DATE_FORMAT_COOKIE definition"

This reverts commit ac34648cf6bf5493a8cd1a4c9a82406599f3f25c.

As pointed out on GH-6783, the new format doesn't match any of
the speci

Revert "Fix DATE_FORMAT_COOKIE definition"

This reverts commit ac34648cf6bf5493a8cd1a4c9a82406599f3f25c.

As pointed out on GH-6783, the new format doesn't match any of
the specified formats. Previously the constant generated

Thursday, 14-Jul-2005 22:30:41 BST

which is obsolete. Now it generates

Thu, 14-Jul-2005 22:30:41 BST

which is not specified at all. The correct version would be:

Thu, 14 Jul 2005 22:30:41 BST

Reverting the change for now.

show more ...


# ac34648c 17-Mar-2021 Mahmood Dhia

Fix DATE_FORMAT_COOKIE definition

In all of http://curl.haxx.se/rfc/cookie_spec.html,
https://docs.microsoft.com/de-de/windows/win32/wininet/http-cookies
and https://tools.ietf.org/h

Fix DATE_FORMAT_COOKIE definition

In all of http://curl.haxx.se/rfc/cookie_spec.html,
https://docs.microsoft.com/de-de/windows/win32/wininet/http-cookies
and https://tools.ietf.org/html/rfc7234#section-5.3 the cookie
datetime is specified as Mon, DD-Mon-YYYY HH:MM:SS GMT. However,
the current definition returns Monday, DD-Mon-YYY HH:MM:SS GMT.
Therefore, the "l" in "l, d-M-Y H:i:s T" must be changed to "D".

Closes GH-6783.

show more ...


# fe36b81d 19-Sep-2021 Colin O'Dell

Update Unicode tables to 14.0.0

Closes GH-7502.


# d4ea11d0 12-Sep-2021 Kamil Tekiela

typo


# a6d50d21 03-Sep-2021 Derick Rethans

Fixed typo


# 1c33ddb5 31-Aug-2021 Patrick Allaert

Prepare for PHP 8.2


# a968055b 31-Aug-2021 Nikita Popov

Add UPGRADING for ini parser changes

Missed the "git add" once again...

[ci skip]


# 7b34db06 10-Aug-2021 Nikita Popov

Switch default PKCS7/CMS cipher to AES-128-CBC

Switch default cipher for openssl_pkcs7_encrypt() and
openssl_cms_encrypt() from RC2-40 to AES-128-CBC.

The RC2-40 cipher is consi

Switch default PKCS7/CMS cipher to AES-128-CBC

Switch default cipher for openssl_pkcs7_encrypt() and
openssl_cms_encrypt() from RC2-40 to AES-128-CBC.

The RC2-40 cipher is considered insecure and is not loaded by
default in OpenSSL 3, which means that these functions will
always fail with default arguments.

As the used algorithm is embedded in the result (which makes this
different from the openssl_encrypt() case) changing the default
algorithm should be safe.

Closes GH-7357.

show more ...


# eb6c9eb9 12-Aug-2021 Ben Morss

Lossless conversion for webp

Propagating lossless conversion from libgd to our bundled gd.
Changing "quantization" to "quality" as in libgd.
Adding test.

IMG_WEBP_LOSSLESS i

Lossless conversion for webp

Propagating lossless conversion from libgd to our bundled gd.
Changing "quantization" to "quality" as in libgd.
Adding test.

IMG_WEBP_LOSSLESS is only defined, if lossless WebP encoding is
supported by the libgd used.

Closes GH-7348.

show more ...


# 1100a079 11-Aug-2021 Remi Collet

NEWS


# 5d57d907 11-Aug-2021 Remi Collet

NEWS


# f2d3e759 06-Aug-2021 Nikita Popov

Do not special case export of EC keys

All other private keys are exported in PKCS#8 format, while EC
keys use traditional format. Switch them to use PKCS#8 format as
well.

A

Do not special case export of EC keys

All other private keys are exported in PKCS#8 format, while EC
keys use traditional format. Switch them to use PKCS#8 format as
well.

As the OpenSSL docs say:

> PEM_write_bio_PrivateKey_traditional() writes out a private key
> in the "traditional" format with a simple private key marker and
> should only be used for compatibility with legacy programs.

show more ...


# ff8e04ac 25-Jul-2021 Christoph M. Becker

[ci skip] UPGRADING: oci8.old_oci_close_semantics has been deprecated


1...<<11121314151617181920>>...68