diff --git a/url/Cargo.toml b/url/Cargo.toml
index a50ab31f1..3909bf6e2 100644
--- a/url/Cargo.toml
+++ b/url/Cargo.toml
@@ -2,7 +2,7 @@
 
 name = "url"
 # When updating version, also modify html_root_url in the lib.rs
-version = "2.5.0"
+version = "2.6.0"
 authors = ["The rust-url developers"]
 
 description = "URL library for Rust, based on the WHATWG URL Standard"
diff --git a/url/src/lib.rs b/url/src/lib.rs
index 78980e85f..d9dfde301 100644
--- a/url/src/lib.rs
+++ b/url/src/lib.rs
@@ -134,7 +134,7 @@ url = { version = "2", features = ["debugger_visualizer"] }
 
 */
 
-#![doc(html_root_url = "https://docs.rs/url/2.5.0")]
+#![doc(html_root_url = "https://docs.rs/url/2.6.0")]
 #![cfg_attr(
     feature = "debugger_visualizer",
     debugger_visualizer(natvis_file = "../../debug_metadata/url.natvis")
diff --git a/url/src/origin.rs b/url/src/origin.rs
index 81193f510..a0748ac61 100644
--- a/url/src/origin.rs
+++ b/url/src/origin.rs
@@ -85,7 +85,12 @@ impl Origin {
         }
     }
 
+    /// Deprecated: There used to also be a Unicode serialization of an origin. However, it was never widely adopted.
     /// <https://html.spec.whatwg.org/multipage/#unicode-serialisation-of-an-origin>
+    #[deprecated(
+        since = "2.6.0",
+        note = "There used to also be a Unicode serialization of an origin. However, it was never widely adopted."
+    )]
     pub fn unicode_serialization(&self) -> String {
         match *self {
             Origin::Opaque(_) => "null".to_owned(),