Skip to content

fluent-uri v0.4.0

Choose a tag to compare

@yescallop yescallop released this 03 Nov 09:11
· 50 commits to main since this release

Highlights

Other changes

Added

  • Added resolve::Resolver and normalize::Normalizer which can be configured to disallow underflow in path resolution and to remove custom default ports in normalization.
  • Added {Uri, UriRef, Iri, IriRef}::strip_fragment.
  • Added an opt-out alloc feature required for memory-allocating types and functions.
  • Added an impl-error feature which, if enabled when std is disabled, implements core::error::Error instead.
  • Implemented Hash for Scheme.

Changed

  • Renamed module encoding to pct_enc which stands for "percent-encoding".
  • Changed ParseError not to include input. Changed return types of parse functions as a result.
  • Changed Decode to an iterator. Renamed into_* methods to to_* as a result.
  • Split EString::encode into encode_{str, bytes}.
  • Introduced ConvertError for TryFrom impls.
  • Exposed information of and implemented PartialEq and Eq on ParseError, BuildError, and ResolveError.
  • Moved Builder into module build.
  • Removed module error in favor of placing error types next to related types.
  • Closed another loophone in the reference resolution algorithm.
  • Bumped MSRV to 1.68.