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:
- Auth client 2.2.9.
- Debug 2.1.15 2.1.6.
- Imagine 2.3.0.
- Queue 2.3.1.
- MongoDB 2.1.11.
- HTTP client 2.0.13.
:
- GitHub actions Oracle.
- Docker GitHub actions.
- Yii 2 Codeception PHP 8.
Yii 3
- . StyleCI. .
- , MSI .
- Git , - Yii 2 .
- GitHub discussions yiisoft/app. , . , .
- Cookies 1.0.0. , , Flarum.
- Strings 1.0.0.
StringHelper::split()
. - Test support 1.0.0. .
- Aliases 1.1.2.
- Composer config plugin 0.5.0.
- i18n 1.0.0.
- Session 1.0.0. .
- HTTP 1.1.0.
ContentDispositionHeader
. - , RFC.
, β¦ , yii-api
, .
Arrays
Files
Files :
-
FileHelper::isEmptyDirectory()
. -
FileHelper::openFile()
. -
FileHelper::lastModifiedTime()
, . -
FileHelper::findDirectories()
FileHelper::findFiles()
. FileHelper::unlink()
, Windows.FileHelper::filterPath()
PathMatcher
.
File system Flysystem.
yii serve
public/index.php
.
URL.
Active Record
AR Yii 2 . ,
. :
- .
- Yii 2 MSSQL.
- Active Record Oracle.
- .
- PascalCase.
Cycle
. .
, .
- . . .
- . .
- .
- .
- .
- .
- -.
yii-dev:
-
test
, - . -
git/pr/create
, GitHub pull request. -
github/settings
, . - .
-
replicate/copy-file
, . - Docker.
-
exec
. -
release/make
. . - .
- gettext .
- README .
.
-
:
index.php
yii serve
.- - .
- POST.
- CSRF .
- .
- use-case, .
- Bootstrap 5.
- .
- 404.
- Flash .
- , .
-
- . .
index.php
yii serve
.- - .
- use-case, .
- API .
- 404 .
- , .
:
API
- -.
index.php
yii serve
.- - .
- Swagger, endpoint .
- use-case, .
- REST.
- , .
. .
. PSR, PSR-16 .
TTL -, cache stampede,
.
. .
. PSR- ,
:
- .
-
StreamTarget
. - .
- .
Var dumper
- .
- .
-
ClosureExporter
.
Bootstrap
Bootstrap 4, Bootstrap 5.
- .
- Accordion .
- , .
Bulma
- , .
- Tabs.
- Progress bar.
- Modal.
Serializer
HTML
- , .
-
Html::div()
,Html::span()
Html::p()
.
Assets
API .
:
<?= MyWidget::widget()->options(['class' => 'testMe'])->begin() ?>
Content
<?= MyWidget::end() ?>
CSRF
CSRF :
- .
- .
- , .
- , .
- -.
, Yii 3 , .
SVG:
. ,
. .
οΈ!
, Yii 3. .
, Yii 3 :
- Wilmer Arambula.
- Rustam Mamadaminov.
- Viktor Babanov.
- Valerii Gorbachev.
- Evgeniy Zyubin.
- Roman Tsurkanu.
- Dmitry Derepko.
- Sergei Predvoditelev.
- Anton Samoylenko.
- mj4444.
- yiiliveext.
- MartΓn Peveri.
- Vitalii Shkolin.
- Leonid Chenenko.
- Mister 42.
- Sergei Iamskoi.
- Alexey Chernousov.
- epifrin.
- Aleksei Gagarin.
- Insolita.
- Pavel Ivanov.
- 1Luc1.
- Rei Bengu.
- Roman Hlushchak.