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

build(deps): update fluent-uri requirement from 0.1 to 0.2 #31

Merged
merged 3 commits into from
Aug 31, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 12, 2024

Updates the requirements on fluent-uri to permit the latest version.

Release notes

Sourced from fluent-uri's releases.

fluent-uri v0.2.0

Highlights

  • Added support for building, resolving and normalizing URI references.
  • Renamed Uri to UriRef because it represents a URI reference, not a URI (see #19).
  • Added a type parameter on EStr which represents an encoder determining which characters must be percent-encoded, along with 7 encoders: Userinfo, RegName, Port, Path, Query, Fragment, and Data.
  • Added EString which is a percent-encoded, growable string.
  • Dropped all unsafe code.

Other changes

Added

  • Implemented appropriate traits on all types.
  • Added Scheme::{new, new_or_panic} associated functions.
  • Added Authority::{port_to_u16, socket_addrs} utility methods.
  • Added Uri::has_{scheme, authority, query, fragment} and Authority::has_{userinfo, port} methods.
  • Added {EStr, Authority}::EMPTY constants.
  • Added EStr::{len, is_empty, rsplit_once} methods.
  • Added a type parameter on ParseError which represents the input type and ParseError::{into, strip}_input methods.
  • Added net and serde crate features.

Removed

  • Removed in-place mutable variant of URI reference (Uri<&mut [u8]>) and related APIs.
  • Removed ParseErrorKind enum and ParseError::{index, kind} methods.
  • Removed ipv_future and rfc6874bis crate features.
  • Removed Uri<&str>::dup method as UriRef<&str> is now Copy.
  • Removed Scheme::{to_lowercase, eq_lowercase} methods in favor of the new case-insensitive PartialEq implementation on Scheme.

Changed

  • Merged Uri::parse and Uri::parse_from into UriRef::parse with generics.
  • Authority is now directly borrowed from the string instead of the UriRef.
  • Removed Uri::{is_relative, is_absolute} in favor of the newly added UriRef::is_uri.
  • Removed Host, renamed HostData to Host, changed Authority::host to return &str, and added Authority::host_parsed which returns Host.
  • Changed Host: Ipv6 is now a tuple variant with a single Ipv6Addr field, and IpvFuture is now a non-exhaustive unit variant.
  • Removed the dedicated Path type, moved the utility methods Path::{is_absolute, is_rootless, segments} onto EStr<Path>, and changed UriRef::path to return &EStr<Path>.
  • Changed Authority::port to return Option<&EStr<Port>>.
  • Changed UriRef<String>::borrow to return UriRef<&str>.
  • Changed EStr::new to return Option instead and added EStr::new_or_panic.
  • Changed module structure.
  • Extracted a code pattern into the borrow-or-share crate.
  • Bumped MSRV to 1.65 (was 1.59).
  • Reworked documentation.
Commits
  • 1d1f707 Bump version to 0.2.0
  • b213ab4 Drop type parameter from Builder::port
  • 9d6ff87 Update doc
  • 390682f Improve doc
  • d9247e4 Canonicalize RFC links
  • 08389b3 Improve explanation of terms
  • 9258a81 Swap map and ok calls
  • 9abe9df Make a stronger claim of the property of Uri::resolve_against
  • 3162d54 Remove trailing blank line from doc comments
  • bc7ae3a Simplify Scheme::eq
  • Additional commits viewable in compare view

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 dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 12, 2024
@davidB
Copy link
Collaborator

davidB commented Aug 31, 2024

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/cargo/fluent-uri-0.2 branch from 63c37aa to 9f8d9c1 Compare August 31, 2024 18:37
dependabot bot and others added 3 commits August 31, 2024 21:21
Updates the requirements on [fluent-uri](https://github.com/yescallop/fluent-uri-rs) to permit the latest version.
- [Release notes](https://github.com/yescallop/fluent-uri-rs/releases)
- [Commits](yescallop/fluent-uri-rs@v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: fluent-uri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: David Bernard <[email protected]>
@davidB davidB force-pushed the dependabot/cargo/fluent-uri-0.2 branch from 2807714 to 7ae648f Compare August 31, 2024 19:21
@davidB davidB merged commit 9a67c86 into main Aug 31, 2024
7 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/fluent-uri-0.2 branch August 31, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
No open projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant