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(deps): bump domain from 0.9.3 to 0.10.0 #828

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 7, 2024

Bumps domain from 0.9.3 to 0.10.0.

Release notes

Sourced from domain's releases.

0.10.0

Breaking changes

  • All types and functions referring to domain names have been changed from using the term “dname” to just “name.” For instance, Dname has become Name, ToDname has become ToName, and ToDname::to_dname has become ToName::to_name. (#290)
  • The ToName and ToRelativeName traits have been changed to have a pair of methods a la try_to_name and to_name for octets builders with limited and unlimited buffers, reflecting the pattern used elsewhere. (#285)
  • The types for IANA-registered parameters in base::iana have been changed from enums to a newtypes around their underlying integer type and associated constants for the registered values. (This was really always the better way to structure this.) (#276, #298)
  • The Txt record data type now rejects empty record data as invalid. As a consequence TxtBuilder converts an empty builder into TXT record data consisting of one empty character string which requires TxtBuilder::finish to be able to return an error. (#267)
  • Txt record data serialization has been redesigned. It now serialized as a sequence of character strings. It also deserializes from such a sequence. If supported by the format, it alternatively deserializes from a string that is broken up into 255 octet chunks if necessary. (#268)
  • The text formatting for CharStr has been redesigned. The Display impl now uses a modified version of the representation format that doesn’t escape white space but also doesn’t enclose the string in quotes. Methods for explicitly formatting in quoted and unquoted presentation format are provided. (#270)
  • The validate::RrsigExt trait now accepts anything that impls AsRef<Record<..>> to allow the use of smart pointers. (#288 by [@​hunts])
  • The stub resolver now uses the new client transports. This doesn’t change how it is used but does change how it queries the configured servers. (#215)
  • The sub resolver’s server configuration Transport type has been changed to be either Transport::UdpTcp for trying UDP and if that leads to a truncated answer try TCP and Transport::Tcp for only trying TCP. The stub resolver uses these accordingly now (#296)
  • Many error types have been changed from enums to structs that hide internal error details. Enums have been kept for errors where distinguishing variants might be meaningful for dealing with the error. (#277)
  • Renamed Dnskey::is_zsk to is_zone_key. (#292)
  • Split RRSIG timestamp handling from Serial into a new type rdata::dnssec::Timestamp. (#294)
  • Upgraded octseq to 0.5. (#257)
  • The minimum Rust version is now 1.70. (#304)

New

  • Add impls for AsRef<RelativeDname<[u8]>> and Borrow<RelativeDname<[u8]>> to RelativeDname<_>. (#251 by [@​torin-carey])
  • Added name::Chain::fmt_with_dots to format an absolute chained name with a final dot. (#253)
  • Added a new ParseAnyRecordData trait for record data types that can parse any type of record data. (#256)
  • Added implementations of OctetsFrom and Debug to AllOptData and the specific options types that didn’t have them yet. (#257)
  • Added missing ordering impls to ZoneRecordData, AllRecordData, Opt, and SvcbRdata. (#293)
  • Added Name::reverse_from_addr that creates a domain name for the reverse lookup of an IP address. (#289)
  • Added OptBuilder::clone_from to replace the OPT record with the content of another OPT record. (#299)
  • Added Message::for_slice_ref that returns a Message<&[u8]>. (#300)

Bug fixes

  • Fixed the display implementation of name::Chain<_, _>. (#253)
  • Fixed the display implementation of rdata::Txt<..>. It now displays each embedded character string separately in quoted form. (#259)
  • Fixed the extended part returned by OptRcode::to_parts (it was shifted by 4 bits too many) and return all 12 bits for the Int variant in OptRcode::to_int. (#258)
  • Fixed a bug in the inplace zonefile parser that made it reject character string of length 255. (#284)

Unstable features

  • Added the module net::client with experimental support for client message transport, i.e., sending of requests and receiving responses as well as caching of responses. This is gated by the unstable-client-transport feature. (#215,#275)
  • Added the module net::server with experimental support for server transports, processing requests through a middleware chain and a service trait. This is gated by the unstable-server-transport feature. (#274)
  • Added the module zonetree providing basic traits representing a collection of zones and their data. The zonetree::in_memory module provides an in-memory implementation. The zonetree::parsed module provides a way to classify RRsets before inserting them into a tree. This is gated by the unstable-zonetree feature. (#286)

#215: NLnetLabs/domain#215 #251: NLnetLabs/domain#251 #253: NLnetLabs/domain#253 #256: NLnetLabs/domain#256

... (truncated)

Changelog

Sourced from domain's changelog.

0.10.0

Released 2024-04-30.

Breaking changes

  • All types and functions referring to domain names have been changed from using the term “dname” to just “name.” For instance, Dname has become Name, ToDname has become ToName, and ToDname::to_dname has become ToName::to_name. (#290)
  • The ToName and ToRelativeName traits have been changed to have a pair of methods a la try_to_name and to_name for octets builders with limited and unlimited buffers, reflecting the pattern used elsewhere. (#285)
  • The types for IANA-registered parameters in base::iana have been changed from enums to a newtypes around their underlying integer type and associated constants for the registered values. (This was really always the better way to structure this.) (#276, #298)
  • The Txt record data type now rejects empty record data as invalid. As a consequence TxtBuilder converts an empty builder into TXT record data consisting of one empty character string which requires TxtBuilder::finish to be able to return an error. (#267)
  • Txt record data serialization has been redesigned. It now serialized as a sequence of character strings. It also deserializes from such a sequence. If supported by the format, it alternatively deserializes from a string that is broken up into 255 octet chunks if necessary. (#268)
  • The text formatting for CharStr has been redesigned. The Display impl now uses a modified version of the representation format that doesn’t escape white space but also doesn’t enclose the string in quotes. Methods for explicitly formatting in quoted and unquoted presentation format are provided. (#270)
  • The validate::RrsigExt trait now accepts anything that impls AsRef<Record<..>> to allow the use of smart pointers. (#288 by [@​hunts])
  • The stub resolver now uses the new client transports. This doesn’t change how it is used but does change how it queries the configured servers. (#215)
  • The sub resolver’s server configuration Transport type has been changed to be either Transport::UdpTcp for trying UDP and if that leads to a truncated answer try TCP and Transport::Tcp for only trying TCP. The stub resolver uses these accordingly now (#296)
  • Many error types have been changed from enums to structs that hide internal error details. Enums have been kept for errors where distinguishing variants might be meaningful for dealing with the error. (#277)
  • Renamed Dnskey::is_zsk to is_zone_key. (#292)
  • Split RRSIG timestamp handling from Serial into a new type rdata::dnssec::Timestamp. (#294)
  • Upgraded octseq to 0.5. (#257)
  • The minimum Rust version is now 1.70. (#304)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added domain: deps Anything related to dependencies no-changelog Changes in this PR do not need user-facing explanations in the release changelog labels May 7, 2024
@pront
Copy link
Contributor

pront commented May 7, 2024

@esensar perhaps you want to take a look

@esensar
Copy link
Contributor

esensar commented May 7, 2024

@esensar perhaps you want to take a look

Some updates are needed, but it shouldn't be complicated.

@esensar
Copy link
Contributor

esensar commented May 7, 2024

I can't push to this branch. Should I open a PR into this branch?

Also, I have a small issues with example tests. Since response here contains an id (which may or may not be useful, I kept it there to match dnstap format) which changes every response, I can't have hardcoded result for examples. That causes example tests to fail. Do you have a suggestion on how to handle this? I guess we can also just remove id from response, but maybe it can be useful in some scenarios?

@pront
Copy link
Contributor

pront commented May 7, 2024

I can't push to this branch. Should I open a PR into this branch?

Feel free to open a new PR for the dependency update, I think that's the easiest path forward.

Also, I have a small issues with example tests.
In the VRL repo or the Vector repo?
For Vector we have this option.

@esensar
Copy link
Contributor

esensar commented May 7, 2024

I can't push to this branch. Should I open a PR into this branch?

Feel free to open a new PR for the dependency update, I think that's the easiest path forward.

Also, I have a small issues with example tests.
In the VRL repo or the Vector repo?
For Vector we have this option.

In the VRL repo. I looked into the test runner for that and didn't see an existing option.

Bumps [domain](https://github.com/nlnetlabs/domain) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/nlnetlabs/domain/releases)
- [Changelog](https://github.com/NLnetLabs/domain/blob/main/Changelog.md)
- [Commits](NLnetLabs/domain@v0.9.3...v0.10.0)

---
updated-dependencies:
- dependency-name: domain
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/domain-0.10.0 branch from 3f769a0 to f0378b3 Compare May 7, 2024 18:38
Copy link
Contributor Author

dependabot bot commented on behalf of github May 10, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/domain-0.10.0 branch May 10, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: deps Anything related to dependencies no-changelog Changes in this PR do not need user-facing explanations in the release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants