From 97b34936c6ed5fb9c29964074e1f4aed1ee68f48 Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Mon, 11 Dec 2023 15:59:29 +0100 Subject: [PATCH] changelog update; preparing v1.10 --- CHANGELOG.md | 62 ++++++++++++++++++++++++++++++++++++++++++++++++---- Cargo.toml | 4 ++-- 2 files changed, 60 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 727797f..3341d69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,30 +1,60 @@ # Unreleased (Yet) +# v1.10.0 (2023-12-11) + +## ttfb lib + +- **BREAKING** Signature of `InvalidUrlError::WrongScheme` changed to `WrongScheme(String)`. +- removed dependency to `regex` + +## ttfb binary + +- reduced binary size from 4.5MB to 3MB (release) + + # v1.9.1 (2023-11-30) -- Improved `--help`. +## ttfb lib + +## ttfb binary + +- Improved `--help` output. + # v1.9.0 (2023-11-30) +## ttfb lib + - **BREAKING** The MSRV of the library is `1.65.0` stable. - The dependency requirements are now less strict. +## ttfb binary + + # v1.8.0 (2023-11-14) + +## ttfb lib + - `ttfb` can no longer panic when `resolv.conf` cannot be found: Huge thanks to _Firaenix_: https://github.com/phip1611/ttfb/pull/26 - **BREAKING** `TtfbError::CantConnectTls`'s inner type has switched from `native_tls::Error` to `rustls_connector::HandshakeError` - **MAYBE BREAKING** Introduced new `TtfbError::CantConfigureDNSError` variant +- The lib no longer depends on `openssl` but only on `rustls` + +## ttfb binary + - The binary is now smaller; it is stripped and uses LTO. This shrinks the size from roughly 14MiB to 4MiB (release build). -- The binary no longer depends on `openssl` but only on `rustls` + # v1.7.0 (2023-09-22) + - **BREAKING** The MSRV of the library is `1.64.0` stable. - **BREAKING** The MSRV of the binary is `1.70.0` stable. - introduced new `DurationPair` struct - **BREAKING** replaced several getters - - replaced `TtfbOutcome::dns_duration_rel` and `TtfbOutcome::dns_duration_abs` +- - replaced `TtfbOutcome::dns_duration_rel` and `TtfbOutcome::dns_duration_abs` with `TtfbOutcome::dns_lookup_duration` which returns a `DurationPair` - replaced `TtfbOutcome::tcp_connect_duration_rel` and `TtfbOutcome::tcp_connect_duration_abs` with `TtfbOutcome::tcp_connect_duration` which returns a `DurationPair` @@ -37,35 +67,49 @@ - dependencies updated - added `TtfbError::NoHttpResponse` + # v1.6.0 (2023-01-26) + - MSRV of the binary is now 1.64.0 - MSRV of the library is 1.57.0 + # v1.5.1 (2022-12-01) + - minor internal improvement + # v1.5.0 (2022-12-01) + - updated dependencies - the MSRV is 1.60.0 for the CLI utility (binary) but still 1.56.1 if you use this crate as library. + # v1.4.0 (2022-06-09) + - small **breaking** change: import paths of `ttfb::outcome::TtfbOutcome` and `ttfb::error::TtfbError` were flattened to `ttfb::{TtfbError, TtfbOutcome}` - small internal code and documentation improvements + # v1.3.1 (2022-03-22) + - bugfix, also allow https for IP-Addresses (`$ ttfb https://1.1.1.1` is valid) - updated dependencies + # v1.3.0 (2022-01-19) + - improved code quality - improved doc - updated dependencies - Rust edition 2021 - MSRV is 1.56.1 stable + # v1.2.0 (2021-07-16) + - added `-k/--insecure` to CLI - added `allow_insecure_certificates` as second parameter to library function @@ -78,21 +122,31 @@ You can also type `$ ttfb --help` now. CLI parsing is backed up by the crate `clap` now. + # v1.1.2 (2021-07-13) + - Typo in README + # v1.1.1 (2021-07-12) + - better error handling - call flush to make sure all the streams are actually committed + # v1.1.0 (2021-07-10) + - better output of CLI - removed Display-trait for struct `TtfbOutcome` - all times are given relative and total + # v1.0.1 (2021-07-09) + - removed "termion" dependency -- cross platform now (Linux, Mac, Windows) +- cross-platform now (Linux, Mac, Windows) + # v1.0.0 (2021-07-09) + - initial release diff --git a/Cargo.toml b/Cargo.toml index fa51fb5..4eb4986 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,9 @@ Library + CLI utility to measure the TTFB (time to first byte) of HTTP(S) requests. This includes data of intermediate steps, such as the relative and absolute timings of DNS lookup, TCP connect, and TLS handshake. """ -version = "1.9.1" +version = "1.10.0" edition = "2021" -rust-version = "1.65" # MSRV of the library +rust-version = "1.65" # MSRV of the library (the MSRV that is smaller) keywords = ["ttfb", "http", "timings", "web"] categories = ["network-programming", "command-line-utilities"] readme = "README.md"