Yii News 2020 Issue 8

Hello everyone! This is the last news release in the "fun" 2020. I barely had time to cook it because the development speed of Yii 3 has grown a lot. We didn't manage to tag all the packages this month, but many are almost ready, so we should expect releases in January.







Happy New Year! Let it be less crazy than 2020. - Alexander Makarov







// Don't forget to star your favorite packages on GitHub.







Foundation and team



  • Evgeny Zyubin joined the fulltime team to work on Yii 3. So far, everything is going great! s
  • Valery Gorbachev also joined the team . You may know him from his work on i18n and MSSQL.
  • We used the entire fund budget to increase the team time available to work on Yii. This resulted in a strong acceleration in the pace of development.


The year has shown that we can spend money on development effectively, so helping us financially is a great option!







Yii 1



Yii 1.1.23 has been released .

It adds support for PHP 8 and improves compatibility with PHP 7. It also adds support for PostgreSQL 12.







This is the first release made by a new team member, Marco van 't Wout, under the direction of Carsten Brandt.







Yii 2



Yii 2.0.40 released . The focus of the release is mainly on bug fixes.







The following extensions have been released:









:









Yii 3















, … , yii-api



, .







Arrays





Files



Files :









File system Flysystem.









yii serve



public/index.php



.

URL.







Active Record



AR Yii 2 . ,

. :













Cycle







. .











, .













  • . . .
  • . .
  • .
  • .


- .









  • .
  • -.




yii-dev:







  • test



    , - .
  • git/pr/create



    , GitHub pull request.
  • github/settings



    , .
  • .
  • replicate/copy-file



    , .
  • Docker.
  • exec



    .
  • release/make



    . .
  • .






.







-



:









-





:











API





. .









. PSR, PSR-16 .

TTL -, cache stampede,

.







. .









. PSR- ,

:







  • .
  • StreamTarget



    .
  • .
  • .


Var dumper



  • .
  • .
  • ClosureExporter



    .


Bootstrap



Bootstrap 4, Bootstrap 5.









Bulma









Serializer





.

, , .







HTML



  • , .
  • Html::div()



    , Html::span()



    Html::p()



    .


Assets







API .

:







<?= MyWidget::widget()->options(['class' => 'testMe'])->begin() ?>
    Content
<?= MyWidget::end() ?>
      
      





CSRF



CSRF :







  • .
  • .
  • , .
  • , .
  • -.




, Yii 3 , .

SVG:











  • README.
  • .


. ,

. .











️!



, Yii 3. .







, Yii 3 :










All Articles