Skip to content

Commit 9a2f31e

Browse files
authored
Merge pull request #628 from hatoo/v1.5.0
V1.5.0
2 parents 0cec665 + 4871023 commit 9a2f31e

File tree

5 files changed

+76
-73
lines changed

5 files changed

+76
-73
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Unreleased
22

3+
# 1.5.0 (2024-12-07)
4+
35
- Add `--debug` option to check actual request/response
6+
- Switch colors to justified latency thresholds (fixes #609) #610
7+
- Fix Running with -q hangs #603
8+
- Support HTTP proxy #614
49

510
# 1.4.7 (2024-10-26)
611

Cargo.lock

+20-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ license = "MIT"
1313
name = "oha"
1414
readme = "README.md"
1515
repository = "https://github.com/hatoo/oha"
16-
version = "1.4.7"
16+
version = "1.5.0"
1717
rust-version = "1.77"
1818

1919
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -40,7 +40,7 @@ humantime = "2.1.0"
4040
libc = "0.2.155"
4141
serde = { version = "1.0.204", features = ["derive"] }
4242
serde_json = "1.0"
43-
thiserror = "1.0.63"
43+
thiserror = "2.0.4"
4444
tokio = { version = "1.38.1", features = ["full"] }
4545
ratatui = { version = "0.29.0", default-features = false, features = [
4646
"crossterm",

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Options:
121121
Rates of requests for burst. Default is 1
122122
Note: If qps is specified, burst will be ignored
123123
--rand-regex-url
124-
Generate URL by rand_regex crate but dot is disabled for each query e.g. http://127.0.0.1/[a-z][a-z][0-9]. Currently dynamic scheme, host and port with keep-alive are not works well. See https://docs.rs/rand_regex/latest/rand_regex/struct.Regex.html for details of syntax.
124+
Generate URL by rand_regex crate but dot is disabled for each query e.g. http://127.0.0.1/[a-z][a-z][0-9]. Currently dynamic scheme, host and port with keep-alive do not work well. See https://docs.rs/rand_regex/latest/rand_regex/struct.Regex.html for details of syntax.
125125
--max-repeat <MAX_REPEAT>
126126
A parameter for the '--rand-regex-url'. The max_repeat parameter gives the maximum extra repeat counts the x*, x+ and x{n,} operators will become. [default: 4]
127127
--dump-urls <DUMP_URLS>
@@ -150,8 +150,14 @@ Options:
150150
Content-Type.
151151
-a <BASIC_AUTH>
152152
Basic authentication, username:password
153+
-x <PROXY>
154+
HTTP proxy
155+
--proxy-http-version <PROXY_HTTP_VERSION>
156+
HTTP version to connect to proxy. Available values 0.9, 1.0, 1.1, 2.
157+
--proxy-http2
158+
Use HTTP/2 to connect to proxy. Shorthand for --proxy-http-version=2
153159
--http-version <HTTP_VERSION>
154-
HTTP version. Available values 0.9, 1.0, 1.1.
160+
HTTP version. Available values 0.9, 1.0, 1.1, 2.
155161
--http2
156162
Use HTTP/2. Shorthand for --http-version=2
157163
--host <HOST>

0 commit comments

Comments
 (0)