Skip to content

v0.49.3

Latest

Choose a tag to compare

@github-actions github-actions released this 31 Jul 22:13

Built-in docs

This release brings the documentation into Resterm itself.

Press ? to open the new searchable help. You can also jump directly to a topic with commands such as:

:help authentication
:help grpc
:help mocks

In editor normal mode, place the cursor on something and press K(Shift + k). For example, pressing K on:

# @auth bearer {{token}}

opens the authentication documentation. Pressing it inside {{token}} takes you to variables and environments instead. It also understands request methods, protocols, and Resterm directives.

The builtin help works offline and matches the version of Resterm you are running. When you need the full manual, :docs <topic> opens the corresponding version matched page in your browser.

I also replaced the old static shortcut strip with hints that change depending on what you are doing. The : prompt now suggests commands, help topics, and :mock subcommands as you type. Use Up and Down to choose a suggestion, or Tab to complete it.

Workspace switching is less disruptive

If you work in workspace A, switch to workspace B, and later return to A, Resterm restores A’s captured variables, file variables, cookies, OAuth tokens, and command authentication. You should no longer have to log in again simply because you opened another project.

The state remains isolated: workspace B cannot see anything belonging to workspace A. Resterm keeps the old state until its workspace becomes active again. The last response is still cleared when changing workspaces. State that cannot be safely tied to an environment file is cleared as well. If two workspaces intentionally use the same --env-file, they continue to share that environment state.

One upgrade warning

The persisted headless state format has changed. Existing runtime.json and auth.json data will be ignored after upgrading, so some tokens and runtime values may need to be fetched again the first time they are used.