Community News:
Latest PECL Releases (11.24.2026)
byChris Cornutt
Nov 24, 2026 @ 08:05:25
Latest PECL Releases:
- redis 6.4.0RC1
--- Sponsors ---
A-VISION Advisering en Begeleiding B.V. - https://github.com/A-VISION-BV
Avtandil Kikabidze - https://github.com/akalongman
Boring Observability - https://github.com/boring-o11y
Geoffrey Hoffman - https://github.com/phpguru
Open LMS - https://github.com/open-lms-open-source
Salvatore Sanfilippo - https://github.com/antirez
Scott Helme - https://github.com/ScottHelme
Ty - https://github.com/karock
--- 6.4.0RC1 ---
https://github.com/phpredis/phpredis/releases/tag/6.4.0RC1
Changes since 6.3.0 add new Redis and Valkey commands, explicit reconnection
APIs, an optional phpser serializer, and persistent connections for ZTS
builds. They also improve protocol validation, cluster reliability, session
handling, and performance.
Fixed:
- Preserve signed numeric field names in
XADD, restoring 6.3.0 behavior
for negative fields and integer boundaries [8cb76f62] (michael-grunder)
- Preserve signed numeric stream names in
XREAD and XREADGROUP,
including prefixes and cluster routing [687c3e0f] (michael-grunder)
- Allow
RedisCluster SUBSCRIBE and PSUBSCRIBE channels and patterns
to span hash slots while preserving prefixes [8d92f078]
(michael-grunder)
- Fix incorrect cluster slot validation in standalone
SSUBSCRIBE
commands [938a2ca2] (michael-grunder)
- Restore 6.3.0
bitop() argument parsing, preserving key conversion and
returning false for too few arguments or a non-string operation
[3b0f0296] (michael-grunder)
- Prevent crashes or incorrect slot errors in
RedisCluster EVAL commands
with invalid key counts, restoring false returns on server rejection
[e5e2684f] (michael-grunder)
- Close connections after incomplete or malformed replies so later commands
cannot consume leftover reply data [40132ea9], [aa2f4889] (SnowySailor)
- Release deferred transaction results after a disconnect and reject
incomplete cluster transaction replies [af777f50] (michael-grunder)
- Preserve the unencoded comparison operand for
SET IFEQ with serializers
and compressors enabled [5cd04301] (michael-grunder)
- Restore SET option value parsing under associative GET keys, preserving
NX, XX, and KEEPTTL flags [355a5c46] (michael-grunder)
- Fix truncated subscriber counts in
PUBSUB NUMSUB and PUBSUB SHARDNUMSUB replies [3ed46779] (michael-grunder)
- Correct the
RedisCluster::msetex return type to allow RedisCluster in
transactions [cceb09d0] (michael-grunder)
- Preserve 6.x string conversion for command arguments, including false
values and PHP floating-point precision
- Preserve literal SORT STORE destinations in 6.x while retaining cluster
slot validation
- Preserve SET conditional flags and comparison options, and restore expiry
validation in SET and MSETEX [ee9779f2]
- Preserve the 6.3.0 RedisCluster return declarations for compatibility with
existing subclasses [1da3b6d8]
- Restore 6.3.0 SCAN cursor compatibility by accepting boolean and
floating-point initializers as a new scan while preserving exact string
cursors above PHP_INT_MAX [59af2e3f] (michael-grunder)
- Keep object serialization and custom restoration hooks compatible with 6.x
while initializing RedisCluster routing safely before its constructor runs
[7aed3011]
- Preserve pipeline reply callbacks when reconnecting [d54431d1] (rechl)
- Fix persistent connection pool liveness checks and reconnect handling
[146ec813] (michael-grunder)
- Re-send
READONLY after reconnecting to a cluster replica [3606328d]
(Etienne Zannelli)
- Clear the cluster slot cache when nodes are unreachable [52e90650] (Victor
Kislov)
- Handle
RedisCluster directed commands on uncovered slots [1351c824]
(ebubekiryigit)
- Fix
RedisCluster directed commands in MULTI mode and reject UNWATCH
during a transaction [e13d5d0c], [a1d93cab] (michael-grunder)
- Fix cluster transaction result bookkeeping across slots belonging to the
same master [a283471e] (michael-grunder)
- Fix use-after-free defects and result ownership in cluster multi-key
commands [2ef32c52], [ff9dede9] (michael-grunder)
- Fix use-after-free and double-free paths when parsing malformed cluster
replies [b29f5c85], [a14fdeca] (michael-grunder)
- Validate pub/sub reply element types before using them as strings
[cd04e21d], [e2a4f90d] (Raphael Paez) (michael-grunder)
- Validate scan cursor types, configured node lists, and RedisArray reply
values [57ddfefe] (michael-grunder)
- Harden RESP length parsing, detect EOF correctly, and guard against bulk
length overflow [5c6e2d2b], [c67d3e49], [7b2fdc6d], [1f02e67d] (Ilia
Alshanetsky) (michael-grunder)
- Reject malformed protocol replies and stop reading after failures instead
of looping indefinitely [ea3ea564], [2298a200], [80093d53], [4bdcf155],
[a6b7befd], [753a2d6d], [e5d2f8d6] (michael-grunder)
- Validate CRLF terminators and handle short reads in standalone and cluster
replies [a0ded702], [6e136252], [00c0f963] (EJ-Research) (michael-grunder)
- Limit nested reply depth, cap array preallocation from server-supplied
counts, and fix malformed-reply leaks [690a1098], [01791f23], [34c3fd9f]
(michael-grunder)
- Harden
CLUSTER SLOTS and redirection parsing, including oversized
hostnames [fbf5affa], [bb9e8769], [8b1280f3] (Ilia Alshanetsky)
(michael-grunder)
- Validate array replies for cluster scans and
XCLAIM [f98c0837],
[c97d754f] (michael-grunder)
- Discard connections after failed or incomplete writes [48a46c71]
(michael-grunder)
- Fix
GEOSEARCHSTORE reply handling [4e093bb0] (michael-grunder)
- Preserve integer geohashes in
GEOSEARCH metadata and validate the reply
structure [a283471e] (michael-grunder)
- Handle inline multibulk values and propagate raw reply read failures
correctly [a283471e] (michael-grunder)
- Route
FLUSHDB and FLUSHALL to cluster primaries even when replica
reads are enabled [b30ced74] (michael-grunder)
- Fix crashes when setting
RedisCluster TCP keepalive and handle missing
sockets in setOption [997d5645], [cb4acc7d] (michael-grunder)
- Use the correct option size when setting
SO_KEEPALIVE [09d3dbf1]
(pkramme)
- Allow
getLastError() and clearLastError() after a failed connection
without throwing [fc948db8] (Nicolas Grekas)
- Accept
null for $seeds in RedisCluster::__construct [409508af]
(derrickschoen)
- Preserve numeric-string hash field names and use the correct format for
zend_long values [7c1c1259], [fe67b8cb], [b8b29687] (Pavlo Yatsukhnenko)
(arshidkv12)
- Handle deserialized non-string members when pairing sorted-set values and
scores [cab05051] (michael-grunder)
- Preserve
INFO strings that would overflow when parsed as exponent-form
numbers [e9e338b5] (Pavlo Yatsukhnenko)
- Handle PHP serialization failures for anonymous classes [b83af641]
(arshidkv12)
- Validate LZ4 decompressed lengths and NUL-terminate decompression buffers
for PHP unserializers [2bf673c6], [cf95cd0a] (michael-grunder)
- Reject invalid vector attributes in
VSETATTR [234d1e7c]
(michael-grunder)
- Prevent backoff option overflow and handle empty keys when prefixing
[a2936256] (michael-grunder)
- Prevent crashes by disabling cloning of
Redis, RedisArray, and
RedisCluster objects [6e214c16] (michael-grunder)
- Avoid persistent connection ID collisions and fix a connection pool memory
leak [730dec06], [d90cfdb6] (michael-grunder)
- Prevent undefined behavior in weighted session server selection and
overflow in cluster session key lengths [025b0e97], [ae74b64b]
(michael-grunder)
- Report missing session servers and improve session compression errors
[bf2047e0], [453c4788] (michael-grunder)
- Fix PHP 8.6 compatibility for session handlers, INI APIs, and
bin2hex
[b8b765e6], [9a170831], [78c1c690], [e3273a90], [dd15a7dd], [f5460cc2]
(Rasmus Lerdorf) (michael-grunder) (Andy Postnikov) (Remi Collet)
- Fix compiler attribute detection [b192b0e4] (michael-grunder)
- Correct
XDELEX return types in Redis, RedisCluster, and RedisArray stubs
[9f4302c0], [8dcaedae] (Pavlo Yatsukhnenko) (michael-grunder)
Added:
- Implement
BLESS key eviction protection commands, including a lazy
RedisBlessScanIterator for BLESS SCAN [4751fdf8] (michael-grunder)
- Implement
INCREX for Redis and RedisCluster [90fabdf9], [7c186d94]
(Simon Hammes) (michael-grunder)
- Implement
BITRANGEINTARRAY [9222d5cc] (michael-grunder)
- Add
reconnect() to Redis and RedisCluster [a72ec1ab]
(michael-grunder)
- Add optional
Redis::SERIALIZER_PHPSER support, including signing with
phpser.key [b3e890b7] (Ilia Alshanetsky)
- Support
AGGREGATE COUNT in ZUNION[STORE] and ZINTER[STORE]
[810984b5] (michael-grunder)
- Implement
HIMPORT [55f28493] (michael-grunder)
- Implement
LMOVEM and BLMOVEM [7419002a] (michael-grunder)
- Implement
SUNIONCARD and SDIFFCARD [533de1fe], [e2141f88]
(michael-grunder)
- Implement
GCRA with the TOKENS option [10b77a42], [5b197316]
(michael-grunder)
- Implement
MSETEX for Redis and RedisCluster [86eabb86], [41922b67]
(michael-grunder)
- Implement
XDELEX and XACKDEL for Redis, RedisCluster, and
RedisArray [635d87d5], [23cc7859], [8f1c07ff] (michael-grunder)
- Implement
DELEX [00c62de2], [93cb9211] (michael-grunder)
- Implement
DIGEST and the local _digest() helper, requiring PHP 8.1 or
newer for local hashing [e2dd13ce], [107cc7aa] (michael-grunder)
- Implement
WAIT for RedisCluster and share command handling with
WAITAOF [4de4f727] (michael-grunder)
- Add
redis.session.lock_release_cmd to select Lua, DELEX, or DELIFEQ
for session lock release [e39d9b74] (michael-grunder)
Changed:
- Enable persistent connections in ZTS builds, with connections reused per
thread [b37b2316] (Kevin Dunglas)
- Mark connection options and context arguments as
#[SensitiveParameter]
[671e726e] (Nicolas Grekas)
- Use cryptographically random session lock secrets [b112875b] (Ilia
Alshanetsky)
- Rework TLS context ownership and allocation for connections and cluster
nodes [b97951cd] (michael-grunder)
Documentation:
- Add RedisArray method annotations and correct PHPDoc parameter, return,
nullable, and variadic types [8597d3d7], [5afa8eb7], [9c9d0286],
[b742bb8b], [6aea98f6], [26a73f46], [481f12f8], [8894de5a] (Michael
Telgmann) (michael-grunder)
- Document TLS options and clarify that
connect() throws on failure
[c28430e5], [6efd549a] (michael-grunder)
- Document session
read_timeout and the default persistent setting
[0340599b], [c99c8634] (Sowmya Mallur) (brlin-tw)
- Explain transactions inside pipelines and their reply formats [8ef2ee92]
(g)
- Document
WAIT and WAITAOF [cd4cf653] (michael-grunder)
- Document
UNSUBSCRIBE and PUNSUBSCRIBE [6b481b6f] (michael-grunder)
- Document class constants, backoff algorithms, and cluster failover
strategies [49919b0e], [26cf6d94], [8ef349a2], [0981c2b7]
(michael-grunder)
- Expand helper method documentation and examples, and correct stub wording
and types [d6437f5e], [abce1655], [c17f475c], [399346e5], [f23da62a],
[806b7b3f], [1f3fb179] (michael-grunder)
- Link API methods to Redis and Valkey command references [a46700cf],
[76286d88] (michael-grunder)
- Add syntax highlighting to generated API documentation and build it from
develop [10c0bf0f], [1297c48c], [e460a859], [4cf670fe], [ae69e47a],
[d45c4d29], [9edc2425], [38e56d57], [5fe08621], [d5b1576e]
(michael-grunder)
- Refresh generated API documentation, including new commands and iterator
documentation [ecdc290b], [9e9ccbd4], [d4600a28], [df243455], [f5ed1704],
[e6d0d119], [4e79159e], [39472124], [362ee55c] (michael-grunder)
- Mention Dragonfly support in the README [2b71a968] (michael-grunder)
Tests/CI:
- Add PHP 8.6 to Linux, macOS, and Windows CI builds, using pinned
igbinary and msgpack commits where needed [06e02248], [b5eb0dde]
(michael-grunder)
- Add an allowed-to-fail PHP master build and extension loading check to
the release branch [de491b3e] (michael-grunder)
- Allow multiple test filters and exclusions, and print commands for
rerunning tests [07f620e7], [a2b98330], [2343369b] (michael-grunder)
- Improve test diagnostics, fail-fast assertions, and compatibility with
subclasses [4baad44b], [4a02f3dd], [2a0569ec], [b0d534e1], [43d72dad],
[c92c0422], [506715fe], [e037b7ca], [10ae0080] (michael-grunder)
- Reduce timing-test delays and make expiration assertions less sensitive to
scheduling [09d496b2], [53ba9b4b], [c7227339], [e5f0df63], [777f7377],
[7ae4014c] (michael-grunder)
- Fix session and replication test races, and use explicit exit codes for
session helpers [bccd60d4], [531b17e5], [3c65094e], [4bccf599]
(michael-grunder)
- Fix flaky
EXISTS coverage with deterministic keys [82bf96c3] (KentarouTakeda)
- Add numeric-string hash field regression coverage across execution modes
[6f42a349], [0ef13108] (michael-grunder) (tillkruss)
- Add
MSETEX tests and fix expiry assertions [bd4989e0], [a033e40b],
[074b7c7f] (michael-grunder)
- Add
XDELEX tests [8b4cfb72] (michael-grunder)
- Fix
_digest() tests on PHP versions before 8.1 and avoid deprecated
is_long() on PHP 8.6 [0debad4c], [57b584f6] (michael-grunder)
- Account for duplicate
ZSCAN results in scan tests [33ee649c]
(michael-grunder)
- Skip unsupported
DELEX options when testing Valkey [88050422] (Remi
Collet)
- Add PHP 8.5 to macOS and Windows CI, and fix the Homebrew configuration
path [ac54591d], [a6313d1b] (thecaliskan)
- Migrate Windows CI to
php/php-windows-builder, use commit SHAs, and make
binaries discoverable by PIE [8f8272db], [f14ce600], [de2e1b39] (Pavlo
Yatsukhnenko) (michael-grunder)
- Refactor CI jobs, install dependencies with PIE, and bound server startup
waits [60eb01c4], [a01dec12], [e5c0ef7c], [7119dce1] (michael-grunder)
- Replace KeyDB coverage with Dragonfly and test Valkey and Redis unstable
builds [8b222585], [a283471e], [b7c382c8], [959dee1c] (michael-grunder)
- Require Valgrind runs to pass and fix a flaky Sentinel test [a00d952d],
[060a2c5e] (michael-grunder)
Internal/Performance:
- Introduce
RedisCmd command construction and migrate standalone, cluster,
and session command builders [2c5ef192], [4f3090f0], [875c088b],
[939c8fed], [e81506bd], [b12a64fe] (michael-grunder)
- Switch to the Fast Parameter Parsing API [c2d2254e] (Pavlo Yatsukhnenko)
- Read multibulk strings directly into
zend_string buffers and pre-size
reply arrays [0c1b8b22], [da514c71], [798aa657] (Ilia Alshanetsky)
- Remove a redundant liveness probe when reading bulk replies [640ed13f]
(Ilia Alshanetsky)
- Skip clock reads when no cluster timeout is set [44f49442] (Ilia
Alshanetsky)
- Avoid per-command and per-key allocations in cluster writes and RedisArray
hashing, and redundant zero-filling during key prefixing [9623a663],
[8b746bfc], [b9320359] (Ilia Alshanetsky)
- Modernize Zend API usage and array traversal, and replace legacy aliases
[8e1c2789], [d24528e1], [7d4fa613], [3401462e], [cd2a3963], [5acaba93]
(Niels Dossche) (michael-grunder)
- Consolidate scan handling [e64055bd] (michael-grunder)
- Consolidate key prefixing [cd7996fb] (michael-grunder)
- Improve cluster WATCH bookkeeping and cleanup on failures [4736b167]
(michael-grunder)
- Refactor command contexts and replace function-like macros with typed
helpers [2ce9d949], [bc947026], [910c925f], [5377f588], [a9dd268a],
[10e81b33], [d9aea09e] (michael-grunder)
- Improve const-correctness, remove unnecessary casts, and restrict internal
function linkage [7090338f], [e87e1668], [34e9a4ae], [4366a579],
[887c5b19] (Simon Hammes) (michael-grunder)
- Modernize session handling and remove obsolete code and fields [738cedd2],
[741abf09], [b58ca169], [976e2384], [0017df83], [33a78a45], [4af1e20a],
[d596a239] (michael-grunder)
- Add
--enable-redis-sanitizers and --enable-redis-analyzer build
options [288e231b], [5fea4648] (michael-grunder)
- Add agent development instructions and ignore generated dependency and
vendor files [ea8a8672], [c8b79b16], [b30fe1d1], [9b17434e]
(michael-grunder)
- gRPC 1.84.4
- gRPC Core 1.84.4 update
- gRPC 1.85.4
- gRPC Core 1.85.4 update
- gRPC 1.86.0RC1
- gRPC Core 1.86.0 update
- openswoole 26.11.1
. HTTP QUERY method (RFC 10008); form bodies are parsed into $request->post like POST, PUT, PATCH and DELETE (#414)
. CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR in the native curl hook; with open_basedir set, values with "file" or "all" are refused (#412)
. Bundled llhttp upgraded to 9.4.4 (#413)
. Bundled nghttp2 HPACK code upgraded to 1.71.0
. Bundled hiredis upgraded to 1.5.1
. The HTTP parser is stricter: a space before a header colon, folded header lines and raw bytes above 0x7F in the request target get 400 Bad Request, in the server and the Coroutine HTTP client
. The WebSocket server follows RFC 6455: unmasked client frames, unknown opcodes and a new message sent before a fragmented one is finished close the connection; ping, pong and close frames accept payloads up to 125 bytes
. A CoroutineHttpClient with websocket_mask set to false can no longer send to an OpenSwoole WebSocket server, which now requires masked client frames
. The HTTP/2 server rejects frames on a stream the client has closed, removes the padding of DATA frames, checks WINDOW_UPDATE increments, and with send_yield waits for the stream window
. The HTTP/2 server and client reject header blocks with invalid Huffman padding, as RFC 7541 requires
. SOCKS5 proxy target hosts, usernames and passwords longer than 255 bytes are refused, and a refused CONNECT reply fails the connection
. Fix WebSocket frames losing their opcode and FIN flag with several reactor threads in SWOOLE_PROCESS mode
. Fix WebSocket connections when the upgrade request is followed by more data in the same packet
. Fix a fragmented WebSocket message with an empty first frame losing its opcode
. Fix the payload of WebSocket ping and pong frames sent with the 16 bit length form
. Fix multipart form data of an unfinished part being kept for the next request, and its temporary file and memory not being released
. Fix Request::create()->parse() with a multipart body
. Fix Response::create() with a CoroutineSocket
. Fix chunked requests with Content-Length: 0 that do not end with a zero length chunk
. Fix client certificates larger than the read buffer with ssl_client_cert_file
. Fix DTLS connections above max_connection
. Fix HTTP/2 GOAWAY frames carrying the error code in the flags
. Fix buffer_high_watermark and buffer_low_watermark being reset when the server starts
. Fix the $row argument of the PostgreSQL statement fetch methods being ignored
. Fix a Lock becoming unusable in other processes after a child process exits
. Fix a Table losing rows with concurrent writers after a child process exits
. Fix Lock::lockwait() requiring an argument
. Fix the open_redis_protocol parser with null bulk strings, integer elements and empty arrays
. Fix the length protocol with unsigned 32 bit lengths of 2^31 and more
. Fix the SOCKS5 handshake with short replies and IPv4 targets
. Fix CoroutineClient::peek() with a length of 0 or less
. Fix curl_setopt_array() not stopping at a refused option in the native curl hook
. Fix HTTP/2 response header blocks larger than the header buffer
. Fix HTTP/2 send_yield responses not ending when a send fails or the client resets the stream or closes the connection
. Fix discarded HTTP/2 DATA frames not counting against the connection window
. Fix the WebSocket fragment buffer not being released when a connection closes during a fragmented message
. Fix Lock::destroy() in another process making the lock unusable for the process that created it
. Fix the open_redis_protocol parser accepting bulk lengths below -1
- zephir_parser 2.12.0
### Added
- Enabled PHP 8.6 support ([zephir-lang/zephir#2670](https://github.com/zephir-lang/zephir/issues/2670))
- Support a keyword as the name of a named argument, such as `strlen(string: s)` or `is_a(class: c)`, as PHP allows ([zephir-lang/zephir#2824](https://github.com/zephir-lang/zephir/issues/2824))
Fixed
- Fixed an all-caps class name such as
PDO failing to parse in a cast, a return type, a type hint or catch (zephir-lang/zephir#2824)
- jsonpath 4.0.0
## Breaking changes
- The minimum supported PHP version is now 8.1. PHP 8.0 support was dropped in 3.1.0 but was still allowed by `composer.json` and the PECL package metadata; both now require PHP 8.1 or newer.
- The package API version is now 4.0.0.
What's Changed
- Add support for PHP 8.6 by @crocodele in https://github.com/supermetrics-public/pecl-jsonpath/pull/214
- Drop support for PHP 8.0 by @crocodele in https://github.com/supermetrics-public/pecl-jsonpath/pull/206
- Rename workflows for clarity and consistency by @crocodele in https://github.com/supermetrics-public/pecl-jsonpath/pull/205
- Update link to mk6i's GitHub profile by @crocodele in https://github.com/supermetrics-public/pecl-jsonpath/pull/207
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in https://github.com/supermetrics-public/pecl-jsonpath/pull/211
- Bump php/setup-php-sdk from 0.11 to 0.12 by @dependabot[bot] in https://github.com/supermetrics-public/pecl-jsonpath/pull/208
- Bump schneegans/dynamic-badges-action from 1.7.0 to 1.8.0 by @dependabot[bot] in https://github.com/supermetrics-public/pecl-jsonpath/pull/209
- Bump schneegans/dynamic-badges-action from 1.8.0 to 1.9.0 by @dependabot[bot] in https://github.com/supermetrics-public/pecl-jsonpath/pull/212
- Configure Renovate by @renovate[bot] in https://github.com/supermetrics-public/pecl-jsonpath/pull/210
Full Changelog: https://github.com/supermetrics-public/pecl-jsonpath/compare/v3.1.0...v4.0.0
- mongodb 1.21.14
## What's Changed
### Security
* [v1.21] PHPC-2804 Do not expose the credential string in errors and logs by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2234
### Fixed
* PHPC-2807 Fix build with GCC 15 in phongo_split_namespace by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2223
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/1.21.13...1.21.14
- mongodb 2.1.14
## What's Changed
### Security
* [v2.1] PHPC-2804 Do not expose the credential string in errors and logs by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2235
* [v1.21] PHPC-2804 Do not expose the credential string in errors and logs by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2234
### Fixed
* PHPC-2807 Fix build with GCC 15 in phongo_split_namespace by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2223
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/2.1.13...2.1.14
- mongodb 2.5.8
<!-- Release notes generated using configuration in .github/release.yml at 2.5.8 -->
What's Changed
Security
- [v2.5] PHPC-2804 Do not expose the credential string in errors and logs by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2236
- [v2.1] PHPC-2804 Do not expose the credential string in errors and logs by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2235
- [v1.21] PHPC-2804 Do not expose the credential string in errors and logs by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2234
Fixed
- PHPC-2807 Fix build with GCC 15 in phongo_split_namespace by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2223
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/2.5.7...2.5.8
- maxminddb 1.15.0
* The pure PHP reader now rejects non-string map keys with
`InvalidDatabaseException` instead of a `TypeError`, a warning, or an
implicit type conversion.
* The pure PHP reader now rejects malformed metadata with
`InvalidDatabaseException` instead of a `TypeError`, a warning, or an
implicit type conversion. Missing optional `languages` and `description`
fields default to empty arrays.
* Missing gmp/bcmath support and offsets that exceed the platform limit now
throw `MaxMindDbReaderUnsupportedPlatformException`. It extends
`RuntimeException`, so existing catches continue to work.
* The pure PHP reader also throws `UnsupportedPlatformException` when the
metadata node count or the start of the data section exceeds the platform's
integer limit. These cases no longer produce `InvalidDatabaseException` or
overflow into a `TypeError`.
* `phpinfo()` and `php --ri maxminddb` now show whether the extension was built
with the bundled libmaxminddb or links a system library. The
`libmaxminddb library version` row reads, for example, `1.14.0 (bundled)` or
`1.9.1 (system)`. Pull request by Remi Collet. GitHub #289.
* The PHPDoc of the pure PHP reader now lists the exceptions that its methods
can throw:
* The `MaxMindDbReader` constructor, `get()`, and `getWithPrefixLen()`
declare `UnsupportedPlatformException`. The reader throws it when an
integer needs gmp or bcmath and neither is installed, or a data offset
exceeds the platform limit.
* The constructor declares `UnexpectedValueException`.
* `close()` declares `BadMethodCallException` in place of `Exception`.
`metadata()` no longer declares `InvalidArgumentException`, which it
cannot throw.
* `MaxMindDbReaderDecoder::decode()` and `MaxMindDbReaderUtil::read()`
declare their exceptions.
* The bundled libmaxminddb used by `--with-maxminddb-bundled` builds of the
extension is now 1.14.1. This fixes a build failure with `-Werror` on
platforms where `ssize_t` is 32 bits, such as i686.
* The classes in the pure PHP reader are now marked `@final`. They will be
`final` in the next major version. Static analyzers such as PHPStan report
a class that extends them.
* On 64-bit Windows, the extension returned `uint32` and `uint64` values
from 2^31 to `PHP_INT_MAX` as strings. It now returns them as integers.
- swoole 6.3.0RC2
- Support for the HTTP QUERY method.
- The coroutine HTTP server can send 100 Continue.
- Runtime hooks for socket-based standard streams STDIN/STDOUT/STDERR.
- Coroutine preemption enabled in threaded builds.
- Coroutine cancellation now carries a cancellation reason.
- sendfile supports passing a file object.
- The HTTP/2 coroutine client exposes trailing HEADERS frames via Response::$trailers.
- SocketCoro adds export() to duplicate a socket fd.
- The sockets extension warns about non-blocking and UNIX datagram limitations.
- Sockets now track observed stream EOF separately.
- Atomic adds acquire/release atomic operations.
- name-resolver adds automatic service discovery lifecycle and isolates resolver state.
- Added ssh2_set_timeout().
- Added ssh2_keepalive_config() and ssh2_keepalive_send().
- Added ssh2_send_signal().
- Accept trailing OWS after chunked transfer coding.
- Handle optional whitespace in HTTP/1 headers.
- Ignore 100-continue for HTTP/1.0 requests.
- Handle HTTP body boundaries and 100 Continue.
- Parse chunked requests precisely in the coroutine server.
- The coroutine server's chunked request buffer can now grow.
- Clean up trailers before terminating a chunked response.
- Fix the completion determination for HTTP/1 trailers.
- Ignore HTTP/1 request trailers.
- Re-parse when subsequent data arrives while the request line is incomplete.
- Preserve request fields across multiple parse calls.
- Prevent underflow in the package length limit.
- Preserve response header values from being rewritten.
- Free the captured HTTP/1 content type.
- Decompress the response body before passing it to write_func.
- Output the Date header of static responses in GMT.
- Harden static file response handling.
- The upgrade/redis handler tolerates connections being closed concurrently.
- Fix an HTTP IP memory leak.
- Reject oversized HTTP Upgrade values.
- Fix multipart upload temporary file errors.
- Harden multipart parsing and upload lifecycle.
- Keep uploaded file paths alive.
- Retain upload cleanup after tmpfiles replacement.
- Preserve overly long upload temporary directory paths.
- Add bounds checking to URL encoding and allocate the output in one pass.
- Fix HTTP/2 header and frame size handling.
- Finalize HPACK decoding when response headers end.
- Defer Content-Type setting until headers are complete.
- Isolate request trailers and unify the body completion path.
- The connection-level flow control window starts at 65535.
- Validate the payload length of fixed-length frames before reading.
- Reject GOAWAY frames with insufficient field length.
- Limit GOAWAY debug data to the peer's frame size.
- Send the correct PING payload and reject PING frames with an incorrect length.
- Control frames no longer kill the worker when the buffer is full.
- Reuse stream reset when rejecting an oversized body.
- Fix HTTP/2 write stalls after stream termination.
- Fix client sending while another write is pending.
- Close the client connection on write failure.
- Avoid crashes when releasing an incomplete response.
- Fix double free and UAF caused by callbacks closing the connection in BASE mode.
- Fix unpacking of masked compressed WebSocket frames.
- Negotiate compression across multiple extension offers.
- Grow the compression output buffer safely.
- Reject unsuccessful WebSocket upgrades.
- Reject WebSocket token parsing errors.
- Fix socket initialization for the coroutine HTTP client.
- Reject truncated responses at EOF.
- Connection close state is tracked per request exchange.
- Clean up download state without losing the retry target.
- Preserve the request error on repeated close.
- Handle chunked HTTP proxy responses.
- Preserve SOCKS5 response boundaries.
- Fix the lifecycle of queued cURL resume.
- Sync curl fixes published in php-src for PHP 8.4.
- Preserve curl multi select readiness when using the socket API.
- Keep PHP stream callbacks on the request thread.
- FastCGI preserves cookies and accepts response frames with padding.
- Update the built-in FastCGI client and add response regressions.
- Release async client references after the callback ends.
- Check socket status before returning a connection to the pool.
- Allow receiving fragmented packets under a custom package_length_func.
- Allocate the swoole_client_select() pollfd array based on the total size of the three arrays.
- Fix Redis server receive buffer handling.
- Re-parse Redis fragmented requests from a clean state.
- Add bounds checking for RESP numbers in get_number and parse.
- Pass packet boundaries to Redis server number parsing.
- Preserve exec errors, Redis command names, and cookie state.
- pgsql tries the next host after a blocking connection timeout.
- The PDO pgsql driver enforces connect_timeout.
- Fix cancellation of pgsql query waits.
- Empty PDO pgsql error messages no longer read ahead prematurely.
- Move ODBC SQLParamData/SQLDescribeParam to the AIO thread pool.
- Move ODBC SQLCloseCursor and statement SQLFreeHandle to the AIO thread pool.
- Normalize empty credential lengths in the ODBC connection pool.
- Oracle hooks server attachment during PDO connection.
- Keep Oracle statement re-execution safe.
- Fix SSH2 resource release lifecycle.
- Wait for the shell exit status.
- Refresh poll direction after EAGAIN.
- Avoid integer overflow in ssh2_set_timeout().
- Allocate libssh2 memory using malloc.
- Free the parsed URL when the wrapper path is rejected.
- SFTP wrapper paths preserve # and ?.
- SCP receive stops at premature EOF.
- Sync upstream SCP receive write checks.
- Fix Coroutine::setTimeLimit() precision and cleanup.
- Allow clearing the time limit with 0.
- Ignore external interrupts when preemption is disabled.
- Fix coroutine exception delivery during SPL directory iteration.
- Delayed resume no longer touches a finished EventWaiter.
- Allocate the saved timeout array by element count.
- Retain queued tasks after coroutine creation failure.
- ssl_sendfile does not send more data than the requested size.
- Limit header reception in length protocol recv.
- swoole_coroutine_accept respects the caller's address buffer.
- Coroutine lock count reentrancy and validate the holder on unlock.
- Reject timer deadlines that would overflow before insertion.
- Detach global timers before releasing them.
- RSHUTDOWN cleans up PHP timers when there is no request heap.
- Validate timer intervals on Windows and protect process tests.
- After a force-unlock timeout, retain row locks for live holders (previous force unlocks have been rolled back).
- Cache the configured default value for error reporting.
- Propagate UnwindExit to ZendVM.
- Preserve native zero-timeout stream behavior.
- Apply stream timeouts to hooked write operations.
- Hooked write operations cancelled after a partial write must fail.
- Fix socket_recv behavior for empty datagrams and EOF.
- Reject null bytes in IP stream addresses.
- Let mysqlnd recognize hooked Unix sockets.
- Reject setting global HTTP response headers in coroutines.
- Preserve the cleanup path for synchronous failures in the factory.
- Release streams on connection errors and stop after cancellation.
- Initialize Windows stdio operations for include.
- Register the after-fork hook during the MINIT phase.
- Settings accept empty arrays and preserve enabled SSL.
- Settings propagate exceptions and isolate thread callbacks.
- Preserve the package limit when partially configuring settings.
- Manage worker lifecycle and improve shutdown handling.
- Preserve worker exit and advance reload in order.
- Release the reactor of a worker stopped by a fatal error.
- Restore the caller's worker when a BASE server stops.
- Keep BASE connection boundaries local.
- Initialize the port protocol only once before starting reactor threads.
- get_port for worker threads can match SSL ports.
- Fix server SSL context initialization.
- Enforce server-side TLS peer verification.
- Fix the return handling of Server Port set.
- Accept pre-bound datagram sockets passed in by systemd.
- Send FIN after peer shutdown on macOS.
- Close the connection when a queued sendfile cannot start.
- Close the connection when a queued sendfile cannot complete.
- Close the connection directly on unrecoverable send errors.
- Parse buffered packets when a paused connection resumes.
- Keep the connection and avoid duplicate delivery when onPackage pauses an EOF protocol connection.
- Settle delivered packets when onPackage pauses a connection.
- Keep length protocol header reception within the buffer.
- recv_with_length_protocol resets stale HTTP parse offsets.
- Avoid signed overflow in default_length_func.
- Fail pipe reads when readv errors on a chunk.
- Keep the dgram pipe send buffer above the maximum IPC datagram size.
- Unify the result contract of taskCo and taskWaitMulti.
- Share atomic task IDs between workers and threads.
- Isolate task results and fix idle and DTLS handling.
- Validate task results and tighten failure cleanup.
- Handle force-kill alarms synchronously and skip packaging stale large results.
- Reject illegal task reply sources.
- Clarify warnings for illegal task reply workers.
- Name task stream sockets with the creator PID.
- Restrict access to task stream sockets.
- Restrict task message queues to the worker account.
- process-pool supports explicit message queue access.
- Reject message queue keys outside the key_t range.
- Reuse the message bus across multiple starts.
- Reject oversized worker_num instead of aborting.
- Fix truncated ProcessPool stream packets.
- Validate ProcessPool packet boundaries.
- Release the master's system timers after start().
- Dispatch timers for synchronous workers.
- Release MessageBus resources when the owner closes.
- Release BASE event pool resources after shutdown.
- Fix queued writes for thread workers.
- Release startup arguments when thread creation fails.
- Preserve the main thread's signal handlers when other threads exit.
- PHP and server workers inherit blocked signals.
- Preserve the signal mask when starting background threads.
- Register SIGCHLD to the reactor thread in thread context.
- Do not discard signals that arrive while a signal handler is executing.
- Restore signal actions when removing listeners.
- Reset signal listener state in forked child processes.
- Clean up inherited handlers when there is no kqueue reactor.
- Prevent worker processes from executing manager-specific signal handlers.
- Child processes that inherited manager handlers no longer lose SIGTERM.
- Reset inherited manager runtime state.
- Defer handling of log reopen signals in synchronous processes.
- Harden manager signals, task timeout cleanup, and core helper functions.
- Retain pending reload tasks before initialization completes.
- Prevent losing reload wakeups before waiting.
- Cancel shutdown timers after worker exit.
- Use pcntl_waitpid to preserve exit statuses of unrelated child processes.
- Apply the configured CPU affinity to workers.
- Fix cpu_affinity_ignore handling.
- Fix CPU affinity IDs.
- Validate affinity IDs against the number of CPUs.
- get_connection_by_session_id validates the session id.
- Do not narrow admin numeric identifier validation.
- Restrict reactor thread information to the reactor owner.
- Free exit callback results and validate admin parameters.
- Fix handler types and stop on conversion exceptions.
- Function aliases preserve variadic arguments.
- Use reentrant localtime/gmtime for the logger and static handlers.
- Reject duplicate construction of native resource objects.
- Allow TCP listeners to rebind.
- Complete pending closes and clean up UNIX paths.
- Fix UNIX datagram address ownership.
- recvfrom preserves the source address for empty datagrams.
- Fix the length parameter of socket send and improve peek.
- Interpret socket options at their respective protocol levels.
- Initialize the option buffer before a short kernel reply.
- Preserve incomplete packets after a receive timeout.
- Allow SSL descriptor duplication and fix cross-platform regressions.
- Preserve native coroutine socket errors.
- Drain Windows IOCP operations before PHP close returns.
- Fix IOCP completion errors and stale readiness dispatch.
- Pass null to getaddrinfo() when no service is given.
- Handle EPOLLERR on c-ares sockets to stop worker busy loops.
- Use ares_socket_t for c-ares socket callbacks.
- Randomize DNS request ids and only accept replies from DNS servers.
- Change DNS request ids to sequential increments starting from a random value.
- Avoid invalid weight conversion warnings in name-resolver.
- io_uring records SSL_ERROR_ZERO_RETURN as SW_ERROR_SSL_RESET.
- io_uring validates runtime compatibility.
- io_uring allows compatible liburing minor versions.
- Improve io_uring initialization error messages.
- Preserve Atomic wakeups during interrupted waits.
- Preserve futex timeout and non-zero value semantics.
- Use usleep for non-futex atomic waits.
- Prevent lost wakeups when the AIO thread pool shuts down.
- Fix crashes caused by PHP requests starting in threads not created by Swoole.
- openswoole 26.11.0
. PHP 8.6 support
. CURLOPT_SEEKFUNCTION support in the native curl hook on PHP 8.6
. CURLOPT_PREREQFUNCTION support in the native curl hook on PHP 8.4+ (Guzzle 7.12+)
. PIE (PHP Installer for Extensions) support
. Response::cookie() also sends Max-Age when an expiry time is set, like setcookie() (#310)
. Hooked ssl:// and tls:// client streams use the same peer verification defaults as native PHP; set verify_peer to false to connect to servers with a self-signed certificate
. Cookie values are encoded and decoded like PHP does: a "+" is kept and a space is %20, in the server and the HTTP clients; cookies with spaces set by earlier versions read back with "+" until they are set again; for a cookie name sent twice, the first value is used (#311)
. OpenSwoole 27.2 will require PHP 8.4 or later; 26.11 is the last release series to support PHP 8.3
. Fix stream_socket_enable_crypto with tls (#401)
. Fix io_uring build on Alpine Linux (#400)
. Fix SSL client certificate lost in getClientInfo() when the worker pid is greater than 65535
. Fix curl_copy_handle() not keeping the CURLOPT_STDERR stream and callback data in the native curl hook
. Fix preemptive scheduler crash on ZTS builds
. Fix crash in the native curl hook when a curl multi handle is released after the event loop is destroyed
. Fix enable_reuse_port having no effect on Linux because SO_REUSEPORT was not detected at configure time
. Fix the http2_* server settings being ignored and not sent to clients in the SETTINGS frame
. Fix max_idle_time closing active connections and ignoring fractions of a second
. Fix a crash when a coroutine is canceled during file I/O
. Fix stream_select() closing regular files
. Fix closing a unix datagram socket removing the peer's socket file
. Fix process pipes never being closed
. Fix Lock::lockwait() truncating the timeout
. Fix process pool reload stalling, getProcess() ids and a connection leak
. Fix process pool warnings about workers that already exited or detached
. Fix the signal listener count with wait_signal
. Fix a second CoroutineSystem::waitSignal() on the same signal leaving the first waiting forever
. Fix Coroutine::select() with push channels and array keys
. Fix Table keys longer than 63 bytes, iteration with an empty key, and incr()/decr() on a bad column
. Fix the Table row lock being taken over from a live holder
. Fix an HTTP/2 RST_STREAM leaving a send_yield coroutine waiting forever
. Fix the open_redis_protocol parser failing on commands split across reads and on pipelined commands
. Fix hooked time_nanosleep() accepting nanoseconds out of range
. Fix a crash in the native curl hook with curl_copy_handle() or connection reuse in curl_multi
. Fix curl_reset() losing the coroutine state of a native curl handle
. Fix co::run() not returning for minutes after curl_multi requests in the native curl hook
. Fix io_uring warnings logged on every file operation when io_uring is not available, for example in Docker containers with the default seccomp profile
. Fix the server master process being killed by SIGALRM when a timer was created before Server::start()
. Fix the static handler sending the file body for HEAD requests
. Fix the HTTP/2 client reply to PING frames and its handling of GOAWAY and padded frames
. Fix CurlHandle objects never being freed with CURLOPT_HEADERFUNCTION in the native curl hook on PHP 8.4+ (#391)
. Fix HTTP/2 server responses to HEAD requests sending a body
. Fix bundled hiredis symbols colliding with other extensions that link hiredis (#394)
. Fix the build on FreeBSD 14 and 15 (#389)
. Fix OpenSwooleTable ignoring a conflictProportion below 1 (#362)
. Fix the io_uring reactor failing to start when io_uring is not available; it now falls back to epoll, and reactor_type is accepted by Server::set() (#408)
. Fix HTTP/2 requests with headers split into CONTINUATION frames, and HPACK errors when http2_header_table_size is set (#388)
. Fix heap corruption when closing a mysqli connection opened with mysqli_init() and real_connect() in a coroutine (#409, #378)
. Fix max_request_execution_time ending later requests early and crashing workers (#315, #358)
. Fix coroutines crashing when opcache.preload is enabled (#343)
. Fix the deprecation warning for on('handshake') (#303)
. Fix configure not finding libpq in lib64 without pg_config (#245)
. Fix task workers logging a warning for SIGPIPE
. Fix Xdebug not seeing the request callback with use_fiber_context, which crashed the worker when variables were inspected (#404)
. Fix the io_uring reactor not answering requests in SWOOLE_PROCESS mode (#405)
. Fix the io_uring reactor on kernels before 5.13, where multishot poll is not available
. Various stability fixes
- swoole 6.1.13
- Fixed file descriptor leak caused by coroutine socket descriptors not being released when closed.
- Fixed stale HTTP parse offset remaining in recv_with_length_protocol.
- Fixed the segmentation fault caused by passing an associative array to the taskWaitMulti method.
- Fixed the issue where sub-threads incorrectly cleared the main thread's signal handlers upon exiting.
- Fixed mysqlnd failing to recognize hooked Unix socket connections.
- Fixed the initial connection window value for HTTP/2, changing it to the standard 65535.
- Fixed worker busy loop caused by unhandled EPOLLERR on c-ares DNS sockets.
- Fixed missing validation for HTTP/2 GOAWAY frames with insufficient length.
- Fixed incorrect connection limit boundary calculation in BASE mode.
- Fixed coroutine timeout array allocated by byte count instead of element count.
- Fixed active ID not being restored after a timer callback throws an exception.
- Fixed security risk of unpacking task packet metadata without validation.
- Fixed residual files not being cleaned up after a task file write failure.
- Fixed missing length boundary limit for TLS wildcard domain name comparison.
- Fixed unbounded memory allocation risk during URL encoding.
- Fixed HTTP client failing to reject truncated responses at EOF.
- Fixed dangling pointer caused by not detaching the global timer before freeing it.
- swoole 6.2.6
- Fixed file descriptor leak caused by coroutine socket descriptors not being released when closed.
- Fixed stale HTTP parse offset remaining in recv_with_length_protocol.
- Fixed the segmentation fault caused by passing an associative array to the taskWaitMulti method.
- Fixed the issue where sub-threads incorrectly cleared the main thread's signal handlers upon exiting.
- Fixed mysqlnd failing to recognize hooked Unix socket connections.
- Fixed the initial connection window value for HTTP/2, changing it to the standard 65535.
- Fixed worker busy loop caused by unhandled EPOLLERR on c-ares DNS sockets.
- Fixed missing validation for HTTP/2 GOAWAY frames with insufficient length.
- Fixed incorrect connection limit boundary calculation in BASE mode.
- Fixed coroutine timeout array allocated by byte count instead of element count.
- Fixed active ID not being restored after a timer callback throws an exception.
- Fixed security risk of unpacking task packet metadata without validation.
- Fixed residual files not being cleaned up after a task file write failure.
- Fixed missing length boundary limit for TLS wildcard domain name comparison.
- Fixed unbounded memory allocation risk during URL encoding.
- Fixed HTTP client failing to reject truncated responses at EOF.
- Fixed dangling pointer caused by not detaching the global timer before freeing it.
- ssh2 1.6.1
- Allow building with libssh2 above 1.9.0. But with libssh2 below 1.11.0 ssh2_send_signal() method will not be avaiable.
tagged:
Community News:
Latest PECL Releases (11.17.2026)
byChris Cornutt
Nov 17, 2026 @ 08:05:23
Latest PECL Releases:
- ev 1.3.1
- Re-release of 1.3.0 (the 1.3.0 tag was withdrawn)
- ev 1.3.0
- Fix: EvPrepare and EvFork factories used wrong classes, which led to memory access issues
- Fix: watchers read the loop after it was destroyed and reset to NULL
- Fix out-of-bounds memory reads due to out-of-range priority
- Fix: EvEmbed use-after-free: keep the embedded loop alive
- Fix the missing class argument in EvEmbed::set() parameter parsing.
- Generate compile_commands.json for IDE
- Fix leak in EvEmbed object destructor
- Fix segfault in EvCheck::createStopped()
- Fix build warnings
- Add signal number validation to Ev::feedSignal() and Ev::feedSignalEvent()
- Check the upper bound of the valid signal numbers (all methods/functions accepting signal numbers)
- Add builds with enabled address sanitizer
- Fix parallel test crash on ZTS PHP 8.6; mirror CI matrix in docker-compose
- Fix Bitbucket mirroring workflow (it failed pushing existing tags)
- eio 4.0.1
- Documented PIE installation.
- Fixed PHP 8.6 compatibility (the zend_exception_save() and zend_exception_restore() functions were removed in 8.6) (merged PR $26 authored by Remi Collet).
- Configured automatic GitHub release creation based on CHANGELOG.md.
- Configured automatic sync of package.xml and php_eio.h from CHANGELOG.md.
- datadog_trace 1.27.2
## All products
### Changed
- Update PHP 8.6 ABI to 20261112 #4490
- This allows dd-trace-php to run with PHP 8.6.0RC7 and newer. Older PHP 8.6 RCs require dd-trace-php 1.27.1.
Internal changes
- Fix fpm apk tar headers for apk-tools 2.14.13 / 3.0.9 #4454
Tracer
Changed
- Disambiguate line hooks with multiple eligible functions #4474
Fixed
- Don't capture exception replay locals from frames without initialized CVs #4450
- Fully drop empty traces and keep error traces #4497
Internal changes
- Build the PECL tarball offline from vendored crates #4493
- protobuf 5.37.0RC3
* See github.com/protocolbuffers/protobuf/releases/tag/v37.0-rc3 for release notes.
- zephir_parser 2.11.0
### Added
- Support `X::class` as a parameter default and in an array parameter default, parsed to the `static-constant-access` node it has in an expression ([zephir-lang/zephir#2825](https://github.com/zephir-lang/zephir/issues/2825))
- Added a `start-line` key to the `closure` and `closure-arrow` nodes, the line the closure starts on, which PHP 8.4 names a closure after ([zephir-lang/zephir#2825](https://github.com/zephir-lang/zephir/issues/2825))
Fixed
- Fixed the PECL package leaving out the
const-expression and property-default-expression tests and their dumpexpr.inc helper
- ssh2 1.6.0
- Fix: SFTP path corruption for root-path URLs [PR #107] (transcendtient)
- Add SHA-256 and raw host key inspection [PR #104] (Raj Siva-Rajah)
- Fix: Fix concurrent SSH authentication state and redact secrets [PR #102] (Raj Siva-Rajah)
- PHP 8.6 compatibility: use zval_ptr_dtor_nogc instead of zval_dtor alias [PR #108] (Remi Collet)
- PHP 8.6 compatibility: Replace zval_is_true [PR #101] (Rainer Jung)
- Fix PHP 8.1 Windows CI - missed check in PR #89 [PR #97] (Rasmus Lerdorf)
- Add timeout to close path [PR #97] (Rasmus Lerdorf)
- Fix: correct SSH2 shell and exec environments [PR #105] (Raj Siva-Rajah)
- Fix: preserve SSH2 resource and stream lifecycles [PR #103] (Raj Siva-Rajah)
- krb5 1.3.0
- [CLEANUP] Drop pre-PHP8 support (#7)
- [FEATURE] Add bindings for gss_export_cred/gss_import_cred (#13)
- [BUILD] Use pkgconfig to locate libraries by default (#13)
tagged:
Community News:
Latest PECL Releases (11.10.2026)
byChris Cornutt
Nov 10, 2026 @ 08:05:34
Latest PECL Releases:
- opentelemetry 1.5.0
See https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/1.5.0
- swoole 6.2.5
- Fix the release of suspended cURL handles after the request is closed.
- Fix the cleanup of the `CURLOPT_PRIVATE` option in `curl_reset()`.
- Fix the inheritance of blocked signals by PHP worker threads and server worker threads.
- Fix the restoration of signal actions before the listener is removed.
- Fix the resume lifecycle of queued cURL requests.
- Fix the test client's acceptance of platform-specific connection failures.
- Fix the scheduling issue of process pool synchronous worker threads.
- Fix the reset of signal listener state in forked child processes.
- Fix the client's check of socket state before connection pooling.
- Fix the issue of coroutines registering SIGCHLD in the reactor thread context.
- Fix the exit logic of process pool worker processes on timeout (ETIMEDOUT).
- Fix the underflow issue in the HTTP packet length limit.
- Fix the handling of HTTP body boundaries and the 100 Continue status.
- Fix the ignoring of blocked signals in the main thread and server worker threads.
- Fix the preservation of the signal mask when starting background threads.
- Fix the discarding of HTTP request trailers on the maintenance branch.
- Fix the rejection of reserved HTTP upload header names assembled from split reads.
- Fix the issue of the HTTP client retaining request errors on repeated closes.
- Fix the rejection of client-provided HTTP upload file markers (security fix).
- Fix the buffer boundary and DATA frame handling issues in HTTP/2.
- Fix the issue of pgsql query waiting cancellation.
- Fix the write stall issue after HTTP/2 stream termination.
- Fix the enforcement of connection timeouts in the PDO pgsql driver.
- Fix the packet boundary validation issue in the process pool (ProcessPool).
- swoole 6.1.12
- Fix the release of suspended cURL handles after the request is closed.
- Fix the cleanup of the `CURLOPT_PRIVATE` option in `curl_reset()`.
- Fix the inheritance of blocked signals by PHP worker threads and server worker threads.
- Fix the restoration of signal actions before the listener is removed.
- Fix the resume lifecycle of queued cURL requests.
- Fix the test client's acceptance of platform-specific connection failures.
- Fix the scheduling issue of process pool synchronous worker threads.
- Fix the reset of signal listener state in forked child processes.
- Fix the client's check of socket state before connection pooling.
- Fix the issue of coroutines registering SIGCHLD in the reactor thread context.
- Fix the exit logic of process pool worker processes on timeout (ETIMEDOUT).
- Fix the underflow issue in the HTTP packet length limit.
- Fix the handling of HTTP body boundaries and the 100 Continue status.
- Fix the ignoring of blocked signals in the main thread and server worker threads.
- Fix the preservation of the signal mask when starting background threads.
- Fix the discarding of HTTP request trailers on the maintenance branch.
- Fix the rejection of reserved HTTP upload header names assembled from split reads.
- Fix the issue of the HTTP client retaining request errors on repeated closes.
- Fix the rejection of client-provided HTTP upload file markers (security fix).
- Fix the buffer boundary and DATA frame handling issues in HTTP/2.
- Fix the issue of pgsql query waiting cancellation.
- Fix the write stall issue after HTTP/2 stream termination.
- Fix the enforcement of connection timeouts in the PDO pgsql driver.
- Fix the packet boundary validation issue in the process pool (ProcessPool).
- couchbase 4.6.0
Behaviour changes
=================
- PCBC-1088: Ship one extension module, couchbase; drop the -abi archives (#266)
- Require PHP 8.2 or later
- PCBC-1056: Include all exported cluster options in the connection cache key (#267)
- PCBC-1057: Enforce couchbase.max_persistent when creating a connection (#268)
- PCBC-1087: Raise AuthenticationFailureException for query error 2120 (#265)
- Add disconnect() to ClusterInterface and getReplica() to CollectionInterface
- CXXCBC-838: Verify the TLS server hostname against the certificate
- CXXCBC-1049: Raise InvalidArgumentException for an unrecognised HTTP 400
- CXXCBC-1059: Raise IndexNotFoundException when dropping a query index that does not exist
New features and enhancements
- PCBC-1074, PCBC-1085: Read from a specific replica with Collection::getReplica() (#259, #264)
- PCBC-1070: Support hybrid search score fusion (#257)
- PCBC-974: Add retryStrategy to key/value options (#271)
- PCBC-1058: Add Cluster::disconnect() (#269)
- Update core to 1.5.1 (#265)
Bug fixes
- PCBC-1089: Fix a forked child hanging at exit or writing to the parent's log file (#270)
- PCBC-1057: Detach the cached connection in setAuthenticator() (#268)
- PCBC-1057: Initialise module globals in thread-safe builds (#268)
- PCBC-1083: Keep fractional numeric range facet bounds as floats (#263)
- PCBC-1081: Reject unknown persistTo and replicateTo strings (#262)
- Fix view queries with ViewOptions::skip() (#255)
- Fix the x86 Windows build of the meter wrapper (#265)
- PCBC-1071: Fix build break in meter wrapper after core metric_attributes API change (#256)
Build improvements
- PCBC-1073: PHP FIT Performer (#261)
- PCBC-1088: Test release archives on the official PHP Docker images (#266)
- PCBC-1075, PCBC-1077: Fix macOS x86_64 and arm64 CI builds (#258, #260)
- GHA: fail a Windows build that produces no php_couchbase.dll (#265)
Deprecations
- PCBC-1070: Deprecate SearchOptions::disableScoring() in favour of scoring()
- datadog_trace 1.27.1
## All products
### Fixed
- Move ddtrace-appsec-body to the root workspace, fixing cargo vendoring #4437
Tracer
Changed
- Eliminate reverse function hash table collision overhead #4443
- Optimize method visitation on class load from opcache away #4447 (thank you for the report @Teko012)
Fixed
- Back up jit_trace_num in our custom autoloader #4446 (thank you for the report @Ardenexal)
- Fix size truncation display in debugger #2810
Internal changes
- Preserve VM registers around nested JIT declare handlers #4438
- mongodb 2.5.7
<!-- Release notes generated using configuration in .github/release.yml at 2.5.7 -->
What's Changed
Fixed
- PHPC-2803: Shut down libmongoc during module shutdown without breaking FrankenPHP by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2213
- PHPC-2802: Throw when UTCDateTime is constructed from an uninitialized DateTime by @RaphaelFakhri in https://github.com/mongodb/mongo-php-driver/pull/2212
New Contributors
- @RaphaelFakhri made their first contribution in https://github.com/mongodb/mongo-php-driver/pull/2212
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/2.5.6...2.5.7
- eio 4.0.0
- Dropped support for PHP versions older than 8.2.
- Fixed use-after-free of eio_req in PHP resources. Using a request or group resource
after libeio destroyed the request is now a no-op, and eio_get_last_error() returns false.
- Fixed the macOS (Homebrew) build: libeio is now compiled as a separate unit.
- Fixed a double free in eio_cancel() when it is called twice on the same request.
- Detect PHP sockets headers at configure time.
- Added composer.json for https://github.com/php/pie support.
- Fixed PHP 8.6-rc build: replace the deleted zval_dtor with zval_ptr_dtor_nogc.
- event 3.2.0
- Fixed heap buffer overflows in EventBuffer::read(), EventBuffer::copyout() and EventBuffer::pullup(): on negative lengths, ValueError is thrown on PHP 8, and a warning is generated on PHP 7) and the lengths are limited to the buffer size.
- EventSslContext: non-string local_cert/local_pk options are converted to string and property access no longer crashes after a failed constructor.
- EventBase and Event methods called after free() now throw an Error instead of crashing.
- EventHttpRequest::getHost() and getUri() now return NULL, not a crash, when the value is absent (return type is ?string).
- Fixed a memory leak of EventHttpRequest objects that were never submitted to a connection (PHP 8 only).
- Fixed configure on macOS/Homebrew: libevent is now found via pkg-config, and configure checks that libevent_openssl and PHP use the same OpenSSL, failing instead of producing an extension that crashes in the SSL classes.
- configure now honours --with-openssl-dir.
- datadog_trace 1.27.0
## All products
### Added
- Support PHP 8.6 #4273
Fixed
- Make the sidecar more robust: gracefully handle shared memory errors such as ENOSPC instead of stopping, move messages larger than the socket buffer limit to shared memory, receive the last messages of clients exiting right away, and keep the watchdog working during core dumps DataDog/libdatadog#2408, DataDog/libdatadog#2720, DataDog/libdatadog#2717, DataDog/libdatadog#2740
Tracer
Added
- Support line probes in Dynamic Instrumentation, building on the new
DDTraceinstall_line_hook() API to hook source lines and line ranges #4275, #4411
- Add Data Streams Monitoring for Kafka producers and consumers, enabled with
DD_DATA_STREAMS_ENABLED=true #4380
- Support
DD_TRACE_STATS_ADDITIONAL_TAGS to add tag dimensions to client-side stats #4404
- Report feature flag evaluation counts, configurable with
DD_FLAGGING_EVALUATION_COUNTS_ENABLED #4288
- Log Feature Flags diagnostics with
DD_TRACE_DEBUG=1 #4327
- Opt-in full propagation for prepared statements via
DD_DBM_TRACE_PREPARED_STATEMENT=1 #4211 (thank you @bray-lula for the pull request!)
Changed
- Optimize each_shell_word matching in ExecIntegration #4429
Fixed
- Always unblock SIGVTALRM, including at request start on Apache ZTS, so remote config notifications are delivered #4388
- Fix thread-mode sidecar reconnect issues and remote config notifications by binding sidecar state to its connection #4299
- Fix heap corruption on the request after a failed request startup, caused by stale telemetry service/env names #4414
- Retry socket connections and more stream operations interrupted by ddtrace's signals; before PHP 8.2.27, 8.3.15 and 8.4.2,
php_network_connect_socket() failed on EINTR #4375
- Stop the OpenTelemetry integration from overriding sampling unless a custom sampler is set, and stop attaching spans to the OTel context storage, which left orphaned spans and leaked memory in worker mode #4419 (thank you @Ardenexal for the report!)
- Make the hook sandbox state thread-local, fixing ZTS races (e.g. FrankenPHP) where warnings inside hooks were thrown as exceptions and warnings elsewhere were swallowed #4372 (thank you @Ardenexal for the report!)
- Exclude undefined variables from Exception Replay's
$locals, which broke serialization of captured exceptions such as in the Symfony profiler #4389 (thank you @jaugustin for the report!)
- Only use peer tags on client, producer and consumer spans and
_dd.base_service on internal spans for client-side stats aggregation, matching the agent DataDog/libdatadog#2554
AppSec
Changed
- Isolate the request body parsers' allocations, count them against
memory_limit and recover from out-of-memory conditions; parsed bodies are now sent to the helper as MessagePack directly #4361
Fixed
- Keep every trace that has an AppSec event when one PHP request serves many HTTP requests (FrankenPHP worker mode, RoadRunner) #4405
- Fix a memory leak in the AppSec helper when the active service changes #4390
- mongodb 1.21.13
## What's Changed
### Fixed
* PHPC-2800: Upgrade libmongoc to 1.30.15 by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2204
### Other Changes
* Document the location of the reference documentation by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2192
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/1.21.12...1.21.13
- mongodb 2.1.13
## What's Changed
### Fixed
* PHPC-2800: Upgrade libmongoc to 1.30.15 by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2204
### Other Changes
* Document the location of the reference documentation by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2192
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/2.1.12...2.1.13
- mongodb 2.5.6
<!-- Release notes generated using configuration in .github/release.yml at 2.5.6 -->
What's Changed
Fixed
- PHPC-2797: Shut down libmongoc when the process exits by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2200
- PHPC-2800: Upgrade libmongoc to 1.30.15 by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2204
- PHPC-2801: Upgrade libmongoc to 2.5.8 by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2205
Other Changes
- Document the location of the reference documentation by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2192
- PHPC-2783: Update libmongocrypt to 1.21.1 by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2210
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/2.5.5...2.5.6
tagged:
Community News:
Latest PECL Releases (11.03.2026)
byChris Cornutt
Nov 03, 2026 @ 08:05:24
Latest PECL Releases:
- pinpoint_php 0.6.2
## 0.6.2 2026-11-03
- preserve interceptor exception and bailout semantics (#764)
- fix inherited internal method interceptor resolution
- timezonedb 2026.6
Updated to version 2026.6 (2026f)
- zephir_parser 2.10.0
### Added
- Support `static::CONSTANT` (late static binding), parsed to the `static-constant-access` node `self::CONSTANT` has ([zephir-lang/zephir#2711](https://github.com/zephir-lang/zephir/issues/2711))
- Support `static::{method}()` and `CONSTANT::{method}()` with the method name in a variable, parsed to the `scall` node `{class}::{method}()` and `Class::{method}()` have ([zephir-lang/zephir#2723](https://github.com/zephir-lang/zephir/issues/2723))
Fixed
- Fixed building for PHP 7.0-7.3 with autoconf 2.72, where
make stopped with "No rule to make target parser/parser.c"
- yac 3.0.2
- Fixed big-endian CRC-32C in the software slicing-by-8 fallback, which made values read as misses on s390x (issue #134)
- ast 1.1.4
- Add support for PHP 8.6.
tagged:
Community News:
Latest PECL Releases (10.27.2026)
byChris Cornutt
Oct 27, 2026 @ 08:05:25
Latest PECL Releases:
- brotli 0.21.1
- update: build-in brotli library to v1.2.1
- gRPC 1.85.0
- gRPC Core 1.85.0 update
- PAM 3.0.1
fix out of sources tree build - #21
- PAM 3.0.0
PHP 8.0+ modernization and composer.json file
Drop support for PHP 7
Test infrastructure setup
- swoole 6.1.11
- Build fix for platforms without futex: Changed sw_usleep to the standard usleep to fix compilation failure on that platform.
- WebSocket decoding validation: The decoder rejects CLOSE/PING/PONG control frames with RSV1 set before unmasking, preventing compressed control frames from entering the receive path.
- WebSocket encoding validation: The encoder rejects fragmented control frames or control frames with payloads exceeding 125 bytes, and makes ping() return false and set SWOOLE_ERROR_WEBSOCKET_PACK_FAILED when encoding fails.
- Thread stdio fd leak: After a thread exits, manually close the STDIN/STDOUT/STDERR file descriptors that were not released due to PHP_STREAM_FLAG_NO_CLOSE.
- Reactor unregistered fd lookup: When looking up an unregistered fd, return null instead of inserting an empty entry into the socket map, and change the accessor to const.
- SOCKS5 target host length validation: The DNS tunnel now validates that the target host length does not exceed 255 bytes, and returns an error as a handshake failure when it is too long.
- Thread scheduling policy preservation: When no policy is specified in Thread::setPriority(), first read the current scheduling policy before setting the priority, fixing the issue of using the invalid -1 policy.
- Buffered stream read fix: Under PHP 8.3, when the stream already has buffered data, use the non-waiting receive path so that hooked streams directly return buffered data without waiting for new events.
- Atomic wait on systems without futex: Implement an atomic wait registry based on a shared-memory hash table, replace the mutex with a spinlock, and add timeout, generation notification, and entry reuse mechanisms.
- Stream write timeout reporting: When fwrite encounters ETIMEDOUT, no longer print an error notice, preserve the timed_out metadata and do not set eof; only set eof for genuine write errors.
- Stream read timeout error preservation: When fread encounters ETIMEDOUT, return failure (false) instead of 0 so callers can identify the timeout through metadata, and do not mistakenly set eof.
- Poll dispatch socket identity preservation: The Poll reactor additionally stores the Socket pointer corresponding to each pollfd during set_events, and directly uses that pointer during dispatch, avoiding events being dispatched to the wrong socket after the fd is reused in a handler.
- Process pool message bus reuse: start() no longer recreates the message bus when it already exists, allowing the same process pool to be shut down and started again and still deliver messages normally.
- BASE event pool resource release: A multi-worker BASE server destroys the event process pool after the manager ends and reuses the message boxes already allocated by create(), fixing resource leaks.
- TCP listener rebindability: make_server_socket() enables SO_REUSEADDR only for TCP listeners, avoiding TIME_WAIT preventing immediate restart while not affecting Unix and UDP socket behavior.
- ProcessPool truncated packet handling: The stream/task protocol requires both the length prefix and the packet body to be read exactly in full; a short read is treated as an incomplete packet and the connection is closed, and old data in the reused buffer is no longer passed to the callback as a valid payload.
- Message queue key range validation: The Process, ProcessPool, and Server entry points validate the range before narrowing a PHP integer to key_t; keys outside the representable range of key_t are rejected, while unsigned 32-bit boundaries are still accepted.
- Multipart upload temporary file error: When a temporary file cannot be created for a multipart upload, mark UPLOAD_ERR_NO_TMP_DIR in the file information, avoiding handing an empty upload to the handler as a successful file.
- Support HTTP QUERY method: Add QUERY to the HTTP/1 method table and let URL-encoded form bodies go through the existing request parsing path, keeping parsing consistent between normal servers and coroutine servers.
- Apply stream timeout to hooked write operations: When stream_set_timeout() sets a timeout, also update both the read and write coroutine socket deadlines, so that a blocking fwrite() no longer exceeds the configured stream timeout.
- Coroutine HTTP client socket initialization: Initialize the internal socket zval to null at construction so that calling close() before connecting is safe and returns SWOOLE_ERROR_CLIENT_NO_CONNECTION.
- Pass null for DNS when there is no service: getaddrinfo() passes a null pointer instead of an empty string when no service is specified, fixing the issue on musl (Alpine Linux) where EAI_SERVICE caused resolution to always fail.
- Ignore external interrupts when preemption is disabled: Apply the scheduling deadline only when the preemptive scheduling thread is running, preventing signal interrupts triggered by other extensions from switching coroutines using stale context state when preemption is off.
- CPU affinity ID validation: Each affinity entry is converted only once and used for validation, diagnostics, and CPU_SET; negative IDs and IDs exceeding CPU_SETSIZE are rejected, and Thread::setAffinity() treats any nonzero return value from pthread_setaffinity_np as failure.
- Validate affinity IDs by CPU count: On top of the previous commit, change the upper limit to SW_CPU_NUM (also not exceeding CPU_SETSIZE), rejecting IDs outside the available CPU range before Linux silently trims the invalid mask.
- Prevent workers from executing manager-only signal handling: In signal handling, first verify that the current process PID equals the manager PID, avoiding a newly forked worker briefly inheriting the manager's signal handler and then repeatedly broadcasting SIGWINCH to itself.
- Preserve native coroutine socket errors: After a socket call fails, immediately read errno and store it in a local variable; shutdown() and check_liveness() no longer depend on the C runtime errno that may be overwritten.
- Initialize PHP hook after switching hooks: When switching from the native hook to the PHP hook, add the missing function cache initialization so that subsequent calls go through the swoole_* PHP functions instead of an empty cache.
- Redis server packet receive buffer handling: Check the length before reading the trailing CRLF, expand only when the buffer is full, and perform the expansion calculation without narrowing and within package_max_length, fixing fragmented request parsing.
- Preserve package length limit for partial settings: When set() on a coroutine socket does not provide package_max_length, no longer reset it to the default value, preserving the current limit.
- Crash when initiating PHP requests in non-Swoole threads: sw_is_main_thread() now uses the ZTS check, and all reads and writes of the task temporary directory are protected by sw_thread_lock, avoiding crashes in threads not created by Swoole.
- Coroutine HTTP server request boundaries and 100 Continue: When the chunked request buffer is full, expand it to the limit and return 413 if exceeded; use llhttp completion events to precisely determine request end and preserve pipeline bytes, and send a 100 Continue once before waiting for the request body.
- HTTP/1.0 ignores 100-continue: Send the 100 Continue interim response only for HTTP/1.1 (version 101) requests; HTTP/1.0 clients do not recognize informational responses, so wait directly for the request body.
- Reject overly long HTTP Upgrade values: Accumulate the Upgrade header length across multiple parsing fragments, and return a parse error when it exceeds the thread temporary buffer capacity, avoiding out-of-bounds writes and heap corruption.
- Server SSL context initialization: Always initialize the main context and register the SNI callback even when only SNI certificates are configured without a default certificate, and make SSLContext::create() return failure and release the incompletely initialized context when certificate loading fails.
- Preserve request fields across parse calls: Standalone Request::parse() now performs llhttp parsing of appended ranges on retained request storage, and rebuilds URL and header field spans across fragments, avoiding fragments being treated as complete fields or referencing freed pointers.
- Reject repeated calls to native resource constructors: The constructors of coroutine HTTP/HTTP2 clients, coroutine HTTP servers, Process Pool, Cookie, and Thread report an error on the second call, protecting the original native resources and object state from being replaced.
- Server cpu_affinity_ignore handling: First validate that the option must be an array, then compute candidate CPUs based on the process's actual affinity mask, ignore invalid IDs, report an error when all available CPUs are excluded, and free that memory when the Server is destructed.
- Terminate chunked responses after clearing trailers: Always append the trailing CRLF even if the public trailer property is empty or null, ensuring wire format integrity and connection reusability.
- RSHUTDOWN cleanup of PHP timers: Use std::vector and a timer ID list instead of a pointer array allocated with emalloc, look up each one again before deleting it, avoiding timers remaining until swoole_clean() due to a fatal error when request heap memory is exhausted.
- Register after-fork hook during MINIT: Move the registration of the after-fork hook from RINIT to MINIT, avoiding repeated mounting when requests are started and shut down repeatedly in thread mode.
- curl multi preserves select readiness state: curl_multi_exec is driven by curl_multi_socket_action, and select is only responsible for waiting and recording readiness, covering polling, callback timing, removal, and reuse scenarios.
- HTTP/1 trailer completion fix: Determine whether sending is needed using the actual length of the built trailer buffer, preserve the trailing CRLF even for trailers containing only null values, and make end() return false when trailer sending fails instead of being overwritten by a success result.
- Preserve incomplete packets on receive timeout: Under the length protocol, no longer clear the read buffer on timeout and do not set offset to the packet length, allowing subsequent reads to continue assembling the complete packet from the interruption point; HTTP/2 and socket fragmentation tests cover this behavior.
- Recognize PHP sockaddr length macros on BSD: Change the compilation condition for address traversal to HAVE_SOCKADDR_SA_LEN or HAVE_STRUCT_SOCKADDR_SA_LEN, fixing the check on BSD platforms.
- Coroutine exception delivery in SPL directory iteration: Save EG(opline_before_exception) and the interrupt opline for each PHP coroutine, and restore the suspended user code through Zend's normal exception path on external cancellation; also support throw-style self-cancellation and reject non-coroutine main contexts.
- Reject global HTTP response headers in coroutines: At coroutine runtime, replace http_get_last_response_headers() with a handler that indicates it is unsupported, and restore the native handler after runtime stops, avoiding request-level global headers polluting each other across coroutines.
- CPU affinity for worker application configuration: Extract cpu_affinity_ignore validation into a separate helper function, and select CPU binding for event/task workers based on the actual allowed affinity mask before the worker startup callback; in THREAD mode bind the current pthread, and keep the master mask unchanged.
- Out-of-bounds read on empty PDO pgsql error message: _pdo_pgsql_trim_message() first checks whether the length is 0 and directly returns an empty string, avoiding strlen - 1 underflowing to SIZE_MAX and then reading bytes before the buffer.
- Do not lose signals during signal handling: The sigaction fallback path fills sa_mask for non-safe handlers to block other signals, so that signals arriving during handling remain pending and are delivered after handling returns, fixing the issue where the master's SIGTERM is lost during SIGCHLD handling.
- Enforce EOF packet length limit: Immediately report SW_ERROR_PACKAGE_LENGTH_TOO_LARGE when the first complete EOF packet exceeds package_max_length, or when an unterminated buffer reaches/exceeds the limit; coroutine sockets, synchronous/asynchronous clients, split mode, and server protocols enforce this uniformly, preserving packets exactly equal to the limit and valid first packets in merged reads.
- Validate WebSocket handshake response headers: The coroutine HTTP client validates Upgrade: websocket, Connection: Upgrade, and Sec-WebSocket-Accept in the 101 response (recomputed and compared using the request key); if invalid, the handshake fails and the connection is closed.
- UNIX datagram address ownership: When recvfrom has no peer address, clear the cached sun_path; during destruction, first refresh its own bound address with getsockname before unlinking, avoiding mistakenly deleting the peer socket file when releasing the receiver or exposing the previous peer address to PHP.
- write_func receives decompressed response body: Compressed responses are decompressed before being handed to write_func; the callback receives plaintext chunks and the internal body buffer is cleared; covers gzip/deflate/br and compressed SSE streams.
- Safe buffer expansion for WebSocket compressed output: Z_SYNC_FLUSH output may exceed deflateBound(); change to extend first when bytes_written + max_length exceeds capacity, and accumulate length according to the write position, avoiding out-of-bounds and length loss; add regression tests for incompressible payloads and control frames.
- Shared settings array isolation: Each set() performs SEPARATE_ARRAY on the setting property array before merging, avoiding in-place modification of a copy-on-write shared array, so that previously taken snapshots and caller-provided arrays remain unchanged; also remove the erroneous extra reference to the port object when inheriting settings across multiple ports.
- Preserve reload initiated in worker callbacks: The wait loop no longer deletes reload tasks during the reload_init phase, and instead waits until the next initialization round fills in the worker snapshot before checking completion, avoiding reloads requested in callbacks being discarded prematurely.
- Backport adaptation for pending reload and regression cases: When there is already a pending reload in the queue, use wait_process with WNOHANG to avoid blocking, and fix the pid is less than or equal to 0 check; on the test side, reap child processes, drain accepted HTTP connections before closing listeners, and adapt the test runner's output limit handling.
- Free captured HTTP/1 Content-Type: Move the freeing of content_type out of the branch that only matches compressed types, so that it is also freed when Content-Encoding is set and compression is disabled due to a mismatch, fixing a memory leak of about 1 KiB per request.
- swoole 6.2.4
- Build fix for platforms without futex: Changed `sw_usleep` to the standard `usleep` to fix compilation failure on that platform.
- WebSocket decoding validation: The decoder rejects CLOSE/PING/PONG control frames with RSV1 set before unmasking, preventing compressed control frames from entering the receive path.
- WebSocket encoding validation: The encoder rejects fragmented control frames or control frames with payloads exceeding 125 bytes, and makes `ping()` return false and set `SWOOLE_ERROR_WEBSOCKET_PACK_FAILED` when encoding fails.
- Thread stdio fd leak: After a thread exits, manually close the STDIN/STDOUT/STDERR file descriptors that were not released due to `PHP_STREAM_FLAG_NO_CLOSE`.
- Reactor unregistered fd lookup: When looking up an unregistered fd, return null instead of inserting an empty entry into the socket map, and change the accessor to const.
- SOCKS5 target host length validation: The DNS tunnel now validates that the target host length does not exceed 255 bytes, and returns an error as a handshake failure when it is too long.
- Thread scheduling policy preservation: When no policy is specified in `Thread::setPriority()`, first read the current scheduling policy before setting the priority, fixing the issue of using the invalid `-1` policy.
- Buffered stream read fix: Under PHP 8.3, when the stream already has buffered data, use the non-waiting receive path so that hooked streams directly return buffered data without waiting for new events.
- Atomic wait on systems without futex: Implement an atomic wait registry based on a shared-memory hash table, replace the mutex with a spinlock, and add timeout, generation notification, and entry reuse mechanisms.
- Stream write timeout reporting: When `fwrite` encounters ETIMEDOUT, no longer print an error notice, preserve the `timed_out` metadata and do not set `eof`; only set eof for genuine write errors.
- Stream read timeout error preservation: When `fread` encounters ETIMEDOUT, return failure (false) instead of 0 so callers can identify the timeout through metadata, and do not mistakenly set eof.
- Poll dispatch socket identity preservation: The Poll reactor additionally stores the Socket pointer corresponding to each pollfd during `set_events`, and directly uses that pointer during dispatch, avoiding events being dispatched to the wrong socket after the fd is reused in a handler.
- Process pool message bus reuse: `start()` no longer recreates the message bus when it already exists, allowing the same process pool to be shut down and started again and still deliver messages normally.
- BASE event pool resource release: A multi-worker BASE server destroys the event process pool after the manager ends and reuses the message boxes already allocated by `create()`, fixing resource leaks.
- TCP listener rebindability: `make_server_socket()` enables `SO_REUSEADDR` only for TCP listeners, avoiding TIME_WAIT preventing immediate restart while not affecting Unix and UDP socket behavior.
- ProcessPool truncated packet handling: The stream/task protocol requires both the length prefix and the packet body to be read exactly in full; a short read is treated as an incomplete packet and the connection is closed, and old data in the reused buffer is no longer passed to the callback as a valid payload.
- Message queue key range validation: The Process, ProcessPool, and Server entry points validate the range before narrowing a PHP integer to `key_t`; keys outside the representable range of `key_t` are rejected, while unsigned 32-bit boundaries are still accepted.
- Multipart upload temporary file error: When a temporary file cannot be created for a multipart upload, mark `UPLOAD_ERR_NO_TMP_DIR` in the file information, avoiding handing an empty upload to the handler as a successful file.
- Support HTTP QUERY method: Add QUERY to the HTTP/1 method table and let URL-encoded form bodies go through the existing request parsing path, keeping parsing consistent between normal servers and coroutine servers.
- Apply stream timeout to hooked write operations: When `stream_set_timeout()` sets a timeout, also update both the read and write coroutine socket deadlines, so that a blocking `fwrite()` no longer exceeds the configured stream timeout.
- Coroutine HTTP client socket initialization: Initialize the internal socket zval to null at construction so that calling `close()` before connecting is safe and returns `SWOOLE_ERROR_CLIENT_NO_CONNECTION`.
- Pass null for DNS when there is no service: `getaddrinfo()` passes a null pointer instead of an empty string when no service is specified, fixing the issue on musl (Alpine Linux) where EAI_SERVICE caused resolution to always fail.
- Ignore external interrupts when preemption is disabled: Apply the scheduling deadline only when the preemptive scheduling thread is running, preventing signal interrupts triggered by other extensions from switching coroutines using stale context state when preemption is off.
- CPU affinity ID validation: Each affinity entry is converted only once and used for validation, diagnostics, and `CPU_SET`; negative IDs and IDs exceeding `CPU_SETSIZE` are rejected, and `Thread::setAffinity()` treats any nonzero return value from `pthread_setaffinity_np` as failure.
- Validate affinity IDs by CPU count: On top of the previous commit, change the upper limit to `SW_CPU_NUM` (also not exceeding `CPU_SETSIZE`), rejecting IDs outside the available CPU range before Linux silently trims the invalid mask.
- Prevent workers from executing manager-only signal handling: In signal handling, first verify that the current process PID equals the manager PID, avoiding a newly forked worker briefly inheriting the manager's signal handler and then repeatedly broadcasting SIGWINCH to itself.
- Preserve native coroutine socket errors: After a socket call fails, immediately read errno and store it in a local variable; `shutdown()` and `check_liveness()` no longer depend on the C runtime errno that may be overwritten.
- Initialize PHP hook after switching hooks: When switching from the native hook to the PHP hook, add the missing function cache initialization so that subsequent calls go through the `swoole_*` PHP functions instead of an empty cache.
- Redis server packet receive buffer handling: Check the length before reading the trailing CRLF, expand only when the buffer is full, and perform the expansion calculation without narrowing and within `package_max_length`, fixing fragmented request parsing.
- Preserve package length limit for partial settings: When `set()` on a coroutine socket does not provide `package_max_length`, no longer reset it to the default value, preserving the current limit.
- Crash when initiating PHP requests in non-Swoole threads: `sw_is_main_thread()` now uses the `ZTS` check, and all reads and writes of the task temporary directory are protected by `sw_thread_lock`, avoiding crashes in threads not created by Swoole.
- Coroutine HTTP server request boundaries and 100 Continue: When the chunked request buffer is full, expand it to the limit and return 413 if exceeded; use llhttp completion events to precisely determine request end and preserve pipeline bytes, and send a 100 Continue once before waiting for the request body.
- HTTP/1.0 ignores 100-continue: Send the 100 Continue interim response only for HTTP/1.1 (version 101) requests; HTTP/1.0 clients do not recognize informational responses, so wait directly for the request body.
- Reject overly long HTTP Upgrade values: Accumulate the Upgrade header length across multiple parsing fragments, and return a parse error when it exceeds the thread temporary buffer capacity, avoiding out-of-bounds writes and heap corruption.
- Server SSL context initialization: Always initialize the main context and register the SNI callback even when only SNI certificates are configured without a default certificate, and make `SSLContext::create()` return failure and release the incompletely initialized context when certificate loading fails.
- Preserve request fields across parse calls: Standalone `Request::parse()` now performs llhttp parsing of appended ranges on retained request storage, and rebuilds URL and header field spans across fragments, avoiding fragments being treated as complete fields or referencing freed pointers.
- Reject repeated calls to native resource constructors: The constructors of coroutine HTTP/HTTP2 clients, coroutine HTTP servers, Process Pool, Cookie, and Thread report an error on the second call, protecting the original native resources and object state from being replaced.
- Server cpu_affinity_ignore handling: First validate that the option must be an array, then compute candidate CPUs based on the process's actual affinity mask, ignore invalid IDs, report an error when all available CPUs are excluded, and free that memory when the Server is destructed.
- Terminate chunked responses after clearing trailers: Always append the trailing CRLF even if the public trailer property is empty or null, ensuring wire format integrity and connection reusability.
- RSHUTDOWN cleanup of PHP timers: Use `std::vector` and a timer ID list instead of a pointer array allocated with `emalloc`, look up each one again before deleting it, avoiding timers remaining until `swoole_clean()` due to a fatal error when request heap memory is exhausted.
- Register after-fork hook during MINIT: Move the registration of the after-fork hook from RINIT to MINIT, avoiding repeated mounting when requests are started and shut down repeatedly in thread mode.
- curl multi preserves select readiness state: `curl_multi_exec` is driven by `curl_multi_socket_action`, and `select` is only responsible for waiting and recording readiness, covering polling, callback timing, removal, and reuse scenarios.
- HTTP/1 trailer completion fix: Determine whether sending is needed using the actual length of the built trailer buffer, preserve the trailing CRLF even for trailers containing only null values, and make `end()` return false when trailer sending fails instead of being overwritten by a success result.
- Preserve incomplete packets on receive timeout: Under the length protocol, no longer clear the read buffer on timeout and do not set `offset` to the packet length, allowing subsequent reads to continue assembling the complete packet from the interruption point; HTTP/2 and socket fragmentation tests cover this behavior.
- Recognize PHP sockaddr length macros on BSD: Change the compilation condition for address traversal to `HAVE_SOCKADDR_SA_LEN` or `HAVE_STRUCT_SOCKADDR_SA_LEN`, fixing the check on BSD platforms.
- Coroutine exception delivery in SPL directory iteration: Save `EG(opline_before_exception)` and the interrupt opline for each PHP coroutine, and restore the suspended user code through Zend's normal exception path on external cancellation; also support throw-style self-cancellation and reject non-coroutine main contexts.
- Reject global HTTP response headers in coroutines: At coroutine runtime, replace `http_get_last_response_headers()` with a handler that indicates it is unsupported, and restore the native handler after runtime stops, avoiding request-level global headers polluting each other across coroutines.
- CPU affinity for worker application configuration: Extract `cpu_affinity_ignore` validation into a separate helper function, and select CPU binding for event/task workers based on the actual allowed affinity mask before the worker startup callback; in THREAD mode bind the current pthread, and keep the master mask unchanged.
- Out-of-bounds read on empty PDO pgsql error message: `_pdo_pgsql_trim_message()` first checks whether the length is 0 and directly returns an empty string, avoiding `strlen - 1` underflowing to `SIZE_MAX` and then reading bytes before the buffer.
- Do not lose signals during signal handling: The sigaction fallback path fills `sa_mask` for non-safe handlers to block other signals, so that signals arriving during handling remain pending and are delivered after handling returns, fixing the issue where the master's SIGTERM is lost during SIGCHLD handling.
- Enforce EOF packet length limit: Immediately report `SW_ERROR_PACKAGE_LENGTH_TOO_LARGE` when the first complete EOF packet exceeds `package_max_length`, or when an unterminated buffer reaches/exceeds the limit; coroutine sockets, synchronous/asynchronous clients, split mode, and server protocols enforce this uniformly, preserving packets exactly equal to the limit and valid first packets in merged reads.
- Validate WebSocket handshake response headers: The coroutine HTTP client validates `Upgrade: websocket`, `Connection: Upgrade`, and `Sec-WebSocket-Accept` in the 101 response (recomputed and compared using the request key); if invalid, the handshake fails and the connection is closed.
- UNIX datagram address ownership: When `recvfrom` has no peer address, clear the cached `sun_path`; during destruction, first refresh its own bound address with `getsockname` before unlinking, avoiding mistakenly deleting the peer socket file when releasing the receiver or exposing the previous peer address to PHP.
- write_func receives decompressed response body: Compressed responses are decompressed before being handed to `write_func`; the callback receives plaintext chunks and the internal body buffer is cleared; covers gzip/deflate/br and compressed SSE streams.
- Safe buffer expansion for WebSocket compressed output: `Z_SYNC_FLUSH` output may exceed `deflateBound()`; change to `extend` first when `bytes_written + max_length` exceeds capacity, and accumulate `length` according to the write position, avoiding out-of-bounds and length loss; add regression tests for incompressible payloads and control frames.
- Shared settings array isolation: Each `set()` performs `SEPARATE_ARRAY` on the `setting` property array before merging, avoiding in-place modification of a copy-on-write shared array, so that previously taken snapshots and caller-provided arrays remain unchanged; also remove the erroneous extra reference to the port object when inheriting settings across multiple ports.
- Preserve reload initiated in worker callbacks: The wait loop no longer deletes reload tasks during the `reload_init` phase, and instead waits until the next initialization round fills in the worker snapshot before checking completion, avoiding reloads requested in callbacks being discarded prematurely.
- Backport adaptation for pending reload and regression cases: When there is already a pending reload in the queue, use `wait_process` with `WNOHANG` to avoid blocking, and fix the `pid less than or equal to zero` check; on the test side, reap child processes, drain accepted HTTP connections before closing listeners, and adapt the test runner's output limit handling.
- Free captured HTTP/1 Content-Type: Move the freeing of `content_type` out of the branch that only matches compressed types, so that it is also freed when `Content-Encoding` is set and compression is disabled due to a mismatch, fixing a memory leak of about 1 KiB per request.
- Added `SwooleCoroutineHttp2MultiplexClient`, an HTTP/2 client that multiplexes requests from many coroutines over one shared connection, reconnects on demand, and closes an idle connection after a configurable period (options `heartbeat_check_interval` and `heartbeat_idle_time`).
- `SwooleDatabaseRedisConfig::withAuth()` now also accepts a `[username, password]` array for Redis ACL authentication. A class extending `RedisConfig` that overrides `withAuth()` or redeclares `$auth` has to widen its `string` type to `string|array`.
- Support the `CURLOPT_PREREQFUNCTION` option in the coroutine curl handler; on PHP versions without the native constants, use `SwooleCurlCURLOPT_PREREQFUNCTION`, `SwooleCurlCURL_PREREQFUNC_OK` and `SwooleCurlCURL_PREREQFUNC_ABORT`.
- Support the `http2_max_headers` server option, with the constant `SwooleConstant::OPTION_HTTP2_MAX_HEADERS`.
- `SwooleDatabaseMysqliProxy::inTransaction()` and `reset()`, which report and forget the transaction state the proxy tracks. `SwooleDatabaseMysqliPool::get()` hands out a connection with that state reset.
- `SwooleRemoteObjectException::getRemoteClass()` and `getRemoteCode()`, which give the class and the code of an exception thrown on the server.
- `SwooleServerHelper` uses the `SwooleConstant::OPTION_*` constants instead of string literals in its option tables and lookups.
- The FastCGI `Params` record encodes and decodes its parameters in linear time, about 2.5 and 8 times faster than before; the bytes produced and the parameters read are the same.
- `SwooleArrayObject::lastIndexOf()` and `remove()` with `$loop` find their keys in one `array_keys()` call instead of walking the array in PHP, with the same results.
- `SwooleStringObject::endsWith()` uses `str_ends_with()` and no longer scans the whole string, with the same results.
- Report fatal `SwooleCoroutineServer` accept failures through `start()` and `errCode`.
- Fixed a memory leak in `SwooleRemoteObjectClient`, present since 6.2.0, where every client was kept alive for the lifetime of the process. `SwooleRemoteObjectClient::getInstance()` now returns `null` for a client that is gone, and a client can no longer be cloned.
- Fixed a startup race in the default remote object server that let a coroutine see the server as ready while another one was still starting it.
- A failed reconnect left a database statement proxy wrapping `false`.
- `SwooleRemoteObjectClient` now throws a `SwooleRemoteObjectException` on a response that does not unserialize.
- An empty FastCGI response is now reported as `502 Invalid FastCGI Response`.
- `SwooleCoroutineFastCGIClient` kept a connection whose response could not be parsed, and the next request sent over it read the rest of that response as its own.
- A `SwooleRemoteObjectClient` used from several coroutines at once ended the process with a fatal "Socket has already been bound to another coroutine"; calls through one client are now serialized.
- `swoole_container_cpu_num()` ignored the CPU quota of cgroup v2 containers.
- The mysqli proxies did not reconnect after a lost connection under the default mysqli report mode of PHP 8.1+, where failures are thrown as `mysqli_sql_exception`.
- The mysqli proxies no longer reconnect inside a transaction, and report a lost connection in a method they do not retry, such as `store_result()`, where they returned `false`.
- `SwooleDatabaseMysqliStatementProxy` did not re-bind the `bind_result()` variables correctly after a reconnect, and retried `fetch()` on a statement that was prepared again but never executed.
- `SwooleDatabaseMysqliStatementProxy` did not recover from a second lost connection on the same statement.
- `SwooleDatabasePDOStatementProxy` turned a connection lost while reading rows into an empty result, and did not recover from a second lost connection on the same statement. It now retries `execute()` only, and reports a lost connection in any other method.
- `SwooleDatabasePDOStatementProxy`: after a connection lost inside a transaction started by hand, e.g. with `exec('BEGIN')`, `execute()` ran the statement again on a new connection, outside the transaction. The lost connection is now reported.
- The database proxies recognise more lost-connection errors: SSL failures during a query, PostgreSQL's `canceling statement due to conflict with recovery`, and the PlanetScale PostgreSQL / pg_bouncer messages, in line with Laravel's list.
- `SwooleDatabaseRedisPool` passed the `connect()` arguments in the wrong positions when only some of the connect timeout, retry interval and read timeout were configured.
- `SwooleCoroutineServer` never backed off when a coroutine could not be created for an accepted connection.
- A FastCGI request body of `"0"` was dropped as empty.
- An exception the remote object server caught became a `TypeError` on the client when its code was not an integer, as with a `PDOException`, and so did the server's own errors such as an invalid API key. Both now arrive as a `SwooleRemoteObjectException`.
- `SwooleNameResolverNacos::getCluster()` threw a `TypeError`, because Nacos reports the weight of a node as a float.
- Several scripts under `examples/` did not run: the remote object, Nacos, Consul, PDO and short name examples.
- `SwooleConnectionPool::close()` failed with an `Error` when called twice, and `fill()` on a closed pool made connections only to drop them.
- `SwooleDatabasePDOProxy`: `query()` and `prepare()` failed with a `TypeError` outside the exception error mode.
- `SwooleDatabasePDOProxy`: `query()`, `exec()` and `beginTransaction()` did not reconnect after a connection lost outside a transaction on PostgreSQL.
- `SwooleDatabasePDOProxy` stayed on a dead connection after a connection lost inside a transaction, and on PostgreSQL after a reconnect that failed. The next call now reconnects, and `rollBack()` of the transaction lost with the connection returns `true`.
- `SwooleArrayObject` and `swoole_array_default_value()` raised a deprecation on PHP 8.5 when given a `null` key, which still stands for the empty string.
- The mysqli proxies raised a warning on `prepare(query: ...)`, with the query passed by name, and could not prepare that statement again after a reconnect.
- `SwooleDatabasePDOStatementProxy`: after a reconnect, a statement used the value a variable had when `bindParam()` was called, not its present one, and no longer filled the variables of `bindColumn()`.
- `SwooleDatabasePDOStatementProxy::bindColumn()` threw a `TypeError` when called without a type.
- `isset()` and `empty()` on an offset of a `SwooleRemoteObject` always failed with a `TypeError`.
- `SwooleDatabasePDOStatementProxy`: after a reconnect, a parameter bound by both `bindValue()` and `bindParam()` could take the binding made first instead of the one made last.
- Array access on a `SwooleRemoteObject` used the properties of the object on the server instead of its `ArrayAccess` implementation.
- The remote object server passed `null` to a function called with a remote object it no longer has, where it now reports the object as not found.
- The default remote object server did not start in a directory whose path has a space or a quote in it.
- `isset()`, `empty()` and `??` on a property of a `SwooleRemoteObject` treated the property as unset without asking the server, and `unset()` did not reach the server.
- Dropped support for PHP below 8.2 and Swoole below 6.2.
- zookeeper 1.3.1
Bugs:
- Avoid double-free of watcher callback data after successful removal from the callback hash table (Thanks to John P. Bloch, GH PR #66)
- datadog_trace 1.26.1
## All products
### Fixed
- Call exit handlers when FrankenPHP shuts down #4350
- Use fallible allocations when serializing traces and parsing request bodies #4345, #4351
- Avoid null pointer arithmetic in CLI script basename detection #4320
Tracer
Fixed
- Hook
#[DDTraceTrace] attributes on preloaded functions #4324
- Propagate
DD_ENTITY_ID to DogStatsD metrics sent by the extension #4328 (thank you @lcobucci!)
Profiling
Fixed
- Fix thread safety issues in profiler globals initialization and shutdown, and avoid a 100ms sleep at shutdown #4296, #4301
AppSec
Fixed
- Avoid accessing freed logging state at shutdown #4350
tagged:
Community News:
Latest PECL Releases (10.20.2026)
byChris Cornutt
Oct 20, 2026 @ 08:05:33
Latest PECL Releases:
- yac 3.0.1
- Keep reference-containing values on the internal fast serializer when their contents are supported, falling back to PHP serialization otherwise
- dump() reports encoder details and names the storage location field consistently
- phalcon 5.23.0
Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md
- protobuf 5.37.0RC1
* See github.com/protocolbuffers/protobuf/releases/tag/v37.0-rc1 for release notes.
- mongodb 1.21.12
## What's Changed
### Fixed
* PHPC-276: Prevent stack exhaustion when decoding deeply nested BSON by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2158
### Other Changes
* PHPC-276: Enforce the decode nesting limit for CodeWScope scopes by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2166
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/1.21.11...1.21.12
- mongodb 2.1.12
## What's Changed
### Fixed
* PHPC-276: Prevent stack exhaustion when decoding deeply nested BSON by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2158
### Other Changes
* PHPC-276: Enforce the decode nesting limit for CodeWScope scopes by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2166
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/2.1.11...2.1.12
- mongodb 2.5.5
<!-- Release notes generated using configuration in .github/release.yml at 2.5.5 -->
What's Changed
Fixed
- PHPC-276: Prevent stack exhaustion when decoding deeply nested BSON by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2158
Other Changes
- PHPC-276: Enforce the decode nesting limit for CodeWScope scopes by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2166
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/2.5.4...2.5.5
tagged:
Community News:
Latest PECL Releases (10.13.2026)
byChris Cornutt
Oct 13, 2026 @ 08:05:31
Latest PECL Releases:
- gRPC 1.85.0RC1
- gRPC Core 1.85.0 update
- zephir_parser 2.9.1
### Fixed
- Fixed a union-typed property failing to parse with `{ get, set }` shortcuts or an all-caps name ([zephir-lang/zephir#2761](https://github.com/zephir-lang/zephir/issues/2761))
- zephir_parser 2.9.0
### Added
- Support `a instanceof static` (late static binding). The right operand is a variable named `static`, the shape `instanceof self` and `instanceof parent` already have, and `a instanceof static::m()` still parses as before ([zephir-lang/zephir#2714](https://github.com/zephir-lang/zephir/issues/2714))
- Judy 2.8.0
- SECURITY FIX: appending to a string-keyed array ($j[] = ...) no longer
crashes; the append guard now enumerates all seven string-keyed types,
including Judy::STRING_TO_ENTRY (#217).
- SECURITY FIX: forEach()/filter()/map() on Judy::STRING_TO_ENTRY read each
value through the entry accessor instead of reinterpreting a cache-entry
struct as a zval (out-of-bounds read / crash); equals() gained a matching
ENTRY branch (#217).
- SECURITY FIX: set() rejects keys longer than the 64 KB key buffer before
taking a slot, closing a heap overflow reachable through an oversized key;
deleteRange() on string-keyed ENTRY arrays now frees the cache-entry struct
and its value reference instead of leaking both (#217).
- FIX: expired STRING_TO_ENTRY values are hidden from reads and traversals
(iterator, get, keys/values/toArray) while count()/size() stay raw-counter
O(1) until pruneExpired(). mergeWith() copies TTL and flags verbatim, and
get_gc() collects stored ENTRY values so value cycles are collectable (#217).
- FIX: wrong-category range bounds now throw TypeError instead of silently
coercing to a wrong-range read: int-keyed keys()/values()/toArray()/size()/
slice() reject non-numeric string bounds, and string-keyed deleteRange()
rejects integer bounds (#217).
- FIX: __unserialize() validates the serialized type, payload shape and
optimizeIteration flag strictly before touching the object, so a malformed
payload throws without destroying or corrupting an already-populated array,
and an out-of-range type throws instead of emitting an E_WARNING (#225).
- mongodb 1.21.11
## What's Changed
### Other Changes
* Exclude OCSP tasks from PR checks by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2125
* PHPC-2774: Pin all GitHub Actions to exact release tags by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2121
* Align the v1.21 CI configuration with v2.1 and v2.5, and pin all GitHub Actions by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2129
* Upgrade libmongoc by @paulinevos in https://github.com/mongodb/mongo-php-driver/pull/2148
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/1.21.10...1.21.11
- mongodb 2.1.11
## What's Changed
### Other Changes
* Exclude OCSP tasks from PR checks by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2125
* PHPC-2774: Pin all GitHub Actions to exact release tags by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2121
* Align the v1.21 CI configuration with v2.1 and v2.5, and pin all GitHub Actions by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2129
* Upgrade libmongoc by @paulinevos in https://github.com/mongodb/mongo-php-driver/pull/2148
* remove stray build files by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2151
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/2.1.10...2.1.11
- mongodb 2.5.4
<!-- Release notes generated using configuration in .github/release.yml at 2.5.4 -->
What's Changed
Fixed
- PHPC-2505: Fix foreach after GC invocation by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/1982
Minor
- PHPC-2682: Replace zend_hash_destroy + FREE_HASHTABLE with zend_hash_release by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2138
Other Changes
- Exclude OCSP tasks from PR checks by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2125
- PHPC-2774: Pin all GitHub Actions to exact release tags by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2121
- Align the v1.21 CI configuration with v2.1 and v2.5, and pin all GitHub Actions by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/2129
- Upgrade libmongoc by @paulinevos in https://github.com/mongodb/mongo-php-driver/pull/2148
- remove stray build files by @kevinAlbs in https://github.com/mongodb/mongo-php-driver/pull/2151
Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/2.5.3...2.5.4
- datadog_trace 1.26.0
## All products
### Changed
- Write sidecar logs when it runs in thread mode #4235
- `datadog-setup.php` now reports that macOS is not supported #4284 (thank you @staabm for the report!)
Fixed
- Stop spawning a new sidecar while a PHP worker shuts down, which left orphaned sidecar processes #4164
- Correctly handle a thread-mode sidecar that takes over as the new master process #4270
- Fix sidecar telemetry lock inversions, premature sidecar idle shutdown and a hang on Windows when the sidecar pipe is full #4219
- Avoid a race between the SSI loader's background
dlclose() and process exit #4229
- Crash reports now respect proxy environment variables, and the agent host/port takes priority over a UDS socket for error tracking uploads DataDog/libdatadog#2462, DataDog/libdatadog#2633
- Authenticate sidecar connections and shared memory (peer credential checks, trusted shared memory directory), fixing https://github.com/DataDog/dd-trace-php/security/advisories/GHSA-j3g8-6962-2xqq and https://github.com/DataDog/dd-trace-php/security/advisories/GHSA-fmrj-jm6v-j549 DataDog/libdatadog#2551
Internal
- Update Rust dependencies to fix RustSec advisories; building from source now requires Rust 1.91.1 #4188
- Publish the OTel process context during MINIT #4213
Tracer
Added
- Support OTel sampling (
ot.th/ot.rv tracestate) in distributed tracing #4177
Changed
- Update the default query string obfuscation regex, fixing a security vulnerability, as described in https://github.com/DataDog/dd-trace-php/security/advisories/GHSA-49fg-59cp-2hqj #4282
- Improve stability of the tracer on macOS #4187
- Client-side stats obfuscation now follows the agent's full SQL obfuscation config DataDog/libdatadog#2535
Fixed
- Fix crashes at shutdown: on PHP 7.0/7.1 ZTS #4185, in
atexit after ddtrace was unloaded #4197, in the zend extension shutdown #4218, and in remote config shutdown #4220
- Fix rare use-after-frees in the in-process background sender, during request processing #4189 and at shutdown when the writer thread gets detached #4278 (thank you @alexandre-daubois!)
- Make the flush on SIGTERM/SIGINT safe against crashes in the allocator #4222
- Fix a crash when walking the stack after a generator was destroyed during an aborted call #4272
- Fix JIT blacklisting on PHP 8.5+ and for generator memory #4226, #4236
- Fix multi-hooking with dynamic payloads and a crash when subclassing
HookData #4236
- Do not start the background writer when the tracer is disabled during MINIT #4233
- Avoid starvation of synchronous flushes with the in-process background sender #4224
- Fix sidecar connection from threads impersonating another user under Windows #4280
- Make Windows remote config notifications safe against unloading ddtrace #4219
- Evaluate the sampling decision once per trace chunk during serialization #4219
- Set
peer.service sources in the Predis and PDO connect integrations #4285, #4286 (thank you @redpanda for the reports!)
- Report
http.status_code for Guzzle requests that throw on non-2xx responses, and fix DD_TRACE_HTTP_CLIENT_ERROR_STATUSES handling #4287 (thank you @fbaumann-ph for the report!)
- Fix client-side stats:
http.endpoint takes precedence over http.route again, and deeply nested SQL can no longer exhaust the stack during obfuscation DataDog/libdatadog#2582, DataDog/libdatadog#2441
- Fix a possible divide-by-zero panic in the shared rate limiter #4259
Internal
- Add the
_dd.sdk.otlp_export marker to trace chunks #4240
Profiling
Changed
- Speed up sample processing, reducing dropped samples under load #4194
Fixed
- Fix several I/O profiling issues:
poll readiness, fread/fwrite byte counts, RELRO protection after GOT patching, and loader bounds checks #4156
- Fix a wall-time crash after ext-grpc runs PHP code on a native thread; I/O profiling is disabled when ext-grpc is loaded #4198
- Report allocator-rounded allocation sizes and fix upscaling of samples with varying allocation sizes #4230
- Block signals before spawning profiler helper threads #4224
AppSec
Changed
- Update libddwaf to 2.1.0 and build it from source for PECL packages, fixing offline builds #4203 (thank you @remicollet for the report!)
- Update vendored libxml2 to 2.15.4 #4224
Fixed
- Fix loading AppSec on musl ZTS builds (e.g. Alpine, FrankenPHP), and a crash on ZTS thread exit #4180
- Fix protocol failures caused by empty AppSec data #4216
- rpminfo 1.2.2
- Update PHP License from version 3 to version 4 (BSD-3-Clause)
- Compatibility with PHP 8.6
- Bitset 3.2.1
- Compatibility with PHP 8.6
tagged:
Community News:
Latest PECL Releases (09.22.2026)
byChris Cornutt
Sep 22, 2026 @ 08:05:26
Latest PECL Releases:
- Tensor 3.1.0
- Implemented the singular value decomposition (SVD) in the pure-PHP library
- Implemented the Moore-Penrose pseudoinverse in the pure-PHP library via SVD
- Implemented the eigendecomposition in the pure-PHP library
- Tensor 3.0.11
- Update to Zephir 1.5.0
- Fixed RREF/REF pivot float tolerance
- RREF now zeroes the tail if below EPSILON
- `rank()`, `fullRank()`, and `inverse()` are now consistent
- Matrix::inverse() now throws a RuntimeException on singular input
- Matrix::inverse() now throws an InvalidArgumentException on non-square input
- Fix Poisson distribution when lambda is zero
- Added square check to inverse()
- Cholesky decompose() now throws a RuntimeException on non-positive-definite input
- Added the SingularMatrix exception
- The extension now reduces singular matrices to REF and RREF instead of throwing
- phalcon 5.21.0
Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md
- Tensor 3.0.10
- Update to Zephir 0.23, adds support for PHP 8.5
- Fixed Matrix and Vector build() validation
- Fixed bug in Matrix row variance
- Fixed LU decomposition pivot selection, singular matrices now throw a RuntimeException
- Fixed undefined array key in Vector and Matrix quantile at q=1.0 or with a single element
- Fix extension rank() operation
- Fixed reduce() callback argument order inconsistency between Matrix and Vector
- Fix covariance() summation axis
- Fixed Vector notEqualMatrix throwing InvalidArgumentException instead of DimensionalityMismatch
- Fixed memory leak in the extension on the failure path of inverse, pseudoinverse
- protobuf 5.36.2
* See github.com/protocolbuffers/protobuf/releases/tag/v36.2 for release notes.
- ice 1.12.0
- PHP 8.0, drop support
- PHP 8.5, add support
- Update zephir parser to 2.8.0
- Update mongodb/mongodb to ~2
- SleetParser, fix template parsing and array literal syntax
- Di, Arr, fix magic get/set returning null for registered services
- FastRouter, fix routes with no explicit handler not matching
- Url, fix double leading slash in generated URLs
- FilterCss, fix comment stripping
- HttpResponse, fix byte range for non-resumable downloads
- Fix various Zephir compile errors and conditional-initialization warnings
- Tests, convert @dataProvider annotations to PHP 8 attributes for PHPUnit 11+
- timezonedb 2026.4
Updated to version 2026.4 (2026d)
- swoole 6.1.10
- Fixed an issue in SWOOLE_THREAD mode where the program could not start if the set() method was not called.
- Fixed a NULL pointer dereference that occurred when querying port attributes while shutting down the server, caused by the ListenPort pointer being NULL.
- Fixed an issue where a hooked TLS stream completes the handshake in Socket::connect(). When this call fails or is canceled, the stream transport layer should return failure directly instead of attempting to enable encryption again.
- Fixed an issue where the coroutine HTTP server still returned success when the protocol setting was rejected or accept failed.
- Fixed an issue where HTTP compression used the wrong data format when returning deflate encoding.
- Fixed an issue where, when native hook was not enabled, destroying a native CurlHandle did not hand the object release work back to ext-curl, resulting in incorrect release logic.
- Fixed an issue in cURL multi under the CURL_POLL_INOUT state where the event mask for "readable and writable at the same time" was not correctly restored, causing HTTP/2 duplex transmission to be repeatedly woken up when blocked by flow control, forming a busy loop.
- Fixed the lack of timeout support for atomic wait/wakeup on the Windows platform.
- Fixed an issue where, after enabling send_yield, the peer closing the connection prevented the coroutine from being woken up, resulting in a coroutine leak.
tagged:
Community News:
Latest PECL Releases (09.15.2026)
byChris Cornutt
Sep 15, 2026 @ 08:05:24
Latest PECL Releases:
- gRPC 1.84.0
- gRPC Core 1.84.0 update
- opentelemetry 1.4.1
See https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/1.4.1
- maxminddb 1.14.0
* Bounded the resources that the pure PHP decoder spends on a single lookup. A
crafted database could nest data-section pointers to shared targets so that
decoding one record cost exponential time and memory, or point many times at
one large value so that the decoder copied far more data than the file holds.
The decoder now follows the Reader Resource Limits section of the MaxMind DB
specification. Each lookup is limited to 65,536 values, 512 levels of
nesting, and 2 MiB of string and bytes payload.
* Exceeding a limit throws an `InvalidDatabaseException`.
* Opening a database whose metadata exceeds a limit throws the same
exception.
* A scalar that declares more than 16 bytes, the width of the widest
fixed-width type, is rejected as invalid data.
* The bundled libmaxminddb used by `--with-maxminddb-bundled` builds of the
extension now applies the same decoder limits. The extension throws an
`InvalidDatabaseException` when a lookup exceeds them.
* The pure PHP reader is about 40% faster on City lookups. It no longer seeks
before a read that continues where the last one ended, and it checks read
lengths with `strlen()` instead of `ftell()`.
* The Windows build configuration now accepts either `libmaxminddb.lib` or
`maxminddb.lib` when building the extension. The `lib` prefix was removed
in libmaxminddb 1.6.0, but the libmaxminddb that PHP publishes for Windows
builds is still 1.5.0, which uses the prefixed name. Pull request by
Jean-Baptiste Nahan. GitHub #231.
* Replaced `XtOffsetOf()` with `offsetof()`. The `XtOffsetOf()` alias has
been removed in PHP 8.6. Pull request by Remi Collet. GitHub #252.
* The extension can now be built from a bundled copy of libmaxminddb, on
both Unix-like systems and Windows, by passing `--with-maxminddb-bundled`
to `configure` (or to `configure.bat` on Windows). This produces an
extension that does not depend on a system libmaxminddb, which is a
prerequisite for distributing precompiled builds; on Windows it also
replaces the 1.5.0 import library that PHP publishes for Windows builds.
The default is unchanged: without the flag, the extension links against a
system libmaxminddb as before. GitHub #265.
* The `conflict` constraint on `ext-maxminddb` in `composer.json` is again
updated when a release is cut. The substitution that maintains it stopped
matching in April 2024, when the constraint's separator changed from a comma
to `||`, so the constraint has read `<1.11.1` through four releases. Users of
the C extension should note the effect of reviving it: `ext-maxminddb` is a
Composer platform package, so this release conflicts with an older compiled
extension and `composer update` will require upgrading the two together.
GitHub #266.
- zephir_parser 2.8.0
### Added
- Support PHP attribute syntax on every declaration PHP allows for a class member: `#[Attr]`, `#[Attr(1, "s", key: "v")]` and `#[A, B(2)]` on a class, interface, trait, function, property, class constant, method and parameter (including closure and interface-method parameters). The host node gains an `attributes` key, appended last and omitted entirely when the declaration carries none, so every node that parsed before keeps its exact shape. `#[A] #[B]` and `#[A, B]` produce the same flat list, since the grouping carries no meaning in PHP either. Arguments reuse the call-argument non-terminal, so a named argument (`key: expr`) needs no special form and the grammar accepts more than a constant expression, leaving the compiler to name the sub-expression it cannot fold. The canonical order is docblock then attributes; the reverse is tolerated ([zephir-lang/zephir#2466](https://github.com/zephir-lang/zephir/issues/2466)).
Changed
-
#[ is a new token. A bare # remains a scanner error, and #[ inside a string, a comment, a docblock or a %{ ... }% cblock is still part of that literal.
- An attribute named after one of Zephir's case-insensitive keywords is accepted for the eleven that are plausible attribute names (
Deprecated, Final, Internal, Readonly, Static, Default, Case, Empty, Void, Reverse, Inline) and normalized to that canonical spelling. A keyword whose terminal matches two spellings, such as float, has no such rule and must be written qualified.
- yac 2.4.2
- String values are decoded straight into the zend_string handed back to PHP, no second copy per read
- Copying a value and checksumming it are a single pass on writes as well as reads
- The next probe slot is prefetched while the current one's lock, load and compare are in flight
- Faster argument parsing for add/set/get/delete/dump
- dump() builds its result array in bulk instead of one insert per entry
- Overwriting an entry whose value outgrew its block skips the checksum of the block being replaced
- CRC-32C picks its implementation by probing the CPU at runtime, so a binary built with -msse4.2 still runs on older hardware
- Fixed get() crashing under concurrency: find() bumped the hit count and access time without holding the slot, overwriting the type flag a concurrent write had just published
- flush() now takes every slot before clearing the table; it could previously land mid-publish and leave a slot permanently unusable
- dump() returns an empty result while a flush() is in progress instead of reporting half-cleared slots
- Fixed a wild-pointer read in the block-value guard of find()
- Fixed dump() on PHP older than 7.4
- Fixed the packaged tarball missing storage/crc, which made it fail to build
- datadog_trace 1.25.1
## All products
### Fixed
- Fix SSI MSHUTDOWN on PHP 7.3 with opcache #4169
Tracer
Fixed
- Set ZEND_ENABLE_STATIC_TSRMLS_CACHE=1 on windows as well for windows ZTS builds #4172
- Fix #4163: broken frankenphp shutdown signal on musl #4167
Internal
- Remove any dependency on aws-lc-sys #4170
Profiling
Fixed
- Fix IO/allocation sampling intervals #4159
AppSec
Fixed
- Use MetricType::Distribution for RASP_RULE_DURATION_DIST #4093
- Do not panic when WAF arrays exceed 2^16-1 elements DataDog/libddwaf-rust#28
tagged: