We are happy to announce that we have released Phalcon 3.4.0.
This is going to be the last major release in the 3.x series. We will continue bug fixes and release some minor releases in the future, but we are now going to concentrate fully on version 4.0.
Changelog
- Added
Phalcon\Mvc\Router::attachto addRouteobject directly intoRouter#13326 - Added the ability to listen
request:beforeAuthorizationResolveandrequest:afterAuthorizationResolveevents. This ability enables using custom authorization resolvers #13327 - Added call event
afterFetchinPhalcon\Mvc\Model:refresh#12220 - Added
Phalcon\Http\Response::getReasonPhraseto retrieve the reason phrase from theStatusheader #13314 - Added
Phalcon\Loader::setFileCheckingCallbackto set internal file existence resolver #13360 - Added ability to pass aggregation options for
Phalcon\Mvc\Collection::aggregate#12302 - Added
Phalcon\Crypt::setHashAlgoto set the name of hashing algorithm used to the calculating message digest #13379 - Added
Phalcon\Crypt::getHashAlgoto get the name of hashing algorithm used to the calculating message digest #13379 - Added
Phalcon\Crypt::useSigningto set if the calculating message digest must used (NOTE: This feature will be enabled by default in Phalcon 4.0.0) #13379 - Added
Phalcon\Crypt::getAvailableHashAlgosto get a list of registered hashing algorithms suitable for calculating message digest #13379 - Added
Phalcon\Crypt::__constructso now the cipher can be set at object construction and the calculating message digest can be enabled without the need to callsetCipheroruseSigningexplicitly #13379 - Added
Phalcon\Crypt\Mismatch. Exceptions thrown inPhalcon\Cryptwill use this class #13379 - Added
Phalcon\Http\Cookie::setSignKeyto set sign key used to generate a message authentication code (eg. message digest) - Added
Phalcon\Http\Response\Cookies::setSignKeyto set sign key used to generate a message authentication code (eg. message digest) - Changed
Phalcon\Crypt::setCipherso that IV length will be reconfigured during setting the cipher algorithm - Changed
Phalcon\Crypt::setCipherso that method will throwPhalcon\Crypt\Exceptionif a cipher is unavailable - Fixed regression (#13308) for
Phalcon\Debug\Dump::outputto correctly work with detailed mode #13315 - Fixed
Phalcon\Mvc\Model\Query\Builder::havingandPhalcon\Mvc\Model\Query\Builder::whereto correctly merge the bind types #11487 - Fixed
Phalcon\Mvc\Model::setSnapshotDatato properly sets the old snapshot - Do not throw Exception when superglobal does not exist #13252, #13254, #12918
Update/Upgrade
Phalcon 3.4.0 can be installed from the master branch, if you don’t have Zephir installed follow these instructions:
git clone https://github.com/phalcon/cphalcon
cd cphalcon/build
sudo ./install
Note that running the installation script will replace any version of Phalcon installed before.
PackageCloud.io has been updated to allow your package manager (for Linux machines) to upgrade to the new version seamlessly.
NOTE: Our packaging system not longer supports Ubuntu 15.10 due to difficulties installing dependencies, updates and major security patches. Ubuntu 15.10 reached its end of life in July 28, 2016. We strongly recommend you upgrade your installation. If you cannot, you can always build the latest stable version of Phalcon from the source code.
NOTE: Windows DLLs are now available in our Github Release page.
We encourage existing Phalcon 3 users to update to this version and as always a big thank you to our contributors!
Chat - Q&A
Support
Social Media
Videos
<3 Phalcon Team