Skip to content

v0.49.4

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Aug 22:54

Nested variable expansion

@var, @const, @global, and @file values can now contain other variables and helpers like {{$uuid}}. Before, the value was inserted as-is so the literal text {{$uuid}} ended up in your request.

# @request trace.id {{$uuid}}
POST {{base.url}}/orders
X-Trace-Id: {{trace.id}}

{ "trace": "{{trace.id}}" }

trace.id is generated once per run, so the header and body get the same value. An inline {{$uuid}} is still fresh on every use.
Cycles fail with an error showing the chain (variable cycle: a -> b -> a). Captured values and
script variables are never re-expanded, so response data cannot inject template syntax into your requests.

Command bar

The context hints on the left now render flat like the pinned ones on the right - no more background capsules.
Panes also show a few more shortcuts: ^N New, ^O Open, and ^T Temp in the file tree, ^S Save in the editor,
g , Details in requests, and g Shift+S Save on the Pretty and Raw tabs. Hints show your own keybindings if you changed them.

If your theme sets background or border under [[command_segments]], those are ignored now. The file still loads fine.

SSH and Kubernetes tunnels

Both transports now share one connection pool. SSH reconnects wait for the old session to close before opening a new one,
which Kubernetes already did. Cancelling a request during connect reports the cancellation instead of a random connection error.

Also fixed: when the home directory cannot be resolved, Resterm no longer looks for default SSH keys relative to the current directory.