windows breaking changes
Updated December 4, 2026
On this page
Latest version 0.101.0, released November 30, 2026. Source repository
Its 0.51.0 release requires Rust 1.56 or later. Rust end of life dates.
windows 0.60.0 breaking changes
- Removed
GUID
The From<&str> implementation for GUID was replaced with TryFrom<&str>, so code calling GUID::from on a string must switch to a fallible conversion. github.com
windows 0.59.0 breaking changes
- Configuration changed
Projects built with a Rust toolchain older than 1.60 will no longer compile against this release, so upgrade the Rust toolchain to 1.60 or later. github.com
windows 0.58.0 breaking changes
- Removed
The Future implementation has been removed, so code that awaited types relying on it must be changed. github.com - Behavior changed
COM interface implementations now live on a MyApp_Impl ("outer" object) instead of MyApp, so code that relied on the old layout must be updated. github.com
windows 0.54.0 breaking changes
- Behavior changed
WIN32_ERROR
Functions returning WIN32_ERROR now keep that type instead of being converted to Result, so code that matched on Result for these calls must handle WIN32_ERROR directly. github.com
windows 0.53.0 breaking changes
- Removed
Code paths that supported Windows 7 were removed, so Windows 7 is no longer specially supported. github.com - Behavior changed
The windows crate now requires Rust 1.62 or later to build. github.com - Behavior changed
The bindings now map C's char to a signed byte, so code relying on the previous type may need updating. github.com
windows 0.52.0 breaking changes
- Removed
Support for the StaticLibrary attribute was removed from the bindgen tooling. Code that relied on it must stop using it. github.com - Behavior changed
Integral type conversions for APIs are now checked rather than silently converted, so out-of-range values can now fail where they previously passed through. github.com - Behavior changed
NTSTATUS
NTSTATUS signatures are no longer transformed, so code that depended on the earlier generated signature may need to change. github.com
Older versions
15 older versions, each with its first changes. Sign up to see every change
Show 15 older versions
windows 0.51.0 breaking changes
- Behavior changed
The crate moves to Rust edition 2021 and requires Rust 1.56 or later, so users on Rust 1.48 can no longer build it. github.com - Behavior changed
The windows crate 0.51.0 contains breaking changes, so code written against 0.50 may need updating before upgrading. github.com
And 1 more in this version.
windows 0.50.0 breaking changes
- Behavior changed
Generated bindings now transform BOOL and Win32 return values, so code that inspected the raw return values may behave differently. github.com
windows 0.46.0 breaking changes
- Behavior changed
cast
Code that calls the cast function must import the ComInterface trait, which is now required for it to compile. github.com - Signature changed
CHAR
Code that uses the CHAR type from the bindings must switch to u8 to match the new mapping. github.com
windows 0.44.0 breaking changes
- Removed
The deprecated WinRT namespaces were removed, so code that imports them will no longer compile and must switch to the current namespaces. github.com - Behavior changed
Win32 structs no longer carry implied ownership semantics, so code that relied on them may behave differently. github.com
And 1 more in this version.
windows 0.43.0 breaking changes
- Removed
Composable support was removed in this release. Code that relied on it must be changed to not use it. github.com - Signature changed
Some parameters that were convertible were removed, so calls that passed them may no longer compile. github.com
windows 0.41.0 breaking changes
- Behavior changed
Interface
Vtable support now lives apart from the Interface trait, so code that relied on Interface to provide Vtable access may need changes. github.com - Signature changed
Pointers are no longer converted to references in generated win32 bindings, so existing calls that depend on the reference form may need updating. github.com
windows 0.40.0 breaking changes
- Removed
MsHtml APIs
The MsHtml APIs are no longer included in the bindings, so code using them will not compile. github.com - Removed
Xaml interop namespace
The Xaml interop namespace has been removed, so code importing it will no longer compile. github.com
And 3 more in this version.
windows 0.39.0 breaking changes
- Removed
alloc
The alloc feature is gone. String literals are no longer implicitly converted to null-terminated strings; use the s! and w! macros to create them at compile time. github.com
windows 0.38.0 breaking changes
- Removed
Xaml
The windows crate no longer includes Xaml bindings. Code that uses Xaml types from this crate must move to another source or stop using them. github.com
windows 0.37.0 breaking changes
- Signature changed
cast
The cast method produced by the implement macro is now an unsafe method, so callers must wrap calls to it in an unsafe block. github.com
windows 0.36.0 breaking changes
- Removed
The heap functions were made private, so code that calls them directly will no longer compile. Use the public APIs instead. github.com
windows 0.35.0 breaking changes
- Behavior changed
String parameters typed PCSTR and PCWSTR are now allocated with the BSTR allocator. Code that relied on the previous allocation behavior may need to be checked. github.com - Behavior changed
Handle validity checking is now specific to each handle type, so handle values that were accepted before may now be rejected. Check code that passes handle values to the API. github.com
windows 0.33.0 breaking changes
- Signature changed
Borrowed parameter lifetimes are now constrained, so code passing borrowed values may fail to compile and need adjusting. github.com - Signature changed
Parameter direction is now declared explicitly, which may change generated signatures that existing code depends on. github.com
And 1 more in this version.
windows 0.32.0 breaking changes
- Behavior changed
Delegate types now require the Send bound, so delegate implementations that are not Send will no longer compile and must be changed to be Send. github.com
windows 0.30.0 breaking changes
- Removed
std
The std feature flag was removed in this release, so manifests that enable it must drop it. github.com
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.