winreg breaking changes
winreg 0.56.0 (March 14, 2026) is its newest release with breaking changes, 2 of them. The first: Serialization opens keys with extra registry permissions in winreg 0.56.0. Every breaking API change we have recorded in winreg on crates.io: 16 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.56.0, released March 14, 2026. Source repository
Its 0.54.0 release requires Rust 1.56 or later. Rust end of life dates.
winreg 0.56.0 breaking changes
- Behavior changed
Serialization now opens the key with DELETE, KEY_ENUMERATE_SUB_KEYS and KEY_QUERY_VALUE in addition to the previous permissions. Code relying on the old access rights may fail under restricted permissions. github.com - Signature changed
RegValue.bytes
The bytes field is now Cow<[u8]> instead of Vec<u8>, which adds a lifetime to RegValue. Code that expects a Vec<u8> must be updated. github.com
winreg 0.55.0 breaking changes
- Behavior changed
The crate now requires Rust 1.60 or later. Users on older Rust toolchains must upgrade their compiler. github.com - Behavior changed
The windows-sys dependency is upgraded to 0.59, which is a breaking change for code that depends on types or items from windows-sys that changed between versions. github.com
winreg 0.54.0 breaking changes
- Configuration changed
The crate moves to the 2021 edition of Rust and requires Rust 1.56 or later. Users on older toolchains must upgrade their Rust compiler. github.com
winreg 0.52.0 breaking changes
- Signature changed
Transaction.commit
Calling commit() or rollback() takes ownership of the transaction, so it cannot be used afterwards. Code that reuses a transaction after committing or rolling it back must be changed. github.com - Signature changed
Transaction.rollback
Calling commit() or rollback() takes ownership of the transaction, so it cannot be used afterwards. Code that reuses a transaction after committing or rolling it back must be changed. github.com
winreg 0.51.0 breaking changes
- Behavior changed
RegValue
The std::fmt::Display implementation for RegValue was fixed, so code that formats RegValue with Display may now print different output. github.com
winreg 0.50.0 breaking changes
- Behavior changed
The crate now requires Rust 1.46 or later because windows-sys does not compile with older versions. Users on older Rust toolchains must upgrade. github.com - Behavior changed
The winapi dependency is no longer maintained, so the crate now uses Microsoft's windows-sys as its backend. Code that depends on winapi types through this crate may need to change. github.com
Older versions
4 older versions.
Show 4 older versions
winreg 0.16.0 breaking changes
- Behavior changed
Serialization opens the key with DELETE, KEY_ENUMERATE_SUB_KEYS and KEY_QUERY_VALUE in addition to the previous permissions. Users with restricted registry access may now see failures. github.com - Signature changed
RegValue.bytes
The bytes field is now a Cow<[u8]> instead of Vec<u8>, which adds a lifetime to RegValue. Code that names or constructs the field as a Vec must be updated. github.com
winreg 0.14.0 breaking changes
- Removed
Older Rust compilers are no longer supported. Upgrade the Rust toolchain to 1.34 or later before building with this release. github.com
winreg 0.13.0 breaking changes
- Signature changed
Transaction.commit
Transaction.commit() and Transaction.rollback() now take ownership of the transaction, so code that uses the transaction after calling them must be changed. github.com - Signature changed
Transaction.rollback
Transaction.commit() and Transaction.rollback() now take ownership of the transaction, so code that uses the transaction after calling them must be changed. github.com
winreg 0.12.0 breaking changes
- Behavior changed
RegValue
The std::fmt::Display implementation for RegValue was corrected, so code that relies on its current formatted output will see different text. Check any code that formats RegValue with Display. 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.