Phalcon 3.1.0 released
We are really excited to announce Phalcon’s latest release: 3.1.0!
This release addresses several bug fixes and also introduces additional functionality to the framework
The release tag can be found here: 3.1.0
- Added the ability to truncate database tables
Phalcon\Mvc\Model\Binder, class used for binding models to parameters in dispatcher, micro, added
Phalcon\Mvc\Micro::getBoundModelsto getting bound models, added
- Added the ability to set custom Resultset class returned by
- Added the ability to clear appended and prepended title elements (
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
- Added the ability to use
- Added the value of the object
- Added the ability to get original values from
Phalcon\Loader::registerto specify autoloader’s loading order to top most
- Fixes internal cache saving in
Phalcon\Mvc\Model\Binderwhen no cache backend is used
Phalcon\Session\Bag::removeto initialize the bag before removing a value #12647
Phalcon\Mvc\Model::getChangedFieldsto correct detect changes from
NULLto Zero #12628
Phalcon\Mvc\Modelto create/refresh snapshot after create/update/refresh operation #11007, #11818, #11424
Phalcon\Mvc\Model::validateto correctly set code message #12645
Phalcon\Mvc\Modelto correctly add error when try to save empty string value to not null and not default column #12688
Phalcon\Validation\Validator\Uniquenesscollection persistent condition
Phalcon\Loader::autoLoadto prevent PHP warning #12684
Phalcon\Mvc\Model\Query::_executeSelectto correctly get the column map #12715
- Fixed params view scope for PHP 5 #12648
Please note that Phalcon 3.1 is not compatible with PHP 7.1. If you want to use PHP 7, you will need to compile it with PHP 7.0. Full support for PHP 7.1+ will be introduced in our next version
Big kudos to our community as always for reporting, suggesting and applying fixes and making our framework better with every release! A big thank you to all our backers and supporters that help us by joining our funding campaign. https://phalcon.link/fund
We are making some changes to our team, bringing more people in to help with the organization, management as well as structure of the project. Our end goals are to produce timely releases with zero or minimal bugs, and to implement new features regularly. This is still work in progress, so once we have everything settled, we will explain everything with a relevant blog post.
Phalcon 3.1.0 can be installed from the
master branch, if you don’t have Zephir installed follow these instructions:
git clone http://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.
Windows DLLs are available in the download page.
NOTE: Linux packages will be available in a couple of hours after the posting of this blog post
We encourage existing Phalcon 3 users to update to this version.
<3 Phalcon Team[2017-03-22]