---
title: "librqbit 9.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each librqbit release removed, renamed or changed: 54 breaking changes in 4 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/librqbit
last_updated: 2026-12-04
---

# librqbit breaking changes

librqbit 9.0.0 (August 15, 2026) is its newest release with breaking changes, 45 of them. The first: Removed librqbit::AddTorrentOptions::defer_writes. Every breaking API change we have recorded in librqbit on crates.io: 54 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `9.1.0`, released October 29, 2026. [Source repository](https://github.com/ikatson/rqbit)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [9.0.0-beta.0](#v-9-0-0-beta-0) to [9.0.0](#v-9-0-0): 48 breaking changes in 3 versions.

## librqbit 9.0.0 breaking changes

librqbit 9.0.0, released August 15, 2026: 45 breaking changes.

- **Removed** `librqbit::AddTorrentOptions::defer_writes`  

librqbit::AddTorrentOptions::defer_writes was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::ApiError::new_from_anyhow`  

librqbit::ApiError::new_from_anyhow was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::ApiError::new_from_text`  

librqbit::ApiError::new_from_text was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::ApiError::unathorized`  

librqbit::ApiError::unathorized was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::ApiError::with_plaintext_error`  

librqbit::ApiError::with_plaintext_error was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::ApiError::with_status`  

librqbit::ApiError::with_status was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::session_stats::SessionStats::atomic`  

librqbit::session_stats::SessionStats::atomic was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::session_stats::snapshot::SessionStatsSnapshot::fetched_bytes`  

librqbit::session_stats::snapshot::SessionStatsSnapshot::fetched_bytes was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::session_stats::snapshot::SessionStatsSnapshot::uploaded_bytes`  

librqbit::session_stats::snapshot::SessionStatsSnapshot::uploaded_bytes was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::SessionOptions::defer_writes_up_to`  

librqbit::SessionOptions::defer_writes_up_to was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::SessionOptions::dht_config`  

librqbit::SessionOptions::dht_config was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::SessionOptions::disable_dht`  

librqbit::SessionOptions::disable_dht was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::SessionOptions::disable_dht_persistence`  

librqbit::SessionOptions::disable_dht_persistence was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::SessionOptions::enable_upnp_port_forwarding`  

librqbit::SessionOptions::enable_upnp_port_forwarding was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::SessionOptions::listen_port_range`  

librqbit::SessionOptions::listen_port_range was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::SessionOptions::peer_opts`  

librqbit::SessionOptions::peer_opts was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::SessionOptions::socks_proxy_url`  

librqbit::SessionOptions::socks_proxy_url was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::storage::examples::mmap::MmapStorage`  

librqbit::storage::examples::mmap::MmapStorage was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::storage::examples::mmap::MmapStorageFactory`  

librqbit::storage::examples::mmap::MmapStorageFactory was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::storage::filesystem::MmapFilesystemStorage`  

librqbit::storage::filesystem::MmapFilesystemStorage was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::storage::filesystem::MmapFilesystemStorageFactory`  

librqbit::storage::filesystem::MmapFilesystemStorageFactory was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Removed** `librqbit::TorrentMetadata::name`  

librqbit::TorrentMetadata::name was removed in librqbit 9.0.0 [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Renamed** `librqbit::Session::tcp_listen_port`  

Use librqbit::Session::announce_port instead. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Behavior changed**  

The listening sockets now accept IPv6 as well as IPv4 connections, which changes network behavior for existing setups. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0)
- **Behavior changed** `rqbit download`  

The rqbit download command was reworked into a simpler form; scripts that depend on its previous behavior or options may need updating. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0)
- **Signature changed** `librqbit::Api::api_dht_table`  

Was fn api_dht_table(&self) -> Result\<impl Serialize>; now fn api_dht_table(&self) -> Result\<impl Serialize + use<>>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::Api::api_dump_haves`  

Was fn api_dump_haves(&self, idx: TorrentIdOrHash) -> Result\<String>; now fn api_dump_haves(&self, idx: TorrentIdOrHash) -> Result<(BF, u32)>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::Api::api_stream`  

Was fn api_stream(&self, idx: TorrentIdOrHash, file_id: usize) -> Result\<FileStream>; now async fn api_stream(&self, idx: TorrentIdOrHash, file_id: usize) -> Result\<FileStream>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::api::Api::api_dht_table`  

Was fn api_dht_table(&self) -> Result\<impl Serialize>; now fn api_dht_table(&self) -> Result\<impl Serialize + use<>>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::api::Api::api_dump_haves`  

Was fn api_dump_haves(&self, idx: TorrentIdOrHash) -> Result\<String>; now fn api_dump_haves(&self, idx: TorrentIdOrHash) -> Result<(BF, u32)>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::api::Api::api_stream`  

Was fn api_stream(&self, idx: TorrentIdOrHash, file_id: usize) -> Result\<FileStream>; now async fn api_stream(&self, idx: TorrentIdOrHash, file_id: usize) -> Result\<FileStream>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::ApiError::not_implemented`  

Was fn not_implemented(msg: &str) -> Self; now fn not_implemented(msg: &'static str) -> Self. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::create_torrent`  

Was async fn create_torrent<'a>(path: &'a Path, options: CreateTorrentOptions<'a>) -> anyhow::Result\<CreateTorrentResult>; now async fn create_torrent<'a>(path: &'a Path, options: CreateTorrentOptions<'a>, spawner: &BlockingSpawner) ->... [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::http_api::HttpApi::make_http_api_and_run`  

Was fn make_http_api_and_run(self, listener: TcpListener, upnp_router: Option\<Router>) -> BoxFuture<'static, anyhow::Result<()>>; now fn make_http_api_and_run(#\[allow(unused_mut)\] mut self, listener: TcpListener, upnp_router... [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::librqbit_spawn`  

Was fn spawn(\_name: &str, span: tracing::Span, fut: impl std::future::Future\<Output = anyhow::Result<()>> + Send + 'static) -> tokio::task::JoinHandle<()>; now pub use librqbit_core::spawn_utils::spawn. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::limits::Limits::prepare_for_download`  

Was async fn prepare_for_download(&self, len: NonZeroU32) -> anyhow::Result<()>; now async fn prepare_for_download(&self, len: NonZeroU32) -> crate::Result<()>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::limits::Limits::prepare_for_upload`  

Was async fn prepare_for_upload(&self, len: NonZeroU32) -> anyhow::Result<()>; now async fn prepare_for_upload(&self, len: NonZeroU32) -> crate::Result<()>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::ListOnlyResponse::info`  

Was info: TorrentMetaV1Info\<ByteBufOwned>; now info: ValidatedTorrentMetaV1Info\<ByteBufOwned>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::ManagedTorrent::stream`  

Was fn stream(self: Arc\<Self>, file_id: usize) -> anyhow::Result\<FileStream>; now async fn stream(self: Arc\<Self>, file_id: usize) -> anyhow::Result\<FileStream>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::Session::blocklist`  

Was blocklist: blocklist::Blocklist; now blocklist: IpRanges. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::Session::spawn`  

Was fn spawn(&self, span: tracing::Span, fut: impl std::future::Future\<Output = anyhow::Result<()>> + Send + 'static); now fn spawn(&self, span: tracing::Span, name: impl Into\<Cow<'static, str>>, fut: impl std::future::Future\<Output =... [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::SessionOptions::root_span`  

Was root_span: Option\<Span>; now root_span: Option\<tracing::Span>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::TorrentMetadata::info`  

Was info: TorrentMetaV1Info\<ByteBufOwned>; now info: ValidatedTorrentMetaV1Info\<ByteBufOwned>. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::TorrentMetadata::lengths`  

Was lengths: Lengths; now fn lengths(&self) -> &Lengths. [crates.io](https://crates.io/crates/librqbit/9.0.0)
- **Signature changed** `librqbit::TorrentStatsState::Initializing`  

Was Initializing; now Initializing {// Serialized as a top-level \`initializing_paused\` (not just \`paused\`) to // avoid confusion with the \`paused\` state once flattened into the JSON. #\[serde(rename = "initializing_paused")\] paused: bool}. [crates.io](https://crates.io/crates/librqbit/9.0.0)

## librqbit 9.0.0-beta.2 breaking changes

librqbit 9.0.0-beta.2, released August 15, 2026: 1 breaking change.

- **Behavior changed**  

Outgoing TCP connections reuse the announce port as their source port. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0-beta.2)

## librqbit 9.0.0-beta.1 breaking changes

librqbit 9.0.0-beta.1, released August 15, 2026: 2 breaking changes.

- **Behavior changed**  

Everything now runs in dualstack IPv6 plus IPv4 mode by default instead of IPv4 only. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0-beta.1)
- **Behavior changed** `rqbit download`  

rqbit download no longer shares ports with rqbit server and keeps no state between runs. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0-beta.1)

## librqbit 9.0.0-beta.0 breaking changes

librqbit 9.0.0-beta.0, released August 15, 2026: 6 breaking changes.

- **Removed** `--tcp-max-port`  

The CLI option --tcp-max-port was removed. Use --listen-port instead. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0-beta.0)
- **Removed** `--tcp-min-port`  

The CLI options --tcp-min-port and --tcp-max-port were removed. Use --listen-port instead. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0-beta.0)
- **Renamed** `RQBIT_TCP_LISTEN_MIN_PORT`  

The environment variable RQBIT_TCP_LISTEN_MIN_PORT was replaced by RQBIT_LISTEN_PORT. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0-beta.0)
- **Configuration changed** `SessionOptions.enable_upnp_port_forwarding`  

The enable_upnp_port_forwarding field of SessionOptions moved to listen: Option\<ListenerOptions>. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0-beta.0)
- **Configuration changed** `SessionOptions.peer_opts`  

The peer_opts field of SessionOptions moved to opts: Option\<ConnectionOptions>. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0-beta.0)
- **Configuration changed** `SessionOptions.socks_proxy_url`  

The socks_proxy_url field of SessionOptions moved to opts: Option\<ConnectionOptions>. [github.com](https://github.com/ikatson/rqbit/releases/tag/v9.0.0-beta.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
