From a1c91f17465deab4015d28cf6652d7a5c716ffa1 Mon Sep 17 00:00:00 2001 From: Benjamin Fry Date: Mon, 15 Mar 2021 14:42:18 -0700 Subject: [PATCH] prepare 0.20.1 release --- CHANGELOG.md | 22 ++++++++++++++++++++++ Cargo.lock | 26 +++++++++++++------------- bin/Cargo.toml | 20 ++++++++++---------- crates/async-std-resolver/Cargo.toml | 6 +++--- crates/client/Cargo.toml | 6 +++--- crates/https/Cargo.toml | 6 +++--- crates/native-tls/Cargo.toml | 4 ++-- crates/openssl/Cargo.toml | 4 ++-- crates/proto/Cargo.toml | 2 +- crates/resolver/Cargo.toml | 12 ++++++------ crates/rustls/Cargo.toml | 4 ++-- crates/server/Cargo.toml | 14 +++++++------- tests/compatibility-tests/Cargo.toml | 4 ++-- tests/integration-tests/Cargo.toml | 16 ++++++++-------- util/Cargo.toml | 8 ++++---- 15 files changed, 88 insertions(+), 66 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce5b7acd..2582aec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,28 @@ This project adheres to [Semantic Versioning](http://semver.org/). All notes should be prepended with the location of the change, e.g. `(proto)` or `(resolver)`. +## 0.20.1 + +### Added + +- (proto) HINFO record type support (@vlad20012) #1361 +- (proto) proto: add into_parts methods (@leshow) #1397 +- (proto) new HTTPS and SVCB record types #1402 +- (resolver) predefined Quad9 HTTPS resolver configuration (@zonyitoo) #1413 +### Fixed + +- (proto) Don't kill a DnsExchangeBackground if a receiver is gone (see #1276) (@djc) #1356 +- (proto) Take the current header truncated bit into account (@ilaidlaw) #1384 +### Changed + +- (async-std-resolver) Re-export AsyncStdConnection(Provider) (@romanb) #1354 +- (proto) Mutate edns & remove edns options (@leshow) #1363 +- (proto) Change Edns set_* to -> &mut Self (@leshow) #1369 +- (resolver) Enable RuntimeProvider in DoT implementations (@chengyuhui) #1373 +- (proto) Optimize name parsing (@saethlin) #1388 +- (proto) Remove a lot of bounds checks in BinDecoder by tracking position with a second slice (@saethlin) #1399 +- (proto) Make errors/error reporting more lightweight (@saethlin) #1409 + ## 0.20.0 ### Changed diff --git a/Cargo.lock b/Cargo.lock index 3a518d76..cfc80354 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -158,7 +158,7 @@ dependencies = [ [[package]] name = "async-std-resolver" -version = "0.20.0" +version = "0.20.1" dependencies = [ "async-std", "async-trait", @@ -1635,7 +1635,7 @@ dependencies = [ [[package]] name = "trust-dns" -version = "0.20.0" +version = "0.20.1" dependencies = [ "chrono", "clap", @@ -1659,7 +1659,7 @@ dependencies = [ [[package]] name = "trust-dns-client" -version = "0.20.0" +version = "0.20.1" dependencies = [ "cfg-if 1.0.0", "chrono", @@ -1684,7 +1684,7 @@ dependencies = [ [[package]] name = "trust-dns-compatibility" -version = "0.20.0" +version = "0.20.1" dependencies = [ "chrono", "data-encoding", @@ -1697,7 +1697,7 @@ dependencies = [ [[package]] name = "trust-dns-https" -version = "0.20.0" +version = "0.20.1" dependencies = [ "bytes", "cfg-if 1.0.0", @@ -1720,7 +1720,7 @@ dependencies = [ [[package]] name = "trust-dns-integration" -version = "0.20.0" +version = "0.20.1" dependencies = [ "chrono", "env_logger", @@ -1744,7 +1744,7 @@ dependencies = [ [[package]] name = "trust-dns-native-tls" -version = "0.20.0" +version = "0.20.1" dependencies = [ "futures-channel", "futures-util", @@ -1756,7 +1756,7 @@ dependencies = [ [[package]] name = "trust-dns-openssl" -version = "0.20.0" +version = "0.20.1" dependencies = [ "futures-channel", "futures-util", @@ -1768,7 +1768,7 @@ dependencies = [ [[package]] name = "trust-dns-proto" -version = "0.20.0" +version = "0.20.1" dependencies = [ "async-trait", "backtrace", @@ -1800,7 +1800,7 @@ dependencies = [ [[package]] name = "trust-dns-resolver" -version = "0.20.0" +version = "0.20.1" dependencies = [ "cfg-if 1.0.0", "env_logger", @@ -1830,7 +1830,7 @@ dependencies = [ [[package]] name = "trust-dns-rustls" -version = "0.20.0" +version = "0.20.1" dependencies = [ "futures-channel", "futures-io", @@ -1846,7 +1846,7 @@ dependencies = [ [[package]] name = "trust-dns-server" -version = "0.20.0" +version = "0.20.1" dependencies = [ "async-trait", "bytes", @@ -1878,7 +1878,7 @@ dependencies = [ [[package]] name = "trust-dns-util" -version = "0.20.0" +version = "0.20.1" dependencies = [ "clap", "console", diff --git a/bin/Cargo.toml b/bin/Cargo.toml index b68a0592..639f7cd6 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -77,18 +77,18 @@ futures = { version = "0.3.5", default-features = false, features = ["std"] } log = "0.4" rustls = { version = "0.19", optional = true } tokio = { version = "1.0", features = ["time"] } -trust-dns-client = { version = "0.20.0", path = "../crates/client" } -trust-dns-openssl = { version = "0.20.0", path = "../crates/openssl", optional = true } -trust-dns-proto = { version = "0.20.0", path = "../crates/proto" } -trust-dns-rustls = { version = "0.20.0", path = "../crates/rustls", optional = true } -trust-dns-server = { version = "0.20.0", path = "../crates/server" } +trust-dns-client = { version = "0.20.1", path = "../crates/client" } +trust-dns-openssl = { version = "0.20.1", path = "../crates/openssl", optional = true } +trust-dns-proto = { version = "0.20.1", path = "../crates/proto" } +trust-dns-rustls = { version = "0.20.1", path = "../crates/rustls", optional = true } +trust-dns-server = { version = "0.20.1", path = "../crates/server" } [dev-dependencies] env_logger = "0.8" native-tls = "0.2" regex = "1.3.4" -trust-dns-proto = { version = "0.20.0", path = "../crates/proto", features = ["testing"] } -trust-dns-native-tls = { version = "0.20.0", path = "../crates/native-tls" } -trust-dns-https = { version = "0.20.0", path = "../crates/https" } -trust-dns-resolver = { version = "0.20.0", path = "../crates/resolver" } +trust-dns-proto = { version = "0.20.1", path = "../crates/proto", features = ["testing"] } +trust-dns-native-tls = { version = "0.20.1", path = "../crates/native-tls" } +trust-dns-https = { version = "0.20.1", path = "../crates/https" } +trust-dns-resolver = { version = "0.20.1", path = "../crates/resolver" } webpki-roots = "0.21" diff --git a/crates/async-std-resolver/Cargo.toml b/crates/async-std-resolver/Cargo.toml index b5a25a90..9029efde 100644 --- a/crates/async-std-resolver/Cargo.toml +++ b/crates/async-std-resolver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-std-resolver" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -69,8 +69,8 @@ async-trait = "0.1.36" futures-io = { version = "0.3.5", default-features = false, features = ["std"] } futures-util = { version = "0.3.5", default-features = false, features = ["std"] } pin-utils = "0.1.0" -trust-dns-resolver = { version = "0.20.0", path = "../resolver", default-features = false } +trust-dns-resolver = { version = "0.20.1", path = "../resolver", default-features = false } [dev-dependencies] async-std = { version = "1.6", features = ["attributes"] } -trust-dns-resolver = { version = "0.20.0", path = "../resolver", default-features = false, features = ["testing"] } +trust-dns-resolver = { version = "0.20.1", path = "../resolver", default-features = false, features = ["testing"] } diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml index 7e94fe26..be8611ce 100644 --- a/crates/client/Cargo.toml +++ b/crates/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-client" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -81,8 +81,8 @@ rustls = { version = "0.19", optional = true } serde = { version = "1.0", features = ["derive"], optional = true } thiserror = "1.0.20" tokio = { version = "1.0", features = ["rt"] } -trust-dns-https = { version = "0.20.0", path = "../https", optional = true } -trust-dns-proto = { version = "0.20.0", path = "../proto", features = ["dnssec"]} +trust-dns-https = { version = "0.20.1", path = "../https", optional = true } +trust-dns-proto = { version = "0.20.1", path = "../proto", features = ["dnssec"]} webpki = { version = "0.21", optional = true } [dev-dependencies] diff --git a/crates/https/Cargo.toml b/crates/https/Cargo.toml index 5a71bf7b..9b1c3357 100644 --- a/crates/https/Cargo.toml +++ b/crates/https/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-https" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -59,8 +59,8 @@ thiserror = "1.0.20" tokio = { version = "1.0", features = ["io-util", "net", "rt"] } tokio-rustls = "0.22.0" # disables default features, i.e. openssl... -trust-dns-proto = { version = "0.20.0", path = "../proto", features = ["tokio-runtime"], default-features = false } -trust-dns-rustls = { version = "0.20.0", path = "../rustls", default-features = false } +trust-dns-proto = { version = "0.20.1", path = "../proto", features = ["tokio-runtime"], default-features = false } +trust-dns-rustls = { version = "0.20.1", path = "../rustls", default-features = false } webpki-roots = "0.21" webpki = "0.21" diff --git a/crates/native-tls/Cargo.toml b/crates/native-tls/Cargo.toml index 058fdf94..af1feaa9 100644 --- a/crates/native-tls/Cargo.toml +++ b/crates/native-tls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-native-tls" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -53,7 +53,7 @@ native-tls = "0.2" tokio = "1.0" tokio-native-tls = "0.3.0" # disables default features, i.e. openssl... -trust-dns-proto = { version = "0.20.0", path = "../proto", features = ["tokio-runtime"], default-features = false } +trust-dns-proto = { version = "0.20.1", path = "../proto", features = ["tokio-runtime"], default-features = false } [dev-dependencies] diff --git a/crates/openssl/Cargo.toml b/crates/openssl/Cargo.toml index fb844c73..0f0e14e4 100644 --- a/crates/openssl/Cargo.toml +++ b/crates/openssl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-openssl" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -52,7 +52,7 @@ futures-util = { version = "0.3.5", default-features = false, features = ["std"] openssl = { version = "0.10", features = ["v102", "v110"] } tokio-openssl = "0.6.0" tokio = "1.0" -trust-dns-proto = { version = "0.20.0", path = "../proto", features = ["openssl"] } +trust-dns-proto = { version = "0.20.1", path = "../proto", features = ["openssl"] } [dev-dependencies] openssl = { version = "0.10", features = ["v102", "v110"] } diff --git a/crates/proto/Cargo.toml b/crates/proto/Cargo.toml index 8a7cc7f5..d8f28d1b 100644 --- a/crates/proto/Cargo.toml +++ b/crates/proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-proto" -version = "0.20.0" +version = "0.20.1" edition = "2018" authors = ["Benjamin Fry "] diff --git a/crates/resolver/Cargo.toml b/crates/resolver/Cargo.toml index 9f493e48..d8030218 100644 --- a/crates/resolver/Cargo.toml +++ b/crates/resolver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-resolver" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -81,11 +81,11 @@ tokio = { version = "1.0", optional = true } tokio-native-tls = { version = "0.3", optional = true } tokio-openssl = { version = "0.6.0", optional = true } tokio-rustls = { version = "0.22", optional = true } -trust-dns-https = { version = "0.20.0", path = "../https", optional = true } -trust-dns-native-tls = { version = "0.20.0", path = "../native-tls", optional = true } -trust-dns-openssl = { version = "0.20.0", path = "../openssl", optional = true } -trust-dns-proto = { version = "0.20.0", path = "../proto", default-features = false } -trust-dns-rustls = { version = "0.20.0", path = "../rustls", optional = true } +trust-dns-https = { version = "0.20.1", path = "../https", optional = true } +trust-dns-native-tls = { version = "0.20.1", path = "../native-tls", optional = true } +trust-dns-openssl = { version = "0.20.1", path = "../openssl", optional = true } +trust-dns-proto = { version = "0.20.1", path = "../proto", default-features = false } +trust-dns-rustls = { version = "0.20.1", path = "../rustls", optional = true } webpki-roots = { version = "0.21", optional = true } [target.'cfg(windows)'.dependencies] diff --git a/crates/rustls/Cargo.toml b/crates/rustls/Cargo.toml index a29c6564..651dda1a 100644 --- a/crates/rustls/Cargo.toml +++ b/crates/rustls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-rustls" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -55,7 +55,7 @@ rustls = "0.19" tokio = { version = "1.0", features = ["io-util", "net"] } tokio-rustls = { version = "0.22", features = ["early-data"] } # disables default features, i.e. openssl... -trust-dns-proto = { version = "0.20.0", path = "../proto", features = ["tokio-runtime"], default-features = false } +trust-dns-proto = { version = "0.20.1", path = "../proto", features = ["tokio-runtime"], default-features = false } webpki = "0.21" [dev-dependencies] diff --git a/crates/server/Cargo.toml b/crates/server/Cargo.toml index 3119f218..4b2f54c8 100644 --- a/crates/server/Cargo.toml +++ b/crates/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-server" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -91,9 +91,9 @@ tokio = { version = "1.0", features = ["net"] } tokio-openssl = { version = "0.6.0", optional = true } tokio-rustls = { version = "0.22", optional = true } toml = "0.5" -trust-dns-client= { version = "0.20.0", path = "../client" } -trust-dns-https = { version = "0.20.0", path = "../https", optional = true } -trust-dns-proto = { version = "0.20.0", path = "../proto" } -trust-dns-openssl = { version = "0.20.0", path = "../openssl", optional = true } -trust-dns-resolver = { version = "0.20.0", path = "../resolver", features = ["serde-config"], optional = true } -trust-dns-rustls = { version = "0.20.0", path = "../rustls", optional = true } +trust-dns-client= { version = "0.20.1", path = "../client" } +trust-dns-https = { version = "0.20.1", path = "../https", optional = true } +trust-dns-proto = { version = "0.20.1", path = "../proto" } +trust-dns-openssl = { version = "0.20.1", path = "../openssl", optional = true } +trust-dns-resolver = { version = "0.20.1", path = "../resolver", features = ["serde-config"], optional = true } +trust-dns-rustls = { version = "0.20.1", path = "../rustls", optional = true } diff --git a/tests/compatibility-tests/Cargo.toml b/tests/compatibility-tests/Cargo.toml index d83bc334..5f322f39 100644 --- a/tests/compatibility-tests/Cargo.toml +++ b/tests/compatibility-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-compatibility" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -52,4 +52,4 @@ env_logger = "0.8" futures = "0.3.5" openssl = { version = "0.10", features = ["v102", "v110"] } rand = "0.8" -trust-dns-client= { version = "0.20.0", path="../../crates/client", features = ["dnssec-openssl"] } +trust-dns-client= { version = "0.20.1", path="../../crates/client", features = ["dnssec-openssl"] } diff --git a/tests/integration-tests/Cargo.toml b/tests/integration-tests/Cargo.toml index ef877ae9..5673c3c4 100644 --- a/tests/integration-tests/Cargo.toml +++ b/tests/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-integration" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -78,14 +78,14 @@ rand = "0.8" rusqlite = { version = "0.24.0", features = ["bundled"] } rustls = "0.19" tokio = { version = "1.0", features = ["time", "rt"] } -trust-dns-client= { version = "0.20.0", path = "../../crates/client" } -trust-dns-https = { version = "0.20.0", path = "../../crates/https" } -trust-dns-openssl = { version = "0.20.0", path = "../../crates/openssl" } -trust-dns-proto = { version = "0.20.0", path = "../../crates/proto", features = ["testing"] } -trust-dns-resolver = { version = "0.20.0", path = "../../crates/resolver" } -trust-dns-rustls = { version = "0.20.0", path = "../../crates/rustls" } +trust-dns-client= { version = "0.20.1", path = "../../crates/client" } +trust-dns-https = { version = "0.20.1", path = "../../crates/https" } +trust-dns-openssl = { version = "0.20.1", path = "../../crates/openssl" } +trust-dns-proto = { version = "0.20.1", path = "../../crates/proto", features = ["testing"] } +trust-dns-resolver = { version = "0.20.1", path = "../../crates/resolver" } +trust-dns-rustls = { version = "0.20.1", path = "../../crates/rustls" } # TODO: fixup tests to not require openssl -trust-dns-server = { version = "0.20.0", path = "../../crates/server" } +trust-dns-server = { version = "0.20.1", path = "../../crates/server" } webpki-roots = { version = "0.21", optional = true } [dev-dependencies] diff --git a/util/Cargo.toml b/util/Cargo.toml index 1d884bd4..128d0d58 100644 --- a/util/Cargo.toml +++ b/util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-util" -version = "0.20.0" +version = "0.20.1" authors = ["Benjamin Fry "] edition = "2018" @@ -59,9 +59,9 @@ clap = "2.33.1" console = "0.14.0" data-encoding = "2.2.0" env_logger = { version = "0.8.1", features = ["termcolor", "humantime", "atty"] } -trust-dns-client= { version = "0.20.0", features = ["dnssec-openssl"], path = "../crates/client" } -trust-dns-proto = { version = "0.20.0", features = ["dnssec-openssl"], path = "../crates/proto" } -trust-dns-resolver = { version = "0.20.0", features = ["dnssec-openssl"], path = "../crates/resolver" } +trust-dns-client= { version = "0.20.1", features = ["dnssec-openssl"], path = "../crates/client" } +trust-dns-proto = { version = "0.20.1", features = ["dnssec-openssl"], path = "../crates/proto" } +trust-dns-resolver = { version = "0.20.1", features = ["dnssec-openssl"], path = "../crates/resolver" } log = "0.4" openssl = { version = "0.10", features = ["v102", "v110"] } structopt = "0.3"