|
1 | 1 | # Composer Diff Plugin |
2 | 2 |
|
3 | | -Generates packages changes report in Markdown format by comparing `composer.lock` files. |
| 3 | +Generates packages changes report in Markdown format by comparing `composer.lock` files. Compares with last-commited changes by default. |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +## Example output |
| 8 | + |
| 9 | +``` |
| 10 | +| Prod Packages | Base | Target | |
| 11 | +|------------------------------------|---------|---------| |
| 12 | +| psr/event-dispatcher | New | 1.0.0 | |
| 13 | +| symfony/deprecation-contracts | New | v2.1.2 | |
| 14 | +| symfony/event-dispatcher | v2.8.52 | v5.1.2 | |
| 15 | +| symfony/event-dispatcher-contracts | New | v2.1.2 | |
| 16 | +| symfony/polyfill-php80 | New | v1.17.1 | |
| 17 | +| php | New | >=5.3 | |
| 18 | +
|
| 19 | +| Dev Packages | Base | Target | |
| 20 | +|------------------------------------|-------|---------| |
| 21 | +| phpunit/php-code-coverage | 8.0.2 | 7.0.10 | |
| 22 | +| phpunit/php-file-iterator | 3.0.2 | 2.0.2 | |
| 23 | +| phpunit/php-text-template | 2.0.1 | 1.2.1 | |
| 24 | +| phpunit/php-timer | 5.0.0 | 2.1.2 | |
| 25 | +| phpunit/php-token-stream | 4.0.2 | 3.1.1 | |
| 26 | +| phpunit/phpunit | 9.2.5 | 8.5.8 | |
| 27 | +| sebastian/code-unit-reverse-lookup | 2.0.1 | 1.0.1 | |
| 28 | +| sebastian/comparator | 4.0.2 | 3.0.2 | |
| 29 | +| sebastian/diff | 4.0.1 | 3.0.2 | |
| 30 | +| sebastian/environment | 5.1.1 | 4.2.3 | |
| 31 | +| sebastian/exporter | 4.0.1 | 3.1.2 | |
| 32 | +| sebastian/global-state | 4.0.0 | 3.0.0 | |
| 33 | +| sebastian/object-enumerator | 4.0.1 | 3.0.3 | |
| 34 | +| sebastian/object-reflector | 2.0.1 | 1.1.1 | |
| 35 | +| sebastian/recursion-context | 4.0.1 | 3.0.0 | |
| 36 | +| sebastian/resource-operations | 3.0.1 | 2.0.1 | |
| 37 | +| sebastian/type | 2.1.0 | 1.1.3 | |
| 38 | +| sebastian/version | 3.0.0 | 2.0.1 | |
| 39 | +| phpunit/php-invoker | 3.0.1 | Removed | |
| 40 | +| sebastian/code-unit | 1.0.3 | Removed | |
| 41 | +``` |
| 42 | + |
| 43 | +## Rendered: |
| 44 | + |
| 45 | +| Prod Packages | Base | Target | |
| 46 | +|------------------------------------|---------|---------| |
| 47 | +| psr/event-dispatcher | New | 1.0.0 | |
| 48 | +| symfony/deprecation-contracts | New | v2.1.2 | |
| 49 | +| symfony/event-dispatcher | v2.8.52 | v5.1.2 | |
| 50 | +| symfony/event-dispatcher-contracts | New | v2.1.2 | |
| 51 | +| symfony/polyfill-php80 | New | v1.17.1 | |
| 52 | +| php | New | >=5.3 | |
| 53 | + |
| 54 | +| Dev Packages | Base | Target | |
| 55 | +|------------------------------------|-------|---------| |
| 56 | +| phpunit/php-code-coverage | 8.0.2 | 7.0.10 | |
| 57 | +| phpunit/php-file-iterator | 3.0.2 | 2.0.2 | |
| 58 | +| phpunit/php-text-template | 2.0.1 | 1.2.1 | |
| 59 | +| phpunit/php-timer | 5.0.0 | 2.1.2 | |
| 60 | +| phpunit/php-token-stream | 4.0.2 | 3.1.1 | |
| 61 | +| phpunit/phpunit | 9.2.5 | 8.5.8 | |
| 62 | +| sebastian/code-unit-reverse-lookup | 2.0.1 | 1.0.1 | |
| 63 | +| sebastian/comparator | 4.0.2 | 3.0.2 | |
| 64 | +| sebastian/diff | 4.0.1 | 3.0.2 | |
| 65 | +| sebastian/environment | 5.1.1 | 4.2.3 | |
| 66 | +| sebastian/exporter | 4.0.1 | 3.1.2 | |
| 67 | +| sebastian/global-state | 4.0.0 | 3.0.0 | |
| 68 | +| sebastian/object-enumerator | 4.0.1 | 3.0.3 | |
| 69 | +| sebastian/object-reflector | 2.0.1 | 1.1.1 | |
| 70 | +| sebastian/recursion-context | 4.0.1 | 3.0.0 | |
| 71 | +| sebastian/resource-operations | 3.0.1 | 2.0.1 | |
| 72 | +| sebastian/type | 2.1.0 | 1.1.3 | |
| 73 | +| sebastian/version | 3.0.0 | 2.0.1 | |
| 74 | +| phpunit/php-invoker | 3.0.1 | Removed | |
| 75 | +| sebastian/code-unit | 1.0.3 | Removed | |
4 | 76 |
|
5 | 77 | # Installation |
6 | 78 |
|
|
0 commit comments