title: yii2 composer update fatal error
body: <p>When I update my composer to add <code>yii2-solr</code> extension to my project, I encounter with an error like below:</p>
  
  <pre><code>The "yiisoft/yii2-composer" plugin requires composer-plugin-api 1.0.0, this *WILL* break in the future and it should be fixed ASAP (require ^1.0 for example).
  The "fxp/composer-asset-plugin" plugin requires composer-plugin-api 1.0.0, this *WILL* break in the future and it should be fixed ASAP (require ^1.0 for example).
  
  PHP Fatal error:  Call to undefined method Fxp\Composer\AssetPlugin\Package\Version\VersionParser::parseLinks() in /root/.composer/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php on line 272
  
  Fatal error: Call to undefined method Fxp\Composer\AssetPlugin\Package\Version\VersionParser::parseLinks() in /root/.composer/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php on line 272
  </code></pre>
  
  <p>before that I've ran <code>composer self-update</code>but still not work and when I want to run </p>
  
  <pre><code>composer global require "fxp/composer-asset-plugin:1.0.1"
  </code></pre>
  
  <p>again the above error shown. 
  This is my composer.json file content:</p>
  
  <pre><code>{
  "name": "yiisoft/yii2-app-basic",
  "description": "Yii 2 Basic Project Template",
  "keywords": ["yii2", "framework", "basic", "project template"],
  "homepage": "http://www.yiiframework.com/",
  "type": "project",
  "license": "BSD-3-Clause",
  "support": {
      "issues": "https://github.com/yiisoft/yii2/issues?state=open",
      "forum": "http://www.yiiframework.com/forum/",
      "wiki": "http://www.yiiframework.com/wiki/",
      "irc": "irc://irc.freenode.net/yii",
      "source": "https://github.com/yiisoft/yii2"
  },
  "minimum-stability": "stable",
  "require": {
      "php": "&gt;=5.4.0",       
      "yiisoft/yii2": "&gt;=2.0.5",
      "yiisoft/yii2-bootstrap": "*",
      "yiisoft/yii2-swiftmailer": "*",
      "filsh/yii2-oauth2-server": "*",
      "johnitvn/yii2-rbac-plus": "*",
      "yiisoft/yii2-sphinx": "^2.0",
      "yiisoft/yii2-solr": "*"
  },
  "require-dev": {
      "yiisoft/yii2-codeception": "*",
      "yiisoft/yii2-debug": "*",
      "yiisoft/yii2-gii": "*",
      "yiisoft/yii2-faker": "*"
  },
  "config": {
      "process-timeout": 1800
  },
  "scripts": {
      "post-create-project-cmd": [
          "yii\\composer\\Installer::postCreateProject"
      ]
  },
  "extra": {
      "yii\\composer\\Installer::postCreateProject": {
          "setPermission": [
              {
                  "runtime": "0777",
                  "web/assets": "0777",
                  "yii": "0755"
              }
          ],
          "generateCookieValidationKey": [
              "config/web.php"
          ]
      },
      "asset-installer-paths": {
          "npm-asset-library": "vendor/npm",
          "bower-asset-library": "vendor/bower"
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>How can I fix this error?
  Thanks.</p>