url breaking changes
url 2.0.0 (July 23, 2019) is its newest release with breaking changes, 17 of them. The first: Removed url::define_encode_set! Every breaking API change we have recorded in url on crates.io: 88 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.5.9, released November 20, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
- From 1.0.0 to 2.0.0: 17 breaking changes in 1 version.
- From 0.5.0 to 2.0.0: 86 breaking changes in 2 versions.
url 2.0.0 breaking changes
- Removed
url::define_encode_set!
url::define_encode_set! was removed in url 2.0.0 crates.io - Removed
url::form_urlencoded::parse_with_encoding
url::form_urlencoded::parse_with_encoding was removed in url 2.0.0 crates.io - Removed
url::form_urlencoded::Serializer::append_charset
url::form_urlencoded::Serializer::append_charset was removed in url 2.0.0 crates.io - Removed
url::form_urlencoded::Serializer::custom_encoding_override
url::form_urlencoded::Serializer::custom_encoding_override was removed in url 2.0.0 crates.io - Removed
url::HostAndPort
url::HostAndPort was removed in url 2.0.0 crates.io - Removed
url::ParseOptions::log_syntax_violation
url::ParseOptions::log_syntax_violation was removed in url 2.0.0 crates.io - Removed
url::SocketAddrs
url::SocketAddrs was removed in url 2.0.0 crates.io - Removed
url::Url::with_default_port
url::Url::with_default_port was removed in url 2.0.0 crates.io - Signature changed
url::form_urlencoded::Serializer
Was struct Serializer<T: Target>; now struct Serializer<'a, T: Target>. crates.io - Signature changed
url::form_urlencoded::Serializer::encoding_override
Was fn encoding_override(&mut self, new: Option<::encoding::EncodingRef>) -> &mut Self; now fn encoding_override(&mut self, new: EncodingOverride<'a>) -> &mut Self. crates.io - Signature changed
url::form_urlencoded::Serializer::extend_pairs
Was fn extend_pairs<I, K, V>(&mut self, iter: I) -> &mut Self where I: IntoIterator, I::Item: Borrow<(K, V)>, K: AsRef<str>, V: AsRef<str>; now fn extend_pairs<I, K, V>(&mut self, iter: I) -> &mut Self where I: IntoIterator, I::Item... crates.io - Signature changed
url::ParseOptions::encoding_override
Was fn encoding_override(mut self, new: Option<encoding::EncodingRef>) -> Self; now fn encoding_override(mut self, new: EncodingOverride<'a>) -> Self. crates.io - Signature changed
url::ParseOptions::syntax_violation_callback
Was fn syntax_violation_callback(mut self, new: Option<&'a Fn(SyntaxViolation)>) -> Self; now fn syntax_violation_callback(mut self, new: Option<&'a dyn Fn(SyntaxViolation)>) -> Self. crates.io - Signature changed
url::PathSegmentsMut::extend
Was fn extend<I>(&mut self, segments: I) -> &mut Self where I: IntoIterator, I::Item: AsRef<str>; now fn extend<I>(&mut self, segments: I) -> &mut Self where I: IntoIterator, I::Item: AsRef<str>,. crates.io - Signature changed
url::Url::deserialize_internal
Was fn deserialize_internal<D>(deserializer: &mut D) -> Result<Self, D::Error> where D: serde::Deserializer; now fn deserialize_internal<'de, D>(deserializer: D) -> Result<Self, D::Error> where D: serde::Deserializer<'de>,. crates.io - Signature changed
url::Url::parse_with_params
Was fn parse_with_params<I, K, V>(input: &str, iter: I) -> Result<Url, ::ParseError> where I: IntoIterator, I::Item: Borrow<(K, V)>, K: AsRef<str>, V: AsRef<str>; now fn parse_with_params<I, K, V>(input: &str, iter: I) -> Result<Url... crates.io - Signature changed
url::Url::serialize_internal
Was fn serialize_internal<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: serde::Serializer; now fn serialize_internal<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where S: serde::Serializer,. crates.io
url 1.0.0 breaking changes
- Removed
url::ErrorHandler
url::ErrorHandler was removed in url 1.0.0 crates.io - Removed
url::form_urlencoded::serialize
url::form_urlencoded::serialize was removed in url 1.0.0 crates.io - Removed
url::form_urlencoded::serialize_with_encoding
url::form_urlencoded::serialize_with_encoding was removed in url 1.0.0 crates.io - Removed
url::format
url::format was removed in url 1.0.0 crates.io - Removed
url::Host::serialize
url::Host::serialize was removed in url 1.0.0 crates.io - Removed
url::idna
url::idna was removed in url 1.0.0 crates.io - Removed
url::OpaqueOrigin::new
url::OpaqueOrigin::new was removed in url 1.0.0 crates.io - Removed
url::Origin::UID
url::Origin::UID was removed in url 1.0.0 crates.io - Removed
url::parse_path
url::parse_path was removed in url 1.0.0 crates.io - Removed
url::ParseResult
url::ParseResult was removed in url 1.0.0 crates.io
And 59 more in this version. Sign up to see every change
url 0.5.0 breaking changes
- Removed
url::Ipv6Address
url::Ipv6Address was removed in url 0.5.0 crates.io - Signature changed
url::Host::Ipv6
Was Ipv6(Ipv6Address); now Ipv6(Ipv6Addr). crates.io
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.