Release Notes
Added
- Add Python bindings, allowing you to use your Slumber collection from Python scripts without having to invoke the CLI
- Add
jq function to the template language, to query and transform JSON with jq
select() now accepts a list of objects {"label": "Label", "value": "Value"} in addition to a list of strings #609
- This allows you to pass a list of values where the returned value is different from the string you see in the select list.
- For example, to select a user from a list where you select users by name but the returned value is their ID:
select([{"label": "User 1", "value": 1}, {"label": "User 2", "value": 2}])
- See docs for more
- Add URL tab to the recipe pane, allowing the URL to be temporarily overridden
Changed
Edit Collection TUI has been replaced by Edit Recipe, which opens the file to the selected recipe
- This will make it much easier to make tweaks to a recipe
- The
Body and Authentication tabs of the Recipe pane are now disabled if the recipe doesn't have a body/authentication (respectively)
- Disabled actions can no longer be selected in the action menu
slumber show config --edit and slumber show collection --edit now display the error if the file is invalid after editing
Install slumber 4.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LucasPickering/slumber/releases/download/v4.2.0/slumber-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/LucasPickering/slumber/releases/download/v4.2.0/slumber-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install LucasPickering/tap/slumber
Download slumber 4.2.0