Skip to content

fix(build): auto-stamp changelog version from release manifest#1179

Merged
decepulis merged 1 commit intomainfrom
dc/automate-changelog-version
Apr 1, 2026
Merged

fix(build): auto-stamp changelog version from release manifest#1179
decepulis merged 1 commit intomainfrom
dc/automate-changelog-version

Conversation

@decepulis
Copy link
Copy Markdown
Collaborator

@decepulis decepulis commented Apr 1, 2026

Summary

  • Reads the version from .release-please-manifest.json and passes it to git-cliff via --tag in the release PR workflow
  • The root CHANGELOG.md now renders ## [@videojs/core@X.Y.Z] - DATE instead of ## [Unreleased]
  • Eliminates the need for manual changelog PRs like chore: update changelog #1168

How it works

The release-please--branches--main branch already has the bumped version in the manifest when release-pr.yml runs. We just weren't using it. Now we read packages/core from the manifest and pass --tag @videojs/core@{version} to git-cliff so it stamps the heading correctly.

Test plan

  • Trigger a release (or manually run git-cliff with --tag) and verify the root CHANGELOG.md no longer has [Unreleased]
  • Verify the site changelog extraction step still parses the heading correctly

Closes #987

🤖 Generated with Claude Code


Note

Medium Risk
Touches the release PR GitHub Actions workflow and changelog generation; a wrong manifest lookup or tag format could cause incorrect/missing changelog headings in automated releases.

Overview
The release-pr.yml workflow now reads the current packages/core version from .github/release-please/.release-please-manifest.json and passes it to git-cliff via --tag, so the generated root CHANGELOG.md is stamped with the release version instead of [Unreleased].

This wires the manifest-derived tag through a new step output (steps.version.outputs.tag) without changing the downstream site extraction/commit steps, other than ensuring they see versioned headings.

Written by Cursor Bugbot for commit 673cf22. This will update automatically on new commits. Configure here.

Read the version from .release-please-manifest.json and pass it to
git-cliff via --tag so the root CHANGELOG.md renders the actual
version heading instead of [Unreleased].

Closes #987

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for vjs10-site ready!

Name Link
🔨 Latest commit 673cf22
🔍 Latest deploy log https://app.netlify.com/projects/vjs10-site/deploys/69cd1edd94d2b00008ec9bbd
😎 Deploy Preview https://deploy-preview-1179--vjs10-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

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

Project Deployment Actions Updated (UTC)
v10-sandbox Ready Ready Preview, Comment Apr 1, 2026 1:34pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

📦 Bundle Size Report

🎨 @videojs/html — no changes
Presets (7)
Entry Size
/video (default) 24.68 kB
/video (default + hls) 156.28 kB
/video (minimal) 24.61 kB
/video (minimal + hls) 156.28 kB
/audio (default) 22.69 kB
/audio (minimal) 22.79 kB
/background 6.86 kB
Media (7)
Entry Size
/media/background-video 1.04 kB
/media/container 1.59 kB
/media/dash-video 236.49 kB
/media/hls-video 133.17 kB
/media/mux-video 155.85 kB
/media/native-hls-video 3.03 kB
/media/simple-hls-video 14.98 kB
Players (3)
Entry Size
/video/player 6.57 kB
/audio/player 6.56 kB
/background/player 6.56 kB
Skins (17)
Entry Type Size
/video/minimal-skin.css css 3.43 kB
/video/skin.css css 3.45 kB
/video/minimal-skin js 23.77 kB
/video/minimal-skin.tailwind js 24.30 kB
/video/skin js 23.87 kB
/video/skin.tailwind js 24.32 kB
/audio/minimal-skin.css css 2.41 kB
/audio/skin.css css 2.37 kB
/audio/minimal-skin js 21.95 kB
/audio/minimal-skin.tailwind js 22.29 kB
/audio/skin js 21.90 kB
/audio/skin.tailwind js 22.35 kB
/background/skin.css css 117 B
/background/skin js 1.15 kB
/base.css css 157 B
/shared.css css 86 B
/skin-element js 1.34 kB
UI Components (22)
Entry Size
/ui/alert-dialog 1.91 kB
/ui/alert-dialog-close 1.63 kB
/ui/alert-dialog-description 1.59 kB
/ui/alert-dialog-title 1.58 kB
/ui/buffering-indicator 1.59 kB
/ui/captions-button 1.84 kB
/ui/controls 1.62 kB
/ui/error-dialog 2.00 kB
/ui/fullscreen-button 1.86 kB
/ui/mute-button 1.84 kB
/ui/pip-button 1.85 kB
/ui/play-button 1.83 kB
/ui/playback-rate-button 1.88 kB
/ui/popover 2.47 kB
/ui/poster 1.50 kB
/ui/seek-button 1.86 kB
/ui/slider 2.09 kB
/ui/thumbnail 1.91 kB
/ui/time 1.72 kB
/ui/time-slider 2.08 kB
/ui/tooltip 2.13 kB
/ui/volume-slider 2.26 kB

Sizes are marginal over the root entry point.

⚛️ @videojs/react — no changes
Presets (7)
Entry Size
/video (default) 19.33 kB
/video (default + hls) 151.06 kB
/video (minimal) 19.35 kB
/video (minimal + hls) 151.15 kB
/audio (default) 16.08 kB
/audio (minimal) 16.17 kB
/background 3.13 kB
Media (6)
Entry Size
/media/background-video 476 B
/media/dash-video 236.45 kB
/media/hls-video 133.36 kB
/media/mux-video 155.88 kB
/media/native-hls-video 2.96 kB
/media/simple-hls-video 14.98 kB
Skins (14)
Entry Type Size
/video/minimal-skin.css css 3.43 kB
/video/skin.css css 3.45 kB
/video/minimal-skin js 19.27 kB
/video/minimal-skin.tailwind js 22.74 kB
/video/skin js 19.23 kB
/video/skin.tailwind js 22.80 kB
/audio/minimal-skin.css css 2.41 kB
/audio/skin.css css 2.37 kB
/audio/minimal-skin js 16.09 kB
/audio/minimal-skin.tailwind js 18.58 kB
/audio/skin js 16.03 kB
/audio/skin.tailwind js 18.57 kB
/background/skin.css css 90 B
/background/skin js 272 B
UI Components (19)
Entry Size
/ui/alert-dialog 2.29 kB
/ui/buffering-indicator 1.92 kB
/ui/captions-button 1.70 kB
/ui/controls 1.22 kB
/ui/error-dialog 1.50 kB
/ui/fullscreen-button 2.29 kB
/ui/mute-button 2.32 kB
/ui/pip-button 2.34 kB
/ui/play-button 2.38 kB
/ui/playback-rate-button 2.35 kB
/ui/popover 2.96 kB
/ui/poster 1.76 kB
/ui/seek-button 2.35 kB
/ui/slider 3.17 kB
/ui/thumbnail 2.04 kB
/ui/time 1.95 kB
/ui/time-slider 2.82 kB
/ui/tooltip 2.99 kB
/ui/volume-slider 2.72 kB

Sizes are marginal over the root entry point.

🧩 @videojs/core — no changes
Entries (8)
Entry Size
. 5.12 kB
/dom 8.77 kB
/dom/media/custom-media-element 1.81 kB
/dom/media/dash 235.77 kB
/dom/media/hls 132.64 kB
/dom/media/mux 155.33 kB
/dom/media/native-hls 2.38 kB
/dom/media/simple-hls 14.39 kB
🏷️ @videojs/element — no changes
Entries (2)
Entry Size
. 999 B
/context 943 B
📦 @videojs/store — no changes
Entries (3)
Entry Size
. 1.39 kB
/html 696 B
/react 360 B
🔧 @videojs/utils — no changes
Entries (10)
Entry Size
/array 104 B
/dom 1.53 kB
/events 319 B
/function 261 B
/object 247 B
/predicate 265 B
/string 148 B
/style 190 B
/time 478 B
/number 158 B
📦 @videojs/spf — no changes
Entries (3)
Entry Size
. 40 B
/dom 12.45 kB
/playback-engine 12.41 kB

ℹ️ How to interpret

All sizes are standalone totals (minified + brotli).

Icon Meaning
No change
🔺 Increased ≤ 10%
🔴 Increased > 10%
🔽 Decreased
🆕 New (no baseline)

Run pnpm size locally to check current sizes.

Copy link
Copy Markdown
Collaborator

@luwes luwes left a comment

Choose a reason for hiding this comment

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

Thanks!

@decepulis decepulis merged commit 88fc9dc into main Apr 1, 2026
21 checks passed
@decepulis decepulis deleted the dc/automate-changelog-version branch April 1, 2026 16:31
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.

Root Changelog replace [Unreleased] title with latest version

2 participants