We are very happy to announce the release of v4.0.0 Release Candidate (RC) 3!.
We streamed this release live! https://youtu.be/iAGWIW9A4Mc
This release fixed quite a few bugs (thanks community!). We have also introduced support for PSR-13, ability to build Hypermedia Links
We are nearly there. 5 documents left to rewrite, a bit of work on DevTools and fixing a few bugs that were found in the previous iteration.
You can see the remaining cards for v4 in our project page.
Regarding the documents, you can check our progress in this issue:
- Added support for PSR-13 links and evolvable links #14507
Phalcon\Collection\getValuesfor getting data from the collection #14507
- Added has-one-through relations to
Phalcon\Http\Request::numFilesto return the number of files in the request #14519
- Removed the
modelparameter to pass model class
- Added optional parameter
parameterswhich is used as the parameter
- Removed the
Phalcon\Annotations\AnnotationsFactory:newInstanceto return the correct object back #14494
- Fixed return types:
Phalcon\Mvc\Modelto include correct model instances in messages metadata #14510
Phalcon\Di\Injectable::__get()to return shared instance by default #14491
Phalcon\Mvc\View::loadTemplateEngines()to not share engine with other views by default #14491
getRelationsBetween()to return many-to-many relations correctly #14509
Phalcon\Loggerto correctly allow transactional logging #14514
Phalcon\Http\Request::hasFilesto return boolean and
trueif files are present #14519
Phalcon\Logger\Adapter\Syslogto correctly log Syslog messages #14522
Phalcon\Mvc\Model\MetaData::getIdentityFieldto also return
nullif the identity field is not present #14523
Phalcon\Storage\Serializer\Jsonto serialize objects that implement the
Phalcon\Collectionto correctly return one level nested objects that implement
Phalcon\Mvc\Viewto only include first found instance of view when using multiple view directories #12977
Phalcon\Logger\Formatter\Syslog- really did not do much #14523
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-rc2. 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.
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
<3 Phalcon Team