wispfnDocs
Test and ship

Every change in Wisp is a numbered draft you can test at ?test. Publish instantly without dropping requests, and roll back to any earlier version in one click.

#Drafts and versions

Every change — from the assistant, the editor, the CLI or the API — creates a new numbered version and makes it the draft. The draft is served at ?test. The live version is the one you published last.

Each version records what changed, who changed it and when.

#Publish

Press Publish in the top bar (or wisp publish). The draft becomes the live version, served without ?test. Publishing is instant and doesn't drop requests.

Changes to variables and secrets, limits and API keys apply right away and don't need a publish. Schedules always run the published version.

#Roll back

Open the version history and publish an older version. It becomes live immediately; the draft stays as it was.

wisp versions        # list versions
wisp publish 12      # make version 12 live

#Restore

Restore makes the draft match an older version — an undo for your work in progress. It creates a new version with the old code; publish it when you're ready.

#Tags on GitHub

If the project is synced to GitHub, every version is a commit and every published version gets a vN tag.