Releases: phalcon/cphalcon
Releases · phalcon/cphalcon
v5.6.2
v5.6.1
5.6.1 (2024-02-08)
Changed
- Changed
Phalcon\Cli\Router::setDefaultAction
andPhalcon\Cli\Router::setDefaultModule
to return the object back for a fluent interface #16328
Added
Fixed
- Fixed
Phalcon\Db\Adapter\Pdo\Postgresql::describeColumns()
to return the correct string back #16371 - Fixed
Phalcon/Filter/Validation::validate()
andPhalcon/Filter/Validation/ValidationInterface::validate()
to return alsobool
#16337 - Fixed
Phalcon\Mvc\Model::toArray
to ignore getters when the field name issource
. #16514 - Fixed
Phalcon\Http\Request::getPut
to correctly get form encoded data #16519 - Fixed deprecation warning in callables
Use of "static" in callables is deprecated
for PHP 8.2+ #16263
Removed
v5.6.0
5.6.0 (2024-01-09)
Changed
- Changed
Phalcon\Db\Adapter\Pdo\Mysql
to not use specific flags forPDO
(PDO::ATTR_EMULATE_PREPARES
orPDO::ATTR_STRINGIFY_FETCHES
) for performance reasons #16474 - Merged
Phalcon\Db\AbstractDb
withPhalcon\Db\Adapter\AbstractAdapter
since the former was not used #16474
Added
- Added
resetColumns()
,resetFrom()
,resetWhere()
,resetGroupBy()
,resetHaving()
,resetOrderBy()
,resetLimit()
,resetFlags()
to thePhalcon\Datamapper\Query\AbstractQuery
to allow resetting query filters.
Fixed
v5.5.0
5.5.0 (2023-12-25)
Changed
- Shifted minimal support from PHP 7.4 to PHP 8.0 #16477
- Changed
Phalcon\Mvc\Model::toArray
to use getters if present #16320 - Adjusted return types identical to original interface
int|false
inPhalcon\Session\Adapter\*::gc()
#16477 - Changed return type of
Phalcon\Config\Adapter\Ini::cast()
tomixed
#16477
Added
- Added support for PHP 8.3 #16477
Fixed
v5.4.0
5.4.0 (2023-10-25)
Changed
- Changed
Phalcon\Mvc\Model::getMessages()
to also filter with an array of fields #16265 - Changed
Phalcon\DataMapper\Query\Select::columns()
to accept an array of columns (keys as aliases) instead offunc_get_args
#16451 - Changed
Phalcon\Html\Helper\AbstractSeries::__invoke()
to no longer clear the internal store when called #16441
Added
- Added the ability to define interpolator characters for the
Phalcon\Logger\Formatter\Line
#16430 - Added
Phalcon\Html\Helper\AbstractSeries::reset()
to clear the internal store when needed #16441
Fixed
v5.3.1
v5.3.0
Added
- Added
Phalcon\Mvc\Model::appendMessagedFrom
for code consistency and to add messages from another model #16391 - Added
Phalcon\Autoload\Loader::isRegistered
for debugging purposes #16391 - Added
Phalcon\Mvc\Model\Metadata::initializeMetadata
#16393 - Added
Phalcon\Mvc\Model\Metadata::getMetaDataUniqueKey
#16393 - Added
Phalcon\Mvc\Model\Metadata::getColumnMapUniqueKey
#16393 - Added
Phalcon\Encryption\Security\JWT\Builder::addHeader()
to allow adding custom headers #16396
Changed
- Refactored
Phalcon\Mvc\Model::doLowUpdate
andPhalcon\Mvc\Model::postSaveRelatedRecords
for better code logic and a clearer separation of behaviour, although it lead to partially repeated code. #16391 - Cleaned
Phalcon\Mvc\Model\Metadata::initialize
#16393
Fixed
v5.2.3
5.2.3 (2023-07-26)
Fixed
- Tried to reproduce the behavior described in #16244 but had no success. #16244
- Extended
Phalcon\Di\Injectable
fromstdClass
to remove the deprecation warning (dynamic properties) for PHP 8.2 #16308 - Corrected the return type of
Phalcon\Mvc\View::getVar()
so that stubs can be accurate. #16276 - Changed all the
encode
/decode
methods for JSON to use thePhalcon\Support\Helper\Json\*
classes. #15608 - Changed the
Phalcon\Support\Helper\Json\*
classes to clear upjson_last_error()
before doing any conversions. #15608 - Fixed
Phalcon\Http\Request::getJsonRawBody
to protect from empty body #16373
Added
v5.2.2
5.2.2 (2023-06-18)
Fixed
- Fixed
Encryption\Crypt::checkCipherHashIsAvailable
to allow proper setting of the hash #16314 - Removed
unlikely
fromif
statements from the Stream storage adapter and Json serializer #16339 - Fixed
Storage\Adapter\Stream::get()/set()
to correctly calculate the path if the prefix is present in the key #16348 - Fixed
Html\Helper\Input\Checkbox
to correctly process empty values #15959