8.1.0
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 anEndOfStreamException
when reaching end of stream - Remove nullability attributes generator from the MVVM Toolkit (for
[NotNull]
and[NotNullIfNotNull]
)
What's changed (since 8.0.0) 🆕
- Correct typo in converters by @heku in #394
- Fix for using C# 8.0 projects (e.g. UWP projects stuck on .NET Core 3) by @zhuman in #398
- Multi-target Roslyn dependency in MVVM Toolkit generators by @Sergio0694 in #428
- Move language diagnostics to diagnostic analyzers by @Sergio0694 in #433
- Move diagnostics for orphaned observable property attributes to analyzer by @Sergio0694 in #434
- Don't use ISymbol in IncrementalValuesProvider nodes by @Sergio0694 in #435
- Update URLs for Status Badges in Readme by @michael-hawker in #439
- Use ForAttributeWithMetadataName when possible by @Sergio0694 in #436
- readme enhancement for nuget package by @WeihanLi in #444
- Replace characters from StringBuilder to reduce string allocations by @Youssef1313 in #447
- Enable explicit attribute forwarding for [ObservableProperty] by @Sergio0694 in #449
- Improve Perf for Azure Pipelines build by @Nirmal4G in #450
- Use EditorConfig to apply file headers by @Nirmal4G in #452
- Remove Roslyn 4.3 workaround, bump to 4.3.1 by @Sergio0694 in #462
- More MVVM Toolkit generator improvements by @Sergio0694 in #460
- Add IObservable extensions for IMessenger by @Sergio0694 in #461
- Fix [RelayCommand] for methods that can't be lowered by @Sergio0694 in #475
- Add and use new EquatableArray type in source generators by @Sergio0694 in #469
- Add .NET 7 TFM to HighPerformance target, switch to C# 11 by @Sergio0694 in #481
- Remove unnecessary finalizers by @Sergio0694 in #483
- Update NuGet icon by @Sergio0694 in #486
- More source generator optimizations by @Sergio0694 in #487
- Moar source generator optimizations by @Sergio0694 in #489
- Use Nullable.GetValueRefOrDefaultRef where possible by @Sergio0694 in #499
- Bump NuGet packages to latest stable versions by @Sergio0694 in #501
- Drop .NET Core 3.1 TFM by @Sergio0694 in #502
- Fix IBufferWriterExtensions type of exception thrown documentation by @pziezio in #497
- Move all source files into src\subfolder by @Sergio0694 in #507
- Use PolySharp for polyfills, and centralize shared MSBuild properties by @Sergio0694 in #510
- Replace Unsafe.SizeOf() with sizeof(T) by @Sergio0694 in #511
- Replace Unsafe.NullRef() with ref (T)null by @Sergio0694 in #512
- Fix StreamExtensions.Read when using buffered streams by @Sergio0694 in #520
- Use ref fields on .NET 7 for all span-like types by @Sergio0694 in #519
- Add analyzer for incorrect [INotifyPropertyChanged] and [ObservableObject] use by @Sergio0694 in #531
- Add analyzer for references to fields with [ObservableProperty] by @Sergio0694 in #532
- Use Stream.ReadExactly on .NET 7 by @Sergio0694 in #535
- Skip field reference diagnostics from constructors by @Sergio0694 in #539
- Add target to fix analyzers on legacy .csproj projects by @Sergio0694 in #541
- Remove nullability attributes generator by @Sergio0694 in #538
- Update NuGet packages to latest stable releases by @Sergio0694 in #545
- Add unit test for [ObservableProperty] on _UpperCamel field by @Sergio0694 in #551
- Update Code of Conduct document by @Nirmal4G in #560
- Add missing StrongReferenceMessenger registration fast path by @Sergio0694 in #561
- Fix diagnostic analyzer documentation/title by @Sergio0694 in #562
- Emit diagnostic for unresolved property: attribute over [ObservableProperty] field by @Sergio0694 in #564