Community News: Latest PECL Releases (11.23.2021)
Latest PECL Releases:
- rdkafka 6.0.0RC1
## Enhancements- PHP 8.1 support (@ruudk, @remicollet, @nick-zh, @arnaud-lb)
Breaking changes
- Added tentative return types in PHP 8.1 builds
- rdkafka 5.0.1
## Enhancements - Add pausePartitions(), resumePartitions() on RdKfaka, RdKafkaKafkaConsumer (#438, @arnaud-lb) - Clarify error when KafkaConsumer is closed (@zoonru)Bugfixes
- Fix windows build (#440, @nick-zh)
- Fix crash in RdKafkaMetadataTopic::getTopic() (#465, @arnaud-lb)
- gRPC 1.42.0
- gRPC Core 1.42.0 update - swoole 4.8.2
- Fixed memory leak of proc_open hook - Fixed compatibility of curl native hook with PHP-8.0 and PHP-8.1 - Fixed connection cannot be closed normally in the Manager process - Fixed Manager process cannot use sendMessage - Fixed CoroutineHttpServer received abnormally large POST data parsing - Fixed cannot exit directly when a fatal error occurs in PHP8 environment - Adjust coroutine max_concurrency option, only allowed to be used in Co::set() - Adjust Coroutine::join() to ignore non-exists coroutine - imagick 3.6.0
- No change from 3.6.0RC2 - phalcon 5.0.0alpha7
Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.mdChanged
- Changes to the
PhalconAcl
: - Renamed
PhalconAclComponentAware
toPhalconAclComponentAwareInterface
- Renamed
PhalconAclRoleAware
toPhalconAclRoleAwareInterface
#15691 - Changed
require
torequire_once
inPhalconLoader
to avoid conflicts with other loaders #15489 - Changed
require
torequire_once
inPhalconCliConsole
andPhalconMvcApplication
for a bit of extra performance #15489 -
PhalconCollection
has been moved under theSupport
namespace: - Renamed
PhalconCollection
toPhalconSupportCollection
- Renamed
PhalconCollectionException
toPhalconSupportCollectionException
- Renamed
PhalconCollectionReadOnly
toPhalconSupportCollectionReadOnly
- Renamed
PhalconCollection
toPhalconSupportCollection
#15700 - Changes to
PhalconSessionBag
: - Changed
PhalconSessionBag::construct
to accept a container instead of internally calling the default - Changed
PhalconSessionBag::construct
to throw an exception if the container is not specified - Changed
PhalconSessionBag::init
to store the data in the session #15494 - Changed
PhalconEventsEvent::construct()
to allowsource
to be nullable #15133 - Changes to
PhalconCrypt
- Moved
PhalconCryptException
toPhalconCryptExceptionException
- Moved
PhalconCryptMismatch
toPhalconCryptExceptionMismatch
- Changed the ccm/gcm modes to store the
authTag
with the encryption string and process it with the decryption string #15717 - Created new namespace
PhalconEncryption
- Moved
PhalconCrypt
toPhalconEncryptionCrypt
- Moved
PhalconSecurity
toPhalconEncryptionSecurity
- Moved the whole
Security
namespace underEncryption
-
SecurityJWTExceptionsUnsupportedAlgorithmException
toEncryptionSecurityJWTExceptionsUnsupportedAlgorithmException
-
SecurityJWTExceptionsValidatorException
toEncryptionSecurityJWTExceptionsValidatorException
-
SecurityJWTSignerAbstractSigner
toEncryptionSecurityJWTSignerAbstractSigner
-
SecurityJWTSignerHmac
toEncryptionSecurityJWTSignerHmac
-
SecurityJWTSignerNone
toEncryptionSecurityJWTSignerNone
-
SecurityJWTSignerSignerInterface
toEncryptionSecurityJWTSignerSignerInterface
-
SecurityJWTTokenAbstractItem
toEncryptionSecurityJWTTokenAbstractItem
-
SecurityJWTTokenEnum
toEncryptionSecurityJWTTokenEnum
-
SecurityJWTTokenItem
toEncryptionSecurityJWTTokenItem
-
SecurityJWTTokenParser
toEncryptionSecurityJWTTokenParser
-
SecurityJWTTokenSignature
toEncryptionSecurityJWTTokenSignature
-
SecurityJWTTokenToken
toEncryptionSecurityJWTTokenToken
-
SecurityJWTBuilder
toEncryptionSecurityJWTBuilder
-
SecurityJWTValidator
toEncryptionSecurityJWTValidator
-
SecurityJWTValidator
toEncryptionSecurityJWTValidator
-
SecurityException
toEncryptionSecurityException
-
SecurityRandom
toEncryptionSecurityRandom
#15729 - Renamed
-
PhalconCryptCrypt::getHashAlgo()
toPhalconCryptCrypt::getHashAlgorithm()
-
PhalconCryptCrypt::getAvailableHashAlgos()
toPhalconCryptCrypt::getAvailableHashAlgorithms()
-
PhalconCryptCrypt::setHashAlgo()
toPhalconCryptCrypt::setHashAlgorithm()
#15717 - Renamed
PhalconFactoryAdapterFactory::getAdapters()
toPhalconFactoryAdapterFactory::getServices()
#15717 - Changed
PhalconCryptCrypt::__construct()
to haveuseSigning
set totrue
by default #15717 - Changes to
PhalconConfig
- Moved
PhalconConfig
toPhalconConfigConfig
- Changed
PhalconConfigConfig::path
by making thedelimiter
parameter astring
- Changed
PhalconConfigAdapterIni::__construct
to not acceptnull
as the mode. The default is nowINI_SCANNER_NORMAL
(2) - Refactored the code for more efficiency and speed #15720
- Changed
PhalconDbAdapterAdapterInterface::getInternalHandler()
andPhalconDbAdapterPdoAbstractPdo::getInternalHandler()
to returnvar
instead ofPDO
for custom adapters with different engines #15119 - Moved
PhalconFilter
toPhalconFilterFilter
; added more tests #15726 - Changed
PhalconMvcModel::getPreparedQuery()
to returnQueryInterface
instead ofQuery
#15562 - Moved
PhalconCache
toPhalconCacheCache
#15728 - Changed
PhalconFactoryAdapterFactory
to define the factory exception ingetExceptionClass()
instead of a property. #15728 - Renamed
PhalconDbAdapterAbstractAdapter::getSqlVariables()
toPhalconDbAdapterAbstractAdapter::getSQLVariables()
to align with the rest of thegetSQL*
methods #15637 - Moved
PhalconLogger
toPhalconLoggerLogger
#15727 - Changes to
PhalconEscaper
- Moved
PhalconEscaper
toPhalconHtmlEscaper
- Moved
PhalconEscaperEscaperInterface
toPhalconHtmlEscaperEscaperInterface
- Moved
PhalconEscaperException
toPhalconHtmlEscaperException
- Deprecated methods (to be removed at a future version)
-
escapeCss()
becomescss()
-
escapeJs()
, becomesjs()
-
escapeHtml()
becomeshtml()
-
escapeHtmlAttr()
becomesattributes()
-
escapeUrl()
becomesurl()
-
setHtmlQuoteType()
becomessetFlags()
#15757 - Changed
PhalconEncryptionSecurity::hash()
to also usepassword_hash()
and acceptARGON2*
algorithms #15731 - Removed uncamelize of
realClassName
inPhalconMvcRouterRoute::getRoutePaths()
if definition is string to make processing same as if array definition #15067 - Changed
PhalconValidation::getValue()
behavior to get value fromdata
if not found inentity
. #14203 - Changed
PhalconFormsForm::isValid()
signature: addedwhitelist
argument. #14203 - Changed
PhalconSupportCollectionReadOnly
toPhalconSupportCollectionReadOnlyCollection
to avoid conflicts with the read-only feature in PHP 8.1 #15767 - Removed
PhalconText
- replaced byPhalconSupportHelperStr*
#15776 - Removed
PhalconHelperArr
- replaced byPhalconSupportHelperArr*
#15776 - Removed
PhalconHelperFile
- replaced byPhalconSupportHelperFile*
#15776 - Removed
PhalconHelperJson
- replaced byPhalconSupportHelperJson*
#15776 - Removed
PhalconHelperNumber
- replaced byPhalconSupportHelperNumber*
#15776 - Removed
PhalconHelperStr
- replaced byPhalconSupportHelperStr*
#15776 - Removed references to
PhalconText
,PhaconHelper*
from the code replacing it withPhalconSupportHelper*
#15776 - Synchronized tests with
phalcon/phalcon
thus increasing coverage #15776 - Changed
PhalconAssetsManager
to require aPhalconHtmlTagFactory
in its constructor #15776
Added
- Added more tests in the suite for additional code coverage #15691
- Added
PhalconEventsAbstractEventsAware
class to handle the Events Manager when necessary #15691 - Added
PhalconAclAdapterAdapterInterface::getInheritedRoles()
andPhalconAclAdapterMemory::getInheritedRoles()
that returns the inherited roles based on a passed role name (or all if no parameter supplied) #15154 - Changes to
PhalconCrypt
- Added
PhalconCryptPaddingPadInteface
and padding adapters -
PhalconCryptPaddingAnsi
-
PhalconCryptPaddingIso10126
-
PhalconCryptPaddingIsoIek
-
PhalconCryptPaddingNoop
-
PhalconCryptPaddingPadInterface
-
PhalconCryptPaddingPkcs7
-
PhalconCryptPaddingSpace
-
PhalconCryptPaddingZero
- Added
PhalconCryptPadFactory
to easily create padding adapters - Added more tests increasing coverage #15717
- Added
PhalconCacheAdapter*::setForever()
andPhalconStorageAdapter*::setForever()
to allow storing a key forever #15485 - Added
PhalconEncryptionSecurity::getHashInformation()
to return information for a hash #15731 - Added constants
PhalconEncryptionSecurity::CRYPT_ARGON2I
andPhalconEncryptionSecurity::CRYPT_ARGON2ID
#15731 - Added
allowEmpty
checks to common validators #15515 - Added
PhalconFormsForm::getFilteredValue()
to get filtered value without providing entity #15438 - Added
PhalconFormsForm::setWhitelist()
andPhalconFormsForm::getWhitelist()
#14203 - Added
dirtyState
serialization inPhalconMvcModel
#15571 - Added short versions of helpers for
PhalconHtmlTagFactory
(call service as a method) #15776 - Added short versions of helpers for
PhalconSupportHelperFactory
(call service as a method) #15776 - Added
PhalconHtmlHelperDoctype
helper fordoctype
generation #15776 - Added
style
orlink
tag option forPhalconHtmlHelperStyle
#15776
Fixed
- Fixed
Query::getExpression()
return type #15553 - Fixed
PhalconMvcModel::getRelated()
to correctly return relationships (cached or not) when the foreign key has changed #15649 - Fixed
PhalconDbAdapterPdo*
,PhalconMvcModel
andPhalconMvcModelMetaDataStrategyAnnotations
to treatBIGINT
numbers as string #15632 - Fixed
PhalconCryptCrypt::decrypt()
to correctly calculate the hash when using signed mode #15717 - Fixed
PhalconMvcModelManager::isVisibleModelProperty()
to correctly check if setting property is visible #15276 - Fixed
PhalconConfigConfig::merge
to retain numeric indexes in deep merges #14705 - Fixed globals (Zephir change) to correctly display string values for global settings in
phpinfo()
#15269 - Fixed
PhalconStorageAdapterRedis::getAdapter()
andPhalconCacheAdapterRedis::getAdapter()
to accept the connection timeout in the constructoroptions
#15744 - Fixed
PhalconDbAdapterAbstractAdapter::getSQLVariables()
to return an empty array when initialized #15637 - Fixed
PhalconCacheAdapter*
andPhalconStorageAdapter*
to delete a key whenset()
is called with a zero or negative TTL #15485 - Fixed
PhalconDbAdapterPdoMysql
to not usePDO::ATTR_EMULATE_PREPARES
andPDO::ATTR_STRINGIFY_FETCHES
by default. This allows numbers to be returned with resultsets instead of strings for numeric fields #15361 - Fixed
PhalconValidationValidatorFile
to usemessageFileEmpty
#14928 - Fixed
PhalconDbRawValue
usage bugs inPhalconMvcModel::doLowUpdate()
#15413 - Fixed
type
attribute for stylesheet links #15776 - Fixed
PhalconDebug
to not throw an exception if a URL service is not present #15381
Removed
- Removed
PhalconKernel
- obsolete #15776
- Changes to the
- redis 5.3.5RC1
phpredis 5.3.5RC1This release adds support for exponential backoff w/jitter, experimental support for detecting a dirty connection, as well as many other fixes and improvements.
You can find a detailed list of changes in Changelog.md and package.xml or by inspecting the git commit logs.
--- Sponsors ---
Audiomack - https://audiomack.com Open LMS - https://openlms.net BlueHost - https://bluehost.com Object Cache Pro for WordPress - https://objectcache.pro Avtandil Kikabidze - https://github.com/akalongman Zaher Ghaibeh - https://github.com/zaherg BatchLabs - https://batch.com Luis Zarate - https://github.com/jlzaratec
-
Fixed segfault in redis_setoption_handler [692e4e84] (Pavlo Yatsukhnenko)
-
Fix masters array in the event of a cluster failover [bce692962] (Bar Shaul)
-
Fix 32 bit type error [672dec87f] (Remi Collet)
-
Fix radix character in certain locales [89a871e24] (Pavlo Yatsukhnenko)
-
ZSTD Validation fix [6a77ef5cd] (Michael Grunder)
-
Remove superfluous typecast [b2871471f] (Remi Collet)
-
Updated documentation [f84168657, d017788e7, 20ac84710, 0adf05260, aee29bf73, 09a095e72, 12ffbf33a, ff331af98, a6bdb8731, 305c15840, 1aa10e93a, d78b0c79d, c6d37c27c, a6303f5b9, d144bd2c7, a6fb815ef, 9ef862bc6] (neodisco, Clement Tessier, T. Todua, dengliming, Maxime Cornet, Emanuele Filannino Michael Grunder)
-
Travis CI Fixes [a43f4586e, 4fde8178f, 7bd5415ac, fdb8c4bb7, d4f407470] (Pavlo Yatsukhnenko)
-
Minor fixes/cleanup [2e190adc1, 99975b592, 9d0879fa5, 22b06457b] (Pavlo Yatsukhnenko)
-
Fix RedisArray constructor bug 85dc883ba (Pavlo Yatsukhnenko)
-
Moved to GitHub Actions [4d2afa786, 502d09fd5] (Pavlo Yatsukhnenko)
-
Use more appropriate array iteration macro [6008900c2] (Pavlo Yatsukhnenko)
-
Clean up session tests [ab25ae7f3] (Michael Grunder)
-
RedisArray refactors [1250f0001, 017b2ea7f, 37ed3f079] (Pavlo Yatsukhnenko)
-
Use zend_parse_parameters_none helper [a26b14dbe] (Remi Collet)
-
Support for various exponential backoff strategies [#1986, #1993, 732eb8dcb, 05129c3a3, 5bba6a7fc], (Nathaniel Braun)
-
Added experimental support for detecting a dirty connection [d68579562] (Michael Grunder)
-
Created distinct compression utility methods (pack/unpack) [#1939, da2790aec] (Michael Grunder)
-
SMISMEMBER Command [#1894, ae2382472, ed283e1ab] (Pavlo Yatsukhnenko)
-