Releases: Sergio0694/PolySharp
1.9.0
This PolySharp release includes a new MSBuild options to help in multi-targeting scenarios.
⚙️ Options
- "PolySharpUseTypeAliasForUnmanagedCallersOnlyAttribute": uses a type alias for
[UnmanagedCallersOnly]
.
🚀 Optimizations
- The source generator is now faster and uses less memory
1.8.3
This release just includes bug fixes for .NET Framework 3.5.
✅ Bug fixes
- Include readme in NuGet package by @Sergio0694 in #34
- Switch UnsupportedCSharpLanguageVersionAnalyzer to analyzer by @Sergio0694 in #35
1.8.2
This release just includes bug fixes for .NET Framework 3.5.
✅ Bug fixes
- Add workarounds to support .NET 3.5 by @Sergio0694 in #33
1.8.1
This release just includes bug fixes for the available MSBuild properties.
✅ Bug fixes
- Fix multiline properties for generator by @Sergio0694 in #29
1.8.0
1.7.1
This PolySharp release includes just one more bug fix.
✅ Bug fixes
- Fixed the
[AsyncMethodBuilder]
and[ModuleInitializer]
polyfills having public accessibility by default
1.7.0
This PolySharp release includes one more polyfill, and some improvements.
🪄 Polyfills
[ModuleInitializer]
(needed to enable custom module initializers)
✅ Bug fixes
- Tweaked the
[CompilerFeatureRequired]
polyfill to build correctly when using C# 8.0 - Disabled polyfill generation when C# < 8.0 to avoid causing build errors
- Added a new analyzer to emit warnings in this case to explain why polyfills are missing
1.6.0
This PolySharp release includes one more polyfill that was missing.
🪄 Polyfills
[StringSyntax]
(needed to enable syntax highlight in the IDE)
1.5.0
This PolySharp release includes additional options and a brand new analyzer to emit diagnostics for invalid MSBuild options.
⚙️ Options
- "PolySharpExcludeGeneratedTypes": excludes specific types from generation (';' or ',' separated type names).
1.4.0
This PolySharp release includes improvements to the generated code and one missing polyfill. All generated types now use global::
and fully qualified type names everywhere. This makes them resilient to any global using
-s that consuming projects might be using.
🪄 Polyfills
[AsyncMethodBuilder]
(needed for custom method builder types)