Phalcon v3.1.0 Release Notes
-
- ➕ Added
Phalcon\Validation\Validator\Callback
,Phalcon\Validation::getData
- ➕ Added the ability to truncate database tables
- ➕ Added
Phalcon\Mvc\Model\Binder
, class used for binding models to parameters in dispatcher, micro, addedPhalcon\Dispatcher::getBoundModels
andPhalcon\Mvc\Micro::getBoundModels
to getting bound models, addedPhalcon\Mvc\Micro\Collection\LazyLoader::callMethod
- ➕ Added afterBinding event to
Phalcon\Dispatcher
andPhalcon\Mvc\Micro
, addedPhalcon\Mvc\Micro::afterBinding
- ➕ Added the ability to set custom Resultset class returned by find() #12166
- ➕ Added the ability to clear appended and prepended title elements (Phalcon\Tag::appendTitle, Phalcon\Tag::prependTitle). Now you can use array to add multiple titles. For more details check #12238.
- ➕ Added the ability to specify what empty means in the 'allowEmpty' option of the validators. Now it accepts as well an array specifying what's empty, for example ['', false]
- ➕ Added the ability to use
Phalcon\Validation
withPhalcon\Mvc\Collection
, deprecatedPhalcon\Mvc\Collection::validationHasFailed
- 🛠 Fixes internal cache saving in
Phalcon\Mvc\Model\Binder
when no cache backend is used - ➕ Added
Phalcon\Acl\Adapter\Memory::getActiveKey
,Phalcon\Acl\Adapter\Memory::activeFunctionCustomArgumentsCount
andPhalcon\Acl\Adapter\Memory::getActiveFunction
to get latest key, number of custom arguments, and function used to acquire access - ➕ Added
Phalcon\Firewall
component
- ➕ Added