bitflags breaking changes
bitflags 2.0.0 (March 13, 2023) is its newest release with breaking changes, 4 of them. The first: Removed PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone, Copy. Every breaking API change we have recorded in bitflags on crates.io: 5 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.13.2, released September 10, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
- From 2.0.0-rc.2 to 2.0.0: 4 breaking changes in 1 version.
bitflags 2.0.0 breaking changes
- Removed
PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone, Copy
Generated flags types derive fewer traits. Derive PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone and Copy yourself to keep compatibility. github.com - Renamed
from_bits_unchecked
The unsafe from_bits_unchecked method is now a safe from_bits_retain method. Switch callers to from_bits_retain. github.com - Behavior changed
Human-readable formats now use a formatted string and compact formats use the underlying bits type. To keep the old format, use the bitflags-serde-legacy library. github.com - Behavior changed
bits
The representation changed from a struct with a single bits field to a newtype. Use the bits() method instead of the bits field. github.com
bitflags 2.0.0-rc.2 breaking changes
- Behavior changed
Types that derive Serialize and Deserialize now use a formatted string in human-readable formats and the underlying bits type in compact formats. Keep the old format or migrate stored data if needed. github.com
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.