Skip to content

Commit

Permalink
bump version to 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ducaale committed Sep 16, 2021
1 parent 983740d commit 46405e4
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 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.13.0] - 2021-09-16
### Features
- Add _--all_ flag for printing intermediate requests and responses, see #137 (@ducaale)
- Support customising what sections are printed from intermediary requests and responses
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.12.0"
version = "0.13.0"
authors = ["ducaale <sharaf.13@hotmail.com>"]
edition = "2018"
license = "MIT"
Expand Down
1 change: 1 addition & 0 deletions completions/_xh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ _xh() {
'--no-follow[]' \
'--no-form[]' \
'--no-headers[]' \
'--no-history-print[]' \
'--no-https[]' \
'--no-ignore-netrc[]' \
'--no-ignore-stdin[]' \
Expand Down
1 change: 1 addition & 0 deletions completions/_xh.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Register-ArgumentCompleter -Native -CommandName 'xh' -ScriptBlock {
[CompletionResult]::new('--no-follow', 'no-follow', [CompletionResultType]::ParameterName, 'no-follow')
[CompletionResult]::new('--no-form', 'no-form', [CompletionResultType]::ParameterName, 'no-form')
[CompletionResult]::new('--no-headers', 'no-headers', [CompletionResultType]::ParameterName, 'no-headers')
[CompletionResult]::new('--no-history-print', 'no-history-print', [CompletionResultType]::ParameterName, 'no-history-print')
[CompletionResult]::new('--no-https', 'no-https', [CompletionResultType]::ParameterName, 'no-https')
[CompletionResult]::new('--no-ignore-netrc', 'no-ignore-netrc', [CompletionResultType]::ParameterName, 'no-ignore-netrc')
[CompletionResult]::new('--no-ignore-stdin', 'no-ignore-stdin', [CompletionResultType]::ParameterName, 'no-ignore-stdin')
Expand Down
2 changes: 1 addition & 1 deletion completions/xh.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ _xh() {

case "${cmd}" in
xh)
opts=" -j -f -m -h -b -v -q -S -d -c -F -I -V -s -p -P -o -A -a --json --form --multipart --headers --body --verbose --all --quiet --stream --download --continue --ignore-netrc --offline --check-status --follow --native-tls --https --ignore-stdin --curl --curl-long --no-all --no-auth --no-auth-type --no-bearer --no-body --no-cert --no-cert-key --no-check-status --no-continue --no-curl --no-curl-long --no-default-scheme --no-download --no-follow --no-form --no-headers --no-https --no-ignore-netrc --no-ignore-stdin --no-json --no-max-redirects --no-multipart --no-native-tls --no-offline --no-output --no-pretty --no-print --no-proxy --no-quiet --no-session --no-session-read-only --no-stream --no-style --no-timeout --no-verbose --no-verify --help --version --pretty --style --print --history-print --output --session --session-read-only --auth-type --auth --bearer --max-redirects --timeout --proxy --verify --cert --cert-key --default-scheme <[METHOD] URL> <REQUEST_ITEM>... "
opts=" -j -f -m -h -b -v -q -S -d -c -F -I -V -s -p -P -o -A -a --json --form --multipart --headers --body --verbose --all --quiet --stream --download --continue --ignore-netrc --offline --check-status --follow --native-tls --https --ignore-stdin --curl --curl-long --no-all --no-auth --no-auth-type --no-bearer --no-body --no-cert --no-cert-key --no-check-status --no-continue --no-curl --no-curl-long --no-default-scheme --no-download --no-follow --no-form --no-headers --no-history-print --no-https --no-ignore-netrc --no-ignore-stdin --no-json --no-max-redirects --no-multipart --no-native-tls --no-offline --no-output --no-pretty --no-print --no-proxy --no-quiet --no-session --no-session-read-only --no-stream --no-style --no-timeout --no-verbose --no-verify --help --version --pretty --style --print --history-print --output --session --session-read-only --auth-type --auth --bearer --max-redirects --timeout --proxy --verify --cert --cert-key --default-scheme <[METHOD] URL> <REQUEST_ITEM>... "
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down
1 change: 1 addition & 0 deletions completions/xh.fish
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ complete -c xh -l no-download
complete -c xh -l no-follow
complete -c xh -l no-form
complete -c xh -l no-headers
complete -c xh -l no-history-print
complete -c xh -l no-https
complete -c xh -l no-ignore-netrc
complete -c xh -l no-ignore-stdin
Expand Down
14 changes: 5 additions & 9 deletions doc/xh.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH XH "1" "September 2021" "xh 0.12.0" "User Commands"
.TH XH "1" "September 2021" "xh 0.13.0" "User Commands"
.SH NAME
xh \- Friendly and fast tool for sending HTTP requests
.SH SYNOPSIS
Expand Down Expand Up @@ -111,8 +111,7 @@ Construct HTTP requests without sending them anywhere
.IP
(default) Exit with an error status code if the server replies with an error.
.IP
The exit code will be 4 on 4xx (Client Error), 5 on 5xx (Server Error), or 3 on 3xx (Redirect) if \fB\-\-follow\fR
isn't set.
The exit code will be 4 on 4xx (Client Error), 5 on 5xx (Server Error), or 3 on 3xx (Redirect) if \fB\-\-follow\fR isn't set.
.IP
If stdout is redirected then a warning is written to stderr.
.HP
Expand Down Expand Up @@ -178,8 +177,7 @@ Save output to FILE instead of stdout
.IP
Create, or reuse and update a session.
.IP
Within a session, custom headers, auth credentials, as well as any cookies sent by the server persist
between requests.
Within a session, custom headers, auth credentials, as well as any cookies sent by the server persist between requests.
.HP
\fB\-\-session\-read\-only\fR <FILE>
.IP
Expand Down Expand Up @@ -211,13 +209,11 @@ Use a proxy for a protocol. For example: `\-\-proxy https:http://proxy.host:8080
.IP
PROTOCOL can be `http`, `https` or `all`.
.IP
If your proxy requires credentials, put them in the URL, like so: `\-\-proxy
http:socks5://user:password@proxy.host:8000`.
If your proxy requires credentials, put them in the URL, like so: `\-\-proxy http:socks5://user:password@proxy.host:8000`.
.IP
You can specify proxies for multiple protocols by repeating this option.
.IP
The environment variables `http_proxy` and `https_proxy` can also be used, but are completely ignored if
\fB\-\-proxy\fR is passed.
The environment variables `http_proxy` and `https_proxy` can also be used, but are completely ignored if \fB\-\-proxy\fR is passed.
.HP
\fB\-\-verify\fR <VERIFY>
.IP
Expand Down

0 comments on commit 46405e4

Please sign in to comment.