mvvm-dialogs
mvvm-dialogs copied to clipboard
chore(deps): update dependency communitytoolkit.mvvm to v8
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
CommunityToolkit.Mvvm | nuget | major | 7.0.3 -> 8.0.0 |
Release Notes
CommunityToolkit/dotnet
v8.0.0
Breaking changes (since 7.1.x) π₯
- #β292: Add FlowExceptionsToTaskScheduler command option
-
#β288: Rename attributes, enable class-level support
- [AlsoNotifyChangeFor] ---> [NotifyPropertyChangedFor]
- [AlsoNotifyCanExecuteFor] ---> [NotifyCanExecuteChangedFor]
- [AlsoValidateProperty] ---> [NotifyDataErrorInfo]
- [AlsoBroadcastChange] ---> [NotifyPropertyChangeRecipients]
- [ICommand] ---> [RelayCommand]
- #β248: Block [ObservableProperty] on properties causing conflicts
- #β267: property validation is now opt-in, and [NotifyDataErrorInfo] is needed
- #β169: Revamp observable collection APIs
- #β183: Remove SpinLock extension taking an object
- #β190: Change IndexOf APIs to return -1 if not found
- #β173: Remove obsolete APIs
- #β151: Move collection types to MVVM Toolkit
- #β131: Remove CanExecute checks from Execute logic
- #β113: Propagate task exceptions to TaskScheduler.UnobservedTaskException
- #β127: Switch async commands to default to no concurrent execution
- #β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)
Improvements (since 7.1.x) β¨
- #β285: Properly forward nullability annotations for [ICommand]
- #β277: Add diagnostic for duplicate ICommand-s in base types
- #β279: Add support for "On" prefix for command methods
- #β284: Use ".g.cs" extension for all generated files
- #β267: Add [AlsoValidateProperty] attribute
- #β181: Fix [ICommand] generator crashing with overloads, add diagnostics
- #β161: Allow Task<T>-returns on methods with [ICommand]
- #β179: Make NullabilityAttributesGenerator incremental
- #β141: Extend source generator diagnostics in several scenarios
- #β119: [ObservableProperty] generates partial OnPropertyChanging/Changed methods
- #β128: Add cancel command support
- #β135: Add [DynamicallyAccessedMembers] annotations
- #β122: Fix async command event notifications
-
#β124: Add
to generated observable properties - #β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<T> support for nint/nuint (HighPerformance)
- #β70: Add interpolated handler overload for Guard.IsTrue/IsFalse (Diagnostics)
- #β53: Add [AlsoNotifyCanExecuteFor] attribute (MVVM Toolkit)
- #β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)
NOTE: for a full list of all changes in past previews, see the changelog for 8.0.0 Preview1-4.
What's Changed (since 8.0.0-Preview4) π
- Update EditorConfig and Git files by @βNirmal4G in https://github.com/CommunityToolkit/dotnet/pull/304
- Add missing trimming annotations by @βSergio0694 in https://github.com/CommunityToolkit/dotnet/pull/310
- Add "this." prefix to all field accesses by @βSergio0694 in https://github.com/CommunityToolkit/dotnet/pull/309
- Add unique prefixes to all .targets properties and items by @βSergio0694 in https://github.com/CommunityToolkit/dotnet/pull/321
- Improve exceptions for invalid command arguments by @βSergio0694 in https://github.com/CommunityToolkit/dotnet/pull/301
- Fix [RelayCommand] CanExecute when nullable arguments are used by @βSergio0694 in https://github.com/CommunityToolkit/dotnet/pull/302
- Add aka.ms links to MVVM generator diagnostics by @βSergio0694 in https://github.com/CommunityToolkit/dotnet/pull/326
- Asynchronous implementation of
MemorySource<TSource>.CopyToAsync
by @βOronDF343 in https://github.com/CommunityToolkit/dotnet/pull/266 - Replace linker suppressions with attributes by @βSergio0694 in https://github.com/CommunityToolkit/dotnet/pull/359
New Contributors
- @βOronDF343 made their first contribution in https://github.com/CommunityToolkit/dotnet/pull/266
Full Changelog: https://github.com/CommunityToolkit/dotnet/compare/v8.0.0-preview4...v8.0.0
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.