History log of /PHP-8.3/UPGRADING (Results 701 – 725 of 1602)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c68dc6b5 29-Apr-2019 Christoph M. Becker

Extend CURLFile to support streams

Due to former restrictions of the libcurl API, curl multipart/formdata
file uploads supported only proper files. However, as of curl 7.56.0
the ne

Extend CURLFile to support streams

Due to former restrictions of the libcurl API, curl multipart/formdata
file uploads supported only proper files. However, as of curl 7.56.0
the new `curl_mime_*()` API is available (and already supported by
PHP[1]), which allows us to support arbitrary *seekable* streams, which
is generally desirable, and particularly resolves issues with the
transparent Unicode and long part support on Windows (see bug #77711).

Note that older curl versions are still supported, but CURLFile is
still restricted to proper files in this case.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=a83b68ba56714bfa06737a61af795460caa4a105>

show more ...


# 3cfbbf29 18-Apr-2019 Nikita Popov

Make DateInterval objects uncomparable

Arbitrary DateInterval objects don't have well-defined comparison
semantics. Throw a warning and treat the objects as uncomparable.

Suppor

Make DateInterval objects uncomparable

Arbitrary DateInterval objects don't have well-defined comparison
semantics. Throw a warning and treat the objects as uncomparable.

Support for comparing DateInterval objects returned by
DateTime::diff() may be added in the future.

show more ...


# a353d4c2 20-Apr-2019 Peter Kokot

Update changelogs


# 9f0c9b7a 18-Apr-2019 Hugh McMaster

Rename --enable-libxml to --with-libxml to meet naming guidelines


# e2ea0f10 09-Apr-2019 Nikita Popov

Fix bug #77866: Port Serializable SPL classes to use __unserialize()

Payloads created using Serializable are still supported.


# e35a3cb2 16-Sep-2018 Nikita Popov

ext/xml: Use object instead of resource

Use an XmlParser object instead of a resource. This is an internal
representation change, not a conversion to OO APIs. XmlParser objects
canno

ext/xml: Use object instead of resource

Use an XmlParser object instead of a resource. This is an internal
representation change, not a conversion to OO APIs. XmlParser objects
cannot be explicitly constructed, they are created through the usual
xml_parser_* APIs.

This change allows us to provide a proper get_gc() implementation,
thus resolving bugs #72793 and #76874.

xml_parser_free() is a no-op now and need not be called anymore.

show more ...


# 07df6594 29-Mar-2019 Florian Berberich

Added range options to the float validation filter

php_filter_int (called via the constant FILTER_VALIDATE_INT) has the options min_range
and max_range. they allow the user to not only t

Added range options to the float validation filter

php_filter_int (called via the constant FILTER_VALIDATE_INT) has the options min_range
and max_range. they allow the user to not only test if a value is a double but also if
the value is inside a specific range. php_filter_float (called via the constant
FILTER_VALIDATE_FLOAT) didn't provide this yet, making validation of numeric but
not-only-int values more complicated for the user.
this commits implements the options min_range and max_range for the function
php_filter_float to fix this inconsistency.

show more ...


# 3d5b6f23 01-Apr-2019 Stanislav Malyshev

Update NEWS & UPGRADING


# d373c11e 22-Jan-2019 Nikita Popov

Implement new custom object serialization mechanism

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


# 6311581a 19-Mar-2019 Nikita Popov

Fix bug #73948

If PREG_UNMATCHED_AS_NULL is used, make sure that unmatched capturing
groups at the end are also set to null, rather than just those in the
middle.


# 26f98ecd 20-Mar-2019 Kalle Sommer Nielsen

Sync the changes to ext/filter with 7.4, now that it works.

- Removed --with-pcre-dir
- The filter extension can now be built as shared on Unix with ./configure


# 6bbb18a0 20-Mar-2019 Christoph M. Becker

Unbundle ext/wddx

The extension is now available from <https://pecl.php.net/package/wddx>.

Cf. <https://wiki.php.net/rfc/deprecate-and-remove-ext-wddx>.


# 12bcdd68 18-Mar-2019 Nikita Popov

Fix #77094: Add flags support for pcre_replace_callback(_array)


# 2b9acd37 18-Mar-2019 Nikita Popov

Fixed bug #72685

We currently have a large performance problem when implementing lexers
working on UTF-8 strings in PHP. This kind of code tends to perform a
large number of matches

Fixed bug #72685

We currently have a large performance problem when implementing lexers
working on UTF-8 strings in PHP. This kind of code tends to perform a
large number of matches at different offsets on a single string. This
is generally fast. However, if /u mode is used, the full string will
be UTF-8 validated on each match. This results in quadratic runtime.

This patch fixes the issue by adding a IS_STR_VALID_UTF8 flag, which
is set when we have determined that the string is valid UTF8 and
further validation is skipped.

A limitation of this approach is that we can't set the flag for interned
strings. I think this is not a problem for this use-case which will
generally work on dynamic data. If we want to use this flag for other
purposes as well (mbstring?) then it might be worthwhile to UTF-8 validate
strings during interning. But right now this doesn't seem useful.

show more ...


# 37443a63 13-Mar-2019 Claude Pache

test reversed


# b003e0a0 12-Mar-2019 Joe Watkins

weakrefs upgrading note


# c79ce48d 04-Mar-2019 Andrew Brampton

Fix #71890: Add support for crc32c Castagnoli's polynomial.

This variant of crc32 is heavily used by storage systems, such as iSCSI, SCTP,
Btrfs, ext4, and is increasingly being used in

Fix #71890: Add support for crc32c Castagnoli's polynomial.

This variant of crc32 is heavily used by storage systems, such as iSCSI, SCTP,
Btrfs, ext4, and is increasingly being used in API (such as Google Cloud
Storage, and Apache Kafka).

show more ...


# deb44d40 04-Mar-2019 Nikita Popov

Revert "Detect invalid uses of parent:: during compilation"

This reverts commit a9e6667817c38f22f4645ec5b4e5c6b0e4b928fa.

Breakage found in the wild: Mockery uses a parent:: call in

Revert "Detect invalid uses of parent:: during compilation"

This reverts commit a9e6667817c38f22f4645ec5b4e5c6b0e4b928fa.

Breakage found in the wild: Mockery uses a parent:: call in the
implementation regardless of whether the class has a parent or not:
https://github.com/mockery/mockery/blob/4324afeaf9d95b492507e6587abb3f024e2576de/library/Mockery/Mock.php#L600

This change is not worth the compat break in 7.4.

show more ...


# 5e8ed0a0 28-Feb-2019 Kalle Sommer Nielsen

NEWS


# 7be0e06b 28-Feb-2019 Nikita Popov

Remove mysqli embedded server support

This code is not compatible with PHP 7.0. The fact that nobody
complained that the mysqli embedded server functionality doesn't
build anymore se

Remove mysqli embedded server support

This code is not compatible with PHP 7.0. The fact that nobody
complained that the mysqli embedded server functionality doesn't
build anymore seems like a strong signal that we can drop it...

show more ...


# f04cf7a5 19-Feb-2019 Christoph M. Becker

Remove ability to import case-insensitive constants from typelibs

According to commit 23a5be3[1], we remove the ability to import case-
insensitive constants, but do not remove the now s

Remove ability to import case-insensitive constants from typelibs

According to commit 23a5be3[1], we remove the ability to import case-
insensitive constants, but do not remove the now superfluous parameter
and ini setting.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=23a5be3696f4d92e1b18fd59f3ac63c6a15ea12a>

show more ...


# 12ffee57 18-Feb-2019 Tyson Andre

Fixed bug #77631

Do not include unbound anonymous classes in get_declared_classes().

Note that earlier PHP versions would include the anonymous class in
get_declared_classes(),

Fixed bug #77631

Do not include unbound anonymous classes in get_declared_classes().

Note that earlier PHP versions would include the anonymous class in
get_declared_classes(), and return false until the class was bound,
but would not crash.

show more ...


# b537203d 19-Feb-2019 Remi Collet

use pkg-config for libedit


# 40278879 18-Feb-2019 Pedro Magalhães

UPGRADING entry for pcntl_unshare [skip ci]


# fae22461 14-Feb-2019 Christoph M. Becker

Deprecate case-insensitive constants via typelib import

As of PHP 7.3.0, case-insensitive constants are deprecated. We catch
up on this with regard to ext/com_dotnet, which allows to im

Deprecate case-insensitive constants via typelib import

As of PHP 7.3.0, case-insensitive constants are deprecated. We catch
up on this with regard to ext/com_dotnet, which allows to import
constants from typelibs, by triggering a deprecation notice whenever
`com_load_typelib()` is called with `$case_sensitive` being `false`,
and whenever `com.autoregister_casesensitive` is set to `false`,
regardless of whether there are actually constants in the typelib which
would be imported.

show more ...


1...<<21222324252627282930>>...65