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
On this page
Latest version 0.49.0, released December 1, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
tor-netdoc 0.49.0 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 - 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 - Signature changed
tor_netdoc::doc::netstatus::ConsensusFooterFields::bandwidth_weights
Was bandwidth_weights: NetParams<i32>; now bandwidth_weights: ParamValues<i32>. crates.io - Signature changed
tor_netdoc::doc::netstatus::InvalidRelayWeights
Was enum InvalidRelayWeights; now enum InvalidRelayBandwidth. crates.io - Signature changed
tor_netdoc::doc::netstatus::NetParams
Was struct NetParams<T>; now struct NetParams. crates.io - 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 - Signature changed
tor_netdoc::doc::netstatus::RelayWeight
Was enum RelayWeight; now enum RelayBandwidth. crates.io - Signature changed
tor_netdoc::doc::netstatus::RelayWeightsItem
Was struct RelayWeightsItem; now struct RelayBandwidthItem. crates.io - Signature changed
tor_netdoc::doc::netstatus::RelayWeightsItem::effective
Was fn effective(&self) -> RelayWeight; now fn effective(&self) -> RelayBandwidth. crates.io - 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 - Signature changed
tor_netdoc::doc::netstatus::RelayWeightsItem::new_no_info
Was fn new_no_info() -> Self; now fn new_no_info() -> Self. crates.io - 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 - Signature changed
tor_netdoc::doc::netstatus::VoteRelayWeightsItem
Was struct VoteRelayWeightsItem; now struct VoteRelayBandwidthItem. crates.io - Signature changed
tor_netdoc::doc::netstatus::VoteRelayWeightsItem::w
Was w: Option<NetParams<u32>>; now w: Option<ParamValues<u32>>. crates.io - 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 - Signature changed
tor_netdoc::doc::routerdesc::RouterDesc::family_ids
Was fn family_ids(&self) -> RelayFamilyIds; now fn family_ids(&self) -> HappyFamilyIds. crates.io - 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 - 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
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.