---
title: "tor-netdoc 0.49.0 Breaking Changes on crates.io | Since.dev"
description: "What each tor-netdoc release removed, renamed or changed: 18 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/tor-netdoc
last_updated: 2026-12-04
---

# tor-netdoc breaking changes

tor-netdoc 0.49.0 (December 1, 2026) is its newest release with breaking changes, 18 of them. The first: Signature changed tor_netdoc::doc::microdesc::Microdesc::family_ids. Every breaking API change we have recorded in tor-netdoc on crates.io: 18 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.49.0`, released December 1, 2026. [Source repository](https://gitlab.torproject.org/tpo/core/arti.git)

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

## tor-netdoc 0.49.0 breaking changes

tor-netdoc 0.49.0, released December 1, 2026: 18 breaking changes.

- **Signature changed** `tor_netdoc::doc::microdesc::Microdesc::family_ids`  

Was family_ids: RelayFamilyIds fn family_ids(&self) -> &\[RelayFamilyId\]; now family_ids: HappyFamilyIds fn family_ids(&self) -> &\[HappyFamilyId\]. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::microdesc::MicrodescBuilder::add_family_id`  

Was fn add_family_id(&mut self, id: RelayFamilyId) -> &mut Self; now fn add_family_id(&mut self, id: HappyFamilyId) -> &mut Self. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::ConsensusFooterFields::bandwidth_weights`  

Was bandwidth_weights: NetParams\<i32>; now bandwidth_weights: ParamValues\<i32>. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::InvalidRelayWeights`  

Was enum InvalidRelayWeights; now enum InvalidRelayBandwidth. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::NetParams`  

Was struct NetParams\<T>; now struct NetParams. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::NetParams::set`  

Was fn set(&mut self, k: String, v: T); now fn set(&mut self, k: String, v: i32). [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::RelayWeight`  

Was enum RelayWeight; now enum RelayBandwidth. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::RelayWeightsItem`  

Was struct RelayWeightsItem; now struct RelayBandwidthItem. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::RelayWeightsItem::effective`  

Was fn effective(&self) -> RelayWeight; now fn effective(&self) -> RelayBandwidth. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::RelayWeightsItem::from_effective`  

Was fn from_effective(effective: RelayWeight) -> Self; now fn from_effective(effective: RelayBandwidth) -> Self. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::RelayWeightsItem::new_no_info`  

Was fn new_no_info() -> Self; now fn new_no_info() -> Self. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::RelayWeightsItem::params`  

Was fn params(&self) -> Unknown<&Option\<NetParams\<u32>>>; now fn params(&self) -> Unknown<&Option\<ParamValues\<u32>>>. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::VoteRelayWeightsItem`  

Was struct VoteRelayWeightsItem; now struct VoteRelayBandwidthItem. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::netstatus::VoteRelayWeightsItem::w`  

Was w: Option\<NetParams\<u32>>; now w: Option\<ParamValues\<u32>>. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::routerdesc::RouterDesc::family`  

Was family: Intern\<RelayFamily> fn family(&self) -> Intern\<RelayFamily>; now family: Intern\<LegacyFamily> fn family(&self) -> Intern\<LegacyFamily>. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::doc::routerdesc::RouterDesc::family_ids`  

Was fn family_ids(&self) -> RelayFamilyIds; now fn family_ids(&self) -> HappyFamilyIds. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::encode::encode_netdoc_unsigned`  

Was fn encode_netdoc_unsigned<'d, 'i, D, I>(docs: I) -> Result\<String, Bug> where D: NetdocEncodable + 'd, I: IntoIterator\<Item = &'d D> + 'i,; now fn encode_netdoc_unsigned<'d, 'i, D, I>(docs: I) -> Result\<String, Bug> where D... [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)
- **Signature changed** `tor_netdoc::parse2::ParseInput::retain_unknown_values`  

Was fn retain_unknown_values(&mut self); now fn retain_unknown_values(mut self) -> Self. [crates.io](https://crates.io/crates/tor-netdoc/0.49.0)

## Related packages

- [tor-netdir](https://since.dev/packages/crates/tor-netdir.md)
- [tor-cell](https://since.dev/packages/crates/tor-cell.md)
- [tor-async-utils](https://since.dev/packages/crates/tor-async-utils.md)

## 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.
