Community News: Latest PECL Releases (12.28.2021)

Latest PECL Releases:

openswoole 4.9.1
– Bug fixed: Added type validation and value length validation at Swoole Table

Fix build with old libcurl, thanks @remicollet

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

Changed

Marked as deprecated:

PhalconMvcModel::existsBelongsTo()

PhalconMvcModel::existsHasMany()

PhalconMvcModel::existsHasOne()

PhalconMvcModel::existsHasOneThrough()

PhalconMvcModel::existsHasManyToMany()

PhalconTranslateAdapterCsv::exists()

PhalconTranslateAdapterGettext::exists()

PhalconTranslateAdapterNativeArray::exists() #15785

Moved PhalconContainer to PhalconContainerContainer #15796

Changed the PhalconSupportCollection::get() to return the default value if the key does not exist or the value is null to mirror the behavior of v3. #15370

Moved PhalconRegistry to PhalconSupportRegistry #15802

Moved PhalconUrl to PhalconMvcUrl #15798

Moved PhalconLoader to PhalconAutoloadLoader #15797

Changes to PhalconAutoloadLoader:
Renamed registerClasses() to setClasses()

Renamed registerDirectories() to setDirectories()

Renamed registertExtensions() to setExtensions()

Renamed registertFiles() to setFiles()

Renamed registertNamespaces() to setNamespaces() #15797

Moved PhalconDi to PhalconDiDi #15799

Removed references to PhalconTag from the framework in favor of PhalconHtmlTagFactory #15801

PhalconFormsForm requires a PhalconHtmlTagFactory to be set before it can render elements #15801

PhalconDiFactoryDefault will now return a PhalconHtmlTagFactory for the tag service #15801

Fixed

PhalconLoggerLoggerFactory::load() to correctly use the key of the adapters array as the name of the adapter #15831

Added

Added:

PhalconMvcModel::hasBelongsTo()

PhalconMvcModel::hasHasMany()

PhalconMvcModel::hasHasOne()

PhalconMvcModel::hasHasOneThrough()

PhalconMvcModel::hasHasManyToMany()

PhalconTranslateAdapterCsv::has()

PhalconTranslateAdapterGettext::has()

PhalconTranslateAdapterNativeArray::has() #15785

Added filter, camelize, dynamic and uncamelize in PhalconSupportHelperFactory #15805

Added PhalconAutoloadLoader::getDebug() to collect debugging information from the loader (enabled from the constructor) #15797

Fixed

Fixed PhalconDispatcherDispatcher::setParams() not updating local params during dispatch() loop #15603

Fixed related records auto-save with belongsTo() relation #15148

Removed

Removed PhalconException; replaced by Exception #15800

scoutapm 1.5.1
– Fix json_encode usage where ext-json is shared or does not exist – thanks @remicollet (#100)
swoole 4.8.5
– Revert parameter type of Table
– Fix crash when received wrong data with websocket protocol
scoutapm 1.5.0
– file_get_contents and curl_exec now record HTTP methods (#96)
selinux 0.6.0
– add type hinting with PHP 8
datadog_trace 0.68.0
### Added
– Bring priority sampling to internal #1366
– SpanData::$parent property #1369
– Add queue and channel components #1388
– Add log component #1390
– Add arena component #1391
– Add stack sample component #1392
– Add uuid component #1393
– Add time component #1394, #1408
– Add profiler installation #1422
– Zai/json #1378, #1397
– Add Code Coverage #1389

Changed

(PHP 8) Migrate ObjectKVStore to WeakMap internally #1362
Adjust components #1387
Export only specific symbols #1407
Sanitize user information from urls #1396
Split INI setting in installer so they can be added separately when missing #1415
Use the new targz bundle format with the new PHP installer #1421
Have both legacy and new installer to fail when json PHP extension is not enabled #1410

Fixed

Fix Laravel unnamed route with caching and domain specification #1364
Fix http.url of internal root span #1360
Add small framework to stress test our internal API with bogus inputs #1365
PDOIntegration::parseDSN fails to parse some DSN #1373
Fix constructor of OpenTracing wrapper when no Datadog tracer is provided #1406 – thanks @OGKevin for the reproduction case
Fix parsing of urls without schema into host name #1385

PHPDeveloper.org
Read More