-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
- Loading branch information
There are no files selected for viewing
7 comments
on commit d2d65a7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not required. The 2.0.1 release is already tagged and is stable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
look to https://github.com/kartik-v/yii2-krajee-base/blob/master/composer.json#L15
my select2 lib downgraded to 2.0.0 after composer update
what I do wrong?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must check your application root's composer.json
.
Assuming you have minimum-stability: stable
on your composer.json ... you may modify or add one of the lines below:
- To get updated stable release for
2.0.x
do this:
"require": {
"kartik-v/yii2-widget-select2": "~2.0"
},
- OR do this for getting any updated release
"require": {
"kartik-v/yii2-widget-select2": "@dev"
},
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that minimum-stability
is applicable and read only for your application root's composer.json - not for individual packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tried as you wrote
Still taken only version 2.0
And I tried to production server - also downgrade to 2.0
any @ dev in composer not helped
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You seem to be having some composer caching issue... not sure why. Try this on another machine.
See if you can try instructions in this web tip to refresh packages via composer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also ensure you have set your composer.json
in a way where you are not causing a dependency issue.
For example if you have yii2-dynagird
extension - it already depends on and requires yii2-widget-select2
so this is auto installed (and you need not add yii2-widget-select2
). However if you add yii2-widget-select2
in composer.json along with yii2-dynagrid
then ensure you have it in correct sequence with the right versions.
The simplest method to trace the root cause is -- remove all packages from require
section of your composer.json... then do a composer update
. Then add a package one by one to require
section and do composer update
check then where you face an error (if at all you face one).
now composer not update select2 to version>=2.0
because base lib require "minimum-stability": "stable",
:(
@dev not working