The Phalcon Team wishes all of our friends, contributors, developers and users of the framework a Merry Christmas!. We hope that the new year will bring health and happiness to you and your loved ones!
A Christmas present for the community, Phalcon 5.10.0 has been released. This release contains a few bug fixes.
A huge thank you to all of our contributors and the community!!
The release tag can be found here: v5.10.0.
Changelog
Changed
- Changed
bind()andvalidate()method inPhalcon\Filter\ValidationandPhalcon\Filter\Validation\ValidationInterfaceto accept$whitelistarray of only allowed fields to be mutated when using entity #16800 - Changed
Phalcon\Storage\Adapters\Libmemcached::getAdapter()to use 50ms for\Memcached::OPT_CONNECT_TIMEOUT#16818 - Changed
Phalcon\Html\Helper\Input\*to honorDocblocdirectives #16778
Added
- Added
fails()method helper toPhalcon\Filter\Validationuseful for standalone validation #16798
Fixed
- Fixed
Phalcon\Config\Adapter\Yamlconstructor to handlenullreturn values fromyaml_parse_file(), ensuring empty configuration files are treated as empty arrays instead of throwing errors. - Fixed
Phalcon\Http\RequestmethodgetClientAddress(true)to return correct IP address from trusted forwarded proxy. #16777 - Fixed
Phalcon\Http\RequestmethodgetPost()to correctly return json data as well and unified bothgetPut()andgetPatch()to go through the same parsing method. #16792 - Fixed
Phalcon\Filter\Validationmethodbind()andvalidate()to correctly bind data when using entity as well as skip binding of fields not included in$whitelist#16800 - Fixed
Phalcon\Http\RequestmethodgetPostData()whenContent-Typeheader is not set #16804 - Fixed
Phalcon\Events\ManagerInterfaceadding priority property #16817 - Fixed
Phalcon\Storage\Adapters\Libmemcached::getAdapter()to correctly merge adapter options #16818 - Fixed
Phalcon\Encryption\CryptmethodcheckCipherHashIsAvailable(string $cipher, string $type)to correctly check thecipherorhashtype #16822 - Fixed
Phalcon\Mvc\Modeldocblocks #16825
Thank you
Once again a huge thank you to our community!
Chat - Q&A
Support
Social Media
Videos
<3 Phalcon Team