Skip to content

Releases: richardwilkes/toolbox

v1.94.0

26 Aug 22:27
3c3185e
Compare
Choose a tag to compare
  • Adapt to use slog instead of jot
  • Added xio.NewBOMStripper() to automatically strip the UTF BOM from a reader's input stream if it is present
  • Added txt.Comma() and txt.CommaFromStringNum() to pretty-format numbers
  • Added the check package, a set of simple testing helpers
  • Reordered some structs to improve GC scanning
  • Reduced the set of dependencies required

v1.93.1

16 Aug 15:20
a49cb2c
Compare
Choose a tag to compare
  • Adjust some “deprecated” comments so that the linters will notice them

v1.93.0

13 Aug 20:46
c9e8635
Compare
Choose a tag to compare
  • Added visibility (isovist) computation in the xmath/geom/visibility package
  • Modified the quadtree.QuadTree type to require an additional generics parameter, in order to allow the API to return specific types for better type safety. This is a minor, but breaking, change

v1.92.0

09 Aug 19:57
26ed363
Compare
Choose a tag to compare
  • Added alias types for the common float32 and float64 variants of the types in the geom and poly packages

v1.91.0

09 Aug 16:43
2465404
Compare
Choose a tag to compare
  • Added dict.Keys() and dict.Values(), since the recent Go 1.21 release mysteriously left them out when bringing over the maps package

v1.90.0

08 Aug 20:53
6e1b318
Compare
Choose a tag to compare
  • Added slice.ZeroedDeleteFunc()
  • Update to Go 1.21
    • Use of the new slices package (instead of golang.org/x/exp/slices)
    • Use of the built-ins min() and max()

v1.89.0

05 Aug 03:17
0fd69e0
Compare
Choose a tag to compare
  • Added xmath.EqualWithin() and xmath.SmallestPositiveNonZeroValue()
  • Complete rework of the underlying polygon code in xmath/geom/poly; API remains the same

v1.88.0

31 Jul 17:14
b1b2e6a
Compare
Choose a tag to compare
  • Added .Add() and .Sub() to f64.Int for easier use in templates

v1.87.0

25 Jul 20:39
942b2c6
Compare
Choose a tag to compare
  • Added txt.NaturalCmp() to work with the revised slices.SortFunc() signature that requires an int return value.
  • Updated dependencies, including the breaking change in the slices package.

v1.86.0

25 Jun 22:15
9ad336b
Compare
Choose a tag to compare
  • Added txt.NormalizeLineEndings()