Bbabo NET

Science & Technology News

Yii News 2021 Issue 4

Happy New Year and Merry Christmas!

With you Alexander Makarov and the latest Yii news release.

There were not many newscasts this year. This fourth. But there was really a lot done. Despite the fact that the year turned out to be not easy, I think that the overall progress is excellent:

2 releases Yii1.

4 releases Yii2.

More than 50% of Yii3 packages (including the most important and complex ones) went into release. Many are on the verge of release.

We plan to start 2022 with:

Package releases.

Optimizing performance.

Writing a guide.

Updates on the site.

Articles about Yii3.

And, probably, something else amusing.

And now let's move on to interesting events that have occurred since the last news release.

Foundation

The Foundation allowed us to work with Alexey Rogachev again. He was already on the team in 2017 and then helped a lot with Yii2. He is currently working on radical improvements to the Yii2 API documentation generator and is updating the site along the way with bug fixes. He will probably join the work on Yii3 later.

Another big news is that you can now help the Yii fund in cryptocurrency.

PHP 8.1

With the release of PHP 8.1 we started to update Yii1, Yii2 and Yii3 compatibility with it. The hardest part, getting the old PHPUnit to work with 8.1 was done by longthanhtran. Now we need some more time to fix the compatibility itself.

Yii 1

Yii 1.1.25.

Yii 2

Yii 2.0.44.

Redis 2.0.16.

Bootstrap5 2.0.2.

Auth Client 2.2.12.

Swiftmailer 2.1.3.

Sphinx extension 2.0.14.

Queue extension 2.3.3.

Gii extension 2.2.4.

Both the basic application template and the advanced template now work better with code completion in PhpStorm. Vagrant in advanced template has been updated to PHP 7.4.

There is also a new expansion. This is an adapter for the Symfony mailer.

Yii 3

New stable packages:

Yii Console.

Symfony mailer adapter.

Redis adapter for cache.

Middleware dispatcher and Middleware dispatcher 2.0.0.

Definitions.

Yii Dependency Injection.

Yii HTTP.

Factory.

Widget.

Yii Swagger.

Config.

Message extractor.

User.

Router and FastRoute adapter.

Package updates:

Html 2.0.0, Html 2.1.0, Html 2.2.0.

Mailer 3.0.0, SwiftMailer 3.0.0, and Email Log Target 3.0.0.

View 2.1.0.

View and Yii View Extension 3.0.

View 4.0.0.

Yii View 4.0.0.

Mutex and adapters 1.1.0.

CSRF 1.1.0 and CSRF 1.2.0.

Arrays 2.0.0.

VarDumper 1.2.0.

Assets 2.0.0.

i18n 1.1.0.

Error handler 2.0.0.

HTTP 1.2.0.

Removed packages:

yii-web.

I have decided not to list patch releases in the list and not to post news about them on the site. It takes time, and the content there turns out to be not very interesting.

And more interesting:

Demo now has a backend.

Translations appeared in Demo.

Attached environment variables.

I left for Cycle ORM 2.0, the integration with Yii is already ready in the 2.0 branch.

Debugger got rid of jQuery. Added request and middleware panels.

New concept for Yii runners.

Look for even more updates on the Yii3 Chronicle Telegram channel.

New and updated documentation

012 - Changelog and upgrade.

Yii community cookbook was started.

Using Yii with RoadRunner.

News & Articles

The New Life of PHP - The PHP Foundation. I helped to set it up.

Modern web apps without JavaScript bundling or transpiling.

Fun with PHPUnit Data Providers.

How opcache works.

Compressed HTTP Requests with Curl and PHP.

Early binding in PHP.

Ensuring data (base) consistency during concurrent requests.

How PHP Environment Variables Actually work.

Composer and Contao for the Rest of the World.

Work on PSR-21 started with Yii as part of the working group.

Thank you!

I want to say thank you to all the sponsors and developers, thanks to whom the development of Yii 3 became possible. Together we will succeed!

CraftCMS - An excellent OpenSource CMS based on Yii2.

Onetwist Software - Quality application development services.

SkillShare - Learning new skills.

Betteridge - Jewelry.

dmstr - Docker-based cloud solutions.

HumHub - OpenSource team communication solutions.

JetBrains - Great development tools.

Skin.Club - CS: GO skins market.

EFKO Group is a food tech, food manufacturing, and venture capital investment. More recently, EFKO Digital Solutions is also a separate growing IT service company that plans to deal not only with EFKO's internal projects.

In addition to those listed, we are supported by individual developers and other companies.

Special thanks to those who helped Yii 3 with code:

Evgeniy Zyubin.

Sergei Predvoditelev.

Wilmer Arambula.

yiiliveext.

Rustam Mamadaminov.

Viktor Babanov.

Valerii Gorbachev.

Dmitry Derepko.

Alexey Chernousov.

Aleksei Gagarin.

Roman Tsurkanu.

Mehdi Achour.

Evgeniy Tkachenko.

Alexander Nekrasov.

Ben Ramsey.

Pavel Afonin.

Gerych1984.

Aleksandr Bogatikov.

solventt.

Evgeniy Moiseenko.

Tomasz Kane.

Niger Andrey Poot May.

perfectio.

kriptogenic.

Sameer S. R. Sood.

Anton Fedonyuk.

Mahmud Magomedov.

Yii News 2021 Issue 4