Skip to content

Releases: eduherminio/SheepTools

v0.13.0

11 Dec 23:43
Compare
Choose a tag to compare
  • Make model methods virtual (#121)
  • More point extensions (#123)
    • Add Vector2 extensions so that it can be used instead of IntPoint
    • Add IntPointWithValue record
    • Add ChebyshevDistance(Point) and ChebyshevDistance(Vector2) (#124)
    • Support more chars in Move(char) methods

Full Changelog: v0.12.0...v0.13.0

v0.12.0

19 Nov 18:36
Compare
Choose a tag to compare

Migrate to .NET 6 and drop .NET 5 support

Extensions:

  • Add StopwatchExtensions

v0.11.0

28 Dec 15:44
Compare
Choose a tag to compare

Extensions:

  • Add String.ReverseString().
  • Add String.RemoveBlanksAndMakeInvariant().
  • Add String.IsPalindrome().
  • Add String.ToBoolEnumerable().
  • Add String.ToBitArray().
  • Add BitArrayExtensions.Reverse().
  • Add BitArrayExtensions.ToBitString().
  • Add Dictionary.AddOrUpdate()
  • Add Direction.Opposite().
  • Fix Maths.GreatestCommonDivisor(IEnumerable<long>): missing this (it wasn't an extension method).

Models:

  • Add BitMatrix.

v0.10.0

12 Dec 16:46
Compare
Choose a tag to compare
  • Add IntPoint record class.

v0.9.0

12 Dec 15:11
Compare
Choose a tag to compare
  • Add Point.RotateClockwise and Point.RotateCounterclockwise.

v0.8.0

06 Dec 09:13
Compare
Choose a tag to compare
  • Add HashSet<T> IntersectAll<T>(this IEnumerable<IEnumerable<T>>) .
  • Add HashSet<char> IntersectAll(this IEnumerable<string>).

v0.7.0

30 Nov 19:32
Compare
Choose a tag to compare
  • Add a distance parameter to Point.Move() methods.
  • Add DirectionExtensions:
    • TurnLeft().
    • TurnRight().
    • Turn180().

v0.6.0

29 Nov 15:36
Compare
Choose a tag to compare

Add:

  • enum Direction
  • Point.Move(char)
  • Point.Move(Direction)
  • CharExtensions.GetDirection()

v0.5.0

19 Nov 13:37
Compare
Choose a tag to compare
  • Add string.IsWhiteSpace() extension
  • Add GCD and LCM methods to a new static Maths class.

v0.4.0

12 Nov 18:58
Compare
Choose a tag to compare

Convert SheepTools/Model classes into C#9 class records.