rastrillo v0.22.0
The framework now writes the attribute grammar itself, so Docs and rastrillo write the same spelling. Measured rather than assumed: class="rst-" on our rendered page went 2 -> 0, the two that remained being rastrillo's own shell chrome, which now writes attributes too. rastrillo markup run in report mode rather than trusted: it found three class attributes, all of them prose inside the plan document quoting test code that greps for the pattern, and it correctly refused to touch them rather than guessing. Zero in our templates or Go. rastrillo doctor has nothing to check here, which is worth recording as a property rather than a gap: Docs serves the design-system CSS from the module at runtime via ui.TokensCSS() instead of copying it into static/, so the frozen-tokens.css trap that doctor exists to catch cannot happen to us. The two-pin problem does not apply either. The one breaking change does not reach us -- verified before the bump, not after: the hand-written sticky save bar became rst-form-bar and we use neither it nor rst-form-foot.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011F5CivVm4CmL9ByfSSAaXA
2 files changed,
+3
−3
go.mod+1 −1go.sum+2 −2
CI passed — run details
Intent
diff --git a/go.mod b/go.mod| index 469fedf..f0856ab 100644 |
| --- a/go.mod |
| +++ b/go.mod |
| @@ -3,7 +3,7 @@ module github.com/carlosframework/docs |
| go 1.26.5 |
| require ( |
| - github.com/carlosframework/rastrillo v0.21.0 |
| + github.com/carlosframework/rastrillo v0.22.0 |
| github.com/go-chi/chi/v5 v5.3.2 |
| github.com/google/uuid v1.6.0 |
| github.com/tetratelabs/wazero v1.12.0 |
diff --git a/go.sum b/go.sum| index 035a8ec..a98af89 100644 |
| --- a/go.sum |
| +++ b/go.sum |
| @@ -1,5 +1,5 @@ |
| -github.com/carlosframework/rastrillo v0.21.0 h1:uqw/ZK+y/VwS+jDnIv2llAIug3AuFWesSp1xTEPS45w= |
| -github.com/carlosframework/rastrillo v0.21.0/go.mod h1:pZlrE5F5OhspvZFzef0DrfjHAjA8FXycb9J5/8vc8Tw= |
| +github.com/carlosframework/rastrillo v0.22.0 h1:tG02WAiy2VSYqmLT6kRfYbUaiJd/pBhTIWxxjjsEoI8= |
| +github.com/carlosframework/rastrillo v0.22.0/go.mod h1:pZlrE5F5OhspvZFzef0DrfjHAjA8FXycb9J5/8vc8Tw= |
| github.com/chromedp/cdproto v0.0.0-20250724212937-08a3db8b4327 h1:UQ4AU+BGti3Sy/aLU8KVseYKNALcX9UXY6DfpwQ6J8E= |
| github.com/chromedp/cdproto v0.0.0-20250724212937-08a3db8b4327/go.mod h1:NItd7aLkcfOA/dcMXvl8p1u+lQqioRMq/SqDp71Pb/k= |
| github.com/chromedp/chromedp v0.14.2 h1:r3b/WtwM50RsBZHMUm9fsNhhzRStTHrKdr2zmwbZSzM= |