pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/slumber
Module Name: pkgsrc
Committed By: pin
Date: Sun Feb 16 16:42:38 UTC 2025
Modified Files:
pkgsrc/net/slumber: Makefile cargo-depends.mk distinfo
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
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/net/slumber/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/net/slumber/cargo-depends.mk \
pkgsrc/net/slumber/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/slumber/Makefile
diff -u pkgsrc/net/slumber/Makefile:1.32 pkgsrc/net/slumber/Makefile:1.33
--- pkgsrc/net/slumber/Makefile:1.32 Tue Jan 7 14:50:50 2025
+++ pkgsrc/net/slumber/Makefile Sun Feb 16 16:42:38 2025
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.32 2025/01/07 14:50:50 pin Exp $
+# $NetBSD: Makefile,v 1.33 2025/02/16 16:42:38 pin Exp $
-DISTNAME= slumber-2.5.0
+DISTNAME= slumber-3.0.0
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GITHUB:=LucasPickering/}
-GITHUB_TAG= v${PKGVERSION_NOREV}
+#MASTER_SITES= ${MASTER_SITE_GITHUB:=LucasPickering/}
+MASTER_SITES= https://static.crates.io/crates/slumber/
+#GITHUB_TAG= v${PKGVERSION_NOREV}
+EXTRACT_SUFX= .crate
MAINTAINER= pin%NetBSD.org@localhost
HOMEPAGE= https://slumber.lucaspickering.me/
Index: pkgsrc/net/slumber/cargo-depends.mk
diff -u pkgsrc/net/slumber/cargo-depends.mk:1.27 pkgsrc/net/slumber/cargo-depends.mk:1.28
--- pkgsrc/net/slumber/cargo-depends.mk:1.27 Tue Jan 7 14:50:50 2025
+++ pkgsrc/net/slumber/cargo-depends.mk Sun Feb 16 16:42:38 2025
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.27 2025/01/07 14:50:50 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.28 2025/02/16 16:42:38 pin Exp $
CARGO_CRATE_DEPENDS+= addr2line-0.24.2
CARGO_CRATE_DEPENDS+= adler2-2.0.0
@@ -89,7 +89,7 @@ CARGO_CRATE_DEPENDS+= futures-util-0.3.3
CARGO_CRATE_DEPENDS+= gethostname-0.2.3
CARGO_CRATE_DEPENDS+= getrandom-0.2.15
CARGO_CRATE_DEPENDS+= gimli-0.31.1
-CARGO_CRATE_DEPENDS+= glob-0.3.1
+CARGO_CRATE_DEPENDS+= glob-0.3.2
CARGO_CRATE_DEPENDS+= h2-0.4.7
CARGO_CRATE_DEPENDS+= hashbrown-0.14.5
CARGO_CRATE_DEPENDS+= hashbrown-0.15.2
@@ -201,8 +201,6 @@ CARGO_CRATE_DEPENDS+= relative-path-1.9.
CARGO_CRATE_DEPENDS+= reqwest-0.12.11
CARGO_CRATE_DEPENDS+= rest_parser-0.1.6
CARGO_CRATE_DEPENDS+= ring-0.17.8
-CARGO_CRATE_DEPENDS+= rmp-0.8.14
-CARGO_CRATE_DEPENDS+= rmp-serde-1.3.0
CARGO_CRATE_DEPENDS+= rstest-0.21.0
CARGO_CRATE_DEPENDS+= rstest_macros-0.21.0
CARGO_CRATE_DEPENDS+= rusqlite-0.31.0
@@ -243,6 +241,11 @@ CARGO_CRATE_DEPENDS+= signal-hook-0.3.17
CARGO_CRATE_DEPENDS+= signal-hook-mio-0.2.4
CARGO_CRATE_DEPENDS+= signal-hook-registry-1.4.2
CARGO_CRATE_DEPENDS+= slab-0.4.9
+CARGO_CRATE_DEPENDS+= slumber_cli-3.0.0
+CARGO_CRATE_DEPENDS+= slumber_core-3.0.0
+CARGO_CRATE_DEPENDS+= slumber_config-3.0.0
+CARGO_CRATE_DEPENDS+= slumber_import-3.0.0
+CARGO_CRATE_DEPENDS+= slumber_tui-3.0.0
CARGO_CRATE_DEPENDS+= smallvec-1.13.2
CARGO_CRATE_DEPENDS+= socket2-0.5.8
CARGO_CRATE_DEPENDS+= spin-0.9.8
@@ -266,8 +269,8 @@ CARGO_CRATE_DEPENDS+= thread_local-1.1.8
CARGO_CRATE_DEPENDS+= tinystr-0.7.6
CARGO_CRATE_DEPENDS+= tinyvec-1.8.1
CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.1
-CARGO_CRATE_DEPENDS+= tokio-1.42.0
-CARGO_CRATE_DEPENDS+= tokio-macros-2.4.0
+CARGO_CRATE_DEPENDS+= tokio-1.43.0
+CARGO_CRATE_DEPENDS+= tokio-macros-2.5.0
CARGO_CRATE_DEPENDS+= tokio-rustls-0.26.1
CARGO_CRATE_DEPENDS+= tokio-util-0.7.13
CARGO_CRATE_DEPENDS+= tower-0.5.2
@@ -303,6 +306,7 @@ CARGO_CRATE_DEPENDS+= wait-timeout-0.2.0
CARGO_CRATE_DEPENDS+= walkdir-2.5.0
CARGO_CRATE_DEPENDS+= want-0.3.1
CARGO_CRATE_DEPENDS+= wasi-0.11.0+wasi-snapshot-preview1
+SITES.wasi-0.11.0+wasi-snapshop-preview1.crate= https://static.crates.io/crates/wasi/
CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.99
CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.99
CARGO_CRATE_DEPENDS+= wasm-bindgen-futures-0.4.49
Index: pkgsrc/net/slumber/distinfo
diff -u pkgsrc/net/slumber/distinfo:1.27 pkgsrc/net/slumber/distinfo:1.28
--- pkgsrc/net/slumber/distinfo:1.27 Tue Jan 7 14:50:50 2025
+++ pkgsrc/net/slumber/distinfo Sun Feb 16 16:42:38 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2025/01/07 14:50:50 pin Exp $
+$NetBSD: distinfo,v 1.28 2025/02/16 16:42:38 pin Exp $
BLAKE2s (addr2line-0.24.2.crate) = 5bdb03ff8621c0993eda0ec3682c467ad3fc0015f48e46a70779bbd4bfbe8267
SHA512 (addr2line-0.24.2.crate) = 39cbec3c920ffc0f37584afb55e1cfe4f182e4415319a4e9bfe842360f102f7b9315f6171c0cf71ba0337123903e604096cd573fe98698a26c8eebc2376d965b
@@ -267,9 +267,9 @@ Size (getrandom-0.2.15.crate) = 37163 by
BLAKE2s (gimli-0.31.1.crate) = 285041fbf11878daf6c1a0a64998883c64ab3426df1fd74bb897ea9c6c548419
SHA512 (gimli-0.31.1.crate) = b9c8c11547dc7420fe936b9f32a4f5ccf3bb68d1d9f39dedffd40d631360f6e032e719d858668826f1099b8a262e8096aa7ae1f6d7d3d7aaf47934d832715949
Size (gimli-0.31.1.crate) = 279515 bytes
-BLAKE2s (glob-0.3.1.crate) = cf1632af0a03d2505ae99d4e4ed0ee695c8383a0cddf1191f7f59e197e9fb17f
-SHA512 (glob-0.3.1.crate) = 29368160138bcb7ea5660f9f30c5711cfca8bc8ba836bbade3fbe8c424e7b4118daf27cffa677962e37e36f025fd2bb5a9c2aea865b0ff155cace455dfbb658b
-Size (glob-0.3.1.crate) = 18880 bytes
+BLAKE2s (glob-0.3.2.crate) = c17eedf4fd503fee89f43362abd18a2a91192a48af33c954fc96339b09e2e898
+SHA512 (glob-0.3.2.crate) = d15389441e337e3fab9c30102fe7b4b1b3e68d8cbb5d14162d2fd7e7d01a9812b2d6d6d2a24a60116418be41e2075e70becd6994c13b34365d512521e8debb02
+Size (glob-0.3.2.crate) = 22359 bytes
BLAKE2s (h2-0.4.7.crate) = f7c9916742c53db234fc4f3083e440d2eacecc7f1ff7aed69b7d7787b58ffab5
SHA512 (h2-0.4.7.crate) = 0d56fd3a67473d98199e0d944d2bc094c36638f3a2d986942e6bb2e1c8022e7a53f184d5ac5e8d435ae97da481ddb8d5b2a039c70180345c8006290fef39a59e
Size (h2-0.4.7.crate) = 174114 bytes
@@ -603,12 +603,6 @@ Size (rest_parser-0.1.6.crate) = 12430 b
BLAKE2s (ring-0.17.8.crate) = 9b7fe9b075087b8d63c6aef6af4e8d76565429d17bb8b879e509ac92a3d1ab41
SHA512 (ring-0.17.8.crate) = e4966409a4078ee43bfc9cc659d08ad28419effe2a729c8c275361a7fe0620a3c727009bcfb1d0bab265af2bc107b50c19d868a4e80da7a8bb55f97e8b214358
Size (ring-0.17.8.crate) = 4188554 bytes
-BLAKE2s (rmp-0.8.14.crate) = b122ccf961a16856bdee49a24542d1215886a21d5abef8b7614f53b17ccbcdca
-SHA512 (rmp-0.8.14.crate) = f83634cf6a9eb9a905b55039b59efea72b0f5fb88aa92fa008d9a867812d06d9dfeab8b4ced5047eec66568742e3d873ea35e57e66da36f67cd266be6b64e00e
-Size (rmp-0.8.14.crate) = 29687 bytes
-BLAKE2s (rmp-serde-1.3.0.crate) = 5525d621ecb203b314d7d734e22b60b6e73046551d3206a3db3239072034f3cc
-SHA512 (rmp-serde-1.3.0.crate) = d4ab14e7cd4e6a3628d6795d45112504ce6e571038b08fa92b70ad5deed143d2e4a89927c206eb1fc06b3d5fcf4dc6d4357572f8393e766c958b50f0076b436f
-Size (rmp-serde-1.3.0.crate) = 33025 bytes
BLAKE2s (rstest-0.21.0.crate) = df26062aac6f06183c1dbb7c2286dd8b0088974846b197f884c03aee5586ad9a
SHA512 (rstest-0.21.0.crate) = baf52d34f47b9e400f35810dea724715cb66c494c44e08cf70c6372bd16d4826ef11e3e5bc8c56871c02d525595fe5198c7e4cfff8f2d1b355a2411d8996bafd
Size (rstest-0.21.0.crate) = 42620 bytes
@@ -729,9 +723,24 @@ Size (signal-hook-registry-1.4.2.crate)
BLAKE2s (slab-0.4.9.crate) = 910e1c3640a12b3196dec14d77395cbb8ec6b85537612ac3653ee9bee7a415a5
SHA512 (slab-0.4.9.crate) = b6b5423ae026472920f7c9a4abe0962314140a36dc562c0a9e3fa60725b2b8b7a8b343110d9d4c0e18fb318b0103e14c0ccbc9ae350d5563a5ac80c35f228c40
Size (slab-0.4.9.crate) = 17108 bytes
-BLAKE2s (slumber-2.5.0.tar.gz) = 2d6d9d406908adba66c5bd516c3b0ac9f8b7a0a79d02c91ad2fe23015a7e8160
-SHA512 (slumber-2.5.0.tar.gz) = 093d05d5a985a82bbf1cb9779f048c7110894daf04c2dee2301e30ca9e2dff028c49523169860703f4b77367c810d2a6b328996ce991543b6365a9f944f3a7c6
-Size (slumber-2.5.0.tar.gz) = 797611 bytes
+BLAKE2s (slumber-3.0.0.crate) = 7d96e9c5a345be3daaa84ac37ca3898279228167b8b9007f3534948f8187744a
+SHA512 (slumber-3.0.0.crate) = 3337589a1cd8a8ec4cc59dbb561c3f61011dc8eff7a03a1e62e58d747e3090a4bba03b1bd27b4d2de0fb07a6e4dd8067c89b02b6b9a809defa8e2e7078d655f5
+Size (slumber-3.0.0.crate) = 1275039 bytes
+BLAKE2s (slumber_cli-3.0.0.crate) = bd679d154471c22b1987e15bf95a40a238a90f6b68431eb5346d34d0ca35acf5
+SHA512 (slumber_cli-3.0.0.crate) = 953e768bc087f4139b5cd384ab1142800461aba799cb5b5a21dbd58baaeb3b995607750cc42473209c134a47f89a9cae48e8b9d0b846ee0da57dc0703c0008df
+Size (slumber_cli-3.0.0.crate) = 11376 bytes
+BLAKE2s (slumber_config-3.0.0.crate) = e26c4986c01b5da4e5d668a36bc96ab29cb373e865294f55dfdb32f0553bcfee
+SHA512 (slumber_config-3.0.0.crate) = 7f4a26f76cff10a3b5fcdd32dbf7ab110358e948902a49a94350a0ca15d10b267f05151d0fcf1277365a30ba40bfc5780c56ffad13e079a62cf66a94d58c9138
+Size (slumber_config-3.0.0.crate) = 11118 bytes
+BLAKE2s (slumber_core-3.0.0.crate) = f2ce1f9fddb617a08e27845e4464cc732a96be73d3fc11c0955f107d8649f87e
+SHA512 (slumber_core-3.0.0.crate) = 9470af396f48da77e811df3a9d00b76745be2b91041567b81b3d6bd4ea22d3fd4ce3a38292ef4dfcc25e8c68dc84c63f7bd38b7d9e554f4b1c2128a1b52aec9d
+Size (slumber_core-3.0.0.crate) = 87760 bytes
+BLAKE2s (slumber_import-3.0.0.crate) = 892647c8745c6eec49f6037f246c40d0939c816b89482f6a67e75441736a28a1
+SHA512 (slumber_import-3.0.0.crate) = 0bbe3e6b03a4ae3cc3c134c2dd1444cd53d1c3dcc5c79f9ff87bee97c6d173f0cae99957eec9a37f075efde49fddf6839dd03bee539faf2f99e3b24cc69f1a3b
+Size (slumber_import-3.0.0.crate) = 21444 bytes
+BLAKE2s (slumber_tui-3.0.0.crate) = 95f71441d1a175f9f708016da3033fe0c9b9bb90c3d55db10abca96716bb022a
+SHA512 (slumber_tui-3.0.0.crate) = af89ae0cbeb2ffa232ec54e3a9d39e8357585163fe326e1cfbbf6cb8af7fa27fc46c8fe56dfc81a7e9df8de90a7afb9d743eefe1589491121fc2fe93a36be25b
+Size (slumber_tui-3.0.0.crate) = 129372 bytes
BLAKE2s (smallvec-1.13.2.crate) = b0c6aa90972d031feb8f50aa1562ab0dbce3a027e6a54bea2586c819ef8e369b
SHA512 (smallvec-1.13.2.crate) = a97c758b668e40ad9eb572e65feeae4954e09200a04ab92e26a13b48894381cd3a3d2571070c4b7a5e181182e1ede9688f990650342ec69ecfe1a264d234c679
Size (smallvec-1.13.2.crate) = 35216 bytes
@@ -801,12 +810,12 @@ Size (tinyvec-1.8.1.crate) = 47269 bytes
BLAKE2s (tinyvec_macros-0.1.1.crate) = a5a60bcbbb0c2a122c9318e1791fdaa0a8b95e8e6ae1af4460495bfeabad07ec
SHA512 (tinyvec_macros-0.1.1.crate) = 10008c7b3a3d50c94b9c370015b76ee082f5dfb6dcacf014dc2f2dbe92f903618d10d0202b21f48fcf98a94ae76fb712db55a5e8ad353645d378cf0e6ec74f7e
Size (tinyvec_macros-0.1.1.crate) = 5865 bytes
-BLAKE2s (tokio-1.42.0.crate) = f08690189a2248318887e3ba9bd89bd5a29073e72a7cd7def650a127c8b272d2
-SHA512 (tokio-1.42.0.crate) = 3cdc72f3209057cd0f954913f3d26d275246e0a2d63171f84449257de55d1a416c65b340d38a0d0c7fa33bde36bb612f550cbd43a49df22781c84f8ab2bdad9f
-Size (tokio-1.42.0.crate) = 806998 bytes
-BLAKE2s (tokio-macros-2.4.0.crate) = 0d80f3a689e6c2a7957dcc3e2e5b0f97bf67430e4341fef9e5ad2c8ebf75217f
-SHA512 (tokio-macros-2.4.0.crate) = f4a445f6c2cc7c1cfb5825919cd3dea3af52720c7793c20601d05870e7efbcfe0c6231fba7ada49b5ce46757f0e1475b3667914ff33c2fcb25e9a40151bd2501
-Size (tokio-macros-2.4.0.crate) = 12501 bytes
+BLAKE2s (tokio-1.43.0.crate) = 46b4dc80b2a1b30e7d732bf8372ed4db6f76024ee914d441a7ffe3acbabe86a4
+SHA512 (tokio-1.43.0.crate) = 8a2681829afc3ffa6446eaff7463d52aa3351598639ef5d9af0633dc5425e7ff222a7e661f519c3383377cb46b40969ae8c38bedc77a9da92a871ba7d1c18a63
+Size (tokio-1.43.0.crate) = 817422 bytes
+BLAKE2s (tokio-macros-2.5.0.crate) = b9b7eb76e828fe7118bbe850832ad212668551efcbcc42ca4f925967322cb62e
+SHA512 (tokio-macros-2.5.0.crate) = c1d24cbb8b3f500357e39f93cf139790e4bd3ad1657dd5d695f5e4f9a2a460cd63e8c1c32a36b64d3cadd7b6467e59ee34cd5b1548a99449d8e46c2db83e9ec4
+Size (tokio-macros-2.5.0.crate) = 12617 bytes
BLAKE2s (tokio-rustls-0.26.1.crate) = 36b6457656a6b3d92291413f984b2e07df1abd7d698a3680d4dc6b20b9aa015f
SHA512 (tokio-rustls-0.26.1.crate) = 0cee6b356ebc4be05c484d459ac457280f41401093ca942cc61a6e6514dd4a48b1cc921f7dc02f9c8bc34b751d4d40d6d4768b21193d5a12c38ebd140bad4896
Size (tokio-rustls-0.26.1.crate) = 31214 bytes
Home |
Main Index |
Thread Index |
Old Index