0.57.0
版本发布时间: 2024-06-08 01:42:37
microsoft/windows-rs最新发布版本:0.60.0(2024-09-25 19:49:31)
This release includes updates to a number of crates.
It includes major updates to the following:
-
riddle
0.57.0 -
windows
0.57.0 -
windows-bindgen
0.57.0 -
windows-core
0.57.0 -
windows-implement
0.57.0 -
windows-interface
0.57.0 -
windows-metadata
0.57.0
It also includes minor updates to the following:
-
windows-result
0.1.2 -
windows-registry
0.1.2
This includes various improvements and fixes to code generation, compliance with new Rust warnings, COM authoring support helpers, and more.
This release also includes the first published version of the cppwinrt
crate.
What's Changed
- Workflow improvements by @kennykerr in https://github.com/microsoft/windows-rs/pull/2994
- Workflow improvements 2 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2998
- Workflow improvements 3 by @kennykerr in https://github.com/microsoft/windows-rs/pull/3000
- Workflow improvements 4 by @kennykerr in https://github.com/microsoft/windows-rs/pull/3001
- Add
as_raw
towindows-registry
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3003 - Add Linux smoke test by @kennykerr in https://github.com/microsoft/windows-rs/pull/3005
- Add non-windows support for PWSTR and PCWSTR by @tyilo in https://github.com/microsoft/windows-rs/pull/3004
- Use generated
E_POINTER
constant inwindows-core
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3008 - Use prebuilt gnullvm target by @mati865 in https://github.com/microsoft/windows-rs/pull/3007
- Eliminate default features for JSON samples by @kennykerr in https://github.com/microsoft/windows-rs/pull/3012
- Add support for freeing handles automatically by @kennykerr in https://github.com/microsoft/windows-rs/pull/3013
- Addressing feedback on handle ownership by @kennykerr in https://github.com/microsoft/windows-rs/pull/3014
- Bump ejs from 3.1.9 to 3.1.10 in /web/features by @dependabot in https://github.com/microsoft/windows-rs/pull/3017
- Reconfigure environment for GNU toolchain by @riverar in https://github.com/microsoft/windows-rs/pull/3019
- Remove workaround for empty structs by @kennykerr in https://github.com/microsoft/windows-rs/pull/3016
- Derive
Copy
,Clone
, andDebug
for handles by @kennykerr in https://github.com/microsoft/windows-rs/pull/3015 - Fix for Clippy
HSTRING
interior mutability warnings in nightly by @riverar in https://github.com/microsoft/windows-rs/pull/3021 - Handle new
unexpected_cfgs
warnings by @kennykerr in https://github.com/microsoft/windows-rs/pull/3022 - Update jsonschema requirement from 0.17 to 0.18 by @dependabot in https://github.com/microsoft/windows-rs/pull/3023
- Add
Ref
andOutRef
to enhance COM authoring support by @kennykerr in https://github.com/microsoft/windows-rs/pull/3025 - Simplify derefencing
Ref
interface parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/3027 - Add
from_raw
towindows-registry
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3034 - Simplify
windows-registry
readme by @kennykerr in https://github.com/microsoft/windows-rs/pull/3035 - Type name deferral in
windows-metadata
andwindows-bindgen
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3039 - Streamline
TypeName
to support pattern matching by @kennykerr in https://github.com/microsoft/windows-rs/pull/3040 - Derive standard traits for structs by @kennykerr in https://github.com/microsoft/windows-rs/pull/3041
- Add missing MSRV workflows for newer lib crates by @kennykerr in https://github.com/microsoft/windows-rs/pull/3042
- Provide an explicit
ComObject<T>
type that represents a heap-allocated COM object by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3043 - bindgen/default: Improve formatting of the readme by @MarijnS95 in https://github.com/microsoft/windows-rs/pull/3045
- Allow windows, windows_core (and several other crates) to be compiled and used in no_std environments. by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3047
- Add simple C++ test by @kennykerr in https://github.com/microsoft/windows-rs/pull/3046
- Fix soundness hole in ComObject by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3051
- Re-enable
unexpected_cfgs
by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/3050 - Add
no-default-features
yml workflow by @kennykerr in https://github.com/microsoft/windows-rs/pull/3053 - Fix alignment issue in
windows-registry
value iterator by @kennykerr in https://github.com/microsoft/windows-rs/pull/3052 - Dynamic casting to COM implementation by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3055
- Switch to
windows-2022
hosted runners by @kennykerr in https://github.com/microsoft/windows-rs/pull/3056 - Add
cppwinrt
crate and sample by @kennykerr in https://github.com/microsoft/windows-rs/pull/3054 - Fix handling of COM interfaces with same method name by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3059
- Fix bug in COM interface chain support by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3060
- Fix Debug impls for COM interfaces by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3066
- Use default rustfmt config for most crates by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3064
- Check for null pointers in core
IInspectable
implementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/3057 - Fix warnings from Rust 1.80.0 nightly by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3074
- Remove
unused_qualifications
entirely by @kennykerr in https://github.com/microsoft/windows-rs/pull/3078 - Optimize
IUnknown
identity checks by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3073 - Add WinRT
noexcept
support by @kennykerr in https://github.com/microsoft/windows-rs/pull/3070 - Release 0.57.0 by @kennykerr in https://github.com/microsoft/windows-rs/pull/3081
New Contributors
- @tyilo made their first contribution in https://github.com/microsoft/windows-rs/pull/3004
- @sivadeilra made their first contribution in https://github.com/microsoft/windows-rs/pull/3043
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.56.0...0.57.0