From 4871023f8ca45250a5e02c8a1184d56593351900 Mon Sep 17 00:00:00 2001 From: hatoo Date: Sat, 7 Dec 2024 15:21:06 +0900 Subject: [PATCH] v1.5.0 --- CHANGELOG.md | 2 ++ Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 10 ++++++++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62fa0462..f9c48216 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Unreleased +# 1.5.0 (2024-12-07) + - Add `--debug` option to check actual request/response - Switch colors to justified latency thresholds (fixes #609) #610 - Fix Running with -q hangs #603 diff --git a/Cargo.lock b/Cargo.lock index 0e8ed247..fc6d2b89 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2287,7 +2287,7 @@ dependencies = [ [[package]] name = "oha" -version = "1.4.7" +version = "1.5.0" dependencies = [ "actix-web", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 7df79985..7dc5481e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ license = "MIT" name = "oha" readme = "README.md" repository = "https://github.com/hatoo/oha" -version = "1.4.7" +version = "1.5.0" rust-version = "1.77" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 7c8877e6..178e9346 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ Options: Rates of requests for burst. Default is 1 Note: If qps is specified, burst will be ignored --rand-regex-url - 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. + 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. --max-repeat 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] --dump-urls @@ -150,8 +150,14 @@ Options: Content-Type. -a Basic authentication, username:password + -x + HTTP proxy + --proxy-http-version + HTTP version to connect to proxy. Available values 0.9, 1.0, 1.1, 2. + --proxy-http2 + Use HTTP/2 to connect to proxy. Shorthand for --proxy-http-version=2 --http-version - HTTP version. Available values 0.9, 1.0, 1.1. + HTTP version. Available values 0.9, 1.0, 1.1, 2. --http2 Use HTTP/2. Shorthand for --http-version=2 --host