Skip to main content

Publish a Changelog Entry with the LitPage CLI

Publish release notes with structured version, date, and change details, then verify the changelog listing and public entry.

Use a changelog entry when existing users need to understand a release. A good entry says what changed, who is affected, and what users should do next. The LitPage CLI can draft and publish the entry on an existing site. The changelog collection page is configured in Builder.

Generate the release notes file

npx @litpage/cli content template ./release.md --type CHANGELOG --title "Studio release 1.4.0" --slug studio-release-1-4-0 --language EN --subdomain your-site

Open the local file. Replace the example fields with facts from the release. Use a stable slug for the entry and keep the type-specific fields at the top of the metadata.

FieldWhat to enter
versionThe product version displayed to readers
releaseDateThe actual release date as a quoted date, such as "2026-11-22"
releaseTypemajor, minor, patch, or hotfix
summaryA short description of this changelog entry
changesStructured change entries. Explain the effect of each change
seoA search title and description for this release

Use the body to explain any prerequisites, behavior changes, or actions that require context. Start from an introduction and group details under H2 headings. Link to the relevant help article when users need to follow a longer procedure.

Save a draft and publish

npx @litpage/cli content validate ./release.md
npx @litpage/cli apply ./release.md --subdomain your-site

Inspect the saved draft in Builder. Check its type, language, version, date, and the change descriptions. If this is a revision of an existing entry, the public page should still display its previous published snapshot while the draft is under review.

When the article is ready, publish the file you just reviewed.

npx @litpage/cli publish ./release.md --subdomain your-site

Open the preferred public URL from the receipt or Builder. Check the version, date, and change list on the detail page. Open the site's published changelog listing, confirm that it includes the release, and follow its link. If the detail is public and the list is absent, check the site's changelog collection configuration and language.

Pull the release back for a correction

npx @litpage/cli content pull --type CHANGELOG --slug studio-release-1-4-0 --language EN --subdomain your-site --out release-current.md

Use a new output file. Review the exported release fields before editing. Keep the target site, language, and slug to correct the same entry. To describe a distinct release, start a new file and choose a new slug. For a longer article explaining the story behind a release, link to a blog post.