cphalcon

High performance, full-stack PHP framework delivered as a C extension.

BSD-3-CLAUSE License

Downloads
234.4K
Stars
10.8K
Committers
327
cphalcon - v5.6.2 Latest Release

Published by niden 7 months ago

5.6.2 (2024-03-14)

Changed

  • Changed Phalcon\Mvc\View\Engine\Volt\Compiler::filter to use the helper with upper and lower for UTF-8 characters #16543
  • Changed Phalcon\Di\AbstractInjectionAware to extend stdClass for PHP 8.2 deprecation warnings #16543
cphalcon - v5.6.1

Published by niden 9 months ago

5.6.1 (2024-02-08)

Changed

  • Changed Phalcon\Cli\Router::setDefaultAction and Phalcon\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() and Phalcon/Filter/Validation/ValidationInterface::validate() to return also bool #16337
  • Fixed Phalcon\Mvc\Model::toArray to ignore getters when the field name is source. #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

5.6.0 (2024-01-09)

Changed

  • Changed Phalcon\Db\Adapter\Pdo\Mysql to not use specific flags for PDO (PDO::ATTR_EMULATE_PREPARES or PDO::ATTR_STRINGIFY_FETCHES) for performance reasons #16474
  • Merged Phalcon\Db\AbstractDb with Phalcon\Db\Adapter\AbstractAdapter since the former was not used #16474

Added

  • Added resetColumns(), resetFrom(), resetWhere(), resetGroupBy(), resetHaving(), resetOrderBy(), resetLimit(), resetFlags() to the Phalcon\Datamapper\Query\AbstractQuery to allow resetting query filters.

Fixed

  • Fixed Phalcon\Mvc\Model::count to ignore the order parameter (needed for Posgresql) #16471
  • Fixed Phalcon\Mvc\Model::toArray added parameter to ignore getters in order not to break serialize. #16490
  • Fixed Phalcon\Mvc\Model::toArray changing the conditionals for population to remove segfault. #16498

Removed

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 in Phalcon\Session\Adapter\*::gc() #16477
  • Changed return type of Phalcon\Config\Adapter\Ini::cast() to mixed #16477

Added

  • Added support for PHP 8.3 #16477

Fixed

  • Fixed Phalcon\Filter\Validation\Validator\Numericality to return false when input has spaces #16461
  • Fixed Phalcon\Mvc\Model\ResultsetSimple::toArray to ignore numeric indexes in case results come as not fetch_assoc #16467

Removed

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 of func_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

  • Model Annotation strategy did not work with empty_string #16426
  • View::reset() sets content to null instead of default empty string #16437
  • Fixed Phalcon\Filter\Validation\Validator\Size\* validators to correctly detect the size of uploaded files #16390

Removed

5.3.1 (2023-09-12)

Fixed

  • Fixed infinite save loop in Phalcon\Mvc\Model::save() #16395
  • Fixed undefined column with columnMap and model caching #16420
  • Fixed memory leak in Phalcon\Mvc\Router::handle() #16431

5.3.0 (2023-08-15)

Changed

  • Refactored Phalcon\Mvc\Model::doLowUpdate and Phalcon\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

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

Fixed

  • Parse multipart/form-data from PUT request #16271
  • Set Dynamic Update by default system-wide #16343
  • Fixed memory leak in Micro application #16404

5.3.1 (xxxx-xx-xx)

Fixed

  • Forced routeId in Phalcon\Mvc\Router\Route to always return a string #16414

5.2.3 (2023-07-26)

Added

  • Added getAdapter() in Phalcon\Mvc\Model\Metadata to retrieve the internal cache adapter if necessary. #16244
  • Added Phalcon\Storage\Adapter\Weak implemented with WeakReference has a cache/retrieval solution for objects not yet collected by the Garbage Collection. #16372

Fixed

  • Tried to reproduce the behavior described in #16244 but had no success. #16244
  • Extended Phalcon\Di\Injectable from stdClass 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 the Phalcon\Support\Helper\Json\* classes. #15608
  • Changed the Phalcon\Support\Helper\Json\* classes to clear up json_last_error() before doing any conversions. #15608
  • Fixed Phalcon\Http\Request::getJsonRawBody to protect from empty body #16373

5.2.2 (2023-06-18)

Fixed

  • Fixed Encryption\Crypt::checkCipherHashIsAvailable to allow proper setting of the hash #16314
  • Removed unlikely from if 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

5.2.1 (2023-02-28)

Fixed

5.2.0 (2023-02-26)

Added

  • Added support for PHP 8.2 #15973

Fixed

  • Fixed Phalcon\Html\Helper\Title::prepend to correctly prepend text in subsequent calls #16283

5.1.4 (2023-01-10)

Fixed

  • Fixed Phalcon\Acl\Adapter\Memory::isAllowed to not use the deprecated ReflectionType::getClass #16255

5.1.3 (2022-12-25)

Fixed

  • Fixed Phalcon\Mvc\Micro::handle to type check an object for the finish #16240
  • Fixed Phalcon\DI\Service::resolve to not call the get() from the container and cause an infinite loop #15032

5.1.2 (2022-10-30)

Fixed

5.1.1 (2022-11-12)

Fixed

  • Fixed Phalcon\Filter::sanitize to return correct data when noRecursive is true #16199
  • Fixed Phalcon\Html\Escaper::html to not return null when a zero string is passed #16202

5.1.0 (2022-11-01)

Added

  • Added Phalcon\Http\Request::getPatch() to get a value from a PATCH request #16188
  • Added Phalcon\Http\Request::getFilteredPatch() to get a value filtered from a PATCH request #16188
  • Added Phalcon\Http\Request::hasPatch() to check if a value exist in a PATCH request #16188

Fixed

  • Fixed Phalcon\Mvc\View\Engine\Volt\Compiler::isTagFactory to correctly detect a TagFactory object without throwing an error #16097
  • Fixed default values for Phalcon\Cli, Phalcon\Dispatcher and Phalcon\Application components to ensure not null values are passed to methods #16186
  • Fixed Phalcon\Form::clear to correctly clear the elements and not recurse #15956

5.0.5 (2022-10-24)

Fixed

  • Fixed Phalcon\Config\Config::setData to pass the insensitive flag to child objects #16171
  • Fixed Phalcon\Config\Adapter\Groupped::__construct to pass the insensitive flag to child objects #16171
  • Fixed Phalcon\Session\Manager::setName, removing the regex check for the name for custom adapters to work with create_sid() #16170
  • Fixed PdoResult::fetchAll when passed class name in 2nd argument #16177
  • Fixed Forms\Form::label to accept an array as a default variable #16180

5.0.4 (2022-10-17)

Fixed

  • Fixed Phalcon\Encryption\Security to take into account the workFactor in the cost calculation #16153
  • Removed double unserializing during Model caching #16035, #16131
  • Fixed Phalcon\Db\Adapter\Pdo\Mysql::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
  • Fixed Phalcon\Db\Adapter\Pdo\Sqlite::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
  • Fixed Phalcon\Mvc\Model\Manager::notifyEvent to return true instead of null on success #16161
  • Fixed Phalcon\Encryption\Security\JWT\Validator::validateExpiration to correctly validate the exp claim #16166

5.0.3 (2022-10-06)

Changed

  • Fixed Phalcon\Filter\Sanitize\StringVal to accept flags for htmlspecialchars() #16135

Fixed

  • Fixed Phalcon\Html\Escaper::attributes() to honor the $flags set for htmlspecialchars() #16134

5.0.2 (2022-09-27)

Fixed

  • Fixed Phalcon\Html\Escaper::attributes() to accept any value and transform it to string #16123
  • Fixed Phalcon\Logger\AbstractLogger::getLevelNumber() to better check for string levels #16123
cphalcon - v5.6.0

Published by niden 10 months ago

5.6.0 (2024-01-09)

Changed

  • Changed Phalcon\Db\Adapter\Pdo\Mysql to not use specific flags for PDO (PDO::ATTR_EMULATE_PREPARES or PDO::ATTR_STRINGIFY_FETCHES) for performance reasons #16474
  • Merged Phalcon\Db\AbstractDb with Phalcon\Db\Adapter\AbstractAdapter since the former was not used #16474

Added

  • Added resetColumns(), resetFrom(), resetWhere(), resetGroupBy(), resetHaving(), resetOrderBy(), resetLimit(), resetFlags() to the Phalcon\Datamapper\Query\AbstractQuery to allow resetting query filters.

Fixed

  • Fixed Phalcon\Mvc\Model::count to ignore the order parameter (needed for Posgresql) #16471
  • Fixed Phalcon\Mvc\Model::toArray added parameter to ignore getters in order not to break serialize. #16490
  • Fixed Phalcon\Mvc\Model::toArray changing the conditionals for population to remove segfault. #16498

Removed

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 in Phalcon\Session\Adapter\*::gc() #16477
  • Changed return type of Phalcon\Config\Adapter\Ini::cast() to mixed #16477

Added

  • Added support for PHP 8.3 #16477

Fixed

  • Fixed Phalcon\Filter\Validation\Validator\Numericality to return false when input has spaces #16461
  • Fixed Phalcon\Mvc\Model\ResultsetSimple::toArray to ignore numeric indexes in case results come as not fetch_assoc #16467

Removed

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 of func_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

  • Model Annotation strategy did not work with empty_string #16426
  • View::reset() sets content to null instead of default empty string #16437
  • Fixed Phalcon\Filter\Validation\Validator\Size\* validators to correctly detect the size of uploaded files #16390

Removed

5.3.1 (2023-09-12)

Fixed

  • Fixed infinite save loop in Phalcon\Mvc\Model::save() #16395
  • Fixed undefined column with columnMap and model caching #16420
  • Fixed memory leak in Phalcon\Mvc\Router::handle() #16431

5.3.0 (2023-08-15)

Changed

  • Refactored Phalcon\Mvc\Model::doLowUpdate and Phalcon\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

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

Fixed

  • Parse multipart/form-data from PUT request #16271
  • Set Dynamic Update by default system-wide #16343
  • Fixed memory leak in Micro application #16404

5.3.1 (xxxx-xx-xx)

Fixed

  • Forced routeId in Phalcon\Mvc\Router\Route to always return a string #16414

5.2.3 (2023-07-26)

Added

  • Added getAdapter() in Phalcon\Mvc\Model\Metadata to retrieve the internal cache adapter if necessary. #16244
  • Added Phalcon\Storage\Adapter\Weak implemented with WeakReference has a cache/retrieval solution for objects not yet collected by the Garbage Collection. #16372

Fixed

  • Tried to reproduce the behavior described in #16244 but had no success. #16244
  • Extended Phalcon\Di\Injectable from stdClass 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 the Phalcon\Support\Helper\Json\* classes. #15608
  • Changed the Phalcon\Support\Helper\Json\* classes to clear up json_last_error() before doing any conversions. #15608
  • Fixed Phalcon\Http\Request::getJsonRawBody to protect from empty body #16373

5.2.2 (2023-06-18)

Fixed

  • Fixed Encryption\Crypt::checkCipherHashIsAvailable to allow proper setting of the hash #16314
  • Removed unlikely from if 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

5.2.1 (2023-02-28)

Fixed

5.2.0 (2023-02-26)

Added

  • Added support for PHP 8.2 #15973

Fixed

  • Fixed Phalcon\Html\Helper\Title::prepend to correctly prepend text in subsequent calls #16283

5.1.4 (2023-01-10)

Fixed

  • Fixed Phalcon\Acl\Adapter\Memory::isAllowed to not use the deprecated ReflectionType::getClass #16255

5.1.3 (2022-12-25)

Fixed

  • Fixed Phalcon\Mvc\Micro::handle to type check an object for the finish #16240
  • Fixed Phalcon\DI\Service::resolve to not call the get() from the container and cause an infinite loop #15032

5.1.2 (2022-10-30)

Fixed

5.1.1 (2022-11-12)

Fixed

  • Fixed Phalcon\Filter::sanitize to return correct data when noRecursive is true #16199
  • Fixed Phalcon\Html\Escaper::html to not return null when a zero string is passed #16202

5.1.0 (2022-11-01)

Added

  • Added Phalcon\Http\Request::getPatch() to get a value from a PATCH request #16188
  • Added Phalcon\Http\Request::getFilteredPatch() to get a value filtered from a PATCH request #16188
  • Added Phalcon\Http\Request::hasPatch() to check if a value exist in a PATCH request #16188

Fixed

  • Fixed Phalcon\Mvc\View\Engine\Volt\Compiler::isTagFactory to correctly detect a TagFactory object without throwing an error #16097
  • Fixed default values for Phalcon\Cli, Phalcon\Dispatcher and Phalcon\Application components to ensure not null values are passed to methods #16186
  • Fixed Phalcon\Form::clear to correctly clear the elements and not recurse #15956

5.0.5 (2022-10-24)

Fixed

  • Fixed Phalcon\Config\Config::setData to pass the insensitive flag to child objects #16171
  • Fixed Phalcon\Config\Adapter\Groupped::__construct to pass the insensitive flag to child objects #16171
  • Fixed Phalcon\Session\Manager::setName, removing the regex check for the name for custom adapters to work with create_sid() #16170
  • Fixed PdoResult::fetchAll when passed class name in 2nd argument #16177
  • Fixed Forms\Form::label to accept an array as a default variable #16180

5.0.4 (2022-10-17)

Fixed

  • Fixed Phalcon\Encryption\Security to take into account the workFactor in the cost calculation #16153
  • Removed double unserializing during Model caching #16035, #16131
  • Fixed Phalcon\Db\Adapter\Pdo\Mysql::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
  • Fixed Phalcon\Db\Adapter\Pdo\Sqlite::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
  • Fixed Phalcon\Mvc\Model\Manager::notifyEvent to return true instead of null on success #16161
  • Fixed Phalcon\Encryption\Security\JWT\Validator::validateExpiration to correctly validate the exp claim #16166

5.0.3 (2022-10-06)

Changed

  • Fixed Phalcon\Filter\Sanitize\StringVal to accept flags for htmlspecialchars() #16135

Fixed

  • Fixed Phalcon\Html\Escaper::attributes() to honor the $flags set for htmlspecialchars() #16134

5.0.2 (2022-09-27)

Fixed

  • Fixed Phalcon\Html\Escaper::attributes() to accept any value and transform it to string #16123
  • Fixed Phalcon\Logger\AbstractLogger::getLevelNumber() to better check for string levels #16123
cphalcon - v5.5.0

Published by niden 10 months ago

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 in Phalcon\Session\Adapter\*::gc() #16477
  • Changed return type of Phalcon\Config\Adapter\Ini::cast() to mixed #16477

Added

  • Added support for PHP 8.3 #16477

Fixed

  • Fixed Phalcon\Filter\Validation\Validator\Numericality to return false when input has spaces #16461
  • Fixed Phalcon\Mvc\Model\ResultsetSimple::toArray to ignore numeric indexes in case results come as not fetch_assoc #16467
cphalcon - v5.4.0

Published by niden 12 months ago

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 of func_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

  • Model Annotation strategy did not work with empty_string #16426
  • View::reset() sets content to null instead of default empty string #16437
  • Fixed Phalcon\Filter\Validation\Validator\Size\* validators to correctly detect the size of uploaded files #16390
cphalcon - v5.3.1

Published by niden about 1 year ago

5.3.1 (2023-09-12)

Fixed

  • Fixed infinite save loop in Phalcon\Mvc\Model::save() #16395
  • Fixed undefined column with columnMap and model caching #16420
  • Fixed memory leak in Phalcon\Mvc\Router::handle() #16431
cphalcon - v5.3.0

Published by niden about 1 year ago

5.3.0 (2023-08-15)

Added

Changed

  • Refactored Phalcon\Mvc\Model::doLowUpdate and Phalcon\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] (https://github.com/phalcon/cphalcon/issues/16393)

Fixed

  • Parse multipart/form-data from PUT request #16271
  • Set Dynamic Update by default system-wide #16343
  • Fixed memory leak in Micro application #16404

5.2.3 (2023-07-26)

Fixed

  • Tried to reproduce the behavior described in #16244 but had no success. #16244
  • Extended Phalcon\Di\Injectable from stdClass 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 the Phalcon\Support\Helper\Json\* classes. #15608
  • Changed the Phalcon\Support\Helper\Json\* classes to clear up json_last_error() before doing any conversions. #15608
  • Fixed Phalcon\Http\Request::getJsonRawBody to protect from empty body #16373

Added

  • Added getAdapter() in Phalcon\Mvc\Model\Metadata to retrieve the internal cache adapter if necessary. #16244
  • Added Phalcon\Storage\Adapter\Weak implemented with WeakReference has a cache/retrieval solution for objects not yet collected by the Garbage Collection. #16372

5.2.2 (2023-06-18)

Fixed

  • Fixed Encryption\Crypt::checkCipherHashIsAvailable to allow proper setting of the hash #16314
  • Removed unlikely from if 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

5.2.1 (2023-02-28)

Fixed

5.2.0 (2023-02-26)

Fixed

  • Fixed Phalcon\Html\Helper\Title::prepend to correctly prepend text in subsequent calls #16283

Added

  • Added support for PHP 8.2 #15973

5.1.4 (2023-01-10)

Fixed

  • Fixed Phalcon\Acl\Adapter\Memory::isAllowed to not use the deprecated ReflectionType::getClass #16255

5.1.3 (2022-12-25)

Fixed

  • Fixed Phalcon\Mvc\Micro::handle to type check an object for the finish #16240
  • Fixed Phalcon\DI\Service::resolve to not call the get() from the container and cause an infinite loop #15032

5.1.2 (2022-10-30)

Fixed

5.1.1 (2022-11-12)

Fixed

  • Fixed Phalcon\Filter::sanitize to return correct data when noRecursive is true #16199
  • Fixed Phalcon\Html\Escaper::html to not return null when a zero string is passed #16202

5.1.0 (2022-11-01)

Fixed

  • Fixed Phalcon\Mvc\View\Engine\Volt\Compiler::isTagFactory to correctly detect a TagFactory object without throwing an error #16097
  • Fixed default values for Phalcon\Cli, Phalcon\Dispatcher and Phalcon\Application components to ensure not null values are passed to methods #16186
  • Fixed Phalcon\Form::clear to correctly clear the elements and not recurse #15956

Added

  • Added Phalcon\Http\Request::getPatch() to get a value from a PATCH request #16188
  • Added Phalcon\Http\Request::getFilteredPatch() to get a value filtered from a PATCH request #16188
  • Added Phalcon\Http\Request::hasPatch() to check if a value exist in a PATCH request #16188

5.0.5 (2022-10-24)

Fixed

  • Fixed Phalcon\Config\Config::setData to pass the insensitive flag to child objects #16171
  • Fixed Phalcon\Config\Adapter\Groupped::__construct to pass the insensitive flag to child objects #16171
  • Fixed Phalcon\Session\Manager::setName, removing the regex check for the name for custom adapters to work with create_sid() #16170
  • Fixed PdoResult::fetchAll when passed class name in 2nd argument #16177
  • Fixed Forms\Form::label to accept an array as a default variable #16180

5.0.4 (2022-10-17)

Fixed

  • Fixed Phalcon\Encryption\Security to take into account the workFactor in the cost calculation #16153
  • Removed double unserializing during Model caching #16035, #16131
  • Fixed Phalcon\Db\Adapter\Pdo\Mysql::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
  • Fixed Phalcon\Db\Adapter\Pdo\Sqlite::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
  • Fixed Phalcon\Mvc\Model\Manager::notifyEvent to return true instead of null on success #16161
  • Fixed Phalcon\Encryption\Security\JWT\Validator::validateExpiration to correctly validate the exp claim #16166

5.0.3 (2022-10-06)

Changed

  • Fixed Phalcon\Filter\Sanitize\StringVal to accept flags for htmlspecialchars() #16135

Fixed

  • Fixed Phalcon\Html\Escaper::attributes() to honor the $flags set for htmlspecialchars() #16134

5.0.2 (2022-09-27)

Fixed

  • Fixed Phalcon\Html\Escaper::attributes() to accept any value and transform it to string #16123
  • Fixed Phalcon\Logger\AbstractLogger::getLevelNumber() to better check for string levels #16123
cphalcon - v5.2.3

Published by niden about 1 year ago

5.2.3 (2023-07-26)

Fixed

  • Tried to reproduce the behavior described in #16244 but had no success. #16244
  • Extended Phalcon\Di\Injectable from stdClass 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 the Phalcon\Support\Helper\Json\* classes. #15608
  • Changed the Phalcon\Support\Helper\Json\* classes to clear up json_last_error() before doing any conversions. #15608
  • Fixed Phalcon\Http\Request::getJsonRawBody to protect from empty body #16373

Added

  • Added getAdapter() in Phalcon\Mvc\Model\Metadata to retrieve the internal cache adapter if necessary. #16244
  • Added Phalcon\Storage\Adapter\Weak implemented with WeakReference has a cache/retrieval solution for objects not yet collected by the Garbage Collection. #16372
cphalcon - v5.2.2

Published by niden over 1 year ago

5.2.2 (2023-06-18)

Fixed

  • Fixed Encryption\Crypt::checkCipherHashIsAvailable to allow proper setting of the hash #16314
  • Removed unlikely from if 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
cphalcon - v5.2.1

Published by niden over 1 year ago

5.2.1 (2023-02-28)

Fixed

cphalcon - v5.2.0

Published by niden over 1 year ago

v5.2.0

Fixed

  • Fixed Phalcon\Html\Helper\Title::prepend to correctly prepend text in subsequent calls #16283

Added

  • Added support for PHP 8.2 #15973
cphalcon - v5.1.4

Published by niden almost 2 years ago

Fixed

  • Fixed Phalcon\Acl\Adapter\Memory::isAllowed to not use the deprecated ReflectionType::getClass #16255
cphalcon - v5.1.3

Published by niden almost 2 years ago

Fixed

  • Fixed Phalcon\Mvc\Micro::handle to type check an object for the finish #16240
  • Fixed Phalcon\DI\Service::resolve to not call the get() from the container and cause an infinite loop #15032
cphalcon - v5.1.2

Published by niden almost 2 years ago

Fixed

cphalcon - v5.1.1

Published by niden almost 2 years ago

Fixed

  • Fixed Phalcon\Filter::sanitize to return correct data when noRecursive is true #16199
  • Fixed Phalcon\Html\Escaper::html to not return null when a zero string is passed #16202
cphalcon - v5.1.0

Published by niden almost 2 years ago

Fixed

  • Fixed Phalcon\Mvc\View\Engine\Volt\Compiler::isTagFactory to correctly detect a TagFactory object without throwing an error #16097
  • Fixed default values for Phalcon\Cli, Phalcon\Dispatcher and Phalcon\Application components to ensure not null values are passed to methods #16186
  • Fixed Phalcon\Form::clear to correctly clear the elements and not recurse #15956

Added

  • Added Phalcon\Http\Request::getPatch() to get a value from a PATCH request #16188
  • Added Phalcon\Http\Request::getFilteredPatch() to get a value filtered from a PATCH request #16188
  • Added Phalcon\Http\Request::hasPatch() to check if a value exist in a PATCH request #16188
cphalcon - v5.0.5

Published by niden almost 2 years ago

Fixed

  • Fixed Phalcon\Config\Config::setData to pass the insensitive flag to child objects #16171
  • Fixed Phalcon\Config\Adapter\Groupped::__construct to pass the insensitive flag to child objects #16171
  • Fixed Phalcon\Session\Manager::setName, removing the regex check for the name for custom adapters to work with create_sid() #16170
  • Fixed PdoResult::fetchAll when passed class name in 2nd argument #16177
  • Fixed Forms\Form::label to accept an array as a default variable #16180
cphalcon - v5.0.4

Published by niden about 2 years ago

Fixed

  • Fixed Phalcon\Encryption\Security to take into account the workFactor in the cost calculation #16153
  • Removed double unserializing during Model caching #16035, #16131
  • Fixed Phalcon\Db\Adapter\Pdo\Mysql::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
  • Fixed Phalcon\Db\Adapter\Pdo\Sqlite::describeIndexes to assign an empty string in the index type of null and remove warnings #16157
  • Fixed Phalcon\Mvc\Model\Manager::notifyEvent to return true instead of null on success #16161
  • Fixed Phalcon\Encryption\Security\JWT\Validator::validateExpiration to correctly validate the exp claim #16166
cphalcon - v5.0.3

Published by niden about 2 years ago

Changed

  • Fixed Phalcon\Filter\Sanitize\StringVal to accept flags for htmlspecialchars() #16135

Fixed

  • Fixed Phalcon\Html\Escaper::attributes() to honor the $flags set for htmlspecialchars() #16134
cphalcon - v5.0.2

Published by niden about 2 years ago

Fixed

  • Fixed Phalcon\Html\Escaper::attributes() to accept any value and transform it to string #16123
  • Fixed Phalcon\Logger\AbstractLogger::getLevelNumber() to better check for string levels #16123
Package Rankings
Top 3.55% on Proxy.golang.org
Top 6.24% on Alpine-v3.11
Top 6.18% on Alpine-v3.5
Top 2.33% on Packagist.org
Top 6.87% on Alpine-v3.3
Top 6.64% on Alpine-v3.4
Top 7.94% on Alpine-v3.10
Top 6.3% on Alpine-v3.9
Badges
Extracted from project README
Phalcon 5.x CI Codecov master Codecov 5.0x Discord Contributors Phalcon Backers OpenCollective OpenCollective 5.0 Pull Requests 5.0 Issues