Releases: richardwilkes/toolbox
Releases · richardwilkes/toolbox
v2.9.0
v2.8.0
- Matrix updates
- Fixed incorrect implementation of the Translate, Scale, Skew, and Rotate methods
- Removed helper methods that took geom.Point
- Assume degrees, not radians, and remove the ByDegrees variants in favor of the shorter names
v2.7.0
- Added methods to Matrix:
- Invert()
- IsIdentity()
- Skew()
- SkewByDegrees()
- Fixed the Rotate() method on Matrix
v2.6.0
- Added additional methods to the fixed64.Fraction type:
- Add
- Sub
- Mul
- Div
- Simplify
- Added xmath.GCD()
v2.5.0
- time.Duration attribute values are now formatted when displayed by the slog.PrettyHandler
- Removed reliance on golang.org/x/exp/constraints by adding similar constraints to the xmath package
- Upgraded to Go 1.25
v2.4.0
- Added xflag.SplitCommandLineWithoutEscapes()
- Fixed a bug in the fixed64.Int Mul() logic when either the value or the argument was the minimum positive, non-zero value that was caused by a faulty optimization
v2.3.0
- Added additional methods and functions to the geom package
- Fixed some edge cases that were failing in the visibility package
- Removed the poly package, as the code wasn't completely reliable and for my needs, I can use the path support from Skia in my unison library instead -- which is also not completely reliable, but seems to work slightly better
v2.2.0
- Reverted the use of fixed-point types in the polygon code, as it just didn't work well enough
v2.1.0
- Added two additional methods to
fixed64.Int:Add()andSub(). These permit text templates to use them more easily. - Updated dependencies.
v2.0.0
Sweeping changes to reorganize the packages, fix some things, improve others, and drop some old functionality that was no longer needed by any of my projects.
Going forward, I'll try to adhere to the normal version compatibility guidelines for Go code, unlike with the v1 code base.
I hope to find time in the near future to add a V1-TO-V2-MIGRATION.md file to the repo to help existing users of v1 make the transition. If you need help finding something or understanding a change, feel free to reach out to me in the meantime.