-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: show latest updates in changelog #49486
Comments
This is probably as much a developer process issue as it is a docs issue. We try to minimize the number of PRs that have to be merged in order to cut a release, so that means that:
In order to show the latest info for all supported releases in the docs (assuming we don't change our release process in any way), we might need some sort of pre-publish step that combines the content of CHANGELOG.md on the 3 supported branches. |
Related: #32790 |
cc @webvictim |
I think the previous versions are fine, but In reference to the feedback from Gus:
It seems we could just create a redirect to the latest. Right now we are prioritizing the changelog for those who are on cloud vs self-hosted/OSS users. Could we just update the banner that now says:
to
|
I think a docs reader should be able to find the changelog for all currently-supported versions of Teleport on our website. Ideally this is done without a version selector of any kind and you see a single changelog page that lists everything. A version selector is suboptimal, but also acceptable. (We used to have one, but removed it because pages like "Upcoming releases" and "Changelog" are meant to be version agnostic.) |
I am fine with whatever means that when you click on "Changelog", you see the details of the latest self-hosted release. |
Just to clarify, how much are we prioritizing past releases that are missing from the changelog? Here are the Teleport release versions with no corresponding section in the CHANGELOG (as of #50780, which merges the changelogs of our currently supported release branches):
This is quite a lot! In terms of keeping the changelog up to date, we have a release plan item to update the changelogs when we publish a new release. |
@zmb3 thoughts on Paul's Q? This is a lot of material to add. Should we just focus on updating going forward? |
I don't think we need to show all previous releases, as we can always reference the full changelog in git. Maybe we show all releases for the "current" major version (ie whatever the latest cloud-deployed version is), and the most recent 5 or so releases for the other currently-supported branches? |
If the goal is to have a single unified changelog in the docs, then I think we'll need some automation around it. When we cut a release on a release branch, we create a single PR for that release and add a changelog for just that release to the branch. How's this idea: Each branch contains a changelog of just that version. So the v17 changelog starts at 17.0.0 and has only v17 changes. Likewise for v16 and v15. This makes the changelog for that release branch relevant to just that branch. A post-release workflow takes the updated changelog from the release branch and combines it with the others and publishes a unified changelog on master. So master has the changelog back to the beginning of Teleport, which would be kind of expected for someone coming to the github repository. The docs can publish the master version if we want the entire changelog history there, or if we do version-based changelog pages, it could show just the changelog for that version. The post-release workflow should also have a This makes the master changelog fully generated and should not be edited by hand. All the release branch changelogs are updated as we do releases and there is only a single place for each version's changelog. |
Changelog does not show the latest changes by default:
https://goteleport.com/docs/changelog/
Selecting the updated version (or older) on the version selector in any of the doc pages does not change this behavior, as the preferences are stripped form the URL when going to the changelog. We have to manually edit it which does not result in a good user experience.
https://goteleport.com/docs/ver/17.x/changelog/
The text was updated successfully, but these errors were encountered: