Skip to content

chore: update changelog tooling [skip-line-limit]#1314

Merged
ctrlc03 merged 2 commits into
mainfrom
chore/changelog
Feb 13, 2026
Merged

chore: update changelog tooling [skip-line-limit]#1314
ctrlc03 merged 2 commits into
mainfrom
chore/changelog

Conversation

@ctrlc03

@ctrlc03 ctrlc03 commented Feb 13, 2026

Copy link
Copy Markdown
Collaborator

fix #1313

Summary by CodeRabbit

  • Chores
    • Cleaned up outdated changelog entries from previous test version releases across all packages
    • Upgraded changelog generation tooling to improve automation efficiency
    • Enhanced version bump script with better error handling, refined logging, and updated formatting workflow for smoother releases

@vercel

vercel Bot commented Feb 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
crisp Skipped Skipped Feb 13, 2026 9:50am
enclave-docs Skipped Skipped Feb 13, 2026 9:50am

Request Review

@coderabbitai

coderabbitai Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This change migrates the project from conventional-changelog-cli to auto-changelog for changelog generation, removes obsolete CHANGELOG entries across multiple packages, and updates the version-bumping script to use the new tool with improved error handling.

Changes

Cohort / File(s) Summary
Changelog Deletions
crates/wasm/CHANGELOG.md, packages/enclave-config/CHANGELOG.md, packages/enclave-react/CHANGELOG.md, packages/enclave-sdk/CHANGELOG.md
Removed version 0.0.6-test.0 and related patch change entries from four CHANGELOG files; no code impact, documentation cleanup only.
Dependency and Tool Update
package.json
Replaced devDependency conventional-changelog-cli (^5.0.0) with auto-changelog (^2.5.0) to change the changelog generation tooling.
Version Bump Script
scripts/bump-versions.ts
Updated changelog generation to use pnpm auto-changelog instead of conventional-changelog with improved error handling; replaced prettier invocation with pnpm format; added try/catch wrapper and logging for changelog generation failures.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • cedoor
  • ryardley
  • 0xjei

Poem

🐰 The changelogs fade, a fresh start awaits,
Auto-changelog now through the gates,
Formats align and errors caught with care,
Bumping versions with finesse to spare! 📝✨

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed The PR addresses issue #1313 by replacing conventional-changelog-cli with auto-changelog and updating the version bumping script to use the new tool with improved configuration (--commit-limit false --tag-prefix v).
Out of Scope Changes check ✅ Passed All changes are directly related to resolving the changelog generation issue: package.json dependency update, scripts/bump-versions.ts refactoring, and CHANGELOG.md cleanup across multiple packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main
Title check ✅ Passed The title accurately describes the main change: updating changelog tooling from conventional-changelog-cli to auto-changelog, which is the primary focus of modifications across configuration and scripts.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/changelog

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
scripts/bump-versions.ts (1)

279-304: ⚠️ Potential issue | 🟠 Major

Bug: duplicate log messages and false success on failure path.

Three issues in generateChangelog():

  1. Line 288 duplicates the "Generating changelog…" message already printed at Line 280.
  2. Line 299 (✓ Changelog generated successfully) executes unconditionally after the inner try/catch, so it prints even when the inner catch on Line 295 fires — giving a misleading success message after a failure warning.
  3. On the happy path, the success message prints twice (Lines 294 and 299).
Proposed fix — clean up the nested try/catch and remove duplicates
   private generateChangelog(): void {
     console.log('\n📝 Generating changelog...')
 
     try {
       execSync('pnpm auto-changelog --help', {
         stdio: 'ignore',
         cwd: this.rootDir,
       })
 
-      console.log('\n📝 Generating changelog...')
-      try {
-        execSync('pnpm auto-changelog -o CHANGELOG.md --commit-limit false --tag-prefix v', {
-          cwd: this.rootDir,
-          stdio: 'inherit',
-        })
-        console.log('   ✓ Changelog generated successfully')
-      } catch (error) {
-        console.warn('   ⚠️  Could not generate changelog:', error)
-      }
+      execSync('pnpm auto-changelog -o CHANGELOG.md --commit-limit false --tag-prefix v', {
+        cwd: this.rootDir,
+        stdio: 'inherit',
+      })
 
       console.log('   ✓ Changelog generated successfully')
     } catch (error) {
       console.warn('   ⚠️  Could not generate changelog:', error)
       console.log('   Continuing without changelog...')
     }
   }

@ctrlc03 ctrlc03 changed the title chore: update changelog tooling chore: update changelog tooling [skip-line-limit] Feb 13, 2026
@vercel vercel Bot temporarily deployed to Preview – enclave-docs February 13, 2026 09:50 Inactive
@vercel vercel Bot temporarily deployed to Preview – crisp February 13, 2026 09:50 Inactive
@ctrlc03 ctrlc03 enabled auto-merge (squash) February 13, 2026 09:51
@ctrlc03 ctrlc03 merged commit 6bd35e5 into main Feb 13, 2026
26 checks passed
@ctrlc03 ctrlc03 deleted the chore/changelog branch February 13, 2026 16:23
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.

Sort out changelog

2 participants