Skip to content

Gapotchenko.FX 2021.1 (Release build 2021.1.5)

Compare
Choose a tag to compare
@hrumhurum hrumhurum released this 06 Jul 15:42
  • Added support for .NET 6.0 target framework
  • Introduced Gapotchenko.FX.Memory module
  • Introduced Gapotchenko.FX.Math.Geometry module
  • Introduced Gapotchenko.FX.Math.Combinatorics module
  • Added MathEx.Clamp function that clamps a value to the specified range
  • Added MathEx.Lerp function that performs linear interpolation between two values by the specified coefficient
  • Added AppInformation.For(assembly) static function that retrieves app information for a specified assembly
  • Added LINQ function that simultaneously determines whether any elements of a sequence satisfy the specified conditions ((bool, bool) IEnumerable<T>.Any(Func<T, bool> predicate1, Func<T, bool> predicate2) with higher dimensional overloads)
  • Added ConsoleEx.ReadPassword function for reading a password from the console
  • Added System.Runtime.CompilerServices.ModuleInitializerAttribute polyfill
  • Added SkipLast and TakeLast LINQ polyfills
  • Added System.Collections.Generic.ReferenceEqualityComparer polyfill
  • Added MemberNotNullAttribute and MemberNotNullWhenAttribute nullability annotation polyfills
  • Added GetValueOrDefault polyfills for IReadOnlyDictionary<TKey, TValue>
  • Added TryAdd and Remove(key, out value) polyfills for IDictionary<TKey, TValue>
  • Added System.Numerics.BitOperations.PopCount(ulong) polyfill
  • Improved performance of a thread-safe LINQ memoization
  • Fixed nullability annotations for MathEx.Min and MathEx.Max functions
  • Fixed nullability annotations for LazyInitializerEx class
  • Fixed issue with UTF-8 BOM encoding returned by CommandLine.OemEncoding on Windows when system locale is set to UTF-8
    (cmd.exe cannot consume UTF-8 with BOM)
  • Fixed potential thread safety issues that could occur on architectures with weaker memory models