Version 2.0.0 Stable
niden
released this
18 Apr 15:38
·
10639 commits
to master
since this release
- Full rewrite of most components in Zephir
- Added Phalcon\Mvc\Micro::error for better handling of exceptions
- Phalcon\Forms\Form::label does not share attributes with the ones that belong to the element
- Added parameter 'params' to set default conditions when retrieving related records
- Added filters "int!" and "float!" that cast values to the respective type
- Filter "alphanum" now uses a regular expression instead of internal functions for better behaviour in 64bits
- Added 'allowEmpty' option in Phalcon\Validation validators to skip validation if the value is empty
- Added Phalcon\Validation::setDefaultMessages to set default values in validators
- Added Phalcon\Validation\Validator\Numericality
- Added events in Phalcon\Di: beforeServiceResolve / afterServiceResolve
- Mysql database introspector now uses DATABASE() as default schema
- Added option to disable cache keys in Cache\Backend\Memcache
- Mvc\View component is now disabled automatically when redirecting using Http\Response
- Mvc\Model::dynamicUpdate now works better as it compares if every field has changed according to its data type
- Added Db\Adapter\Pdo::getErrorInfo() to obtain the last error generated in a PDO connection