Skip to content

Commit

Permalink
bump version to v0.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ducaale committed Oct 12, 2024
1 parent 56176b3 commit 0fb0a13
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 132 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased
## [0.23.0] - 2024-10-12
### Features
- Handle responses compressed in zstd format, see #364 (@zuisong)
- Suppress warnings when `-qq` flag is used, see #371 (@blyxxyz)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xh"
version = "0.22.2"
version = "0.23.0"
authors = ["ducaale <[email protected]>"]
edition = "2021"
rust-version = "1.74.0"
Expand Down
2 changes: 1 addition & 1 deletion completions/_xh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ _xh() {
fi

local context curcontext="$curcontext" state line
_arguments "${_arguments_options[@]}" \
_arguments "${_arguments_options[@]}" : \
'--raw=[Pass raw request data without extra processing]:RAW: ' \
'--pretty=[Controls output processing]:STYLE:((all\:"(default) Enable both coloring and formatting"
colors\:"Apply syntax highlighting to output"
Expand Down
244 changes: 122 additions & 122 deletions completions/_xh.ps1

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions completions/xh.fish
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
complete -c xh -l raw -d 'Pass raw request data without extra processing' -r
complete -c xh -l pretty -d 'Controls output processing' -r -f -a "{all '(default) Enable both coloring and formatting',colors 'Apply syntax highlighting to output',format 'Pretty-print json and sort headers',none 'Disable both coloring and formatting'}"
complete -c xh -l pretty -d 'Controls output processing' -r -f -a "{all\t'(default) Enable both coloring and formatting',colors\t'Apply syntax highlighting to output',format\t'Pretty-print json and sort headers',none\t'Disable both coloring and formatting'}"
complete -c xh -l format-options -d 'Set output formatting options' -r
complete -c xh -s s -l style -d 'Output coloring style' -r -f -a "{auto '',solarized '',monokai '',fruity ''}"
complete -c xh -s s -l style -d 'Output coloring style' -r -f -a "{auto\t'',solarized\t'',monokai\t'',fruity\t''}"
complete -c xh -l response-charset -d 'Override the response encoding for terminal display purposes' -r
complete -c xh -l response-mime -d 'Override the response mime type for coloring and formatting for the terminal' -r
complete -c xh -s p -l print -d 'String specifying what the output should contain' -r
complete -c xh -s P -l history-print -d 'The same as --print but applies only to intermediary requests/responses' -r
complete -c xh -s o -l output -d 'Save output to FILE instead of stdout' -r -F
complete -c xh -l session -d 'Create, or reuse and update a session' -r
complete -c xh -l session-read-only -d 'Create or read a session without updating it form the request/response exchange' -r
complete -c xh -s A -l auth-type -d 'Specify the auth mechanism' -r -f -a "{basic '',bearer '',digest ''}"
complete -c xh -s A -l auth-type -d 'Specify the auth mechanism' -r -f -a "{basic\t'',bearer\t'',digest\t''}"
complete -c xh -s a -l auth -d 'Authenticate as USER with PASS (-A basic|digest) or with TOKEN (-A bearer)' -r
complete -c xh -l bearer -d 'Authenticate with a bearer token' -r
complete -c xh -l max-redirects -d 'Number of redirects to follow. Only respected if --follow is used' -r
Expand All @@ -18,9 +18,9 @@ complete -c xh -l proxy -d 'Use a proxy for a protocol. For example: --proxy htt
complete -c xh -l verify -d 'If "no", skip SSL verification. If a file path, use it as a CA bundle' -r
complete -c xh -l cert -d 'Use a client side certificate for SSL' -r -F
complete -c xh -l cert-key -d 'A private key file to use with --cert' -r -F
complete -c xh -l ssl -d 'Force a particular TLS version' -r -f -a "{auto '',tls1 '',tls1.1 '',tls1.2 '',tls1.3 ''}"
complete -c xh -l ssl -d 'Force a particular TLS version' -r -f -a "{auto\t'',tls1\t'',tls1.1\t'',tls1.2\t'',tls1.3\t''}"
complete -c xh -l default-scheme -d 'The default scheme to use if not specified in the URL' -r
complete -c xh -l http-version -d 'HTTP version to use' -r -f -a "{1.0 '',1.1 '',2 '',2-prior-knowledge ''}"
complete -c xh -l http-version -d 'HTTP version to use' -r -f -a "{1.0\t'',1.1\t'',2\t'',2-prior-knowledge\t''}"
complete -c xh -l resolve -d 'Override DNS resolution for specific domain to a custom IP' -r
complete -c xh -l interface -d 'Bind to a network interface or local IP address' -r
complete -c xh -s j -l json -d '(default) Serialize data items from the command line as a JSON object'
Expand Down
4 changes: 3 additions & 1 deletion doc/xh.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH XH 1 2024-07-08 0.22.2 "User Commands"
.TH XH 1 2024-10-12 0.23.0 "User Commands"

.SH NAME
xh \- Friendly and fast tool for sending HTTP requests
Expand Down Expand Up @@ -182,6 +182,8 @@ The same as \-\-print but applies only to intermediary requests/responses.
.TP 4
\fB\-q\fR, \fB\-\-quiet\fR
Do not print to stdout or stderr.

Using quiet twice i.e. \-qq will suppress warnings as well.
.TP 4
\fB\-S\fR, \fB\-\-stream\fR
Always stream the response body.
Expand Down

0 comments on commit 0fb0a13

Please sign in to comment.