Skip to content

docs: move upgrade notes to a separate page - #149

Merged
seberm merged 5 commits into
masterfrom
docs/upgrading-page
Oct 25, 2026
Merged

seberm merged 5 commits into
masterfrom
docs/upgrading-page

Conversation

@seberm

@seberm seberm commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Part of #148.

The "Upgrading to config version" sections took up half of docs/configuration.md and grow with every release. This PR moves them to their own page, docs/upgrading.md, and makes keeping it current part of the documented workflow.

Commits:

  • Move the upgrade notes and "Updating bitcoinix" to docs/upgrading.md. The text is unchanged. configuration.md keeps a pointer to the new page.
  • List the versions newest first, and add a short intro on how nix-bitcoin.configVersion triggers the evaluation errors. Note that nothing is reported while it is unset.
  • Point the messages to the new page. This covers the evaluation messages in versioning.nix and obsolete-options.nix, and the runtime message in electrs.nix. Only text changes.
  • AGENTS.md:
    • upgrade notes go in docs/upgrading.md, one section per version;
    • when something is removed, search the docs, README and examples for it;
    • code that links into the docs must stay valid when headings move;
    • document only what the code does.
  • README: link the new page.

The section titles stay the same, so references in earlier releases (docs/configuration.md, "Upgrading to config version X") can still be followed through the pointer in configuration.md.

Tested: mdbook build, and checked that the cross-page and section anchors resolve. The changed modules parse.

@seberm seberm added area: docs docs/, README, examples/, SECURITY.md, book.toml, assets type: maintenance No user-visible change: refactor, CI, deps, tooling, docs-only labels Oct 24, 2026
@github-actions github-actions Bot added the area: modules modules/ and pkgs/lib.nix label Oct 24, 2026
@seberm seberm mentioned this pull request Oct 24, 2026
6 of 7 tasks
@seberm
seberm force-pushed the docs/upgrading-page branch from f752bbb to 0228acd Compare October 25, 2026 09:13
The "Upgrading to config version" sections make up half of
configuration.md and grow with every release. Move them, together with
"Updating bitcoinix", to docs/upgrading.md without changing the text.
configuration.md keeps a pointer.

Assisted-by: Claude Code (claude-opus-5-5)
Readers usually look for the release they are updating to, so put it at
the top. Explain how nix-bitcoin.configVersion triggers the evaluation
errors that point to this page, and that nothing is reported while it is
unset.

Assisted-by: Claude Code (claude-opus-5-5)
The "Upgrading to config version" sections moved there from
docs/configuration.md. Only the message text changes.

Assisted-by: Claude Code (claude-opus-5-5)
Upgrade notes now live in docs/upgrading.md, one section per version.
Add rules for removed features, links from code into the docs, and
documenting only what the code does.

Assisted-by: Claude Code (claude-opus-5-5)
Assisted-by: Claude Code (claude-opus-5-5)
@seberm
seberm force-pushed the docs/upgrading-page branch from 0228acd to 2db399d Compare October 25, 2026 20:24
@seberm
seberm merged commit 67f53b6 into master Oct 25, 2026
9 checks passed
@seberm
seberm deleted the docs/upgrading-page branch October 25, 2026 20:43
@ostermayer

Copy link
Copy Markdown
Collaborator

For the record, since this merged while the run was finishing: DeepSeek V4.1 Flash 1017 (max) and GLM 5.3 (max) audited f752bbb and found nothing in the files this PR changed, and Codex (GPT-6 Astra, xhigh) graded their findings without adding any in these files. The rebased heads only carried #144's new paragraph into the moved page. I also diffed the moved text against the old sections and it's unchanged apart from the headings and the new intro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs docs/, README, examples/, SECURITY.md, book.toml, assets area: modules modules/ and pkgs/lib.nix type: maintenance No user-visible change: refactor, CI, deps, tooling, docs-only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants