Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Provide a changelog #94

Merged
merged 1 commit into from
Oct 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Changelog

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

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/localheinz/composer-normalize/compare/0.9.0...HEAD) ([`0.9.0...master`](https://github.com/localheinz/composer-normalize/compare/0.9.0...master))

## Added

* Added this changelog ([#94](https://github.com/localheinz/composer-normalize/pull/#94)), by [@localheinz](https://github.com/localheinz)

## [`0.9.0`](https://github.com/localheinz/composer-normalize/releases/tag/0.9.0) ([`0.8.0...0.9.0`](https://github.com/localheinz/composer-normalize/compare/0.8.0...0.9.0))

### Changed

* The `ConfigHashNormalizer` now also sorts the `scripts-descriptions` section ([#89](https://github.com/localheinz/composer-normalize/pull/#89)), by [@localheinz](https://github.com/localheinz)

### Fixed

* When validation of `composer.lock` fails prior to normalization, it is
now recommended to update the lock file only ([#86](https://github.com/localheinz/composer-normalize/pull/#86)), by [@svenluijten](https://github.com/svenluijten)

## [`0.8.0`](https://github.com/localheinz/composer-normalize/releases/tag/0.8.0) ([`0.7.0...0.8.0`](https://github.com/localheinz/composer-normalize/compare/0.7.0...0.8.0))

### Changed

* The `ConfigHashNormalizer` now also sorts the `extra` section ([#60](https://github.com/localheinz/composer-normalize/pull/#60)), by [@localheinz](https://github.com/localheinz)

## [`0.7.0`](https://github.com/localheinz/composer-normalize/releases/tag/0.7.0) ([`0.6.0...0.7.0`](https://github.com/localheinz/composer-normalize/compare/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](https://github.com/localheinz/composer-normalize/pull/#62)), by [@localheinz](https://github.com/localheinz)

## [`0.6.0`](https://github.com/localheinz/composer-normalize/releases/tag/0.6.0) ([`0.5.0...0.6.0`](https://github.com/localheinz/composer-normalize/compare/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](https://github.com/localheinz/composer-normalize/pull/#51)), by [@localheinz](https://github.com/localheinz)

## [`0.5.0`](https://github.com/localheinz/composer-normalize/releases/tag/0.5.0) ([`0.4.0...0.5.0`](https://github.com/localheinz/composer-normalize/compare/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](https://github.com/localheinz/composer-normalize/pull/#42)), by [@localheinz](https://github.com/localheinz)

## [`0.4.0`](https://github.com/localheinz/composer-normalize/releases/tag/0.4.0) ([`0.3.0...0.4.0`](https://github.com/localheinz/composer-normalize/compare/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](https://github.com/localheinz/composer-normalize/pull/#38)), by [@localheinz](https://github.com/localheinz)

## [`0.3.0`](https://github.com/localheinz/composer-normalize/releases/tag/0.3.0) ([`0.2.0...0.3.0`](https://github.com/localheinz/composer-normalize/compare/0.2.0...0.3.0))

### Fixed

* Dropped support for PHP 7.0, which allows proper handling of empty
PSR-4 namespace prefixes ([#30](https://github.com/localheinz/composer-normalize/pull/#30)), by [@localheinz](https://github.com/localheinz)

## [`0.2.0`](https://github.com/localheinz/composer-normalize/releases/tag/0.2.0) ([`0.1.0...0.2.0`](https://github.com/localheinz/composer-normalize/compare/0.1.0...0.2.0))

### Added

* Added `--no-update-lock` option, which allows skipping the update of
`composer.lock` after normalization ([#28](https://github.com/localheinz/composer-normalize/pull/#28)), by [@localheinz](https://github.com/localheinz)
* Added the `VersionConstraintNormalizer`, which normalizes version
constraints ([#18](https://github.com/localheinz/composer-normalize/pull/#18)), by [@localheinz](https://github.com/localheinz)

### Fixed

* Using the `--no-scripts` option when invoking the `UpdateCommand` to
update `composer.lock` ([#19](https://github.com/localheinz/composer-normalize/pull/#19)), by [@localheinz](https://github.com/localheinz)

## [`0.1.0`](https://github.com/localheinz/composer-normalize/releases/tag/0.1.0) ([`81bc3a8...0.1.0`](https://github.com/localheinz/composer-normalize/compare/81bc3a8...0.1.0))

### Added

* Added `NormalizeCommand` ([#1](https://github.com/localheinz/composer-normalize/pull/#1)), by [@localheinz](https://github.com/localheinz)
* Added `ConfigHashNormalizer`, which sorts entries in the `config`
section by key ([#2](https://github.com/localheinz/composer-normalize/pull/#2)), by [@localheinz](https://github.com/localheinz)
* Added the `NormalizePlugin`, which provides the `NormalizeCommand`
([#3](https://github.com/localheinz/composer-normalize/pull/#3)), by [@localheinz](https://github.com/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](https://github.com/localheinz/composer-normalize/pull/#6)), by [@localheinz](https://github.com/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](https://github.com/localheinz/composer-normalize/pull/#8) and [#10](https://github.com/localheinz/composer-normalize/pull/#10)), by [@localheinz](https://github.com/localheinz)
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ sections, the `VersionConstraintNormalizer` will ensure that

:bulb: Find out more about version constraints at https://getcomposer.org/doc/articles/versions.md.

## Changelog

Please have a look at [`CHANGELOG.md`](CHANGELOG.md).

## Contributing

Please have a look at [`CONTRIBUTING.md`](.github/CONTRIBUTING.md).
Expand Down