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 #1758
- Add WinSock conversion utilities by @ryancerium in #1742
- Set windows-implement min rust-version by @wravery in #1773
- Stateful metadata & bindgen by @kennykerr in #1777
- Pay back some technical debt by @kennykerr in #1779
- Remove nightly test distinction by @kennykerr in #1778
- Update Win32 metadata to v23 by @kennykerr in #1783
- Remove unused types by @kennykerr in #1784
- Remove hidden
RawPtrtype alias by @kennykerr in #1791 - Remove need for allocation inside Reader by @rylev in #1794
- Avoid redundant signature calculations by @kennykerr in #1793
- Improve
ReadertoTreeconstruction by @kennykerr in #1797 - Remove
flattencomment by @kennykerr in #1801 - Test error propagation by @kennykerr in #1803
- Trim error messages by @kennykerr in #1804
- Remove reverse dependency from core module by @kennykerr in #1802
- Make
Typemethods simpler to use by @kennykerr in #1806 - Add cross compilation tests by @riverar in #1808
- Support COM-style query signatures with unconventional parameter positions by @kennykerr in #1805
- Avoid truncating error codes when converting from
windows::core::Errortostd::io::Errorby @kennykerr in #1809 Borrowed<'a, T>RFC by @rylev in #1788- Use standard library algorithm for finding query parameters by @kennykerr in #1810
- Avoid string allocations in
Cfgby @kennykerr in #1812 - Followup to event PR feedback by @kennykerr in #1814
- Basic metadata generation by @kennykerr in #1820
- Avoid UB in
FactoryCacheby @kennykerr in #1829 - Remove Xaml from
windowscrate by @kennykerr in #1836 - Include
cfgdependencies for types with generic interface type dependencies by @kennykerr in #1832 - Add
componenthelper function to simplify component development by @kennykerr in #1840 - Version 0.38.0 by @kennykerr in #1841
New Contributors
- @ryancerium made their first contribution in #1742
Full Changelog: 0.37.0...0.38.0