Skip to content

Commit 41c028b

Browse files
author
roubachof
committed
fix: windows platform wass missing from nuget
1 parent 5acd61d commit 41c028b

File tree

2 files changed

+67
-29
lines changed

2 files changed

+67
-29
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Release Notes v2.0.1
2+
3+
## 📦 Windows Platform Inclusion
4+
5+
**Type:** Packaging Fix
6+
7+
This is a re-release of v2.0.0 to include Windows platform binaries.
8+
9+
## 🐛 Issue
10+
11+
Version 2.0.0 was packaged on macOS, which resulted in the Windows target framework (`net9.0-windows10.0.19041.0`) being excluded from the NuGet package.
12+
13+
## ✅ Fix
14+
15+
Version 2.0.1 includes all platform binaries:
16+
-`net9.0` - .NET 9 base
17+
-`net9.0-android` - Android
18+
-`net9.0-ios` - iOS
19+
-`net9.0-maccatalyst` - MacCatalyst
20+
-`net9.0-windows10.0.19041.0` - Windows (now included)
21+
22+
## 📝 Code Changes
23+
24+
**No code changes** - This release is functionally identical to v2.0.0.
25+
26+
All features from v2.0.0 remain unchanged:
27+
- Full .NET 9 MAUI support with modern handlers architecture
28+
- Android BlurType property (Gpu/StackBlur)
29+
- Android improved GPU-based blur rendering
30+
- iOS/MacCatalyst complete rewrite using ViewHandler
31+
- Windows full WinUI 3 support with Composition API
32+
- MacCatalyst full platform support
33+
- Complete handler refactoring for all platforms
34+
- Fixed memory leaks in Windows handler
35+
- Enhanced logging and debugging capabilities
36+
37+
## 📦 Installation
38+
39+
```bash
40+
dotnet add package Sharpnado.Maui.Shadows --version 2.0.1
41+
```
42+
43+
## 🔄 Migration from 2.0.0
44+
45+
Simply update the package version. No code changes required.
46+
47+
Windows developers who were unable to use v2.0.0 can now use v2.0.1.
48+
49+
## 📚 Documentation
50+
51+
For full v2.0.0 feature documentation, see:
52+
- Main README: https://github.com/roubachof/Sharpnado.Shadows
53+
- Blog post: [Docs/blog-post-shadows-2.0.md](../blog-post-shadows-2.0.md)
54+
55+
Repository: https://github.com/roubachof/Sharpnado.Shadows

Maui.Shadows/Maui.Shadows.csproj

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
2424
<LangVersion>latest</LangVersion>
2525

26-
<Version>2.0.0</Version>
26+
<Version>2.0.1</Version>
2727
<Authors>Jean-Marie Alfonsi</Authors>
2828
<Description>Sharpnado.Maui.Shadows adds high-quality, customizable drop shadows to any .NET MAUI view on Android, iOS, Windows, and MacCatalyst. Define multiple shades per view with Color, Opacity, BlurRadius, and Offset, and match corners with CornerRadius for pixel-perfect results. Android supports a selectable blur algorithm via BlurType (Gpu or StackBlur). Built on modern MAUI handlers with platform-optimized implementations (RenderEffect/RenderScript on Android, CALayer on iOS/MacCatalyst, WinUI 3 Composition on Windows), weak events to prevent leaks, and global bitmap caching for performance. Includes XAML markup extensions (SingleShade, ImmutableShades, ShadeStack, NeumorphismShades) for concise, reusable definitions.</Description>
2929
<PackageProjectUrl>https://github.com/roubachof/Sharpnado.Shadows</PackageProjectUrl>
@@ -32,38 +32,21 @@
3232
<PackageLicenseExpression>MIT</PackageLicenseExpression>
3333
<PackageIcon>shadows.png</PackageIcon>
3434
<PackageReadmeFile>PACKAGE_README.md</PackageReadmeFile>
35+
36+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
37+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
38+
<IncludeSymbols>true</IncludeSymbols>
39+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
3540
<PackageReleaseNotes>
36-
Version 2.0.0 - Major release for .NET 9 MAUI
37-
38-
NEW FEATURES:
39-
* Full .NET 9 MAUI support with modern handlers architecture
40-
* Android: New BlurType property (Gpu/StackBlur) for blur algorithm selection
41-
* Android: Improved GPU-based blur rendering with advanced options
42-
* Android: Enhanced memory management and bitmap caching
43-
* iOS/MacCatalyst: Complete rewrite using modern ViewHandler architecture
44-
* Windows: Full WinUI 3 support with Composition API
45-
* MacCatalyst: Full platform support with native blur effects
41+
Version 2.0.1 - Windows Platform Inclusion
4642

47-
IMPROVEMENTS:
48-
* Complete handler refactoring for all platforms (Android, iOS, Windows, MacCatalyst)
49-
* Fixed memory leaks in Windows handler (SizeChanged event subscription)
50-
* Improved null safety with nullable reference types throughout
51-
* Enhanced logging and debugging capabilities
52-
* Better error handling and bounds checking
53-
* Consistent use of WeakEvents to prevent memory leaks
54-
* Modern C# patterns and practices
43+
PACKAGING FIX:
44+
* Re-release to include Windows platform binaries (net9.0-windows10.0.19041.0)
45+
* Previous 2.0.0 release was missing Windows support due to being packaged on macOS
5546

56-
BREAKING CHANGES:
57-
* Minimum target framework: .NET 9
58-
* Legacy Xamarin.Forms support moved to separate package
59-
* Initialization API updated for MAUI handlers
60-
* Assembly name changed to Sharpnado.Maui.Shadows
47+
No code changes from v2.0.0.
6148

62-
PLATFORMS:
63-
* Android API 21+
64-
* iOS 12.2+
65-
* Windows 10.0.17763.0+
66-
* MacCatalyst 15.0+
49+
See documentation: https://github.com/roubachof/Sharpnado.Shadows
6750
</PackageReleaseNotes>
6851
</PropertyGroup>
6952

0 commit comments

Comments
 (0)