0.38.0
版本发布时间: 2022-06-23 04:21:32
microsoft/windows-rs最新发布版本:0.60.0(2024-09-25 19:49:31)
This release includes a host of small improvements and fixes to the windows
crate. Notably, the windows-bindgen
and windows-metadata
crates have been rewritten to avoid the static winmd cache in favor of a stateful metadata reader that allows multiple instances to be used independently (#1777).
This release does not include an update to the windows-sys
crate, which remains stable and unchanged.
What's Changed
- Small clean ups to factory caching by @rylev in https://github.com/microsoft/windows-rs/pull/1758
- Add WinSock conversion utilities by @ryancerium in https://github.com/microsoft/windows-rs/pull/1742
- Set windows-implement min rust-version by @wravery in https://github.com/microsoft/windows-rs/pull/1773
- Stateful metadata & bindgen by @kennykerr in https://github.com/microsoft/windows-rs/pull/1777
- Pay back some technical debt by @kennykerr in https://github.com/microsoft/windows-rs/pull/1779
- Remove nightly test distinction by @kennykerr in https://github.com/microsoft/windows-rs/pull/1778
- Update Win32 metadata to v23 by @kennykerr in https://github.com/microsoft/windows-rs/pull/1783
- Remove unused types by @kennykerr in https://github.com/microsoft/windows-rs/pull/1784
- Remove hidden
RawPtr
type alias by @kennykerr in https://github.com/microsoft/windows-rs/pull/1791 - Remove need for allocation inside Reader by @rylev in https://github.com/microsoft/windows-rs/pull/1794
- Avoid redundant signature calculations by @kennykerr in https://github.com/microsoft/windows-rs/pull/1793
- Improve
Reader
toTree
construction by @kennykerr in https://github.com/microsoft/windows-rs/pull/1797 - Remove
flatten
comment by @kennykerr in https://github.com/microsoft/windows-rs/pull/1801 - Test error propagation by @kennykerr in https://github.com/microsoft/windows-rs/pull/1803
- Trim error messages by @kennykerr in https://github.com/microsoft/windows-rs/pull/1804
- Remove reverse dependency from core module by @kennykerr in https://github.com/microsoft/windows-rs/pull/1802
- Make
Type
methods simpler to use by @kennykerr in https://github.com/microsoft/windows-rs/pull/1806 - Add cross compilation tests by @riverar in https://github.com/microsoft/windows-rs/pull/1808
- Support COM-style query signatures with unconventional parameter positions by @kennykerr in https://github.com/microsoft/windows-rs/pull/1805
- Avoid truncating error codes when converting from
windows::core::Error
tostd::io::Error
by @kennykerr in https://github.com/microsoft/windows-rs/pull/1809 -
Borrowed<'a, T>
RFC by @rylev in https://github.com/microsoft/windows-rs/pull/1788 - Use standard library algorithm for finding query parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/1810
- Avoid string allocations in
Cfg
by @kennykerr in https://github.com/microsoft/windows-rs/pull/1812 - Followup to event PR feedback by @kennykerr in https://github.com/microsoft/windows-rs/pull/1814
- Basic metadata generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/1820
- Avoid UB in
FactoryCache
by @kennykerr in https://github.com/microsoft/windows-rs/pull/1829 - Remove Xaml from
windows
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/1836 - Include
cfg
dependencies for types with generic interface type dependencies by @kennykerr in https://github.com/microsoft/windows-rs/pull/1832 - Add
component
helper function to simplify component development by @kennykerr in https://github.com/microsoft/windows-rs/pull/1840 - Version 0.38.0 by @kennykerr in https://github.com/microsoft/windows-rs/pull/1841
New Contributors
- @ryancerium made their first contribution in https://github.com/microsoft/windows-rs/pull/1742
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.37.0...0.38.0