Common questions about Yii answered. Feel free to ask more in post comments.
Apr 11, 2017
We decided to make another Release Candidate before the upcoming first stable release. As we have changed large amounts of code and upgraded to the latest Angular version, we need the important feedback from the young and growing LUYA community.
What are the most important improvements?
The new LUYA Content Proxy in action:
./vendor/bin/luya admin/proxy. Database tables and files/images will be synchronised according to your local migration status. There is a new guide section where you can read more about this feature (Work in Progress): https://luya.io/guide/concept-depandsync
New languages are available for all LUYA core modules:
A big Thank You to all the great developers taking time to translate LUYA!
The following are some of the "under the hood" changes:
Over 600 commits and 100 issues!
Attention: If you want to upgrade to the third release candidate, there are a few breaking changes you have to take care of. With these changes done, we now have a stable and reliable foundation for the upcoming final release.
11 April 2017
LUYA developer team
Apr 7, 2017
This summer, June 16 at 11 am, the YiiConf conference will happen in Moscow, Izmaylovo Vega hotel.
This year preferred topics are:
If you want similar conference in your country and ready to organize it, contact Alexander (@samdark) via firstname.lastname@example.org.
Apr 5, 2017
Redis extension version 2.0.6 was released. This release contains important fixes for composite keys and executing two-word commands. There are enhancements and new features as well:
SELECTcommand after connection by setting
\yii\db\QueryInterface::emulateExecution()was introduced to allow creating an empty query without the need to connect to a database
Apr 1, 2017
If you are displaying ActiveRecord on its own route, you can use this extension to make it easier creating URLs. You won't write code like below anymore:
Html::a( $user->name, [ '/user/view', 'id' => $user->id, ], [ 'class' => 'text-success' ], );
Instead, it would be
$model->getHotlink('view', ['class' => 'text-success']);
Whenever you have to change the route adjust behavior configuration in your ActiveRecord instead of going through your view files updating routes one by one. You can also link to other components or ActiveRecords that use the
Mar 28, 2017
Migration v2.0 extension has been released with the ability to generate updating migration based on the current database table structure and table migration history.
Previously Migration was able to generate only creating migrations based on the current database table structure - now it can scan migration history and generate virtual table schema based on it and then compare it with current table structure to generate updating migration.