Repository navigation
What's new page fed by the latest release's changelog highlights (replaces #2401) - #2713
Merged
Merged
Conversation
Rebuilds PR #2401 on the new homepage. Each changelog gains a `## Highlights` section: three to five points written for users at release time. `base.helper.release_highlights()` reads it from every released changelog (`x_y_z.md`, not `current.md`), newest first by version number, and leaves out a release without one, so a patch release does not empty the page or the link. It replaces `read_version_changes`, whose result no template read any more. - `/whats-new/` (`base:whats-new`) lists the releases on the static-page layout, each with a link to its full changelog at the release tag. - The homepage hero links "What's new in version X" when a release has highlights, and the homepage footer links the page. Bryan's sections are untouched. - The template and `current.md` carry the section; `current.md` has a draft for the next release. RELEASE_PROCEDURE.md gains the step. Co-Authored-By: tomi-rli <Tomi.Nguyen@rl-institut.de> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
5 tasks
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The pages no longer say which release production runs. The page shows the newest released changelog's highlights with no version heading, the hero link reads "See what's new", and the full-changelog link is gone (its URL carried the version). `latest_release_highlights()` returns only the HTML, so no template can print the version, and a test holds both pages free of the VERSION string. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…-new # Conflicts: # REUSE.toml # versions/changelogs/current.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #2382. Replaces #2401 (tomi-rli, credited as co-author), rebuilt on the new homepage from #2352.
Placement (maintainer's call): a link plus its own page. Bryan's homepage sections are unchanged.
/whats-new/(base:whats-new) shows the latest release's highlights on the static-page layout. Page header: About, breadcrumb Home / What's new, where "Home" links to the homepage.No page names the release version (maintainer's call). Production's version should not be easy to read off the platform. There is no version heading, the hero link names no version, and there is no full-changelog link, because its URL carried the version.
latest_release_highlights()returns only HTML, so no template can print a version, and a test holds both pages free of theVERSIONstring. This is obscurity only: the highlights text matches a public changelog on GitHub.Source: a
## Highlightssection in each changelog. It holds three to five points written for users at release time; nothing is extracted from the developer changelog.base.helper.latest_release_highlights()takes the newest released changelog (x_y_z.md, nevercurrent.md) that has highlights, picked by version number and cached per process.1_10_1.md, a patch release with no highlights, so the homepage would have shown an empty "Latest release" box.read_version_changes, whoseversion/changesno template has read since the homepage redesign.current.template.mdandcurrent.mdgain the section.current.mdcarries a draft for the next release (new homepage and consistent look, the tables tab, the access drawer, datasets as drafts). Please reword it as you see fit.RELEASE_PROCEDURE.mdgains the step. The new template is annotated inREUSE.toml.Dropped from #2401:
index.htmlchanges (the old layout, with broken markup)render_markdowntagdataedit/static/release_info_startpage/release_v1.8.0.md1_8_0.mdNothing shows until v1.11.0 is released, because only released changelogs count. To preview, copy
current.mdto1_11_0.mdand restart the server.Tests
base/tests/test_whats_new.py: newest release by number, only the section, patch release skipped when empty or comment-only,current.mdignored, the page with and without highlights, the hero link with and without them, no version on either page.base:whats-newjoins the page lint and the view smoke test.basegreen.manage.py compressruns, becauseindex-style.csssits in an offline compress block. A deploy runscompress.🤖 Generated with Claude Code