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.
- Allow prerelease versions in release headers (#130)
- Support alternate tag prefixes (#120)
- When fetching remote tags, order by date to account for miniscule time differences between tags created within automated tests (#113)
- Read repository URL from package.json if
npm_package_repository_url
is not set (#111)- This makes this package compatible with Yarn >1.
- The
validate --rc
command now ensures there are no uncategorized changes in the current release entry (#102, #106)
- Permit missing separating space in "Unreleased" link reference definition (#92)
- Use
execa
to execute git commands (#94)- This may fix subtle bugs related to git command execution, especially in CI.
- More exports to index.ts (#86)
- Specifically, the
Changelog
class,createEmptyChangelog
, andparseChangelog
.
- Specifically, the
- Correctly calculate the most recent git tag (#87) (#87)
- Previously, we passed the path to the project root directory as a parameter to an invocation of
git rev-list
. For all repositories, this caused most tags belonging to merge commits to be excluded. For monorepos, this also caused tags belonging to commits that didn't change any files belonging to the changelog's package / workspace to be excluded.
- Previously, we passed the path to the project root directory as a parameter to an invocation of
- Add
init
command (#77)
- Add
@lavamoat/allow-scripts
andsetup
command (#78) - Detect all PRs referenced in each change description, rather than just the first (#84)
- Fix broken validation and updating when the lowest SemVer release isn't the first chronological release (#76)
- Fix PR number detection in existing change entries (#83)
- Add Changelog.getStringifiedRelease (#73)
- Remove trailing '.git' from default repo URL (#74)
- Prevent old build files from being published (#71)
- TypeScript types (#59)
- (BREAKING) Move Pull Request links to end of change entries (#66)
- Rename files to use snake-case (#64)
- Validate change categories during parsing (#62)
- This causes a validation error to be thrown earlier than previously.
- Migrate to TypeScript (#59)
- Release candidate tag validation (#55)
- The fixed check ensures that there are no existing tags for release candidates.
- Typo in CLI error message (#65)
- The initial
auto-changelog
implementation, adapted from the originalauto-changelog.js
script inmetamask-extension
(#8). Includes the following features: