New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yii2-pjax prevents updating to Yii2 2.0.2 stable #6827
Comments
can you show you composer.json? Also which version of the composer asset plugin are you using? |
Initially it was with
After 2.0.2 was released I tried to change it to Now this works:
Globally is installed composer asset plugin Upd
Then try to update project:
|
Upd 2 Removed Upd 3 Only creating new project succeeded to install all required extensions. |
I now see where the problem is, this is a feature of the composer asset plugin to improve speed dramatically: https://github.com/francoispluchino/composer-asset-plugin/blob/master/Resources/doc/index.md#disable-the-import-filter-using-the-installed-packages The only drawback of this is that you can not downgrade packages, which is the case when you switch from dev to stable. You will have to remove composer.lock and vendor dir afaik and run composer install again. You may also disable this feature. |
Thanks for explanatory answer, indeed https://github.com/francoispluchino/composer-asset-plugin/blob/master/Resources/doc/index.md#disable-the-import-filter-using-the-installed-packages could be the case What with the second point - moving Does it make sense to keep in the And does it make sense to open an appropriate issue? |
Of course you can open an issue about this to start a discussion. I do not have an opinion on that right now, need to think about it. |
Could not change project
miminum-stability
tostable
because ofOnly by adding
"bower-asset/yii2-pjax": "dev-master",
to rootcomposer.json
I succeeded intall Yii2 2.0.2Btw:
is
yii2-pjax
extension along with buggypjax.js
so nesessary in the core?Why not move it along with
Pjax
widget and asset to separate extension and put insuggest
section.Fore example more widely used
bootstrap
,jui
, etc. are not included in framework'scomposer.json
but go as separate extensions.The text was updated successfully, but these errors were encountered: