Skip to content

docs: add CHANGELOG.md and changelog release tooling - #59

Merged
Archish27 merged 1 commit into
mainfrom
chore/changelog
Oct 30, 2026
Merged

Archish27 merged 1 commit into
mainfrom
chore/changelog

Conversation

@Archish27

Copy link
Copy Markdown
Member

Summary

  • Adds CHANGELOG.md in Keep a Changelog format, filled in for all 41 tags (0.1.0 → 2.3.1). Native SDK bumps state the old → new version and what the bump fixed. That information comes from the native repos' history.
  • Release workflow: before anything is published, the release now runs changelog.py check <version>, so a version without a changelog section stops early. The GitHub release body now comes from changelog.py notes <version> instead of the commit list from release-changelog-builder-action. The step id and output name are unchanged, so Create Release did not need editing.

Keeping it current

  • Every PR that touches SDK code adds a bullet under [Unreleased]. The new Changelog workflow fails the PR otherwise. Changes that only touch tests are exempt. Add the skip-changelog label for anything else that is not user-facing.
  • At release, run python3 scripts/changelog.py release X.Y.Z in the release PR. It moves the [Unreleased] entries under ## [X.Y.Z] - <today>.
  • scripts/changelog.py is identical in the android, ios, react-native and flutter repos. It has three commands: release, check and notes. A leading v on the version is ignored.

Reviewer notes

  • Breaking: labels: 2.0.2 (native build requirements), 2.1.6 (disableSessionRecordingV3 removed), 2.1.8 (HTTP attribute renames), 2.3.0 (header/body capture and masking off by default).
  • 1.0.11 / 1.0.24: moving env/name/app.version into resource attributes, then moving them back, is based on reading the diffs.
  • 2.1.4 and 1.0.15: these say only "Bumped …". I couldn't tell what changed for users.
  • The RecordingOptions doc comments in src/middlewareRum.ts still say masking is "Default true". It has been false since 2.3.0.

Before merging, someone needs to create the skip-changelog label in this repo.

Backfill CHANGELOG.md from release history in Keep a Changelog format,
add scripts/changelog.py (release/check/notes), require an [Unreleased]
entry on SDK PRs, and gate releases on a changelog section.
@Archish27
Archish27 merged commit c4e66c5 into main Oct 30, 2026
7 checks passed
@Archish27
Archish27 deleted the chore/changelog branch October 30, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant