History log of /php-src/UPGRADING (Results 226 – 250 of 1776)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# d6d33700 08-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement GH-13609: Dump wrapped object in WeakReference class (#13621)

I chose "object" as that's also the argument name in WeakReference::create.

# 3ddd3413 07-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS and UPGRADING

Closes GH-13466.

# dbd976a6 06-Mar-2024 Marc Bennewitz

Singular DateTime::[get|set]Microsecond & no tentative return type (#13486)

* Singular DateTime::[get|set]Microsecond & no tentative return type

* Added missing getMicrosecond to Da

Singular DateTime::[get|set]Microsecond & no tentative return type (#13486)

* Singular DateTime::[get|set]Microsecond & no tentative return type

* Added missing getMicrosecond to DateTimeInterface

show more ...

# 74c887b0 05-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS and UPGRADING

# 7b234706 05-Mar-2024 Ayesh Karunaratne

ext/pcre: Add "/r" modifier (#13583)

Adds support for "Caseless restricted" matching added in PCRE2lib
10.43 with the "r" modifier.

This is `PCRE2_EXTRA_CASELESS_RESTRICT` in PC

ext/pcre: Add "/r" modifier (#13583)

Adds support for "Caseless restricted" matching added in PCRE2lib
10.43 with the "r" modifier.

This is `PCRE2_EXTRA_CASELESS_RESTRICT` in PCRE2. This is an "extra"
option, which means it is not possible to pass this option as
pcre2_compile() function parameter.

This option is passed in a pcre2_set_compile_extra_options() call.
Previously, these extra options are set at php_pcre_init_pcre2(),
but after this change, it is possible to customize the options
by adding bits to `eoptions` in pcre_get_compiled_regex_cache_ex().

The tests for this change are ported from upstream test suite[^1].

[^1]: https://github.com/PCRE2Project/pcre2/commit/c13d54f6581#diff-8c8312e4eb2d35bb16485404b7b5cc0eaef0bca1aa95ff5febf6a1890048305c

show more ...

# 353d4ce0 05-Mar-2024 Ayesh Karunaratne

ext/xmlreader: Add class constant types to stub (#13596)

Declares class constant types for the `XMLReader` class.

# 7f018719 02-Mar-2024 David Carlier

ext/gettext: bind_textdomain_codeset should not accept empty domains.

the man page specifies that for bind_textdomain_codeset, like
bindtextdomain, the domain should not be an empty stri

ext/gettext: bind_textdomain_codeset should not accept empty domains.

the man page specifies that for bind_textdomain_codeset, like
bindtextdomain, the domain should not be an empty string.

close GH-13571

show more ...

# 1b380d6a 02-Mar-2024 Ayesh Karunaratne

UPGRADING: Minor adjustments moving items to appropriate sections (#13576)

- Moved curl_version()['feature_list'] to New Features
- Moved NumberFormatter::ROUND_HALFODD to New Features

UPGRADING: Minor adjustments moving items to appropriate sections (#13576)

- Moved curl_version()['feature_list'] to New Features
- Moved NumberFormatter::ROUND_HALFODD to New Features
- Removed contributor names (this pattern only used in the `NEWS` file)
- Removed "Fixed setAttribute and getAttribute" as it is covered in another change record

show more ...

# 47a199c8 29-Feb-2024 Gina Peter Banyard

Add http_(get|clear)_last_reponse_headers() functions (#12500)

This is to provide an alternative to the $http_response_header magic variable

RFC: https://wiki.php.net/rfc/http-last-

Add http_(get|clear)_last_reponse_headers() functions (#12500)

This is to provide an alternative to the $http_response_header magic variable

RFC: https://wiki.php.net/rfc/http-last-response-headers

show more ...

# dbf0b6aa 26-Feb-2024 Gina Peter Banyard

ext/intl: Refactor ResourceBundle get and dimension access (#13503)

# 035a5fdf 25-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Add LIBXML_RECOVER (#13504)

Setting the recovery option by using a hardcoded value (1) worked
already for SimpleXML. For DOM, a small change is necessary because
otherwise the recove

Add LIBXML_RECOVER (#13504)

Setting the recovery option by using a hardcoded value (1) worked
already for SimpleXML. For DOM, a small change is necessary because
otherwise the recover field overwrites the recovery option.

From a quick search on GitHub [1] it looks like this won't clash with
existing PHP code as no one seems to define (or use) a constant with
such a name.

[1] https://github.com/search?q=LIBXML_RECOVER+language%3APHP&type=code&l=PHP

show more ...

# 7266e4fc 25-Feb-2024 Máté Kocsis

Add forgotten UPGRADING note for doc comment handling related changes

[skip-ci]

# 85217a04 22-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Mark DOMXPath as uncloneable

This never resulted in a working XPath object anyway, as trying to query
or evaluate anything resulted in an "Invalid XPath context" error.
Supporting th

Mark DOMXPath as uncloneable

This never resulted in a working XPath object anyway, as trying to query
or evaluate anything resulted in an "Invalid XPath context" error.
Supporting this is more trouble than it's worth, so just block the clone
operation.

show more ...

# 205c8b64 22-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS and UPGRADING for DOMXPath::quote()

See commit 2f9320c00f.

# d2995189 22-Feb-2024 Saki Takamachi

NEWS / UPGRADING

# 9a3a4b5b 21-Feb-2024 David CARLIER

ext/intl: IntlDateFormatter class removing redundant error message info. (#13465)

Also correcting new IntlChar class constants typos.

# 8bc34dd1 21-Feb-2024 David Carlier

[ci skip] NEWS/UPGRADING

# ba0f9fb5 21-Feb-2024 Ayesh Karunaratne

ext/curl: Add `feature_info` assoc array to `curl_version()` (#13439)

The `phpinfo()` section of the Curl extension lists individual features
supported by the particular ext-Curl + libcu

ext/curl: Add `feature_info` assoc array to `curl_version()` (#13439)

The `phpinfo()` section of the Curl extension lists individual features
supported by the particular ext-Curl + libcurl build. However, the
`curl_version()` function return values do not indicate the same level of
details.

`curl_version()` has a `protocols` key that returns an array of all protocols
supported by the build. But the `features` key is a bitmask of all the features.
Checking the availability of certain feature requires knowing the corresponding
`CURL_VERSION` constant, and checking the availability of the constant and a
bitmask check for it in the `features` value.

For example, to determine HTTP2 support, it requires evaluating:

```php
defined('CURL_VERSION_HTTP2') && (curl_version()['features'] & CURL_VERSION_HTTP2 === CURL_VERSION_HTTP2)
```

To make feature availability checks more intuitive, this adds a new
`feature_list` key to `curl_version()` output array.

With it, checking for individual features availability is easier, and does
not require inspecting the availability of the `CURL_VERSION` constant and
the `features` key.

```php
!empty(curl_version()['feature_list']['HTTP2']);
```

show more ...

# ae5beff6 17-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Upgrade bundled pcre2lib to 10.43 (#13413)

# 492b9e09 16-Feb-2024 Jorg Adam Sowa

Add entry on return type of long2ip to NEWS (#13408)

[skip ci] add entry on return type of long2ip to NEWS and to UPGRADING.

# f6016c70 15-Feb-2024 Steve Wall

ext/ldap: Add LDAP_OPT_X_TLS_PROTOCOL_MAX and LDAP_OPT_X_TLS_PROTOCOL_TLS1_3

close GH-13405.

# 3ce7bf2a 07-Jan-2024 haszi

Clear handler status flag in handler init

Closes GH-13087

# cd66fcc6 17-Jun-2023 Ilija Tovilo

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoid

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoids manual parsing of RFC1867 requests.

Fixes #55815
Closes GH-11472

show more ...

# 0016b308 05-Feb-2024 Marc Bennewitz

Added DateTime[Immutable]::[get|set]Microseconds (#12557)

* Added DateTime[Immutable]::[get|set]Microseconds

# 05874d4c 04-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] Make UPGRADING bullet points consistent

12345678910>>...72