Releases: phalcon/cphalcon
Releases · phalcon/cphalcon
v5.1.1
v5.1.0
Fixed
- Fixed
Phalcon\Mvc\View\Engine\Volt\Compiler::isTagFactoryto correctly detect aTagFactoryobject without throwing an error #16097 - Fixed default values for
Phalcon\Cli,Phalcon\DispatcherandPhalcon\Applicationcomponents to ensure notnullvalues are passed to methods #16186 - Fixed
Phalcon\Form::clearto correctly clear the elements and not recurse #15956
Added
v5.0.5
Fixed
- Fixed
Phalcon\Config\Config::setDatato pass theinsensitiveflag to child objects #16171 - Fixed
Phalcon\Config\Adapter\Groupped::__constructto pass theinsensitiveflag to child objects #16171 - Fixed
Phalcon\Session\Manager::setName, removing the regex check for the name for custom adapters to work withcreate_sid()#16170 - Fixed
PdoResult::fetchAllwhen passed class name in 2nd argument #16177 - Fixed
Forms\Form::labelto accept an array as a default variable #16180
v5.0.4
Fixed
- Fixed
Phalcon\Encryption\Securityto take into account theworkFactorin the cost calculation #16153 - Removed double unserializing during Model caching #16035, #16131
- Fixed
Phalcon\Db\Adapter\Pdo\Mysql::describeIndexesto assign an empty string in the index type ofnulland remove warnings #16157 - Fixed
Phalcon\Db\Adapter\Pdo\Sqlite::describeIndexesto assign an empty string in the index type ofnulland remove warnings #16157 - Fixed
Phalcon\Mvc\Model\Manager::notifyEventto returntrueinstead ofnullon success #16161 - Fixed
Phalcon\Encryption\Security\JWT\Validator::validateExpirationto correctly validate theexpclaim #16166
v5.0.3
v5.0.2
v5.0.1
v5.0.0
Changed
- Changed
Phalcon\Logger\Adapter\Stream::processto open the log file, check for locks, write contents and close the stream #16072 - Changed getters and setters from shorthand format to full methods #16102
- Changed return types to
arrayinPhalcon\Annotations\Reflectionclass methods #16106 - Changed
Phalcon\Html\Escaper::attributes()to also accept an array of attributes #16108
Fixed
- Fixed and improved return type of
object&?object#16023 - Fixed
Phalcon\Filter\Validation\Validator\Digitto use only strings forctype_*calls #16064 - Fixed
Phalcon\Flash\AbstractFlash::outputMessageto return the message (implicitFlush) #16063 - Fixed
Phalcon\Filter\Validation\Validator\Numericalityto correctly detect illegal characters within string numbers #16070 - Fixed segmentation fault on Reflection of
Phalcon\Mvc\Modelclass #16080 - Fixed segmentation fault on Reflection #16096
Added
- Added
Phalcon\Encryption\Security\JWT\Token::validate()to validate a token's claims #16094 - Added
Phalcon\Encryption\Security\JWT\Token::verify()to verify a token's signature #16094 - Added
Phalcon\Encryption\Security\JWT\Validator::getErrors()to return any errors with the validation as an array #16094
v5.0.0RC4
Fixed
- Reverted to single quotes when volt code generates PHP code.
- Any
taghelpers only accept parameters with double quotes - Renamed
Phalcon\Tag::form()toPhalcon\Tag::formLegacy(helperform_legacy) #16019 - Fixed
Phalcon\Cli\Router::getMatchedRoute()Phalcon\Cli\RouterInterface::getMatchedRoute()Phalcon\Mvc\Router::getMatchedRoute()Phalcon\Mvc\RouterInterface::getMatchedRoute()to returnRouterInterfaceornull#16030
- Fixed
Phalcon/Storage/Serializer/Base64::unserialize()Phalcon/Storage/Serializer/Igbinary::unserialize()Phalcon/Storage/Serializer/Igbinary::serialize()Phalcon/Storage/Serializer/Php::unserialize()to reset isSuccess value #16040
- Fixed
Phalcon\Paginator\Adapter\Model::paginate()fix group parameter breaking total items #16042 - Fixed
Phalcon\Mvc\Model::doLowUpdate()prevent RawValue getting overwritten #16037 - Refactored
Phalcon\Image\*- Reorganized code in the image adapters
- Simplified various areas, speeding up processing
- Removed
getInternalImImage()(same asgetImage()) forPhalcon\Image\Adapter\Imagick - Added better support for webm images #15977
v5.0.0RC3
Fixed
- Fixed
Phalcon\Tag::textArea()to check if the value isnullbefore callinghtmlspecialchars#15992 - Fixed
Phalcon/Filter/Validation/Validator/AlnumPhalcon/Filter/Validation/Validator/AlphaPhalcon/Filter/Validation/Validator/ConfirmationPhalcon/Filter/Validation/Validator/CreditCardPhalcon/Filter/Validation/Validator/StringLength/MaxPhalcon/Filter/Validation/Validator/StringLength/Minto check if the value isnullbefore calling internal PHP methods #15992
- Fixed
Phalcon\Html\Helper\Titleto properly use indent and delimiter #15984 - Fixed
Phalcon\Html\Helper\Doctypeto properly use indent and delimiter #15984 - Fixed
Phalcon\Mvc\View\Engine\Volt::isIncluded()andPhalcon\Mvc\View\Engine\Volt::length()to check for null values before calls to php methods #15984 - Fixed
Phalcon\Mvc\View\Engine\Volt\Compiler::expression()to use double quotes instead of single ones #15984 - Fixed
Phalcon\Support\Version::getPart()to always return string values #15984 - Fixed
Phalcon\Dispatcher\DispatcherInterface::setModuleName()to acceptnull#15997 - Fixed
Phalcon\Dispatcher\AbstractDispatcher::setModuleName()to acceptnull#15997 - Fixed
Phalcon\Dispatcher\AbstractDispatcher::getModuleName()to also returnnull#15997
Added
- Added support for
webpimages forPhalcon\Image\Adapter\Gd#15977 - Added
Phalcon\Mvc\Model\ManagerInterface::getBuilder()to return the existing builder (created bycreateBuilder()) #15966 - Added
Phalcon\Mvc\Model\Manager::getBuilder()to return the existing builder (created bycreateBuilder()) #15966