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:afterCompile
andview:beforeCompile
events for the Volt compiler #2182 - Added array merge support to
Phalcon\Config::merge
- Added
setBlacklist
inPhalcon\Debug
to allow the developer to “blacklist” certain variables from the$_REQUEST
or$_SERVER
superglobals being displayed on screen #13687 - Changed view engine service closures to no longer receive the dependency injector as the second parameter. Instead use
$this
for the DI. #11926
Fixed
- Fixed router and controller parameter inconsistencies (camelize etc.) #13555
- Fixed
invalid opcode
inphalcon.so
when using docker #13143 - Fixed storing related model data in
Phalcon\Messages\Message
. The method is nowsetMetadata
and 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:findFirst
to 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\Subject
toPhalcon\Acl\Component
#13808 - Renamed
Phalcon\Acl\SubjectInterface
toPhalcon\Acl\ComponentInterface
#13808 - Renamed
Phalcon\Acl\SubjectAware
toPhalcon\Acl\ComponentAware
#13808 - Renamed
Phalcon\Acl\Operation
toPhalcon\Acl\Role
#13808 - Renamed
Phalcon\Acl\OperationInterface
toPhalcon\Acl\RoleInterface
#13808 - Renamed
Phalcon\Acl\OperationAware
toPhalcon\Acl\RoleAware
#13808 - Renamed
Phalcon\Acl\AdapterInterface::addOperation
toPhalcon\Acl\AdapterInterface::addRole
#13808 - Renamed
Phalcon\Acl\AdapterInterface::isOperation
toPhalcon\Acl\AdapterInterface::isRole
#13808 - Renamed
Phalcon\Acl\AdapterInterface::isSubject
toPhalcon\Acl\AdapterInterface::isComponent
#13808 - Renamed
Phalcon\Acl\AdapterInterface::addSubject
toPhalcon\Acl\AdapterInterface::addComponent
#13808 - Renamed
Phalcon\Acl\AdapterInterface::addSubjectAccess
toPhalcon\Acl\AdapterInterface::addComponentAccess
#13808 - Renamed
Phalcon\Acl\AdapterInterface::dropSubjectAccess
toPhalcon\Acl\AdapterInterface::dropComponentAccess
#13808 - Renamed
Phalcon\Acl\AdapterInterface::getActiveOperation
toPhalcon\Acl\AdapterInterface::getActiveRole
#13808 - Renamed
Phalcon\Acl\AdapterInterface::getActiveSubject
toPhalcon\Acl\AdapterInterface::getActiveComponent
#13808 - Renamed
Phalcon\Acl\AdapterInterface::getOperationss
toPhalcon\Acl\AdapterInterface::getRoles
#13808 - Renamed
Phalcon\Acl\AdapterInterface::getSubjects
toPhalcon\Acl\AdapterInterface::getComponents
#13808 - Renamed
Phalcon\Acl\Adapter::getActiveOperation
toPhalcon\Acl\AdapterInterface::getActiveRole
#13808 - Renamed
Phalcon\Acl\Adapter::getActiveSubject
toPhalcon\Acl\AdapterInterface::getActiveComponent
#13808 - Renamed
Phalcon\Acl\Adapter\Memory::addOperation
toPhalcon\Acl\Adapter\Memory::addRole
#13808 - Renamed
Phalcon\Acl\Adapter\Memory::isOperation
toPhalcon\Acl\Adapter\Memory::isRole
#13808 - Renamed
Phalcon\Acl\Adapter\Memory::isSubject
toPhalcon\Acl\Adapter\Memory::isComponent
#13808 - Renamed
Phalcon\Acl\Adapter\Memory::addSubject
toPhalcon\Acl\Adapter\Memory::addComponent
#13808 - Renamed
Phalcon\Acl\Adapter\Memory::addSubjectAccess
toPhalcon\Acl\Adapter\Memory::addComponentAccess
#13808 - Renamed
Phalcon\Acl\Adapter\Memory::dropSubjectAccess
toPhalcon\Acl\Adapter\Memory::dropComponentAccess
#13808 - Renamed
Phalcon\Acl\Adapter\Memory::getOperationss
toPhalcon\Acl\Adapter\Memory::getRoles
#13808 - Renamed
Phalcon\Acl\Adapter\Memory::getSubjects
toPhalcon\Acl\Adapter\Memory::getComponents
#13808 - Renamed
Phalcon\Mvc\Url
toPhalcon\Url
#13742 - Renamed
Phalcon\Mvc\UrlInterface
toPhalcon\UrlInterface
#13742 - Renamed
Phalcon\Mvc\Url\Exception
toPhalcon\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\Queue
namespace 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