Updates

Stay up to dates with our latest activities and progress.
Hello! Yesterday I've tagged some Yii 2 releases and tried to sum up Yii 3 progress, plans and problems.

As a bonus, I've posted my collection of Yii-related hate-posts as GitHub repository.

Yii 2

Yii 3

Progress so far:

Plans:

  1. Tag at least some more or less stable and definitely useful packages by the end of the year.
  2. Revisit validation. Currently it serves two purposes. First is single value validation i.e. assertions. Second is data set validation that is composed from assertions. While it is looking good, there is a problem about validating dependent data. Likely we'll get back to Yii 2 style of validation.
  3. Revisit configuration. roxblnfk did a good job about prototyping it and there are draft documents that are to be posted at the forum for further discussion.
  4. Prepare an application template. Meanwhile, yiisoft/yii-demo serves the purpose of being our testing playground.

Funding

Collective budget so far allows me focusing on managing Yii overall, handling Yii 2 releases, doing reviews and at least some code. Community helps a lot contribution-wise but, I'm sure that having additional team member focusing on code most of the time would speed up development of Yii 3 significantly.

In order to raise more funding I am going to try reaching to companies in a better way by setting up Tidelift. At least I've heard that contributing financially via OpenCollective isn't easy for a company accounting-wise.

Thanks, community!

Thanks to all backers funding Yii development. Current progress would've been impossible without you!

Contributing financially is not the only way to support Yii. Other ways are as valuable. We'd like to specially thank our long-term contributors who are giving valuable insights, reviewing code, translating documentation and making great pull requests.

Published on November 20, 2019 by Alexander Makarov
Hello everyone! It is Alexander again.

// if you want to write next set of notes, let me know

Today three Yii 2 extensions got new releases:

  • Debug 2.1.11 adding more garbage collection, fixing issues and adding buttons for navigating between requests
  • Auth client 2.2.5 replacing deprecated dependency spomky-labs/jose with JWT Framework
  • Redis 2.0.11 adding Redis cluster.

With my informal announcement of the intent to get Yii 3 alpha release by the end of the year many community contributors became very active so likely the summary below misses a few interesting things that happened since last time.

Tomorrow I'm heading to Bulgaria PHP to speak about code packaging principles. While the talk is not about Yii 3, it is more or less what shaped packages set we have now.

There are no conferences scheduled after that so my plan is to focus on Yii 3 even more.

But, enough about my plans, let's get to progress so far.

Also, some docs were added:

Thank you for your support!

Published on November 5, 2019 by Alexander Makarov
It is release Tuesday today. Busy one. Since I've mentioned at recently visited conferences that I personally hope and aim to tag alpha version of Yii 3 by the end of the year, pull requests rate increased significantly for Yii 3 packages. And what's great, these are non-trivial ones but ones moving important parts of the framework forwards. Thanks to contributors submitting these and sorry for increased reviews/feedback timings.

Now, to Yii 2 releases and Yii 3 news…

Yii 2

First of all, Yii 2.0.29 was released. As usual, there are minor bug fixes. Moreover, it adds PostgreSQL 12 support and introduces some of Yii 3 dependency injection container syntax. Current Yii 2 syntax works as it did so the main purpose is to ease future transition a bit.

There are also two minor extension releases:

Yii 3

Application template discussion led to almost made decision on simplify template to very bare minimum. Initial idea was interesting but proved to be confusing.

Somogyi Márton keeps on contributing great things. This time his work in progress is network resolver that would help safely getting correct IP address of end user in case of using proxy servers such as load balancer.

Another contribution of his is an improvement of data package adding extra validation to filters that is very helpful when building filters set from array of criteria.

Alexander Kartavenko experimented with Phan, a static analysis tool for PHP by adding it to travis build of cache package.

Pavel Ivanov and Bill Heaton made several improvements to Yii development tool such as explicit messages about cloning issues, "lint" command and some refactoring.

There are new documents and guide chapters as well:

Thanks, community!

Thanks to all backers funding Yii development. Current progress would've been impossible without you!

Contributing financially is not the only way to support Yii. Other ways are as valuable. We'd like to specially thank our long-term contributors who are giving valuable insights, reviewing code, translating documentation and making great pull requests.

Published on October 22, 2019 by Alexander Makarov
Hello everyone! Today is release day. There are both Yii 2 releases and significant Yii 3 progress.

Yii 2

New version 2.0.28 was tagged. It includes important security fix for Request::getUserIP() for the case when Request::$trustedHost and Request::$ipHeaders are used.

Also there are fixes for PHP 7 error handing in ActiveField and yii\i18n\Formatter that was improperly using complex locale stings for selecting translation language.

Additionally the following extensions were released:

Yii 3

First, a summary about getting started with contributing to Yii 3 was posted at the forum. Hope it would spark more contributions.

Discussions with Somogyi Márton and his improvements resulted in better architecture and more features for very important "yiisoft/data" package. It is going to be used as a base for lists and grids. These issues and pull requests may be interesting to read.

Friendly exception interface mentioned previous time went into its own package "yiisoft/friendly-exception". Any package could implement the interface in order for Yii or other compatible error handler to display information provided. Here's related discussion from the forum.

@romkatsu contributed unit tests for redirect middleware.

Dmitriy Derepko fixed yiisoft/log-target-email package.

Thanks to Pavel Ivanov DI container now properly falls back to autoloading when class isn't found so there's no need to define classes without interfaces and a single implementation anymore.

Rustam Mamadaminov implemented authentication middleware.

Pavel Chaplygin contributed Flash component for one-time messages.

Views rendering got smarter by totally preventing parameter name collisions.

RBAC package got to working state. There are conceptual changes from Yii 2 but not many.

Overall we're getting closer to the state when we're ready to tag alpha.

Thank you!

I'd like to thank all backers and contributors making Yii 3 possible. We are moving it forward together.

Published on October 8, 2019 by Alexander Makarov
Hello everyone reading our development reports!
Published on September 18, 2019 by Alexander Makarov
Last week there were no releases since some Yii 2 pull requests needed polishing but I was able to tag release today.
Published on September 3, 2019 by Alexander Makarov
Another release Tuesday today. Two extensions were released:
Published on August 20, 2019 by Alexander Makarov
Hello everyone! This week we've got Yii 2 releases and some Yii 3 progress. Let's go straight to these.
Published on August 13, 2019 by Alexander Makarov
The week was relatively quiet for the framework development since half of it I was on the road to give a speech on web applications security in Ivanovo, Russia. Despite the fact that these events take time, they also give valuable feedback and insights that are then applied to Yii.
Published on July 30, 2019 by Alexander Makarov
This month you have made it possible to meet first funding goal of 2000$ in order for me to focus primarily on Yii framework management, releases and development.
Published on July 24, 2019 by Alexander Makarov
Another Tuesday passed. This time there are two extension releases.
Published on July 24, 2019 by Alexander Makarov
It is July 17, 00:00 again. Writing announcements at midnight seems to became a habit (I hope not).
Published on July 16, 2019 by Alexander Makarov
First of all, huge thanks to all backers! You are making further Yii development possible. I have added another OpenCollective goal that, if funding gathered for, would allow delivering more of both Yii 2 and Yii 3 in less time.
Published on July 2, 2019 by Alexander Makarov
This release Tuesday brought us 2.0.21. Besides bugfixes this release, thanks to Brandon Kelly from Craft, enhances performance of database connection. Also there is now an option to turn on sameSite for both session and regular cookies. More details are in the full announcement.
Published on June 18, 2019 by Alexander Makarov
This release Tuesday has not brought many releases. Only a single Yii 2 extension was tagged, Bootstrap 4.
Published on June 11, 2019 by Alexander Makarov
This release Tuesday was intense. Tagged Yii 2.0.20 fixing some bugs. Additionally, the following extensions were released:
Published on June 4, 2019 by Alexander Makarov
A version of the framework and a version of Queue extension were tagged today.
Published on May 29, 2019 by Alexander Makarov
Today three extensions were tagged:
Published on May 29, 2019 by Alexander Makarov
Since first financial goal is almost achieved allowing one core team member focusing on the project, Yii team are ready to start tagging releases more. From now on every Tuesday is "release day" and overall policy is the following:
Published on May 29, 2019 by Alexander Makarov
Second release Tuesday brought four extension releases and a framework release:
Published on May 29, 2019 by Alexander Makarov