The Phalcon Team is happy to announce the release of v4.0.0 Alpha 3! Github Tag
We cannot thank your community enough! By reporting bugs, offering feedback and suggestions, pull requests, being active in discussions about how the framework should move towards the future, you all help us make Phalcon better with every release.
We are releasing the third alpha version today, a lot of additions as well as bug fixes. You can see our project here
In case you missed it, there are two discussions going on on Github regarding our new Queue component and the direction to take, as well as voting for upcoming features priority. We would welcome any input.
Changelog
Added
- Added view:afterCompileandview:beforeCompileevents for the Volt compiler #2182
- Added array merge support to Phalcon\Config::merge
- Added setBlacklistinPhalcon\Debugto allow the developer to “blacklist” certain variables from the$_REQUESTor$_SERVERsuperglobals being displayed on screen #13687
- Changed view engine service closures to no longer receive the dependency injector as the second parameter. Instead use $thisfor the DI. #11926
Fixed
- Fixed router and controller parameter inconsistencies (camelize etc.) #13555
- Fixed invalid opcodeinphalcon.sowhen using docker #13143
- Fixed storing related model data in Phalcon\Messages\Message. The method is nowsetMetadataand can be used to store any metadata from any component that emits messages #13811
- Fixed Dispatcher calling camelize twice and producing incorrect results #12829
- Fixed Phalcon\Mvc\Model:findFirstto throw an exception when the passed parameter for a primary key is not an array, string or numeric #13336
- Added Phalcon\Http\ResponseInterface::isSent, that was already used. #13836
Changed
- Renamed Phalcon\Acl\SubjecttoPhalcon\Acl\Component#13808
- Renamed Phalcon\Acl\SubjectInterfacetoPhalcon\Acl\ComponentInterface#13808
- Renamed Phalcon\Acl\SubjectAwaretoPhalcon\Acl\ComponentAware#13808
- Renamed Phalcon\Acl\OperationtoPhalcon\Acl\Role#13808
- Renamed Phalcon\Acl\OperationInterfacetoPhalcon\Acl\RoleInterface#13808
- Renamed Phalcon\Acl\OperationAwaretoPhalcon\Acl\RoleAware#13808
- Renamed Phalcon\Acl\AdapterInterface::addOperationtoPhalcon\Acl\AdapterInterface::addRole#13808
- Renamed Phalcon\Acl\AdapterInterface::isOperationtoPhalcon\Acl\AdapterInterface::isRole#13808
- Renamed Phalcon\Acl\AdapterInterface::isSubjecttoPhalcon\Acl\AdapterInterface::isComponent#13808
- Renamed Phalcon\Acl\AdapterInterface::addSubjecttoPhalcon\Acl\AdapterInterface::addComponent#13808
- Renamed Phalcon\Acl\AdapterInterface::addSubjectAccesstoPhalcon\Acl\AdapterInterface::addComponentAccess#13808
- Renamed Phalcon\Acl\AdapterInterface::dropSubjectAccesstoPhalcon\Acl\AdapterInterface::dropComponentAccess#13808
- Renamed Phalcon\Acl\AdapterInterface::getActiveOperationtoPhalcon\Acl\AdapterInterface::getActiveRole#13808
- Renamed Phalcon\Acl\AdapterInterface::getActiveSubjecttoPhalcon\Acl\AdapterInterface::getActiveComponent#13808
- Renamed Phalcon\Acl\AdapterInterface::getOperationsstoPhalcon\Acl\AdapterInterface::getRoles#13808
- Renamed Phalcon\Acl\AdapterInterface::getSubjectstoPhalcon\Acl\AdapterInterface::getComponents#13808
- Renamed Phalcon\Acl\Adapter::getActiveOperationtoPhalcon\Acl\AdapterInterface::getActiveRole#13808
- Renamed Phalcon\Acl\Adapter::getActiveSubjecttoPhalcon\Acl\AdapterInterface::getActiveComponent#13808
- Renamed Phalcon\Acl\Adapter\Memory::addOperationtoPhalcon\Acl\Adapter\Memory::addRole#13808
- Renamed Phalcon\Acl\Adapter\Memory::isOperationtoPhalcon\Acl\Adapter\Memory::isRole#13808
- Renamed Phalcon\Acl\Adapter\Memory::isSubjecttoPhalcon\Acl\Adapter\Memory::isComponent#13808
- Renamed Phalcon\Acl\Adapter\Memory::addSubjecttoPhalcon\Acl\Adapter\Memory::addComponent#13808
- Renamed Phalcon\Acl\Adapter\Memory::addSubjectAccesstoPhalcon\Acl\Adapter\Memory::addComponentAccess#13808
- Renamed Phalcon\Acl\Adapter\Memory::dropSubjectAccesstoPhalcon\Acl\Adapter\Memory::dropComponentAccess#13808
- Renamed Phalcon\Acl\Adapter\Memory::getOperationsstoPhalcon\Acl\Adapter\Memory::getRoles#13808
- Renamed Phalcon\Acl\Adapter\Memory::getSubjectstoPhalcon\Acl\Adapter\Memory::getComponents#13808
- Renamed Phalcon\Mvc\UrltoPhalcon\Url#13742
- Renamed Phalcon\Mvc\UrlInterfacetoPhalcon\UrlInterface#13742
- Renamed Phalcon\Mvc\Url\ExceptiontoPhalcon\Url\Exception#13742
Removed
- Removed the CSS/JS minifiers. This affects the Assets\Filter classes. For now the classes return the original content. #13819, #10118
- Removed Phalcon\Queuenamespace and tests. Beanstalkd is near being abandoned. A new Queue component/adapter will be implemented for queueing needs of the community. #13364
Installation/Upgrade
The packages in packagecloud.io are being updated (at the time of this post) and will be ready soon. You will need to use the mainline repository to install v4.0.0-alpha3. You can also download the zip file, as well as DLLs for Windows, from our release page here.
You can also clone the repository and checkout the tag, and then run
zephir fullclean
zephir build
to install the new extension. Detailed installation instructions can be found in our documentation page.
Thank you
Once again a huge thank you to all of our contributors! You guys have helped us a lot. You can help us even more by installing this version and testing it. If you find bugs, please report them in our Github Issues page. Alternatively you can always join us in our Discord server or our Forum.
Chat - Q&A
Support
Social Media
Videos
<3 Phalcon Team
