From b169c2b37835ec89c19b1b3b8d731907d11e7e08 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 29 Apr 2026 22:24:15 +0000 Subject: [PATCH] docs: switch to permanent v0.x.x versioning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The repo's go.mod declares `module github.com/arty2/onion` (no /vN suffix). Per Go's semantic-import-versioning rule (https://go.dev/ref/mod#major-version-suffixes), any tag with major version ≥ 2 is unconsumable via the Go module proxy unless the path includes a matching /v2, /v3, … suffix. That made every v2.x and v3.x tag effectively dead — `hugo mod get github.com/arty2/onion@v3.1.0` fails with a module-path-mismatch error. Two fixes are possible: add /v3 to go.mod (and bump it on every future major), or stay below v2.0 and live in v0.x.x permanently. v0 and v1 are exempt from the suffix rule; the Go ecosystem has ample precedent for indefinite v0 (golang.org/x/…, many libraries). For a Hugo theme — which doesn't ship API stability the way a library does — permanent v0 is the right tradeoff. This commit is docs-only; the destructive cleanup (deleting the 9 existing tags + Releases, tagging v0.1.0) lands as a follow-up once this PR is merged so the v0.1.0 tag points at a commit that already contains CHANGELOG.md. What changed: * CHANGELOG.md (new) — verbatim salvage of the 9 retired Releases' body text, newest-first, with a header explaining the renumbering. v2.3.0's detailed pre-AI → AI-orchestrated changelog is preserved in full; the terse early entries (v1.0, v2.0) are preserved as historical placeholders. * RELEASING.md — "## Versioning" rewritten. v0.X.0 covers both features and breaking changes (since in v0, breaking changes don't bump a major). v0.X.Y is patch. First release is v0.1.0. Cites the Go module-suffix rule and points at CHANGELOG.md for retired tags. * README.md — "As a Hugo Module" install instructions pin v0.1.0 by default; the boilerplate `hugo mod get` line at the bottom swapped from `vX.Y.Z` to `v0.X.Y`. Pointer added from the Development section to CHANGELOG.md. --- CHANGELOG.md | 189 +++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 6 +- RELEASING.md | 20 +++--- 3 files changed, 202 insertions(+), 13 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e95fa41 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,189 @@ +# Changelog + +This file preserves the release-note bodies of the pre-policy v1 / v2 +/ v3 tags that were retired when the project switched to permanent +v0.x.x versioning (see [RELEASING.md](./RELEASING.md)). The tags and +GitHub Releases themselves were deleted to sidestep Go's +[major-version-suffix rule](https://go.dev/ref/mod#major-version-suffixes), +which makes any `v2+` tag unconsumable via `hugo mod get` unless the +`go.mod` module path includes a matching `/v2` (or `/v3`, …) suffix. +The first release under the new policy is `v0.1.0`, functionally +equivalent to what was briefly tagged as `v3.2.0`. + +The bodies below are quoted verbatim from the original GitHub +Releases. + + +## v3.2.0 — 2026-04-29 + +What's Changed: + +- add print.css as print-media stylesheet by @Arty2 in #6 +- docs: document articles-list / articles-filter / image modifiers by @Arty2 in #4 +- forge-content: multi-platform content shortcode replacing github-content by @Arty2 in #7 +- polish: localStorage safety, scroll perf, a11y, dead code, modernize CSS by @Arty2 in #5 + +Full Changelog: v3.1.0…v3.2.0 + + +## v3.1.0 — 2026-04-26 + +What's Changed: restructured CSS styles. + +Full Changelog: v3.0.1…v3.1.0 + + +## v3.0.1 — 2026-04-26 + +What's Changed: + +- forge-meta partial + harden github-content against shortcode injection by @Arty2 in #2 + +Full Changelog: v3.0.0…v3.0.1 + + +## v3.0.0 — 2026-04-26 + +What's Changed: major codebase restructuring with Claude Opus. + +- Hugo compatibility and cleanup +- Automated tests +- Metadata and module infrastructure +- CSS restructuring and modernization + +Full Changelog: v2.3.0…v3.0.0 + + +## v2.3.0 — 2026-04-26 + +Incorporated previous manual changes from https://heracl.es with +orchestration from Claude Sonnet. + +Full Changelog: v2.2…v2.3.0 + +### New + +**Dailymotion shortcode** (`layouts/shortcodes/dailymotion.html`) — +embed videos via `{{< dailymotion id="…" >}}`. Supports `player`, +`mute`, `loading`, `ratio`, `width`, and `class` params. When +`Shortcodes.Dailymotion.Disable` is set in site config, renders a +plain fallback link instead of an iframe. + +**Explicit color scheme classes** — `.scheme--light` and +`.scheme--dark` classes can now be applied to any element (not just +through `prefers-color-scheme`). Each scheme sets `--blend-mode` +(multiply/screen) and `--blend-filter` (none/invert) for image +blending. Light theme color changed to a blue-tinted white +(`221, 238, 255`); dark accent changed from blue to magenta +(`205, 35, 185`). + +**`CustomCSS` front matter** — per-page inline `