We are very happy to announce the release of v4.0.1, our first release in 2020!.
We streamed this release live! https://youtu.be/oRwVx4pwemI
We started getting a bit more organized :) We have split the work in sprints (usually two week long) and we only pick up work that we can complete within the current sprint.
The work is a combination of bug fixes, enhancements as well as NFRs for both 4.0 and 4.1.
Highlights
- Docs update / clarifications
- Build adjustments (PHP 7.4)
Request\Cookie-setcookie- Size parameter for
DATETIME/TIMESTAMP - Query Builder - virtual columns
- DevTools bugs
- PECL work
- Codeception Phalcon 4 module
- Binaries for macOS - HomeBrew
- Docs update / clarifications
- Tests - CLI (all done)
- Tests -
Request\Cookie
also for v4.1
- JWT support (4.1) (docs needed)
Html\Helperssupport (4.1) (docs needed)
NOTE: You can always check our roadmap and the status of our active sprint in our project page: https://github.com/orgs/phalcon/projects/4
Changelog
Added
Changed
- Changed the logic when logging times for
Phalcon\Loggerto useDateTimeImmutableso as to handle microseconds if necessary. #2893 - Changed
Phalcon\Http\Cookie::sendandPhalcon\Http\Cookie::deleteto allow forsamesiteto be passed in theoptionswhen using PHP > 7.3 #14627
Fixed
- Fixed
Phalcon\Mvc\Model\CriteriaDi isn’t set when usingCriteria::fromInput()#14538 - Fixed
Phalcon\Db\Dialect\Mysqlremoving unnecessary parentheses fordoubleandfloat#14645 @pfz - Fixed
Phalcon\Http\Cookie::deleteto parse the correct parameters - cannot use alternative syntax until PHP 7.3 #14643 - Fixed
Phalcon\Mvc\Model::__issetto take into account non visible properties by checking the getter if it exists #13518 #13900 - Fixed
Phalcon\Mvc\Model::__setto return a more informative message if we are tying to access a non visible property #13518 #13900 - Fixed
Phalcon\Mvc\Model\Resultset\Simple::toArrayto correctly process virtual fields #14669 - Fixed
Phalcon\Session\Manager::getUniqueKeyto prefix the key only ifuniqueIdis present #14688 - Fixed
Phalcon\Db\Adapter\Pdo::describeColumnsto correctly detectENUMcolumns #14691
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.1. 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.
Note: It might take a bit of time for the DEB and RPM packages to be built from when this blog post is published. {: .alert .alert-info }
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