Log message:
net/slumber: update to 3.0.0
[3.0.0] - 2025-02-15
A major release! The main focus of this release is the introduction of shell \
commands for data querying and export. Previously, you could query response \
bodies within the TUI only using JSONPath. This limited querying only to JSON \
responses, and the limited amount of operators supported by JSON. Now, you can \
use whatever shell commands you want (such as head, grep, and jq) to filter your \
reponses bodies, right in the TUI! Check out the docs for more examples.
In addition to the querying change, this release includes a handful of breaking \
changes, none of which are likely to cause issues for existing users.
Breaking
Don't store CLI requests in history
Simplify display for slumber request
The flags --status, --headers and --no-body have been removed in favor \
of a single --verbose flag
Remove DB migration to upgrade from the pre-1.8.0 DB format
This only impacts users upgrading to 3.0.0 from versions before 1.8.0. \
You'll need to upgrade to an intermediate version first. If you install 3.0.0 \
and try to start it, you'll see an error message explaining how to fix it.
See #306 for more info
Added
Replace JSONPath querying with general purpose shell commands for querying \
response bodies. See docs
Now you can access any CLI tools you want for transforming response \
bodies, such as jq or grep
By default, commands are executed via sh (or cmd on Windows), but this \
is configured via the commands.shell field
Add keybind (: by default) to run an "export" command with a \
response body, allowing you to run arbitrary shell commands to save a response \
body to a file, copy it to the clipboard, etc. See docs
Add slumber history subcommand. Currently it has two operations:
slumber history list lists all stored requests for a recipe
slumber history get prints a specific request/response
Add --output flag to slumber request to control where the response body is \
written to
Support MIME type mapping for pager config field, so you can set different \
pagers based on media type. See docs
Several changes related to keybinds and action menus to make the two feel \
more cohesive
Add "Edit" and "Reset" actions to menus on the \
recipe pane
These don't provide any new functionality, as the e and z keys are \
already bound to those actions, but it should make them more discoverable
Add keybind (v by defualt) to open a recipe/request/response body in \
your pager
Previously this was available only through the actions menu
"View Body" and "Copy Body" actions for a recipe are \
now only available within the Body tab of the Recipe pane
Previously they were available anywhere in the Recipe List or Recipe \
panes. With the addition of other actions to the menu it was started to feel \
cluttered
Changed
Denote templates that have been edited during the current session with \
italics instead of a faint "(edited)" note
Header names in recipes are now lowercased in the UI
They have always been lowercased when the request is actually sent, so \
now the UI is just more representative of what will be sent
Accept a directory for the --file/-f CLI argument
If a directory is given, the standard rules for detecting a collection \
file will be applied from that directory
Fixed
Fix certain recipe-related menu actions being enabled when they shouldn't be
|
Log message:
net/slumber: update to 2.4.0
Added
Add filter box to the recipe list
This behavior is not necessarily final. Please leave feedback if you \
think it could be improved.
Changes
Wrap long error messages in response pane
Include data path in config/collection deserialization errors
This should make errors much less cryptic and frustrating
Improve UX of query text box
The query is now auto-applied when changed (with a 500ms debounce), and \
drops focus on the text box when Enter is pressed
Refactor UI event handling logic
This shouldn't have any noticable impact on the user, but if you notice \
any bugs please open an issue
Include request duration in History modal
Rename viewer config field to pager
The old field name viewer is still supported for backward compatibility, \
but the docs have been updated to suggest the newer name instead
Load pager command from the PAGER environment variable if available, similar \
to the EDITOR environment variable
Fixed
Don't show request cancellation dialog if the selected request isn't \
building/loading
|
Log message:
net/slumber: update to 2.3.0
Added
Add "View Body" action to response bodies, to open a body in an \
external viewer such as less or fx #404
By default less is used. You can customize this with the viewer config field
Changes
Preserve key order of objects in JSON responses #405
Fixed
Fixed ignore_certificate_hosts and large_body_size fields not being loaded \
from config
Improve performance of large response bodies #356
This includes disabling prettyification and syntax highlighting on \
bodies over 1 MB (this size is configurable, via the large_body_size config \
field)
Loading a large response body should no longer cause the UI to freeze or \
low framerate
|