Releases: microsoft/windows-rs
Releases · microsoft/windows-rs
0.35.0
What's Changed
- Update Windows metadata, import libraries by @riverar in #1604
- Support richer COM interface hierarchies by @rylev in #1608
- Fix bug where COM interfaces needed to be declared pub by @rylev in #1611
- Fix bug where the
interface
feature could not be used without theimplement
feature by @rylev in #1612 - Update metadata, regen crates by @riverar in #1613
- Make a safer conversion From for INTERFACE by @rylev in #1619
- Make test checking for conversion to param by @rylev in #1620
- Do not emit cfg attribute if not requested by @riverar in #1623
- Add
DataProtection
sample by @kennykerr in #1624 - Expand
DataProtection
sample to illustrate buffer byte access by @kennykerr in #1626 - Basics of metadata generation by @kennykerr in #1633
- Simpler metadata discovery by @kennykerr in #1635
- Adopt Rust 2021 by @kennykerr in #1636
- Limit win32 array params to non-shared length params by @kennykerr in #1641
- Handle
IDispatch
edge case by @kennykerr in #1642 - Update Win32 metadata, regen crates by @riverar in #1646
- Type-specific handle validity checking by @kennykerr in #1648
- Avoids name collision in vtable generation by @kennykerr in #1649
- Use
BSTR
allocator asPCSTR
andPCWSTR
parameter allocator by @kennykerr in #1657 - Handle type mismatch with invalid handle values by @kennykerr in #1659
- Version 0.35.0 by @kennykerr in #1660
Full Changelog: 0.34.0...0.35.0
0.34.0
What's Changed
- Add support for Win32 array parameters by @kennykerr in #1562
- Add user consent verification sample by @kennykerr in #1566
- Anchor CI to Windows Server 2019 virtual image by @riverar in #1569
- Compact representation for pure
IDispatch
declarations by @kennykerr in #1568 - Fix
nightly
warning about unusedmust_use
by @kennykerr in #1580 - Expose Interface trait and Weak object in documentation by @vthib in #1576
- Improved Win32 array transformation by @kennykerr in #1570
- Avoid generating
IDispatch
members by @kennykerr in #1584 - Simplify common error code conversions by @kennykerr in #1585
- Remove nightly features that are no longer required by @kennykerr in #1591
- Provide hex output for
Debug
impl ofHRESULT
andNTSTATUS
by @kennykerr in #1590 - Fix multi arg COM methods and allow all types in interface methods by @rylev in #1594
- Allow for non-HRESULT return types in COM by @rylev in #1595
- Double quote feature names in generated docs for easier cut/paste by @riverar in #1599
- Basic component development support by @kennykerr in #1600
- Add license files to crate packages by @kennykerr in #1602
- Version 0.34.0 by @kennykerr in #1603
New Contributors
Full Changelog: 0.33.0...0.34.0
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