Skip to content

v0.22.0 [2024-09-03 UTC]

Latest
Compare
Choose a tag to compare
@HarinezumiSama HarinezumiSama released this 03 Sep 15:44

NuGet Package

Changes in 0.22.0 (since 0.21.0)

Breaking changes

  • OmnifactotumStringBuilderExtensions: Fixed namespace: System -> System.Text

Changes in 0.21.0 (since 0.20.0)

New features

  • Added OmnifactotumStringBuilderExtensions with StringBuilder AppendUIString(this StringBuilder, string?) and StringBuilder AppendSecuredUIString(this StringBuilder, string?, int, int)
  • ObjectValidator: Added EnsureValid<T>(...) method (shortcut for ObjectValidator.Validate(...).EnsureSucceeded())
  • Added KeyedComparer<T, TKey> (implements IComparer<T> and IComparer)
  • Added OmnifactotumNullableCharExtensions with ToUIString(this char? value) method
  • OmnifactotumStringExtensions: Added
    • ToTitleCase(this string?, CultureInfo?)
    • ToTitleCaseForced(this string?, CultureInfo?)
    • ToTitleCaseInvariant(this string?)
    • ToTitleCaseInvariantForced(this string?)
  • OmnifactotumExceptionExtensions: Added EnumerateRecursively(this Exception?) extension method

Updates and fixes

  • Applied MeansImplicitUse annotation to TMemberConstraint in MemberConstraintAttribute<TMemberConstraint>
  • Optimized OmnifactotumCharExtensions.ToUIString(this char)
  • IsOriginatedFrom<TOriginatingException>(this Exception?) and IsOriginatedFrom(this Exception?, Type) are now using OmnifactotumExceptionExtensions.EnumerateRecursively(this Exception?)