Skip to content

chore: add CHANGELOG.md, PR changelog check, and release workflow#581

Open
joaodordio wants to merge 1 commit into
mainfrom
chore/changelog-check
Open

chore: add CHANGELOG.md, PR changelog check, and release workflow#581
joaodordio wants to merge 1 commit into
mainfrom
chore/changelog-check

Conversation

@joaodordio

Copy link
Copy Markdown
Member

📝 Summary

This should be a 150 characters summary of the changes on this PR

Add a CHANGELOG.md (backfilled from tagged releases), the shared PR changelog check, and a Prepare Release workflow that stamps the Unreleased section.

🎟️ Jira Ticket: N/A — internal SDK tooling

📖 Description

Please provide a description of what this pull request does.

Brings the Web SDK in line with the other Iterable SDKs on changelog handling:

  • Adds CHANGELOG.md, reconstructed from the project's tagged GitHub Releases (stable versions only; -test/-beta pre-releases excluded), in the Keep a Changelog format used by the other SDKs.
  • Adds .github/workflows/changelog-check.yml, which fails a PR when CHANGELOG.md is not updated unless the description contains "No customer facing changes". Identical to the workflow on the other SDK repos.
  • Adds .github/workflows/prepare-release.yml, a workflow_dispatch release-prep workflow mirroring android/swift: it moves the ## [Unreleased] section under the new version header (keeping an empty ## [Unreleased]), bumps the package.json version, and opens a release PR.
  • Documents the opt-out phrase in the PR template.

🧪 How to test?

How to test the changes added?

  • This PR adds CHANGELOG.md, so the new Verify CHANGELOG update check passes on file change.
  • Run the Prepare Release workflow via workflow_dispatch with a version (e.g. 2.3.0) and confirm the resulting PR stamps the Unreleased content under ## [2.3.0], keeps an empty ## [Unreleased], and bumps package.json.

🧾 Changelog

Add an entry to CHANGELOG.md. If this PR has no customer facing changes, write "No customer facing changes" here to skip the changelog check.

No customer facing changes (SDK tooling only).

📹 Loom recording if applicable

N/A

🐞 Github Issues solved

N/A

📚 Docs PR if applicable

N/A

Introduce a CHANGELOG.md reconstructed from the project's tagged
GitHub Releases, add the shared changelog-check workflow that fails a
PR when CHANGELOG.md is not updated unless the description states
"No customer facing changes", and add a Prepare Release workflow that
stamps the Unreleased section into a versioned entry (keeping the
Unreleased header) and bumps package.json, mirroring the other SDKs.
Also documents the opt-out in the PR template.
@joaodordio
joaodordio requested a review from a team as a code owner July 18, 2026 06:54
@joaodordio joaodordio self-assigned this Jul 18, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.43%. Comparing base (b7e612b) to head (e38b7aa).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #581   +/-   ##
=======================================
  Coverage   74.43%   74.43%           
=======================================
  Files          57       57           
  Lines        2742     2742           
  Branches      804      821   +17     
=======================================
  Hits         2041     2041           
+ Misses        700      660   -40     
- Partials        1       41   +40     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jferrao-itrbl jferrao-itrbl left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

KGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants