Phalcon 5.0.0alpha3 Released!

Read time: 1 minute
Phalcon 5.0.0alpha3 Released!

We are very happy to announce the release of Phalcon v5.0.0 Alpha 3!

Github Tag

Another “maintenance” release for v5 series. We made some changes to the release tag to align with PECL as well as fixed a few bugs and worked on interfaces. We are encouraging our early adopters to install the new version and provide feedback.

This release requires PHP 7.4 or PHP 8.0

Huge thanks to our contributors that reported issues, offered input as well as submitted pull requests with additions and corrections!

NOTE: You can always check our roadmap and the status of our active sprint for v5 in our project page: https://github.com/orgs/phalcon/projects/4

Changelog

Changed

  • Changed version format to allow alpha/beta/RC releases on PECL.
  • Changed:
    • Phalcon\Mvc\Model\Resultset\Complex::__construct now accepts Psr\SimpleCache\CacheInterface for the cache
    • Phalcon\Mvc\Model\Resultset\Simple::__construct now accepts Psr\SimpleCache\CacheInterface for the cache
    • Phalcon\Mvc\Model\Resultset::__construct now accepts Psr\SimpleCache\CacheInterface for the cache
    • Phalcon\Mvc\Model\Resultset::getCache now returns Psr\SimpleCache\CacheInterface #15471
  • Changed Phalcon\Db\Adapter\AbstractAdapter:delete() signature of optional parameters. #15363
  • Changed bindCounts argument to array type in:
    • Phalcon\Db\Dialect:getColumnList()
    • Phalcon\Db\Dialect:getSqlColumn()
    • Phalcon\Db\Dialect:getSqlExpression()
    • Phalcon\Db\Dialect:getSqlExpressionBinaryOperations()
    • Phalcon\Db\Dialect:getSqlExpressionCase()
    • Phalcon\Db\Dialect:getSqlExpressionCastValue()
    • Phalcon\Db\Dialect:getSqlExpressionConvertValue()
    • Phalcon\Db\Dialect:getSqlExpressionFunctionCall()
    • Phalcon\Db\Dialect:getSqlExpressionGroupBy()
    • Phalcon\Db\Dialect:getSqlExpressionHaving()
    • Phalcon\Db\Dialect:getSqlExpressionJoins()
    • Phalcon\Db\Dialect:getSqlExpressionLimit()
    • Phalcon\Db\Dialect:getSqlExpressionList()
    • Phalcon\Db\Dialect:getSqlExpressionObject()
    • Phalcon\Db\Dialect:getSqlExpressionOrderBy()
    • Phalcon\Db\Dialect:getSqlExpressionScalar()
    • Phalcon\Db\Dialect:getSqlExpressionUnaryOperations()
    • Phalcon\Db\Dialect:getSqlExpressionWhere()
    • Phalcon\Db\DialectInterface:getSqlExpression()

Fixed

  • Fixed Phalcon\Db\Adapter\AbstractAdapter:delete() when bindTypes argument is passed. #15363
  • Fixed Phalcon\Storage\Adapter\Redis::getAdapter to use passed connectionTimeout, retryInterval and readTimeout options for the connection #15484
  • Fixed Phalcon\Mvc\View\Engine\Volt\Compiler for a use case when a block will return null vs an array for statementList in PHP 8 #15556

Chat - Q&A

Support

Social Media

Videos

<3 Phalcon Team

Projects
We're a nonprofit organization that creates solutions for web developers. Our products are Phalcon, Zephir and others. If you would like to help us stay free and open, please consider supporting us.