Phalcon v3.4.0 Release Notes
Release Date: 2018-05-28 // almost 6 years ago-
- ➕ Added
Phalcon\Mvc\Router::attach
to addRoute
object directly intoRouter
#13326 - ➕ Added the ability to listen
request:beforeAuthorizationResolve
andrequest:afterAuthorizationResolve
events. This ability enables using custom authorization resolvers #13327 - ➕ Added call event
afterFetch
inPhalcon\Mvc\Model:refresh
#12220 - ➕ Added
Phalcon\Http\Response::getReasonPhrase
to retrieve the reason phrase from theStatus
header #13314 - ➕ Added
Phalcon\Loader::setFileCheckingCallback
to set internal file existence resolver #13360 - ➕ Added ability to pass aggregation options for
Phalcon\Mvc\Collection::aggregate
#12302 - ➕ Added
Phalcon\Crypt::setHashAlgo
to set the name of hashing algorithm used to the calculating message digest #13379 - ➕ Added
Phalcon\Crypt::getHashAlgo
to get the name of hashing algorithm used to the calculating message digest #13379 - ➕ Added
Phalcon\Crypt::useSigning
to 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::getAvailableHashAlgos
to get a list of registered hashing algorithms suitable for calculating message digest #13379 - ➕ Added
Phalcon\Crypt::__construct
so now the cipher can be set at object construction and the calculating message digest can be enabled without the need to callsetCipher
oruseSigning
explicitly #13379 - ➕ Added
Phalcon\Crypt\Mismatch
. Exceptions thrown inPhalcon\Crypt
will use this class #13379 - ➕ Added
Phalcon\Http\Cookie::setSignKey
to set sign key used to generate a message authentication code (eg. message digest) - ➕ Added
Phalcon\Http\Response\Cookies::setSignKey
to set sign key used to generate a message authentication code (eg. message digest) - 🔄 Changed
Phalcon\Crypt::setCipher
so that IV length will be reconfigured during setting the cipher algorithm - 🔄 Changed
Phalcon\Crypt::setCipher
so that method will throwPhalcon\Crypt\Exception
if a cipher is unavailable - 🛠 Fixed regression (#13308) for
Phalcon\Debug\Dump::output
to correctly work with detailed mode #13315 - 🛠 Fixed
Phalcon\Mvc\Model\Query\Builder::having
andPhalcon\Mvc\Model\Query\Builder::where
to correctly merge the bind types #11487 - 🛠 Fixed
Phalcon\Mvc\Model::setSnapshotData
to properly sets the old snapshot - 👻 Do not throw Exception when superglobal does not exist #13252, #13254, #12918
- ➕ Added