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