violinist-dev / composer-changelog-fetcher
Fetch changelog for a given composer update
Installs: 171 781
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- symfony/console: ^5.0 || ^6.0 || ^7.0
- symfony/dependency-injection: ^5.0 || ^6.0 || ^7.0
- violinist-dev/composer-lock-data: ^1.1
- violinist-dev/git-log-format: ^1.1.2
- violinist-dev/process-factory: ^3.0
- violinist-dev/repo-and-token-to-clone-url: ^1.0
Requires (Dev)
- php-coveralls/php-coveralls: ^2.1
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^7 || ^8 || ^9
- slevomat/coding-standard: ^8.15
- squizlabs/php_codesniffer: ^3.4
This package is auto-updated.
Last update: 2024-11-19 15:25:14 UTC
README
Installation
You probably want this either as a dev dependency, in which case you would install it like so:
composer require --dev violinist-dev/composer-changelog-fetcher
Or you might want to install it as a global tool, in which case you would do this:
composer global require violinist-dev/composer-changelog-fetcher
Usage
You probably want to invoke this within a project. Let's say you run composer outdated
:
symfony/http-foundation v3.4.22 v3.4.23 Symfony HttpFoundation Component
...and then you want to know what changed. Let's assume your bin directory is in vendor/bin/
:
./vendor/bin/changelog-fetcher fetch -p symfony/http-foundation -f v3.4.22 -t v3.4.23
..then you might get output like this:
9a96d77: Apply php-cs-fixer rule for array_key_exists() (https://github.com/symfony/http-foundation/commit/9a96d77)
You can also get this output as json (in this example piped into jq
for readability):
./vendor/bin/changelog-fetcher fetch -p symfony/http-foundation -f v3.4.22 -t v3.4.23 -d ~/Sites/violinist -o json | jq
[
{
"hash": "9a96d77",
"message": "Apply php-cs-fixer rule for array_key_exists()",
"link": "https://github.com/symfony/http-foundation/commit/9a96d77"
}
]