slumber

Releases

0.13.0 - 2024-02-21

v0.13.0 Feb 21 2024 at 22:16 UTC

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)

0.12.1 - 2024-01-22

v0.12.1 Jan 22 2024 at 13:07 UTC

Changed

  • Improved styling of toggled table rows

0.12.0 - 2024-01-07

v0.12.0 Jan 7 2024 at 21:43 UTC

Added

  • Move app-level configuration into a file (#89)
    • Right now the only supported field is preview_templates
  • Toggle query parameters and headers in recipe pane (#30)
    • You can easily enable/disable parameters and headers without having to modify the collection file now
  • Add Copy URL action, to get the full URL that a request will generate (#93)

Changed

  • Show profile contents while in the profile list (#26)
  • Remove settings modal in favor of the settings file
    • Supporting changing configuration values during a session adds a lot of complexity

0.11.0 - 2023-12-20

v0.11.0 Dec 20 2023 at 22:28 UTC

Added

  • Add action to copy entire request/response body (#74)
  • Persist UI state between sessions (#39)
  • Text window can be controlled with PgUp/PgDown/Home/End (#77)
  • Add back manual reload keybinding (R)
    • Mostly for development purposes
  • Add collection ID/path to help modal (#59)
    • Also add collection ID to terminal title
  • Add new docs for templates and collection reuse (#67)

Changed

  • [BREAKING] Key profiles/chains/requests by ID in collection file
  • [BREAKING] Merge request history into a single DB file
    • Request history (and UI state) will be lost
  • [BREAKING] show subcommand now takes a target argument
    • Right now the only option is slumber show dir, which has the same behavior as the old slumber show (except now it prints the bare directory)
  • [BREAKING] Remove option to toggle cursor capture
    • Turns out it's not that useful, since most terminals provide override behavior
  • Filter request history by profile (#74)
  • Hide sensitive chain values in preview
  • Change fullscreen keybinding from F11 to F
    • F11 in some cases is eaten by the IDE or OS, which is annoying

Fixed

  • Don't require collection file to be present for show subcommand (#62)
  • Fix state file being created in root Slumber directory if collection file is invalid (#71)
  • Fix pane cycling while in fullscreen (#76)

0.9.0 - 2023-11-28

v0.9.0 Nov 28 2023 at 15:32 UTC

Added

  • Add setting to toggle cursor capture
  • Add help modal
  • Add cursor navigation

Changed

  • Always show help text in footer, regardless of notification state
  • Add highlight border to fullscreened pane
  • Allow exiting fullscreen mode with ESC

0.8.0 - 2023-11-21

v0.8.0 Nov 21 2023 at 21:43 UTC

Added

  • Add slumber show subcommand

Changed

  • Remove keybinding to reload collection
    • Not useful now that the TUI has automatic reloading
  • Move to stable Rust channel and add MSRV of 1.74

Fixed

  • Don't panic if the collection file is invalid on first startup #34
    • The TUI will now show an empty screen, and watch the collection file for changes
  • Fix long status code reasons getting cut off in response header #40
  • Trim leading/trailing newlines from header values to prevent validation error

0.7.0 - 2023-11-16

v0.7.0 Nov 16 2023 at 11:45 UTC

Added

  • Added recursive templates for profile values, using the !template tag before a value

Changed

  • Parse templates up front instead of during render
  • Switch to nom for template parsing
    • Parse errors should be better now

0.6.0 - 2023-11-11

v0.6.0 Nov 11 2023 at 01:03 UTC

Added

  • Add ability to preview template values. This will show the rendered value under current settings #29
    • This includes a new modal to toggle the setting on/off, via the X key
  • Add command source type for chained values, which uses stdout from an executed subprocess command #31

Changed

  • HTTP method is now a plain string, not a template string. This simplifies some internal logic, and I don't think there was a compelling reason to make a template in the first place.

v0.5.0

v0.5.0 Nov 7 2023 at 21:47 UTC

Added

  • Add top-level collection id field
    • Needed in order to give each collection its own history file
  • Disable mouse capture to allow text highlighting #17
  • Add keybinding (F2) to send request from any view

Fixed

  • Differentiate history between different collections #10
  • Ensure ctrl-c can't get eaten by text boxes (it guarantees exit now) #18

Changed

  • Adjust size of profile list dynamically based on number of profiles
  • Use structured table display format for query parameters and headers
  • Tweak list and tab styling

v0.4.0

v0.4.0 Nov 2 2023 at 15:33 UTC

Added

  • Request and response panes can now be fullscreened and scrolled #14

Removed

  • Removed Chain.name field in config

Changed

  • All modals now use a shared queue

Fixed

  • Initially selected recipe loads most recent response #13

v0.3.1

v0.3.1 Oct 22 2023 at 19:22 UTC

Initial distributed release!