Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update hickory dns crates #27137

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

chore: update hickory dns crates #27137

wants to merge 3 commits into from

Conversation

lucacasonato
Copy link
Member

It seems that thiserror has gone from 1.x to 2.x. I have updated this repo to 2.x (hickory is using 2.x now). We will need to migrate over all of our deno_* dependencies to also use 2.x at some point. We also have 5 or 6 third party dependencies that have dependencies on thiserror 1.x. This will likely haunt us for a while still.

It seems that `thiserror` has gone from 1.x to 2.x. I have updated this repo to 2.x (hickory is using 2.x now). We will need to migrate over all of our `deno_*` dependencies to also use 2.x at some point. We also have 5 or 6 third party dependencies that have dependencies on `thiserror 1.x`. This will likely haunt us for a while still.
{
NetError::DnsNotFound(e)
}
ResolveErrorKind::Proto(ProtoError { kind, .. })
Copy link

@djc djc Nov 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that this is the correct change -- in fact, the previous version of the match arm (for ResolveErrorKind::Message("No connections available"), originally from 25771b3) hasn't been effective for a while now (a NoConnections variant, first in ResolveErrorKind, now in ProtoErrorKind, has been around since trust-dns-resolver 0.21, from Feb 2022).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants