prepare 0.21.0 for release

This commit is contained in:
Benjamin Fry 2022-02-25 16:05:17 -08:00
parent 3eeee752fa
commit cca5155317
15 changed files with 61 additions and 71 deletions

View File

@ -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

49
Cargo.lock generated
View File

@ -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"

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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"

View File

@ -1,6 +1,6 @@
[package]
name = "async-std-resolver"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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"] }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-client"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-https"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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 }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-native-tls"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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 }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-openssl"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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"] }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-proto"
version = "0.21.0-alpha.5"
version = "0.21.0"
edition = "2018"
authors = ["Benjamin Fry <benjaminfry@me.com>"]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-resolver"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-rustls"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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 }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-server"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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"] }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-compatibility"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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"] }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-integration"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-util"
version = "0.21.0-alpha.5"
version = "0.21.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
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"] }