Skip to content

v3.0 handlers and StackBlur

Choose a tag to compare

@roubachof roubachof released this 05 Oct 23:23
· 2 commits to master since this release
841b917

Release Notes v3.0.0

πŸ”₯ Breaking Changes

Android: RenderScript β†’ StackBlur

  • Fixed: Android 15+ crashes on devices with 16KB page size (Pixel 8, Pixel 9, etc.)
  • Changed: Replaced deprecated RenderScript with pure C# StackBlur algorithm
  • No API changes: Your existing code works as-is

✨ New Features

  • MacCatalyst Support: Full blur support on macOS
  • Modern Handlers: Migrated all platforms from Renderers to MAUI Handlers
  • Async Blur: Background processing with double buffering
  • Change Detection: Skips blur when content unchanged (0% CPU when static)

πŸš€ Performance

Metric Before After
Android 15+ πŸ’₯ Crashes βœ… Works
UI thread ~22ms ~3ms
Static CPU 100% 0%
Frame rate 30-45 FPS 60 FPS

πŸ“¦ Installation

dotnet add package Sharpnado.MaterialFrame.Maui --version 3.0.0

πŸ› Bug Fixes

  • Fixed Android 15+ compatibility issues
  • Eliminated frame drops during scrolling
  • Improved memory management and resource cleanup

πŸ“ Full Changelog

Added:

  • MacCatalyst platform support
  • StackBlur algorithm for Android
  • Async blur processing with double buffering
  • Change detection optimization
  • Modern MAUI Handlers for all platforms

Changed:

  • Android blur: RenderScript β†’ StackBlur
  • All platforms: Renderers β†’ Handlers
  • UI thread blocking: ~22ms β†’ ~3ms

Fixed:

  • Android 15+ crashes (16KB page size)
  • Pixel 8/9 device compatibility
  • Frame drops during blur scrolling
  • Memory leaks in disposal

Removed:

  • RenderScript dependency
  • Legacy Renderer implementations
  • UWP-specific properties