name: fetching-bicep-changelog description: Fetches the latest Azure Bicep release notes directly from the GitHub releases page at github.com/Azure/bicep/releases. Use when release notes are needed as input for a summary or video, or when asked to retrieve the Azure Bicep changelog.
Fetching Bicep Changelog
Fetch the latest release notes directly from the GitHub releases page.
Steps
- Fetch
https://github.com/Azure/bicep/releases - Parse the HTML for the first (latest) release:
- Release tag/version → first
<a>with patternv\d+\.\d+\.\d+under the releases list - Release date →
<relative-time>ordatetimeattribute near the release header - Changelog body → the release description text below the release header
- Release URL →
https://github.com/Azure/bicep/releases/tag/{tag}
- Release tag/version → first
Output
{
"tag_name": "v0.41.0",
"published_at": "YYYY-MM-DD",
"html_url": "https://github.com/Azure/bicep/releases/tag/v0.41.0",
"body": "## What's New\n- ..."
}