Composer v1.10.0 Release Notes

Release Date: 2020-03-10 // about 4 years ago
    • ๐Ÿ’ฅ Breaking: composer global exec ... now executes the process in the current working directory instead of executing it in the global directory.
    • โš  Warning: Added a warning when class names are being loaded by a PSR-4 or PSR-0 rule only due to classmap optimization, but would not otherwise be autoloadable. Composer 2.0 will stop autoloading these classes so make sure you fix your autoload configs.
    • โž• Added new funding key to composer.json to describe ways your package's maintenance can be funded. This reads info from GitHub's FUNDING.yml by default so better configure it there so it shows on GitHub and Composer/Packagist
    • โž• Added composer fund command to show funding info of your dependencies. Read more
    • โž• Added bearer auth config to authenticate using Authorization: Bearer <token> headers
    • โž• Added plugin-api-version in composer.lock so third-party tools can know which Composer version was used to generate a lock file
    • โž• Added support for --format=json output for show command when showing a single package
    • โž• Added support for configuring suggestions using config command, e.g. composer config suggest.foo/bar some text
    • โž• Added support for configuring fine-grained preferred-install using config command, e.g. composer config preferred-install.foo/* dist
    • โž• Added @putenv script handler to set environment variables from composer.json for following scripts
    • โž• Added lock option that can be set to false, in which case no composer.lock file will be generated
    • โž• Added --add-repository flag to create-project command which will persist the repo given in --repository into the composer.json of the package being installed
    • ๐Ÿ›  Fixed issue where --no-dev autoload generation was excluding some packages which should not have been excluded
    • โž• Added support for IPv6 addresses in NO_PROXY
    • โž• Added package homepage display in the show command
    • โž• Added debug info about HTTP authentications
    • โž• Added Symfony 5 compatibility
    • โž• Added --fixed flag to require command to make it use a fixed constraint instead of a x.y constraint when adding the requirement
    • ๐Ÿ›  Fixed exclude-from-classmap matching subsets of directories e.g. foo/ was excluding foobar/
    • ๐Ÿ›  Fixed archive command to persist file permissions inside the zip files
    • ๐Ÿ›  Fixed init/require command to avoid suggesting packages which are already selected in the search results
    • ๐Ÿ›  Fixed create-project UX issues
    • ๐Ÿ›  Fixed filemtime for vendor/composer/* files is now only changing when the files actually change
    • ๐Ÿ›  Fixed issues detecting docker environment with an active open_basedir