Skip to content

docs: complete v5 to v6 migration guide (#4257)#4265

Merged
reinkrul merged 4 commits into
masterfrom
docs/issue-4257-migration-guide
Jun 2, 2026
Merged

docs: complete v5 to v6 migration guide (#4257)#4265
reinkrul merged 4 commits into
masterfrom
docs/issue-4257-migration-guide

Conversation

@reinkrul
Copy link
Copy Markdown
Member

Closes #4257.

Summary

Rewrites docs/pages/deployment/migration.rst as an operator runbook for upgrading a v5 deployment to v6 while staying on did:nuts. Six numbered steps cover the work an operator must do (SQL provisioning, host/container updates, HTTP port split, config diffs, start, log check), followed by Rolling back and Other notes that cover the smaller / optional topics (TLS termination, selfControl=false semantics, VDR v1/v2 mixing, did:web adoption).

Scope was reduced from the original issue's full breaking-changes table to what an operator actually has to act on — release notes already enumerate the rest. Internal mechanism (BBolt, migration internals) was kept out; everything verified against the v6 code paths.

Test plan

  • Render the page locally / on RTD and confirm the TOC, anchors (also-enabling-did-web, nuts-node-migration, nuts-node-migrations), and cross-refs (storage-configuration, nuts-node-recommended-deployment, nuts-node-api-authentication) resolve.
  • Skim the page; confirm it reads in ~5 minutes.

Assisted by AI

reinkrul added 2 commits May 19, 2026 10:38
Expand docs/pages/deployment/migration.rst from a three-migration note
into a self-contained v5 to v6 upgrade runbook covering preconditions,
deployment changes, the startup migrations, and post-upgrade validation.

Calls out the VDR v1 / multi-method subject decision as a top-level
upgrade choice rather than burying it under the SQL-import migration:
on the default didmethods = ["web","nuts"], VDR v1 writes only touch
did:nuts and silently drift against did:web; operators must either set
didmethods = ["nuts"] or move to VDR v2.

Links out to the existing storage, recommended-deployment, docker, and
API-authentication pages instead of duplicating their content.

Assisted by AI
Restructure as an operator runbook focused on the did:nuts-only upgrade
path. Move did:web adoption, TLS termination, VDR v1 createDID behaviour,
and v1/v2 API coexistence into a separate "Other notes" section so the
main steps stay close to a 5-minute read.

Assisted by AI
@qltysh
Copy link
Copy Markdown
Contributor

qltysh Bot commented May 19, 2026

Qlty


Coverage Impact

⬆️ Merging this pull request will increase total coverage on master by 0.12%.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

- Drop the 'move off SQLite before did:web' sentence; the earlier sentence already covers when SQLite is acceptable.
- Fix the 'first start' vs 'every restart' contradiction in Step 5 — migrations run on every start.
- TLS termination: 'can no longer terminate' instead of 'no longer terminates' to make the capability removal explicit.

Assisted by AI
Comment thread docs/pages/deployment/migration.rst
Comment thread docs/pages/deployment/migration.rst Outdated
Comment thread docs/pages/deployment/migration.rst Outdated
Comment thread docs/pages/deployment/migration.rst
Comment thread docs/pages/deployment/migration.rst
Comment thread docs/pages/deployment/migration.rst
SQLite is single-file/single-node, so a deployment on it cannot later
move to a high-availability setup without migrating the database. Mark
it supported but discouraged; recommend a server-based engine.

Assisted by AI
@reinkrul reinkrul requested a review from stevenvegt June 1, 2026 04:34
@reinkrul reinkrul merged commit ea99418 into master Jun 2, 2026
12 checks passed
@reinkrul reinkrul deleted the docs/issue-4257-migration-guide branch June 2, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: complete v5 → v6 migration guide

2 participants