Skip to content

Latest commit

History

History
1238 lines (808 loc) 路 47.5 KB

CHANGELOG.md

File metadata and controls

1238 lines (808 loc) 路 47.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

For a full diff see 2.42.0...main.

Changed

For a full diff see [2.41.1...2.42.0][2.40.0...2.42.0].

Changed

For a full diff see 2.41.0...2.41.1.

Fixed

For a full diff see 2.40.0...2.41.0.

Changed

Fixed

For a full diff see 2.39.0...2.40.0.

Changed

Fixed

For a full diff see 2.38.0...2.39.0.

Changed

For a full diff see 2.37.0...2.38.0.

Changed

Fixed

  • Adjusted Command\NormalizeCommand to respect --no-ansi, --no-plugins, --no-scripts options ([#1184]), by @mxr576
  • Updated composer/composer (#1188), by @localheinz

For a full diff see 2.36.0...2.37.0.

Changed

Fixed

For a full diff see 2.35.0...2.36.0.

Changed

For a full diff see 2.34.0...2.35.0.

Changed

  • Started passing through --no-plugins and --no-scripts options (#1141), by @mxr576

For a full diff see 2.33.0...2.34.0.

Changed

For a full diff see 2.32.0...2.33.0.

Changed

For a full diff see 2.31.0...2.32.0.

Changed

Fixed

  • Required composer/composer:2.5.8 for compiling composer-normalize.phar (#1125), by @localheinz

For a full diff see 2.30.2...2.31.0.

Changed

Fixed

  • Required composer/composer:2.5.5 for compiling composer-normalize.phar (#1094), by @localheinz

For a full diff see 2.30.1...2.30.2.

Fixed

For a full diff see 2.30.0...2.30.1.

Fixed

For a full diff see 2.29.0...2.30.0.

Changed

  • Started injecting Printer\Printer instead of Formatter\Formatter into NormalizeCommand (#1008), by @ergebnis-bot
  • Required composer/composer:2.5.1 for compiling composer-normalize.phar (#1020), by @localheinz
  • Required ergebnis/json-normalizer:^4.0.0 (#1056), by @dependabot

For a full diff see 2.28.3...2.29.0.

Changed

For a full diff see 2.28.2...2.28.3.

Fixed

  • Required composer/composer:2.3.9 for compiling composer-normalize.phar (#942), by @localheinz

For a full diff see 2.28.1...2.28.2.

Fixed

  • Required composer/composer:2.3.8 for compiling composer-normalize.phar (#941), by @localheinz

For a full diff see 2.28.0...2.28.1.

Removed

For a full diff see 2.27.0...2.28.0.

Changed

For a full diff see 2.26.0...2.27.0.

Changed

For a full diff see 2.25.2...2.26.0.

Changed

For a full diff see 2.25.1...2.25.2.

Changed

Fixed

For a full diff see 2.25.0...2.25.1.

Changed

  • Required composer/composer:2.3.1 for compiling composer-normalize.phar (#915), by @localheinz

For a full diff see 2.24.1...2.25.0.

Changed

For a full diff see 2.24.0...2.24.1.

Fixed

For a full diff see 2.23.1...2.24.0.

Added

For a full diff see 2.23.0...2.23.1.

Fixed

  • Required composer/composer:2.2.5 for compiling composer-normalize.phar (#871), by @localheinz
  • Prevented updates of ergebnis/json-normalizer beyond 2.1.0 for now (#877), by @localheinz

For a full diff see 2.22.0...2.23.0.

Changed

Fixed

  • Required composer/composer:2.2.3 for compiling composer-normalize.phar (#863), by @localheinz

For a full diff see 2.21.0...2.22.0.

Changed

For a full diff see 2.20.0...2.21.0.

Changed

For a full diff see 2.19.0...2.20.0.

Changed

For a full diff see 2.18.0...2.19.0.

Changed

  • Required composer/composer:2.2.1 for compiling composer-normalize.phar (#842), by @localheinz

For a full diff see 2.17.0...2.18.0.

Changed

For a full diff see 2.16.0...2.17.0.

Changed

Fixed

  • Required composer/composer:2.1.14 for compiling composer-normalize.phar (#825), by @localheinz

For a full diff see 2.15.0...2.16.0.

Changed

  • Required composer/composer:2.1.12 for compiling composer-normalize.phar (#804), by @localheinz
  • Dropped support for composer/composer:^1.0.0 (#807), by @localheinz

For a full diff see 2.14.0...2.15.0.

Changed

For a full diff see 2.13.4...2.14.0.

Changed

Fixed

For a full diff see 2.13.3...2.13.4.

Fixed

  • Required composer/composer:2.0.13 for compiling composer-normalize.phar (#743), by @localheinz

For a full diff see 2.13.2...2.13.3.

Fixed

  • Required ergebnis/json-normalizer:^1.0.3 which correctly sorts composer-plugin-api (#707), by @dependabot

For a full diff see 2.13.1...2.13.2.

Fixed

  • Required ergebnis/json-normalizer:^1.0.2 which ignores the config.preferred-install hash only instead of all properties with the name preferred-install (#647), by @localheinz

For a full diff see 2.13.0...2.13.1.

馃ぁ Made a mistake tagging this release *before- pulling changes merged into main.

For a full diff see 2.12.2...2.13.0.

Changed

For a full diff see 2.12.1...2.12.2.

Fixed

  • Required ergebnis/json-normalizer:^1.0.1 which ignores the preferred-install hash when sorting configuration hashes by key (#646), by @dependabot

For a full diff see 2.12.0...2.12.1.

Fixed

  • Show version of plugin instead of version of Composer\Console\Application when running as development dependency (#643), by @localheinz

For a full diff see 2.11.0...2.12.0.

Added

  • Started showing plugin and author name when running composer normalize (#641), by @localheinz

Changed

  • Required ergebnis/json-normalizer:^1.0.0 which allows recursively sorting config hashes (#634), by @dependabot

Fixed

  • Required composer/composer:2.0.8 for composer-normalize.phar (#640), by @localheinz

For a full diff see 2.10.0...2.11.0.

Changed

For a full diff see 2.9.1...2.10.0.

Added

For a full diff see 2.9.0...2.9.1.

Fixed

  • Required at least composer/composer:^1.10.17 and used composer/composer:1.10.17 for composer-normalize.phar (#596), by @localheinz
  • Dropped support for composer/composer:^1.0.0 (#597), by @localheinz

For a full diff see 2.8.2...2.9.0.

Changed

Fixed

  • Required at least composer/composer:^1.10.15 and used composer/composer:1.10.15 for composer-normalize.phar (#582), by @localheinz

For a full diff see 2.8.1...2.8.2.

Changed

For a full diff see 2.8.0...2.8.1.

Changed

For a full diff see 2.7.0...2.8.0.

Changed

For a full diff see 2.6.1...2.7.0.

Added

  • Added --no-check-lock option which allows skipping validation of composer.lock (#515), by @localheinz

Changed

For a full diff see 2.6.0...2.6.1.

Fixed

For a full diff see 2.5.2...2.6.0.

Added

For a full diff see 2.5.1...2.5.2.

Fixed

  • Started ignoring platform requirements when updating the lock file (#481), by @localheinz

For a full diff see 2.5.0...2.5.1.

Fixed

  • Started updating lock files with a new Composer\Console\Application instead of reusing the current instance (#420), by @localheinz
  • Stopped using the deprecated --no-suggest option when updating the lock file (#422), by @localheinz
  • Started relaxing schema in place to avoid issues resolving references and the like on Windows (#424), by @localheinz

For a full diff see 2.4.0...2.5.0.

Changed

For a full diff see 2.3.2...2.4.0.

Changed

  • Started showing validation error messages as obtained from validation instead of relying on on executing composer validate (#406), by @localheinz
  • Made plugin compatible with composer/composer:^2.0.0 (#412), by @localheinz

For a full diff see 2.3.1...2.3.2.

Fixed

  • Fixed a reference that prevented an upload of release assets (#380), by @localheinz

For a full diff see 2.3.0...2.3.1.

Fixed

For a full diff see 2.2.4...2.3.0.

Changed

For a full diff see 2.2.3...2.2.4.

Fixed

For a full diff see 2.2.2...2.2.3.

Changed

For a full diff see 2.2.1...2.2.2.

Changed

For a full diff see 2.2.0...2.2.1.

Changed

  • Removed dependency on ergebnis/composer-json-normalizer (#316), by @localheinz

For a full diff see 2.1.2...2.2.0.

Added

For a full diff see 2.1.1...2.1.2.

Fixed

For a full diff see 2.1.0...2.1.1.

Fixed

  • Actually run composer validate to show validation errors when composer.json is not valid according to its schema (#297), by @localheinz

For a full diff see 2.0.2...2.1.0.

Added

  • Started compiling, signing, and uploading composer-normalize.phar and composer-normalize.phar.asc to release assets when a tag is pushed (#292), by @localheinz

For a full diff see 2.0.1...2.0.2.

Fixed

For a full diff see 2.0.0...2.0.1

Changed

  • Removed Ergebnis\Composer\Normalize\Command\SchemaUriResolver and checked in schema.json instead (#273), by @localheinz

For a full diff see 1.3.1...2.0.0.

Changed

  • Started using ergebnis/composer-json-normalizer instead of localheinz/composer-json-normalizer, ergebnis/json-normalizer instead of localheinz/json-normalizer, and ergebnis/json-printer instead of localheinz/json-printer (#261), by @localheinz

  • Removed default values for parameters $formatter and $differ of constructor of Ergebnis\Composer\Normalize\Command\NormalizeCommand (#262), by @localheinz

  • Renamed vendor namespace Localheinz to Ergebnis after move to @ergebnis (#267), by @localheinz

    Run

    $ composer remove localheinz/composer-normalize
    

    and

    $ composer require ergebnis/composer-normalize
    

    to update.

    Run

    $ find . -type f -exec sed -i '.bak' 's/Localheinz\\Composer\\Normalizer/Ergebnis\\Composer\\Normalize/g' {} \;
    

    to replace occurrences of Localheinz\Composer\Normalize with Ergebnis\Composer\Normalize.

    Run

    $ find -type f -name '*.bak' -delete
    

    to delete backup files created in the previous step.

  • Marked Ergebnis\Composer\Normalize\Command\NormalizeCommand and Ergebnis\Composer\Normalize\Command\SchemaUriResolver as internal to allow modifications without the need for major releases (#270), by @localheinz

Fixed

For a full diff see 1.3.0...1.3.1.

Fixed

  • Started using localheinz/diff to avoid issues using sebastian/diff (#207), by @localheinz

For a full diff see 1.2.0...1.3.0.

Changed

  • Resolve local and fall back to remote schema so that command works offline and behind proxies (#190), by @localheinz

For a full diff see 1.1.4...1.2.0.

Changed

  • Started using the StrictUnifiedDiffOutputBuilder when available to create more condensed diffs when using the --dry-run option (#80), by @localheinz

For a full diff see 1.1.3...1.1.4.

Fixed

  • Removed requirement for composer.json to be writable when using the --dry-run option (#177), by @localheinz

For a full diff see 1.1.2...1.1.3.

Fixed

  • Reversed use of red and green for rendering diff when using the --dry-run option (#173), by @TravisCarden

For a full diff see 1.1.1...1.1.2.

Fixed

  • Reverted deprecation of the file argument of the NormalizeCommand as it turns out that the same functionality can not be achieved using the --working-dir option (#166), by @localheinz

For a full diff see 1.1.0...1.1.1.

Removed

For a full diff see 1.0.0...1.1.0.

Deprecated

  • Deprecated the file argument of the NormalizeCommand as the same functionality can be achieved using the --working-dir option (#145), by @localheinz

Fixed

  • Force reading composer.json and composer.lock after normalization to ensure composer.lock is updated when not fresh after normalization (#139), by @localheinz

For a full diff see 0.9.0...1.0.0.

Added

Removed

For a full diff see 0.8.0...0.9.0.

Changed

  • The ConfigHashNormalizer now also sorts the scripts-descriptions section (#89), by @localheinz

Fixed

  • When validation of composer.lock fails prior to normalization, it is now recommended to update the lock file only (#86), by @svenluijten

For a full diff see 0.7.0...0.8.0.

Changed

  • The ConfigHashNormalizer now also sorts the extra section (#60), by @localheinz

For a full diff see 0.6.0...0.7.0.

Changed

  • Updated localheinz/json-normalizer, which now sniffs the new-line character and uses it for printing instead of using PHP_EOL (#62), by @localheinz

For a full diff see 0.5.0...0.6.0.

Added

  • Added a file argument to the NormalizeCommand, so the path to composer.json can be specified now, (#51), by @localheinz

For a full diff see 0.4.0...0.5.0.

Changed

  • Updated localheinz/json-normalizer, which significantly improves the SchemaNormalizer employed to do the major normalization of composer.json (#42), by @localheinz

For a full diff see 0.3.0...0.4.0.

Added

  • Added --dry-run option, which allows usage in Continuous Integration systems, as it renders a diff and exits with a non-zero exit code (#38), by @localheinz

For a full diff see 0.2.0...0.3.0.

Fixed

  • Dropped support for PHP 7.0, which allows proper handling of empty PSR-4 namespace prefixes (#30), by @localheinz

For a full diff see 0.1.0...0.2.0.

Added

  • Added --no-update-lock option, which allows skipping the update of composer.lock after normalization (#28), by @localheinz
  • Added the VersionConstraintNormalizer, which normalizes version constraints (#18), by @localheinz

Fixed

  • Using the --no-scripts option when invoking the UpdateCommand to update composer.lock (#19), by @localheinz

For a full diff see 81bc3a8...0.1.0.

Added

  • Added NormalizeCommand (#1), by @localheinz
  • Added ConfigHashNormalizer, which sorts entries in the config section by key (#2), by @localheinz
  • Added the NormalizePlugin, which provides the NormalizeCommand (#3), by @localheinz
  • Added the PackageHashNormalizer which sorts packages in the conflict, provide, replaces, require, require-dev, and suggest sections using the same algorithm that is used by the sort-packages option of composer itself (#6), by @localheinz
  • Added the BinNormalizer, which sorts entries in the bin section by
  • Added the ComposerJsonNormalizer, which composes all of the above normalizers along with the SchemaNormalizer, to normalize composer.json according to its underlying JSON schema (#8 and #10), by @localheinz