Releases: microsoft/windows-rs
Releases · microsoft/windows-rs
0.33.0
What's Changed
- Add first-class types for
PCSTR
andPCWSTR
by @kennykerr in #1550 - Prefer
&self
for COM interface traits by @kennykerr in #1511 - Only build the default doc target for
windows-sys
by @kennykerr in #1508 - Simplify implementing with WinRT generic interfaces by @kennykerr in #1510
- Update tests to use
UnsafeCell
by @kennykerr in #1517 - Correct
aarch64
import lib and add tests by @riverar in #1531 - Explicit parameter direction by @kennykerr in #1533
- Include Win32 "retval" signatures in transformation by @kennykerr in #1534
- Fix incorrect implementation shims by @kennykerr in #1535
- Experimental COM interface declaration support by @rylev in #1540
- Make
NTSTATUS::ok
aconst fn
by @roblabla in #1542 - Move feature and dependency tracking to the
metadata
crate by @kennykerr in #1544 - Constrain borrowed parameter lifetime by @kennykerr in #1545
- Simplify and add test for
Weak
by @kennykerr in #1548 - Avoid unnecessary
null_mut
in samples by @kennykerr in #1558 - Restore ability to codegen with windows as dep crate by @riverar in #1551
- Minor doc improvements by @kennykerr in #1564
Full Changelog: 0.32.0...0.33.0
0.32.0
What's Changed
- Use correct lib for internal bindings by @kennykerr in #1432
- Derive
PartialEq
andEq
for scoped enums to support constant patterns by @kennykerr in #1438 - Trait-based
implement
macro by @kennykerr in #1450 - Improve enum code gen by @kennykerr in #1457
- Require delegates to be
Send
by @kennykerr in #1458 - Check windows-sys with 1.46 as MSRV by @kennykerr in #1460
- Simpler error interop by @kennykerr in #1462
- Improve core/xaml app sample ergonomics by @riverar in #1463
- Make handle fields
const
by @kennykerr in #1468 - Improve crate naming and build validation by @kennykerr in #1469
- Make applicable fields
const
by @kennykerr in #1470 - Avoid generating invalid
Debug
traits by @kennykerr in #1473 - Reliably handle Unicode string literals by @kennykerr in #1480
- Update Win32 metadata to 17.0.9 by @kennykerr in #1482
- Support functions that don't return by @kennykerr in #1485
- Update target lib files by @riverar in #1488
windows-implement
crate refactor by @kennykerr in #1489- Precise generic type code generation by @kennykerr in #1492
- Add AgileReference by @Nerixyz in #1474
New Contributors
Full Changelog: 0.30.0...0.32.0
0.30.0
What's Changed
- Implement
Debug
trait forwindows
crate by @kennykerr in #1395 - Add bitwise operators for flag enums by @kennykerr in #1413
- Add uwp targets by @bdbai in #1416
- Add repository URLs to all library Cargo manifests by @complexspaces in #1418
- Reintroduces handle types for the
windows
crate by @kennykerr in #1423 - Remove std feature by @kennykerr in #1424
New Contributors
- @complexspaces made their first contribution in #1418
Full Changelog: 0.29.0...0.30.0
0.29.0
- Update win32 metadata (1387)
- Feature and doc generation for
windows-sys
(1381) - New
windows-bindgen
for simpler code generation (1379) - Simplify and unify underlying types (1368)
- Callbacks now consistently use
Option
(1344) - Reduce crate size by limiting Xaml bindings (1341)
- Other small improvements and fixes