Skip to content

docs: add 0.6 migration guide#83

Merged
antfu merged 1 commit into
mainfrom
slimy-llamas-lick
Jul 9, 2026
Merged

docs: add 0.6 migration guide#83
antfu merged 1 commit into
mainfrom
slimy-llamas-lick

Conversation

@antfubot

@antfubot antfubot commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

What

Adds a migration guide covering every breaking change since v0.5.4 (reviewed all 55 commits between v0.5.4 and the current 0.6.0-beta.2 head, including the five !: commits):

  • defineDevframe now requires version, packageName, homepage, description
  • Auth handshake RPC methods renamed under the anonymous: prefix, plus the new opt-in real-enforcement auth: DevframeAuthHandler and allowedOrigins cross-origin WS gate
  • Terminals moved from the optional node-pty peer to bundled zigpty
  • StartedServer.wss renamed to .ws (the wscrossws transport swap)
  • devframe/utils/human-id removed, with nanoid/crypto-token as replacements

Where

  • New page: docs/guide/migration-0.6.md, wired into the docs sidebar/nav
  • Linked from README.md (hosted docs URL + in-repo source path) so it's easy for humans and agents to discover
  • Fixed a stale StartedServer.wss reference in docs/guide/standalone-cli.md found while researching the transport rename

Verification

  • pnpm docs:build passes (VitePress fails the build on dead links — confirms every cross-reference in the new page resolves)
  • pnpm eslint clean on all touched files

Created with the help of an agent.

Covers every breaking change since v0.5.4: required defineDevframe
metadata fields, the anonymous: auth RPC renames + opt-in enforcement,
WS origin allowlisting, zigpty replacing the node-pty peer,
StartedServer.wss -> .ws, and the removed devframe/utils/human-id.

Also fixes a stale StartedServer.wss reference in standalone-cli.md.
@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for devfra ready!

Name Link
🔨 Latest commit 10da017
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a4f6acd12d47900083e441a
😎 Deploy Preview https://deploy-preview-83--devfra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@antfu antfu merged commit 38cab6b into main Jul 9, 2026
12 checks passed
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.

2 participants