Skip to content
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

Change the version constraint for composer-plugin-api #7

Closed
davidbarratt opened this issue Jun 11, 2015 · 0 comments
Closed

Change the version constraint for composer-plugin-api #7

davidbarratt opened this issue Jun 11, 2015 · 0 comments
Milestone

Comments

@davidbarratt
Copy link
Owner

From @Seldaek,

Heya,

I am sending you this email because you have a Composer Plugin on
https://packagist.org that requires the composer-plugin-api in
version * or 1.0.0.

Both of those are pretty dangerous:

  • * would mean your plugin can get loaded in any future composer
    including 2.0, and will probably break.
  • 1.0.0 means that your plugin will not be loaded anymore as soon as
    we add functionality and bump the plugin api to 1.1+

The solution is simple, open your composer.json and replace that require with:

    "composer-plugin-api": "^1.0"

Sorry for the trouble, the documentation had "1.0.0" in the plugin
example which mislead most plugin authors, but that is now fixed.

Cheers

@davidbarratt davidbarratt added this to the 1.0.0-alpha2 milestone Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant