0.46.0
版本发布时间: 2023-03-13 23:09:04
microsoft/windows-rs最新发布版本:0.60.0(2024-09-25 19:49:31)
As a reminder, updates are only published by request (https://github.com/microsoft/windows-rs/pull/2380). This release provides an update to the windows
crate. It does not include an update to the windows-sys
crate.
This is the first update to the windows
crate in about 2 months and includes numerous improvements as well as updated API definitions via the Win32 metadata. Notably, the windows
crate now sports streamlined and much simpler type traits (#2343) and parameter bindings (#2360). It includes the first steps towards WDK support (#2358), and it finally includes stock collection implementations (#91).
Please note that the ComInterface
trait is now required to call the cast
function (#2360).
What's Changed
- Add link from docs.rs to full API documentation by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2297
- Simplify COM implementation traits by @kennykerr in https://github.com/microsoft/windows-rs/pull/2301
- Fix test component re-build reliability by @kennykerr in https://github.com/microsoft/windows-rs/pull/2303
- Metadata writer refactoring by @kennykerr in https://github.com/microsoft/windows-rs/pull/2309
- Lower MSRV for the
windows
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2318 - Ongoing metadata writer improvements and new command line tool by @kennykerr in https://github.com/microsoft/windows-rs/pull/2319
- Improve clippy workflow by @kennykerr in https://github.com/microsoft/windows-rs/pull/2320
- Improve crates.io metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2321
- Add
raw-dylib
testing withnightly-i686-pc-windows-gnu
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2312 - Update Win32 metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2322
- Generate
contains
method for enum flags by @kennykerr in https://github.com/microsoft/windows-rs/pull/2323 - Improved
riddle
syntax parsing and testing by @kennykerr in https://github.com/microsoft/windows-rs/pull/2324 - metadata
Reader::attribute_args
enhancements by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2329 - Metadata reader: Preserve type when reading enum values in attributes by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2331
- Simplify namespace extensions in the
windows-bindgen
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2339 - Simplify
windows::core
type traits by @kennykerr in https://github.com/microsoft/windows-rs/pull/2343 - Stock collection support for
IIterable
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2346 - Specifically exclude
Windows.Win32.Web.MsHtml
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2348 - Move
IInspectable
extensions fromwindows::core
towindows::Foundation
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2349 - Stock collection support for
IVectorView
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2350 - Stock collection support for
IMapView
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2353 - Update Win32 metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2357
- Add support for the WDK metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2358
- Simplify parameter bindings by @kennykerr in https://github.com/microsoft/windows-rs/pull/2360
- Drop
ManuallyDrop
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2361 - Simplify
Array
usage with non-WinRT types by @kennykerr in https://github.com/microsoft/windows-rs/pull/2362 - Don't store redundant copy of assembly name by @kennykerr in https://github.com/microsoft/windows-rs/pull/2363
- Update Win32 metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2364
- Enable hosted lib generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2365
- Remove
prettyplease
dependency by @kennykerr in https://github.com/microsoft/windows-rs/pull/2367 - Support aggregate constant initialization by @kennykerr in https://github.com/microsoft/windows-rs/pull/2371
- Simplify parameter binding for
BSTR
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2372 - Update Win32 metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2374
- Minor polish of
windows::core
docs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2376 - Remap
CHAR
tou8
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2378 - Version 0.46.0 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2380
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.44.0...0.46.0