Community News: Latest PECL Releases (12.27.2022)

Latest PECL Releases:

phalcon 5.1.3
Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

Fixed

Fixed PhalconMvcMicro::handle to type check an object for the finish #16240

Fixed PhalconDIService::resolve to not call the get() from the container and cause an infinite loop #15032

openswoole 22.0.0
. Rename `corun` to be `co::run`
. Security update: Remove embedded PHP codes, hot code execution with eval and remove `ini` option `enable_library`
. Added server Constants class: OpenSwooleConstant
. Use OpenSwoole as the main namespace, although Swoole is still supported
. Pre-check server options
. Security update: New server option `enable_server_token`, disabled by default
. Built-in Psr7 API support added
. Boost ASM library upgrade
. New Psr API: $server->setHandler(PsrHttpServerRequestHandlerInterface $handler)
. New Psr API: $server->handle(callable $callback)
. Redis Server API: $server->setHandler() -> $server->addCommand()
. Redis Server API: $server->getHandler() -> $server->getCommand()
. Disable sockets_*, exec, shell_exec, `gethostbyname` coroutines hook by default, remove HOOK_BLOCKING_FUNCTION and HOOK_SOCKETS in HOOK_ALL; Enable them explicitly if they are used
. Remove deprecated custom coroutine MySQL client, prefer the hooked native coroutine MySQL client
. Remove deprecated custom coroutine Redis client, prefer the hooked native coroutine Redis client
. Remove deprecated experimental coroutine HTTP server
. Remove deprecated experimental Redis protocol server
. Remove deprecated function `swoole_timer_set()` and `Timer->set()`
. Remove deprecated function `swoole_event_rshutdown`
. Remove deprecated function `SwooleRuntime::fread`, `SwooleRuntime::fwrite`, `SwooleRuntime::fgets`
. Remove deprecated function `Coroutine::suspend`, use `Coroutine::yield`
. Remove deprecated function `Coroutine::getuid`, use `Coroutine::getCid`
. Remove deprecated function `Coroutine::listCoroutines`, use `Coroutine::list`
. Remove deprecated function `Table::exist`, use `Table::exists`
. Remove deprecated function `Table::delete`, use `Table::del`
. Remove deprecated function `Server->connection_info()`, use `Server->getClientInfo()`
. Remove deprecated function `Server->connection_list()`, use `Server->getClientList()`
. Remove deprecated function `Server->exist`, use `Server->exists`
. Move global constants under namespace: SWOOLE_CHANNEL_OK -> `OpenSwooleCoroutineChannel::CHANNEL_OK`, SWOOLE_CHANNEL_TIMEOUT -> `OpenSwooleCoroutineChannel::CHANNEL_TIMEOUT`, SWOOLE_CHANNEL_CLOSED -> `OpenSwooleCoroutineChannel::CHANNEL_CLOSED`…
. Move global constants under namespace: SWOOLE_DEFAULT_MAX_CORO_NUM -> `OpenSwooleCoroutine::DEFAULT_MAX_CORO_NUM`…
. Remove `$server->getLastError()`, use `OpenSwooleUtil::getLastErrorCode()`
. Remove `$process->name()`, use `OpenSwooleUtil::setProcessName()`
. New Util API class: added `OpenSwooleUtil` class
. Remove option `swoole.use_shortname`, remove `Co*` alias. `go`, `chan`, `defer`, `co::*` are available by default
. Remove `swoole_async_dns_lookup_coro`, use `OpenSwooleCoroutine::dnsLookup` or `OpenSwooleCoroutineSystem::dnsLookup`; remove `swoole_async_set`, use `OpenSwooleUntil::setAio([])` or `$server->set([])` for `aio` options;
. Rename PHP `ini` options from `swoole.*` to be `openswoole.*`
. Remove `swoole_clear_dns_cache`, use OpenSwooleCoroutine::clearDNSCache` or `OpenSwooleCoroutineSystem::clearDNSCache`
. Remove custom unserialize functions: `swoole_substr_unserialize` and `swoole_substr_unserialize`
. Remove `swoole_client_select` and `swoole_select`, use `OpenSwooleClient::select`
. Remove `swoole_last_error`, use `OpenSwooleUtil::getLastErrorCode`
. `OpenSwooleEvent::wait();` should be added explicitly to wait for all the IO events
. Use `OpenSwooleServer::SIMPLE_MODE` and `OpenSwooleServer::POOL_MODE` at server structure config
. Fix: ignore user set illegal HTTP header at server
. Fix: ignore user set encoding header at client if it is not supported
. Remove hard requirements and links of json and remove compile flag `–enable-swoole-json`
. Rename compile flag `–enable-swoole-curl` to be `–enable-hook-curl`
. Fix convert double sec to long microseconds in hooked usleep by @shandyDev
openswoole 4.12.1
. Bug fixed: PDO pool client for Postgres
. Compatible with PHP 8.2.0 (PHP-8.2.0)

PHPDeveloper.org

Read More

Latest News

PHP-Releases

PHP 8.3.4 released!

PHP 8.2.17 released!

PHP 8.1.27 released!

Generated by Feedzy