From cca515531772bb91b5d8f8abbc9583350221e06d Mon Sep 17 00:00:00 2001 From: Benjamin Fry Date: Fri, 25 Feb 2022 16:05:17 -0800 Subject: [PATCH] prepare 0.21.0 for release --- CHANGELOG.md | 9 +++-- Cargo.lock | 49 ++++++++++------------------ bin/Cargo.toml | 12 +++---- crates/async-std-resolver/Cargo.toml | 6 ++-- crates/client/Cargo.toml | 4 +-- crates/https/Cargo.toml | 4 +-- crates/native-tls/Cargo.toml | 4 +-- crates/openssl/Cargo.toml | 4 +-- crates/proto/Cargo.toml | 2 +- crates/resolver/Cargo.toml | 4 +-- crates/rustls/Cargo.toml | 4 +-- crates/server/Cargo.toml | 8 ++--- tests/compatibility-tests/Cargo.toml | 4 +-- tests/integration-tests/Cargo.toml | 10 +++--- util/Cargo.toml | 8 ++--- 15 files changed, 61 insertions(+), 71 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dcd39ab..9df7fc34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,11 @@ This project adheres to [Semantic Versioning](https://semver.org/). All notes should be prepended with the location of the change, e.g. `(proto)` or `(resolver)`. -## 0.21.0 (unreleased) +## 0.21.0 ### Added +- (client) Parse DS records (@kmkaplan) #1635 - (fuzz) Added fuzzing configuration (@saethlin) #1626 - (resolver) Add `resolver.clear_cache()` sync and async (dns2utf8) #1611 - (proto) Add CDS/CDNSKEY records from RFC7344 (frelon) #1595 @@ -21,6 +22,8 @@ All notes should be prepended with the location of the change, e.g. `(proto)` or ### Changed +- (util) openssl is no longer default enabled in trust-dns-utils, bins marked as required as necessary #1644 +- (proto) deprecate outdated dnssec algorithms #1640 - (server) pass RequestInfo into Authority on search #1620 - (proto) SSHFP: Ed448 is assigned algorithm 6 in RFC 8709 #1604 - (resolver) Do not retry the same name server on a negative response (@peterthejohnston) #1589 @@ -51,6 +54,7 @@ All notes should be prepended with the location of the change, e.g. `(proto)` or ### Removed +- (all) removed `structopt` dependency #1644 - (all) removed `chrono` dependency #1569 - (client) Remove AsyncClientConnect and AsyncSecureClientConnect (future impls) in favor of async constructors (@ErwanDL) #1541 - (proto) removed `RecordType::DNSSEC` and moved all variants of `DNSSECRecordType` into `RecordType` #1506 @@ -59,8 +63,9 @@ All notes should be prepended with the location of the change, e.g. `(proto)` or ### Fixed +- (proto) fix CAA .to_string() crash and format (@hartshorne) #1631 - (proto) fix DoubleEndedIterator impl for Name #1639 -- (client) Fix AsyncClient::clone always setting use_edns (ecton) #1598 +- (client) Fix AsyncClient::clone always setting use_edns (@ecton) #1598 - (resolver) Use stream connections if datagram connections are not available (@pinkisemils) #1592 - (server) Release resources when a server future is dropped (@pinkisemils) #1587 - (proto) Panic when name exceeds maximal domain name length during display #1447 diff --git a/Cargo.lock b/Cargo.lock index 1c7b1c61..345ea520 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -173,7 +173,7 @@ dependencies = [ [[package]] name = "async-std-resolver" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "async-std", "async-trait", @@ -315,7 +315,7 @@ version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01d42c94ce7c2252681b5fed4d3627cc807b13dfc033246bd05d5b252399000e" dependencies = [ - "heck 0.4.0", + "heck", "proc-macro-error", "proc-macro2", "quote", @@ -402,11 +402,11 @@ checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" [[package]] name = "enum-as-inner" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c5f0096a91d210159eceb2ff5e1c4da18388a170e1e3ce948aac9c8fdbbf595" +checksum = "570d109b813e904becc80d8d5da38376818a143348413f7149f1340fe04754d4" dependencies = [ - "heck 0.3.3", + "heck", "proc-macro2", "quote", "syn", @@ -660,15 +660,6 @@ dependencies = [ "hashbrown", ] -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "heck" version = "0.4.0" @@ -1603,7 +1594,7 @@ dependencies = [ [[package]] name = "trust-dns" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "clap", "env_logger", @@ -1623,7 +1614,7 @@ dependencies = [ [[package]] name = "trust-dns-client" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "cfg-if", "data-encoding", @@ -1647,7 +1638,7 @@ dependencies = [ [[package]] name = "trust-dns-compatibility" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "data-encoding", "env_logger", @@ -1660,14 +1651,14 @@ dependencies = [ [[package]] name = "trust-dns-https" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "trust-dns-proto", ] [[package]] name = "trust-dns-integration" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "async-trait", "env_logger", @@ -1689,21 +1680,21 @@ dependencies = [ [[package]] name = "trust-dns-native-tls" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "trust-dns-proto", ] [[package]] name = "trust-dns-openssl" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "trust-dns-proto", ] [[package]] name = "trust-dns-proto" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "async-trait", "backtrace", @@ -1746,7 +1737,7 @@ dependencies = [ [[package]] name = "trust-dns-resolver" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "cfg-if", "env_logger", @@ -1772,14 +1763,14 @@ dependencies = [ [[package]] name = "trust-dns-rustls" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "trust-dns-proto", ] [[package]] name = "trust-dns-server" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "async-trait", "bytes", @@ -1808,7 +1799,7 @@ dependencies = [ [[package]] name = "trust-dns-util" -version = "0.21.0-alpha.5" +version = "0.21.0" dependencies = [ "clap", "console", @@ -1840,12 +1831,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-segmentation" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" - [[package]] name = "unicode-width" version = "0.1.8" diff --git a/bin/Cargo.toml b/bin/Cargo.toml index 6d6fcfdf..16c6fb22 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -77,14 +77,14 @@ log = "0.4" rustls = { version = "0.20", optional = true } time = "0.3" tokio = { version = "1.0", features = ["time"] } -trust-dns-client = { version = "0.21.0-alpha.5", path = "../crates/client" } -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../crates/proto" } -trust-dns-server = { version = "0.21.0-alpha.5", path = "../crates/server" } +trust-dns-client = { version = "0.21.0", path = "../crates/client" } +trust-dns-proto = { version = "0.21.0", path = "../crates/proto" } +trust-dns-server = { version = "0.21.0", path = "../crates/server" } [dev-dependencies] env_logger = "0.9" native-tls = "0.2" regex = "1.3.4" -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../crates/proto", features = ["testing", "dns-over-native-tls"] } -trust-dns-resolver = { version = "0.21.0-alpha.5", path = "../crates/resolver" } +trust-dns-proto = { version = "0.21.0", path = "../crates/proto", features = ["testing", "dns-over-native-tls"] } +trust-dns-resolver = { version = "0.21.0", path = "../crates/resolver" } webpki-roots = "0.22.1" diff --git a/crates/async-std-resolver/Cargo.toml b/crates/async-std-resolver/Cargo.toml index 8097488b..41dedaf3 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.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -69,9 +69,9 @@ async-trait = "0.1.43" 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.21.0-alpha.5", path = "../resolver", default-features = false } +trust-dns-resolver = { version = "0.21.0", path = "../resolver", default-features = false } socket2 = "0.4.2" [dev-dependencies] async-std = { version = "1.6", features = ["attributes"] } -trust-dns-resolver = { version = "0.21.0-alpha.5", path = "../resolver", default-features = false, features = ["testing"] } +trust-dns-resolver = { version = "0.21.0", path = "../resolver", default-features = false, features = ["testing"] } diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml index d76c5d92..916ad3ba 100644 --- a/crates/client/Cargo.toml +++ b/crates/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-client" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -82,7 +82,7 @@ serde = { version = "1.0", features = ["derive"], optional = true } thiserror = "1.0.20" time = "0.3" tokio = { version = "1.0", features = ["rt"] } -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../proto"} +trust-dns-proto = { version = "0.21.0", path = "../proto"} webpki = { version = "0.22.0", optional = true } [dev-dependencies] diff --git a/crates/https/Cargo.toml b/crates/https/Cargo.toml index 9b69a136..79b31a1e 100644 --- a/crates/https/Cargo.toml +++ b/crates/https/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-https" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -47,4 +47,4 @@ name = "trust_dns_https" path = "src/lib.rs" [dependencies] -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../proto", features = ["tokio-runtime", "dns-over-https-rustls"], default-features = false } +trust-dns-proto = { version = "0.21.0", path = "../proto", features = ["tokio-runtime", "dns-over-https-rustls"], default-features = false } diff --git a/crates/native-tls/Cargo.toml b/crates/native-tls/Cargo.toml index 6a9c3b51..d11c91c1 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.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -47,4 +47,4 @@ name = "trust_dns_native_tls" path = "src/lib.rs" [dependencies] -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../proto", features = ["tokio-runtime", "dns-over-native-tls"], default-features = false } +trust-dns-proto = { version = "0.21.0", path = "../proto", features = ["tokio-runtime", "dns-over-native-tls"], default-features = false } diff --git a/crates/openssl/Cargo.toml b/crates/openssl/Cargo.toml index c3b4c535..a3df6616 100644 --- a/crates/openssl/Cargo.toml +++ b/crates/openssl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-openssl" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -47,4 +47,4 @@ name = "trust_dns_openssl" path = "src/lib.rs" [dependencies] -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../proto", features = ["dns-over-openssl"] } +trust-dns-proto = { version = "0.21.0", path = "../proto", features = ["dns-over-openssl"] } diff --git a/crates/proto/Cargo.toml b/crates/proto/Cargo.toml index 40528184..674a53e3 100644 --- a/crates/proto/Cargo.toml +++ b/crates/proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-proto" -version = "0.21.0-alpha.5" +version = "0.21.0" edition = "2018" authors = ["Benjamin Fry "] diff --git a/crates/resolver/Cargo.toml b/crates/resolver/Cargo.toml index baea8dc8..61b84a4d 100644 --- a/crates/resolver/Cargo.toml +++ b/crates/resolver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-resolver" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -82,7 +82,7 @@ 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.23.0", optional = true } -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../proto", default-features = false } +trust-dns-proto = { version = "0.21.0", path = "../proto", default-features = false } webpki-roots = { version = "0.22.1", optional = true } [target.'cfg(windows)'.dependencies] diff --git a/crates/rustls/Cargo.toml b/crates/rustls/Cargo.toml index dc0f8a9d..fa284843 100644 --- a/crates/rustls/Cargo.toml +++ b/crates/rustls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-rustls" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -47,4 +47,4 @@ name = "trust_dns_rustls" path = "src/lib.rs" [dependencies] -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../proto", features = ["tokio-runtime", "dns-over-rustls"], default-features = false } +trust-dns-proto = { version = "0.21.0", path = "../proto", features = ["tokio-runtime", "dns-over-rustls"], default-features = false } diff --git a/crates/server/Cargo.toml b/crates/server/Cargo.toml index a4542444..faec7b4e 100644 --- a/crates/server/Cargo.toml +++ b/crates/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-server" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -93,9 +93,9 @@ tokio = { version = "1.0", features = ["net"] } tokio-openssl = { version = "0.6.0", optional = true } tokio-rustls = { version = "0.23.0", optional = true } toml = "0.5" -trust-dns-client= { version = "0.21.0-alpha.5", path = "../client" } -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../proto" } -trust-dns-resolver = { version = "0.21.0-alpha.5", path = "../resolver", features = ["serde-config"], optional = true } +trust-dns-client= { version = "0.21.0", path = "../client" } +trust-dns-proto = { version = "0.21.0", path = "../proto" } +trust-dns-resolver = { version = "0.21.0", path = "../resolver", features = ["serde-config"], optional = true } [dev-dependencies] tokio = { version="1.0", features = ["macros", "rt"] } diff --git a/tests/compatibility-tests/Cargo.toml b/tests/compatibility-tests/Cargo.toml index e5f94454..2d07adb1 100644 --- a/tests/compatibility-tests/Cargo.toml +++ b/tests/compatibility-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-compatibility" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -52,4 +52,4 @@ futures = "0.3.5" openssl = { version = "0.10", features = ["v102", "v110"] } rand = "0.8" time = "0.3" -trust-dns-client= { version = "0.21.0-alpha.5", path="../../crates/client", features = ["dnssec-openssl"] } +trust-dns-client= { version = "0.21.0", path="../../crates/client", features = ["dnssec-openssl"] } diff --git a/tests/integration-tests/Cargo.toml b/tests/integration-tests/Cargo.toml index b822480d..67338916 100644 --- a/tests/integration-tests/Cargo.toml +++ b/tests/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-integration" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -80,11 +80,11 @@ rusqlite = { version = "0.26.0", features = ["bundled"], optional = true } rustls = "0.20" time = "0.3" tokio = { version = "1.0", features = ["time", "rt"] } -trust-dns-client= { version = "0.21.0-alpha.5", path = "../../crates/client" } -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../../crates/proto", features = ["testing"] } -trust-dns-resolver = { version = "0.21.0-alpha.5", path = "../../crates/resolver" } +trust-dns-client= { version = "0.21.0", path = "../../crates/client" } +trust-dns-proto = { version = "0.21.0", path = "../../crates/proto", features = ["testing"] } +trust-dns-resolver = { version = "0.21.0", path = "../../crates/resolver" } # TODO: fixup tests to not require openssl -trust-dns-server = { version = "0.21.0-alpha.5", path = "../../crates/server", features = ["testing"] } +trust-dns-server = { version = "0.21.0", path = "../../crates/server", features = ["testing"] } webpki-roots = { version = "0.21", optional = true } [dev-dependencies] diff --git a/util/Cargo.toml b/util/Cargo.toml index fa74f16a..33e6f9a3 100644 --- a/util/Cargo.toml +++ b/util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trust-dns-util" -version = "0.21.0-alpha.5" +version = "0.21.0" authors = ["Benjamin Fry "] edition = "2018" @@ -66,9 +66,9 @@ clap = { version = "3.1", default-features = false, features = ["std", "cargo", console = "0.15.0" data-encoding = "2.2.0" env_logger = { version = "0.9.0", features = ["termcolor", "humantime", "atty"] } -trust-dns-client = { version = "0.21.0-alpha.5", path = "../crates/client" } -trust-dns-proto = { version = "0.21.0-alpha.5", path = "../crates/proto" } -trust-dns-resolver = { version = "0.21.0-alpha.5", path = "../crates/resolver" } +trust-dns-client = { version = "0.21.0", path = "../crates/client" } +trust-dns-proto = { version = "0.21.0", path = "../crates/proto" } +trust-dns-resolver = { version = "0.21.0", path = "../crates/resolver" } log = "0.4" openssl = { version = "0.10", features = ["v102", "v110"], optional = true } tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }