yii2-debug icon indicating copy to clipboard operation
yii2-debug copied to clipboard

Check for Yii version

Open samdark opened this issue 10 years ago • 8 comments
trafficstars

We could do it the same way as Symfony:

16600815414_50ea65e5c7_o

i.e. if there's internet connection, get to yiiframework.com API which provides framework versions list and verify if currently using version is OK.

samdark avatar Apr 23 '15 14:04 samdark

When the user haven't access to the Internet, then there will be delays. Please note it. Most often, I would cut off it. Make it optional.

githubjeka avatar Apr 23 '15 14:04 githubjeka

Absolutely. It should be done via separate AJAX request and there should be an option to turn if off.

samdark avatar Apr 23 '15 15:04 samdark

information could be cached and refreshed only once a day for example.

cebe avatar Apr 23 '15 15:04 cebe

@samdark If you would provide more information about "yiiframework.com API", I would look into this.

Deele avatar Oct 07 '15 10:10 Deele

There's no API yet.

samdark avatar Oct 07 '15 10:10 samdark

@samdark Is there a repository for potential "yiiframework.com API" where we could create feature requests? If there is none, could you please create it?

Deele avatar Oct 07 '15 10:10 Deele

@Deele you could create an issue in the yii2 repo, we will add a tag for website there.

cebe avatar Oct 07 '15 10:10 cebe

@cebe ok, I will prepare some proposal for data format and create new issue

Deele avatar Oct 07 '15 10:10 Deele