Releases: richardwilkes/toolbox
Releases · richardwilkes/toolbox
v1.94.0
- 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
- Adjust some “deprecated” comments so that the linters will notice them
v1.93.0
- 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
- Added alias types for the common float32 and float64 variants of the types in the geom and poly packages
v1.91.0
- Added
dict.Keys()
anddict.Values()
, since the recent Go 1.21 release mysteriously left them out when bringing over the maps package
v1.90.0
- 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
- Added xmath.EqualWithin() and xmath.SmallestPositiveNonZeroValue()
- Complete rework of the underlying polygon code in xmath/geom/poly; API remains the same
v1.88.0
- Added
.Add()
and.Sub()
tof64.Int
for easier use in templates
v1.87.0
- Added
txt.NaturalCmp()
to work with the revisedslices.SortFunc()
signature that requires anint
return value. - Updated dependencies, including the breaking change in the
slices
package.
v1.86.0
- Added txt.NormalizeLineEndings()