Caliburn.Micro Xaml made easy

Caliburn micro v5

๐Ÿš€ Caliburn.Micro V5 Release Notes

๐Ÿ†• New Platform Support

  • Avalonia UI (Beta)
    • Introduced Caliburn.Micro.Avalonia adapters
    • Added extensive Avalonia sample files.
  • .NET MAUI (Beta)
    • New Caliburn.Micro.Maui package for MAUI integration.
  • WinUI 3
    • Added adapters and sample applications under the Features.WinUI3 project.

๐Ÿ“ฆ Project & Package Updates

  • Published new NuGet packages for:
    • Avalonia
    • MAUI
    • WinUI 3
  • Reorganized sample and project files to support new platforms.

๐ŸŒ Multi-Platform Sample & Feature Enhancements

  • Expanded sample projects for:
    • WPF, UWP, Xamarin
    • .NET Core, .NET 5โ€“9
    • Avalonia, WinUI 3
  • Samples now demonstrate:
    • New features
    • Cross-platform patterns
    • Platform-specific implementations

๐Ÿงน Code Modernization & API Improvements

  • Refactored view models and helpers:
    • Replaced public fields with private backing fields
    • Improved property change notifications
  • Enhanced async/await support in:
    • Bootstrappers
    • View models
    • Navigation
    • Coroutine execution
  • Updated project targets:
    • WPF: .NET 4.8 โ†’ .NET 9
    • UWP: Latest SDKs

๐ŸŽจ Platform-Specific UI/UX Enhancements

  • Updated XAML/UI files for:
    • Modern UI idioms
    • Better design-time data
    • Platform conventions
  • Added new visual states:
    • ShowLoading vs Loading for coroutines/progress bars
  • Improved navigation and menu views across platforms.

๐Ÿ”ง CI/CD & Build Infrastructure

  • Addressed code quality issues:
    • Removed redundant assignments
    • Simplified boolean expressions
    • Fixed variable shadowing
  • Refactored loops to concise LINQ expressions (e.g., .Where()).
  • Resolved deprecated usage (e.g., StackLayout in MAUI).
  • Fixed build warnings and updated dependencies.

I would like to thank @K4PS3, @Yinimi, @darxis, @ravibaghel, @Lehonti, @Stannieman, @erik-hooper, @danwalmsley, @KasperSK , @inforithmics, @emanonhero for your contributions to this release.

V5 Beta

Caliburn Micro V5 Beta Release Notes

New Features

  • .NET MAUI support
  • Avalonia UI support
  • WinUI 3 support

Supported Versions

  • .NET:
    • .NET 8.0
    • .NET 9.0
  • .NET Framework:
    • Version 4.62 and later

Deprecated Support

  • .NET Framework:
    • 4.6.1 and lower
  • .NET Core:
    • 3.1
  • .NET:
    • 5
    • 6
    • 7

Security Enhancements

  • CodeQL scans
  • Added Software Bill of Materials (SBOM) to NuGet packages

Bug Fixes

  • Bug 762: ConductWith now behaves consistently for Activate and Deactivate
  • Bug 906: Long-running tasks within OnDeactivateAsync now run on the captured context

CodeQL fixes

  • Code Scanning alert #199: Change Unsynchronized access to static collection member in non-static context (changed MessageBinder.SpecialValues to ConcurrentDictionary)
  • Code Scanning alert #198 & 197: Change Unsynchronized access to static collection member in non-static context (changed NonResolvableChildTypes to ConcurrentDictionary)
  • Code Scanning alerts # 2 - 9: Invalid string formatting (Updated string being passed by unit tests)
  • Code Scanning alerts # 101 - 110: Reference equality test on System.Object (Using object.ReferenceEquals instead of == on objects)

Additional NuGet Sources

  • GitHub packages now include NuGet packages: link

Updates and Improvements

  • Xamarin.Forms updated to V5
  • Added unit tests for additional platforms

Special Thanks

A heartfelt thank you to @KasperSK, @K4PS3, @ravibaghel, @Dennis40816, @darxis, @Yinimi, @Stannieman, and @danwalmsley for your hard work.


Caliburn.micro Future

Caliburn Micro V6 Roadmap

Upcoming Features

  • Support for Uno Platform: V6 will introduce support for the Uno Platform, enhancing cross-platform development capabilities.
  • Xamarin Version to be Removed: Due to Microsoft discontinuing support for Xamarin, V6 will no longer include a Xamarin Forms version.

Performance Improvements

  • Enhanced performance: performance improvements for Caliburn Micro, optimizing both speed and efficiency.

Caliburn.Micro Extensions Project

  • Project Overview:
    • This project will provide templates for Caliburn.Micro.
    • The release will include a code generator to simplify INotifyPropertyChanged.
  • IValue Converters:
    • Bool to Visibility converter for all platforms, not just UWP.
    • URL to Image converter.
    • Decimal to String converter for custom currency formatting.
    • DateTime to String converter for custom DateTime formatting.

Bug Fix V4

Bug Fix for Caliburn.Micro V4

  • Bug 906: Long-running tasks within OnDeactivateAsync now run on the captured context

  • Due to build issues, the Android version has been updated.

A heartfelt thank you to @darxis, and @Yinimi for your hard work on fixing this bug.

Caliburn.micro 4.0.210 released

Caliburn.Micro 4.0.210 Released

Included in this maintance release

  • .net 6 support
  • moved min version of .net framework to 4.6.2
  • Check for multiple assemblies being added to the cache @HEskandari
  • IOC performance fixes
  • Removed unnecessary nuget packages

@RudolfJan has also improved the tutorials in the documentation