-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Problem
The CHANGELOG.md on the main branch currently contains no entries. It just says "Nothing, so far" for v1.2 and refers readers to the v1.1 branch. The actual changelog content lives on version-specific branches (e.g. v1.1).
This breaks tools like https://github.com/renovatebot/renovate that automatically include changelog entries in dependency update PRs/MRs. Renovate fetches CHANGELOG.md from the repository's default branch and parses it for relevant version entries. Since the main branch has an empty file, no changelog is included in update descriptions.
Suggested Fix
Keep a consolidated CHANGELOG.md on the main branch that includes entries for all released versions (or at minimum, the currently supported release branches) like most Elixir packages do (e.g. Phoenix, Ecto, LiveDashboard).
Workaround
Renovate users can override the changelog location in their config:
{
"packageRules": [
{
"matchPackageNames": ["phoenix_live_view"],
"changelogUrl": "https://github.com/phoenixframework/phoenix_live_view/blob/v1.1/CHANGELOG.md"
}
]
}This needs to be updated manually each time LiveView moves to a new major/minor release branch.
References
- Renovate's changelog detection: https://docs.renovatebot.com/key-concepts/changelogs/