Releases: microsoft/CsWin32
Releases · microsoft/CsWin32
v0.3.106
What's Changed
High level enhancements
- Bump metadata versions: SDK: 60.0.34, WDK: 0.11.4 by @AArnott in #1148
- Build stable package version by @AArnott in #1175
Fixes or enhancements
- Fix NullReferenceException in friendly overloads of COM methods with optional pointer parameters by @AArnott in #1109
- Emit
DllImportAttribute.EntryPoint
when metadata sets it to a custom value by @AArnott in #1110 - Offer SafeHandle overloads of methods with HGDIOBJ parameters by @AArnott in #1111
- Include "associated constants" in enum declarations by @AArnott in #1112
- Declare accessor properties for bitfields by @AArnott in #1113
- Allow
ComHelpers
class to be non-partially declared by compilation by @AArnott in #1114 - Allow disabling of friendly overload generation by @AArnott in #1117
- Define constant members of structs as constants by @AArnott in #1122
- Fix handling of signed bit fields by @AArnott in #1126
- Always use pointers when referencing structs with variable-length inline arrays by @AArnott in #1127
- Add helper APIs for variable-length inline arrays by @AArnott in #1130
- Reference and ship the same version of System.Text.Encodings.Web by @AArnott in #1173
- Drop the implicit
System.Memory
reference from the package by @AArnott in #1172
Full Changelog: v0.3.49-beta...v0.3.106
v0.3.49-beta
What's Changed
Full Changelog: v0.3.46-beta...v0.3.49-beta
v0.3.46-beta
What's Changed
- Fix generation of APIs from ServiceFabric winmd by @AArnott in #1000
- Bump win32metadata to 54.0.44-preview by @AArnott in #1016
- Implement
SetLastError
ourselves on .NET when marshaling is not allowed by @AArnott in #1017 - Fix constant wildcard ambiguity warnings by @AArnott in #1019
- Add MAKELONG and related macros by @AArnott in #1018
- Add ToString() methods to ordinary typedef structs by @AArnott in #1020
- FailFast instead of throw from non-HRESULT returning CCW methods by @AArnott in #1021
- Share more boilerplate code in tests by @AArnott in #1035
- Fix CsWin32 api doc reading in newer C# compiler versions by @AArnott in #1037
- Emit
Unsafe.AsRef(in Value[0])
by @AArnott in #1039 - Fix NRE thrown from some COM extension methods by @AArnott in #1043
- Add package README specifically for nuget.org by @AArnott in #1045
- Prefer pointers over
out
/ref
for optional parameters by @AArnott in #1046 - Decorate Dual COM interfaces properly by @AArnott in #1050
- Add implicit conversions between
bool
andVARIANT_BOOL
by @AArnott in #1052
Full Changelog: v0.3.18-beta...v0.3.46-beta
v0.3.18-beta
What's Changed
- Use MSBuild computed full paths for input metadata by @AArnott in #970
- Fix user requests for special types by @AArnott in #974
- Remove unnecessary
fixed
statement in COM struct by @AArnott in #975 - Add
IVTable
interfaces to COM structs by @AArnott in #981
Full Changelog: v0.3.2-beta...v0.3.18-beta
v0.3.2-beta
What's Changed
- Prepare for multi-metadata input to source generator by @AArnott in #944
- Add the WDK as a default metadata input by @AArnott in #946
Full Changelog: v0.2.252-beta...v0.3.2-beta
v0.2.252-beta
What's Changed
- Leverage AlsoUsableForAttribute for more interoperable typedefs by @mikebattista in #930
- Bump win32metadata to 51.0.33-preview by @AArnott in #932
- Update metadata to 52.0.65-preview by @AArnott in #937
- Fix source generator in VS2019 by @AArnott in #938
- Add integration tests for VS and .NET SDK by @AArnott in #940
- Use proper SafeHandle types for specific APIs by @AArnott in #941
- Remove System.Drawing type references when the assembly isn't referenced by @AArnott in #943
New Contributors
- @mikebattista made their first contribution in #930
Full Changelog: v0.2.229-beta...v0.2.252-beta
v0.2.229-beta
What's Changed
- Generate more friendly overloads on net35 by @AArnott in #892
- Simplify spell checker factory in sample by @AArnott in #905
- Rearrange version properties in an attempt to get Dependabot to update tests only by @AArnott in #906
- Do not use an array for a pointer field that doesn't actually refer to an array by @AArnott in #907
- Add System.Memory and Unsafe package references to net45 projects by @AArnott in #916
- Fix typo in ArchSpecificAPIs.md by @HydroH in #919
- Update metadata to 49.0.21-preview by @AArnott in #921
- Fix generated code compilation break due to redundant extension methods by @AArnott in #922
- Recognize
MemorySizeAttribute
in metadata to improve friendly overloads by @AArnott in #923
New Contributors
Full Changelog: v0.2.206-beta...v0.2.229-beta
v0.2.206-beta
What's Changed
- Emit an explanatory warning when users request generation of
IDispatch
orIUnknown
by @AArnott in #865 - Allow null arguments where null-terminated strings are required by @AArnott in #877
- Downgrade System.Memory to 4.5.4 by @AArnott in #876
- Fix for non-remotable COM interfaces by @AArnott in #878
- Bump metadata to 41.0.25-preview by @AArnott in #864
- Update metadata by @AArnott in #889
Full Changelog: v0.2.188-beta...v0.2.206-beta
v0.2.188-beta
What's Changed
- Bring back Vtbl for IUnknown and IDispatch by @AArnott in #827
- Touch-up CCW generation by @AArnott in #828
- Many more CCW and other fixes by @AArnott in #829
- Fix friendly overload handling of reserved parameters by @AArnott in #841
- Update metadata version to 40.0.14-preview by @AArnott in #842
- Drop all dependencies that the compiler provides by @AArnott in #843
- Bring back the certain dependencies by @AArnott in #846
- Remove NativeMethods.json + NativeMethods.txt from the None build action by @0xced in #850
- Null-coalescing in friendly overload by @davidegiacometti in #848
New Contributors
- @0xced made their first contribution in #850
- @davidegiacometti made their first contribution in #848
Full Changelog: v0.2.164-beta...v0.2.188-beta
v0.2.164-beta
What's Changed
Full Changelog: v0.2.162-beta...v0.2.164-beta