./net/slumber, Terminal-based REST client

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.0.0, Package name: slumber-1.0.0, Maintainer: pin

Slumber is a TUI (terminal user interface) HTTP client. Define, execute, and
share configurable HTTP requests.


Master sites:

Filesize: 676.058 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-26 11:43:29 by pin | Files touched by this commit (3) | Package updated
Log message:
net/slumber: update to 1.0.0

[1.0.0] - 2024-04-25
Breaking
    Rename collection file parameter on all CLI commands from --collection/-c to \ 
--file/-f
        The goal here is to be more intuitive/predictable, since -f is much more \ 
common in similar programs (e.g. docker-compose)

Added
    Support booleans and numbers for query values (#141)
    Add default field to !prompt chains, which allows setting a pre-populated \ 
value for the prompt textbox

Changed
    Folders can now be collapsed in the recipe list (#155)
    Improvements to Insomnia import (#12)
    Rename import-experimental command to import
        It's official now! It's still going to get continuted improvement though
    Show WARN/ERROR log output for CLI commands
    Validate recipe method field during deserialization instead of on request init
        This means you'll get an error on startup if your method is invalid, \ 
instead of when you go to run the request
        This is not a breaking change because if you had an incorrect HTTP \ 
method, the request still didn't work before, it just broke later
    Arguments to chains are now treated as templates (#151)
        Support fields are path for !file chains, command for !command chains, \ 
and message for !prompt chains
        This means you can now really chain chains together!
   2024-04-19 05:33:02 by pin | Files touched by this commit (3) | Package updated
Log message:
net/slumber: update to 0.18.0

[0.18.0] - 2024-04-18
Breaking
  - All existing recipes must be tagged with !request in the collection file
     - This is necessary to differentiate from the new !folder type
  - Profile values are always treated as templates now
     - Any profile values that were previously the "raw" variant (the \ 
default) that contain template syntax
       (e.g. {{user_id}}) will now be rendered as templates. In reality this is \ 
very unlikely, so this
       probably isn't going to break your setup
     - If you have an existing profile value tagged with !template it won't \ 
break, but it will no longer do anything
  - Unknown fields in config/collection files will now be rejected (#154)
     - In most cases this field is a mistake, so this is meant to make debugging \ 
easier
     - If you have an intentional unknown field, you can now nest it under \ 
.ignore to ignore it
  - Replace slumber show dir with slumber show paths

Added
  - Request recipes can now be organized into folders (#60)
     - See the docs for usage examples
  - Add slumber show config and slumber show collection subcommands

Changed
  - Prevent infinite recursion in templates
     - It now triggers a helpful error instead of a panic
  - Support additional key codes for input mapping, including media keys

Fixed
  - Multiple spaces between modifiers/key codes in a key combination are now ignored
   2024-04-09 19:00:03 by pin | Files touched by this commit (3) | Package updated
Log message:
net/slumber: update to 0.17.0

[0.17.0] - 2024-04-08
Breaking
 - All variants of the Chain.source field are now maps
    - This is to support the next request auto-execution feature, as well as \ 
future proofing for additional chain configuration
 - Remove send_request keybinding
    - The submit keybinding is now used to send requests from all panes (except \ 
the profile pane)
    - This is only a breaking change if you have send_request remapped in your \ 
config file

Follow this mapping to update:

# Before
chains:
  auth_token:
    source: !request login
  username:
    source: !command ["echo", "-n", "hello"]
  username:
    source: !file ./username.txt
  password:
    source: !prompt Enter Password
---
# After
chains:
  auth_token:
    source: !request
      recipe: login
  username:
    source: !command
      command: ["echo", "-n", "hello"]
  username:
    source: !file
      path: ./username.txt
  password:
    source: !prompt
      message: Enter Password

Added
 - Chained requests can now be auto-executed according to various criteria (#140)
    - See the docs for more
 - Add Authentication tab to recipe pane (#144)

Changed
 - Don't print full stack trace for failed CLI commands
   2024-04-02 21:38:56 by pin | Files touched by this commit (3) | Package updated
Log message:
net/slumber: update to 0.16.0

[0.16.0] - 2024-04-01
Added
 - Add support for custom keybindings (#137)

Fixed
 - Fix request body not updating in UI when changing recipe
   2024-03-25 14:15:57 by pin | Files touched by this commit (3) | Package updated
Log message:
net/slumber: update to 0.15.0

[0.15.0] - 2024-03-24
Added
    Add horizontal scrolling to response body (#111)
        Use shift+left and shift+right
    Add app version to help modal
    Add "Copy as cURL" action to recipe menu (#123)
    Add hotkeys to select different panes
    Add pane for rendered request
    Show response size in Response pane (#129)

Changed
    Run prompts while rendering request URL/body to be copied
    Improve UI design of profile pane
    Show raw bytes for binary responses

Fixed
    Reset response body query when changing recipes (#133)
   2024-03-19 14:30:26 by pin | Files touched by this commit (3) | Package updated
Log message:
net/slumber: update to 0.14.0

Release Notes

Added
 - Add config option ignore_certificate_hosts (#109)
 - Add menu action to open collection file in editor (#105)
 - Add authentication field to request recipe (#110)

Fixed
 - Fix prompt in TUI always rendering as sensitive (#108)
 - Fix content type identification for extended JSON MIME types (#103)
 - Use named records in binary blobs in the local DB
    - This required wiping out existing binary blobs, meaning all request
      history and UI state will be lost on upgrade
 - Fix basic auth in Insomnia import
   2024-03-09 22:55:00 by pin | Files touched by this commit (3) | Package updated
Log message:
net/slumber: update to 0.13.1

[0.13.1] - 2024-03-07
Changed
    Move checkbox to left side of toggle tables

Fixed
    Fix scrolling on response body pane
   2024-02-23 11:05:28 by pin | Files touched by this commit (3) | Package updated
Log message:
net/slumber: update to 0.13.0

[0.13.0] - 2024-02-21
Added
 - New informational flags to slumber request
      --exit-status to set exit code based on response status (#97)
      --status, --headers, and --no-body to control printed output
 - Filter response via JSONPath (#78)