8.0.0 Preview 1
Pre-release
Pre-release
Changes:
Breaking Changes 💥:
- #79: Add [RequiresPreviewFeatures] to unsafe APIs (HighPerformance)
- #77: Strip source generator attributes by default (MVVM Toolkit)
- #63: Switch source generators to incremental generators (MVVM Toolkit)
- #60: Add null checks for parameters of public APIs (MVVM Toolkit)
- #42: Switch .NET 5 target to .NET 6
- Remove .NET Standard 1.4, .NET Core 2.1 and .NET 5 targets.
- Switch setters in attribute properties to init-only. (MVVM Toolkit)
- Move
NullabilityExtensions
toCommunityToolkit.HighPerformance
namespace. (HighPerformance)
New features 🆕:
- #64: Add NullableExtensions.DangerousGetValueOrNullReference (HighPerformance)
- #30: Add concurrency control to AsyncRelayCommand types (MVVM Toolkit)
- #48: Enable INotifyPropertyChanging AppContext switch (MVVM Toolkit)
- #50: Add [ICommand] CanExecute property (MVVM Toolkit)
- #29: Add [CallerArgumentExpression] to Guard APIs (Diagnostics)
- #66: Add vectorized Count support for nint/nuint (HighPerformance)
- #70: Add interpolated handler overload for Guard.IsTrue/IsFalse (Diagnostics)
- #53: Add [AlsoNotifyCanExecuteFor] attribute (MVVM Toolkit)
Improvements ✨:
- #78: Remove class constraint from Guard.Is[Not]Null APIs (Diagnostics)
- #76: Add trimming support
- #68: Add [StackTraceHidden] attribute to internal ThrowHelper type (Diagnostics)
- #69: Remove [Pure] attribute usages
- #67: Add missing trailing dot to exception messages (Diagnostics)
- #47: Switch all generated code to global:: (MVVM Toolkit)
- #31: Improve header for generated files (MVVM Toolkit)
- #59: Optimize StrongReferenceMessenger (MVVM Toolkit)
- #44: Optimize WeakReferenceMessenger (MVVM Toolkit)
Bug fixes 🐛:
- #13: MVVM Source Generators: CS1028 Error if #region block (MVVM Toolkit)
- #45: StrongReferenceMessenger.Unregister[All] fixes (MVVM Toolkit)
- #65: Fix RuntimeHelpers.IsReferenceOrContainsReferences polyfill (HighPerformance)
Documentation 📃:
Others:
- #92: Disable generation of header files if no targets are present (MVVM Toolkit)
- #91: Update .targets for MVVM Toolkit to fix .wapproj issues (MVVM Toolkit)
- #90: Update base version number to reflect upcoming version
- #88: Bump NuGet package reference versions
- #89: Fix conflicting generation of nullability attributes (MVVM Toolkit)
- #87: Calculate the current C# compiler version (MVVM Toolkit)
- #75: Minor code style tweaks
- #6: Update readme build number and add contributor image
- #4: Test CI Setup
This list of changes was auto generated.