From ca87cda6146329e3f1e78c93f9ea6fcc10144ea0 Mon Sep 17 00:00:00 2001 From: Thomas Honeyman Date: Mon, 6 Jul 2026 18:09:37 -0400 Subject: [PATCH] Update changelog for deprecation marker cache --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c2bece..2d2919c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,6 +70,16 @@ the most up-to-date version of this file. directory directly. Responses are now written to a temporary file and renamed into place, which is atomic; the same flood now returns no errors. +- Avoid decoding the latest package version just to render deprecation badges + on old-version package pages (@thomashoneyman) + + Package and module documentation pages display a deprecated badge when the + latest package version is marked with the `pursuit-deprecated` keyword. + Old-version pages previously decoded both the requested version and the + latest version's full docs JSON to compute that one boolean. They now cache + a tiny version-stamped deprecation marker per package, so after the first + marker miss these renders decode only the requested package version. + ## v0.9.11 - Serialise decoding of large package files (@thomashoneyman)