项目作者: dantleech

项目描述 :
Generate change reports when you update composer
高级语言: PHP
项目地址: git://github.com/dantleech/what-changed.git
创建时间: 2018-12-09T00:39:12Z
项目社区:https://github.com/dantleech/what-changed

开源协议:MIT License

下载


What Changed?

Build Status

What Changed?

Generates change reports when you update Composer.

This plugin makes a copy of your lock files before a composer update, and then
compares the new file with the old one. It then calls the Github API to get
the commit messages for the differences between any upgraded packages.

Features:

  • Shows the commit messages for upgraded packages.

Current limitations / features:

  • Only packages hosted on Github are supported.
  1. $ composer update
  2. #... composer upates ...#
  3. dantleech/what-changed: 1 removed
  4. - acme/removed
  5. dantleech/what-changed: 8 new
  6. - infection/infection
  7. - padraic/humbug_get_contents
  8. - padraic/phar-updater
  9. - pimple/pimple
  10. - psr/container
  11. - symfony/yaml
  12. - theseer/tokenizer
  13. - webmozart/assert
  14. dantleech/what-changed: 2 updated
  15. composer/composer b89daf53..d8aef3af
  16. [2018-10-14 14:19:08] a1ab75a7 dmanners composer/composer#7159: make the remove command to a regex lookup on package name - if you have multiple...
  17. [2018-11-26 19:09:26] 66d84f60 Seldaek Fix pattern matching for remove wildcard, refs #7715
  18. [2018-11-27 11:22:32] 17fd933f Seldaek Update dependencies
  19. [2018-11-27 13:26:03] 489e0d4b Seldaek Add support for imagemagick <3.3, refs #7762
  20. [2018-11-27 15:27:01] 5ce55600 meyerbaptiste Fix support for imagemagick <3.3, refs #7762
  21. [2018-11-28 07:44:45] 7ab633a2 Seldaek Prepare 1.8.0 changelog
  22. [2018-11-29 14:25:01] ab165cfc johnstevenson Update xdebug-handler, fixes #7807
  23. [2018-12-03 09:21:52] 02ee50ac Seldaek Prepare 1.8.0
  24. [2018-12-03 09:31:16] d8aef3af Seldaek Release 1.8.0
  25. phpstan/phpstan c896a1a3..f0252a5a
  26. [2018-12-03 20:43:08] 7888e6ed ondrejmirtes Support for is_countable()
  27. [2018-12-03 21:26:56] d98c7ca1 ondrejmirtes Support for JSON_THROW_ON_ERROR
  28. [2018-12-03 23:21:12] f0252a5a ondrejmirtes Support for array_key_first/array_key_last

Installation

  1. $ composer require dantleech/what-changed --dev

Usage

The report is automatically generated and dumped to the console each time you update your dependencies.

You can also (re) generate the report at any time by calling the composer what-changed command:

  1. $ composer what-changed

This as the plugin makes a copy of your old composer lock file, you can review
the last reported changes at any time with the what-changed command:

  1. $ composer what-changed

Options

  • --full-message: Show the full commit message
  • --merge-commits: Include merge commits

Troubleshooting

  • Github API limit reached: Configure the composer
    github-oauth to
    authenticate with Github.