composer-unused v0.8.1 Release Notes

Release Date: 2022-02-15 // about 2 years ago
  • ➕ Added

    • ➕ Add --output-format option
      • Current supported values: default and github
      • github can be used to annotate PR
    • ➕ Add CiDetector to change output format according to the current ci environment
    • ➕ Add symfony/dependency-injection to leverage autowiring
    • ➕ Add dedicated configuration (composer-unused.php) ### 🛠 Fixed
    • 🛠 Fix Lexer\Emulative to use the current php version instead of latest one
    • Removed is_dir() check from LocalRepository to avoid crashing file_get_contents
    • 🛠 Fix phar build using the latest box-project/box version
    • 🛠 Fix error if composer.json does not exist in given path
    • 🛠 Fix issue where Filter was marked as unused again after being already used
    • 🛠 Fix ignore/invalid dependencies showing up in Ignored section again ### 🔄 Changed
    • 🔄 Change the information about ignored dependencies
    • 📜 Raised minimum requirement for composer-unused/symbol-parser to 0.1.7 ### ✂ Removed
    • ✂ Removed custom implementation of DI ### 🔒 Security ### 🗄 Deprecation

Previous changes from v0.8.0

  • 🛠 Fixed

    • 🛠 Fixed version output when running bin/composer-unused --version ### ➕ Added
    • ➕ Added CLI argument composer-json which can be used to parse external projects. This will default to the current working directory.
    • ➕ Added error message when composer.json is not readable
    • ➕ Added check for zombie exclusion. It will report if any excluded packages or pattern did match any package ### 🔄 Changed
    • 🔄 Change bin/composer-unused to be used as standalone binary
    • 📦 Package type is now library instead of composer-plugin ### ✂ Removed
    • ✂ Removed ability to work as composer-plugin (will be supported using composer-unused/composer-unused-plugin)
    • ⬇️ Dropped support for php 7.3