Skip to content

Releases: suranig/AggregateKit

v0.2.0

08 Jun 12:24

Choose a tag to compare

[0.2.0] - 2025-06-08

Changed

  • BREAKING: Upgraded target framework from .NET Standard 2.0 to .NET 8.0
  • Modernized Guard class to use .NET 8 built-in methods (ArgumentNullException.ThrowIfNull, ArgumentException.ThrowIfNullOrEmpty, ArgumentException.ThrowIfNullOrWhiteSpace)
  • Enhanced Entity class with IEquatable<Entity> implementation and improved equality comparisons using EqualityComparer.Default
  • Improved ValueObject class with IEquatable implementation and System.HashCode for better hash code generation
  • Modernized Result and Result classes with C# 12 collection expressions, target-typed new expressions, and implicit conversion operators
  • Updated AggregateRoot to use collection expressions and AsReadOnly() instead of ToImmutableList() for better performance
  • Enhanced Guard methods with CallerArgumentExpression attributes for automatic parameter name detection
  • Added NotNull attributes for better nullable reference types support