Skip to content

Bump iref from 3.2.2 to 4.0.0 in /rust/case2geojson#156

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/rust/case2geojson/iref-4.0.0
Closed

Bump iref from 3.2.2 to 4.0.0 in /rust/case2geojson#156
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/rust/case2geojson/iref-4.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2026

Bumps iref from 3.2.2 to 4.0.0.

Changelog

Sourced from iref's changelog.

[4.0.0]

Breaking changes

  • Consolidated workspace into a single crate (removed iref-core and iref-macros).
  • Generated the iri module from the uri module via build.rs.
  • Added try_* methods (replacing some panicking APIs).
  • Added no_std support (owned types gated behind std).
  • Renamed Path::EMPTY to Path::EMPTY_RELATIVE.
  • Replaced From<Iri> for url::Url with TryFrom.
  • PathMut, PathBuf, and AuthorityMut methods now return &mut Self for chaining.

Added

  • url crate compatibility layer.
  • Host::is_ipv4, Host::is_ipv6, Host::is_ip_literal, Host::to_ipv4, Host::to_ipv6.
  • HostBuf::from_ipv4, HostBuf::from_ipv6.
  • Non-mutating component methods such as Uri::with_scheme, Uri::with_authority, Uri::with_query, Uri::with_fragment.
  • UriRef::without_fragment, UriRef::without_query_and_fragment.
  • Scheme::HTTP, Scheme::HTTPS and other common scheme constants.
  • PathBuf::from_segments, impl FromIterator<&Segment> for PathBuf.
  • impl ExactSizeIterator for Segments.
  • Port::as_u16, Port::as_u32 and other port conversion methods.
  • Uri::authority_host, Uri::authority_port and other direct authority component accessors.
  • More PartialEq/PartialOrd implementations across URI/IRI types.
  • CONTRIBUTING.md and AGENTS.md.

Fixed

  • Path normalization and reference resolution.
  • relative_to for mismatched scheme/authority presence.
  • Host parsing bug.
  • is_ipv4 now strictly validates dec-octets per RFC 3986.
  • to_ipv6 now handles embedded IPv4 suffixes.
  • PathMut::lazy_push disambiguation when URI is not empty.

Migrating from 3.x

  • Replace iref-core and iref-macros dependencies with iref directly.
  • Path::EMPTY is now Path::EMPTY_RELATIVE.
  • url::Url::from(iri) is now url::Url::try_from(iri)?.
  • Mutation methods on PathMut, PathBuf, and AuthorityMut now return &mut Self. Calls that previously discarded the return value still work, but you can now chain them (e.g. path.push(a)?.push(b)?).
  • Disable the default std feature to use iref in no_std environments.

... (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 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)

Bumps [iref](https://github.com/timothee-haudebourg/iref) from 3.2.2 to 4.0.0.
- [Changelog](https://github.com/timothee-haudebourg/iref/blob/main/CHANGELOG.md)
- [Commits](timothee-haudebourg/iref@v3.2.2...v4.0.0)

---
updated-dependencies:
- dependency-name: iref
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 23, 2026
@ajnelson-nist
Copy link
Member

It seems this needs to wait for the json-ld crate to catch up. I'm closing this PR to wait for a bump to json-ld instead.

@ajnelson-nist
Copy link
Member

@dependabot ignore this major version

@dependabot dependabot bot closed this Mar 23, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 23, 2026

OK, I won't notify you about version 4.x.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/cargo/rust/case2geojson/iref-4.0.0 branch March 23, 2026 20:17
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

None yet

Development

Successfully merging this pull request may close these issues.

1 participant