diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..a19ade077 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +CHANGELOG.md merge=union diff --git a/CHANGELOG.md b/CHANGELOG.md index c94108077..074191972 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ -Release notes are now published exclusively through our -[GitHub release page](https://github.com/temporalio/sdk-typescript/releases). -This file is no longer maintained. + + +# Changelog + +## [Unreleased] diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 173857545..512232979 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,6 +17,7 @@ - [test-npm-init](#test-npm-init) - [Style Guide](#style-guide) - [Updating and pruning dependencies](#updating-and-pruning-dependencies) +- [Changelog](#changelog) @@ -205,3 +206,16 @@ done ``` To install both tools: `npm i -g npm-check npm-check-updates`. + +## Changelog + +User-facing changes are recorded in [`CHANGELOG.md`](CHANGELOG.md), loosely following the +[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format. + +If your PR includes a user-facing change (new feature, behavior change, deprecation, breaking +change, notable bug fix, or security fix), add a short, high-level entry to the `## [Unreleased]` +section at the top of `CHANGELOG.md` under the appropriate heading, creating it if needed: +Added, Changed, Deprecated, Breaking Changes, Fixed, or Security. + +Keep entries high-level and written for users. The full commit log is appended at release time, +so internal-only changes (refactors, tests, CI, docs) don't need an entry.