Releases: phalcon/cphalcon
Releases · phalcon/cphalcon
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::appendMessagedFromfor code consistency and to add messages from another model #16391 - Added
Phalcon\Autoload\Loader::isRegisteredfor 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::doLowUpdateandPhalcon\Mvc\Model::postSaveRelatedRecordsfor 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\InjectablefromstdClassto 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/decodemethods 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::getJsonRawBodyto protect from empty body #16373
Added
v5.2.2
5.2.2 (2023-06-18)
Fixed
- Fixed
Encryption\Crypt::checkCipherHashIsAvailableto allow proper setting of the hash #16314 - Removed
unlikelyfromifstatements 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\Checkboxto correctly process empty values #15959
v5.2.1
v5.2.0
v5.1.4
v5.1.3
v5.1.2
Fixed
- Fixed
Phalcon\Support\Debugto correctly calculate the documents URL for the hyperlinks #16223 - Fixed
Phalcon\Html\TagFactorydocblock for autocompletion (0129658) - Fixed
Phalcon\Db\Profilerby correctly calculating the seconds (reapplied changes) #15822 - Added
Phalcon\Html\TagFactoryto thePhalcon\Di\FactoryDefault\Cli#16233