CommunityToolkit Dotnet Versions Save

.NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and part of the .NET Foundation.

v8.2.2

6 months ago

What's Changed 🆕

New Contributors

Full Changelog: https://github.com/CommunityToolkit/dotnet/compare/v8.2.1...v8.2.2

v8.2.1

10 months ago

What's Changed 🆕

New Contributors 🙌

Full Changelog: https://github.com/CommunityToolkit/dotnet/compare/v8.2.0...v8.2.1

v8.2.0

1 year ago

Release blog post: https://devblogs.microsoft.com/dotnet/announcing-the-dotnet-community-toolkit-820/.

What's Changed 🆕

New Contributors 🙌

Full Changelog: https://github.com/CommunityToolkit/dotnet/compare/v8.1.0...v8.2.0

v8.2.0-preview2

1 year ago

This is a small revision update to allow everyone to try out and validate some more source generator improvements.

What's Changed (since 8.2.0 Preview 1) 🆕

v8.2.0-preview1

1 year ago

What's Changed (since 8.1.0) 🆕

New Contributors

v8.1.0

1 year ago

Breaking changes (since 8.0.0) 💥

  • All Ref<T>-like types in the HighPerformance package are now .NET 7 only (they were all marked as preview)
  • Removed a .NET Standard 2.0 only overload for LockExtensions (which was marked as preview)
  • The StreamExtensions.Read<T> method now throws an EndOfStreamException when reaching end of stream
  • Remove nullability attributes generator from the MVVM Toolkit (for [NotNull] and [NotNullIfNotNull])

What's changed (since 8.0.0) 🆕

New Contributors

v8.1.0-preview3

1 year ago

Breaking changes (since 8.1.0 Preview 2) 💥

What's Changed (since 8.1.0 Preview 2) 🆕

v8.1.0-preview2

1 year ago

Breaking changes (since 8.1.0 Preview 1) 💥

  • The StreamExtensions.Read<T> method now throws an EndOfStreamException when reaching end of stream

What's Changed (since 8.0.0) 🆕

New Contributors

Full Changelog: https://github.com/CommunityToolkit/dotnet/compare/v8.1.0-preview1...v8.1.0-preview2

v8.1.0-preview1

1 year ago

Breaking changes (since 8.0.0) 💥

  • All Ref<T>-like types in the HighPerformance package are now .NET 7 only
  • Removed a .NET Standard 2.0 only overload for LockExtensions (which was marked as preview)

What's Changed (since 8.0.0) 🆕

New Contributors

Full Changelog: https://github.com/CommunityToolkit/dotnet/compare/v8.0.0...v8.1.0-preview1

v8.0.0

1 year ago

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 to CommunityToolkit.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) 🆕

New Contributors

Full Changelog: https://github.com/CommunityToolkit/dotnet/compare/v8.0.0-preview4...v8.0.0