Skip to content

Releases: breadcat-dev/toolbox

Toolbox v2.3.0

Choose a tag to compare

@breadcat-dev breadcat-dev released this 10 Jul 10:17

Added

  • STRICT_EPSILON and STRICT_EPSILON_F to MathConstants

Changed

  • EPSILON from 1e-12 to 1e-9
  • EPSILON_F from 1e-6f to 1e-5f
  • Updated approximatelyZero() to use the strict epsilon constants

Fixed

  • approximatelyZero(float) using STRICT_EPSILON instead of STRICT_EPSILON_F
  • approximatelyZero(double) using STRICT_EPSILON_F instead of STRICT_EPSILON

Toolbox v2.2.1

Choose a tag to compare

@breadcat-dev breadcat-dev released this 09 Jul 16:58

Changed

  • Renamed directory constants to constant

Toolbox v2.2.0

Choose a tag to compare

@breadcat-dev breadcat-dev released this 09 Jul 16:27

Added

  • MathConstants
  • DivisionByZeroException
  • InvalidRangeException

Changed

  • NullArgumentExceptions prefix message
  • Renamed all *Util classes to *Utils
  • Renamed AnsiUtils to AnsiConstants
  • Moved BinaryDataUnits, DecimalDataUnits and TimeUnits from unit/ to constant/
  • Replaced floating-point equality checks with Float.compare() / Double.compare()
  • Replaced most IllegalArgumentExceptions in MathUtils with InvalidRangeException
  • Simplified Javadocs

Fixed

  • NullArgumentExceptions in StringUtil

Removed

  • Redundant clamp() methods (use Math.clamp())

Toolbox v2.1.0

Choose a tag to compare

@breadcat-dev breadcat-dev released this 02 Jul 16:59

Toolbox v2.1.0

Added

  • MathUtil
  • Javadocs documentation to MathUtil

Toolbox v2.0.0

Choose a tag to compare

@breadcat-dev breadcat-dev released this 01 Jul 11:01

Added

  • Added TiB to BinaryDataUnits
  • Added TB to DecimalDataUnits

Changed

  • Split FileUtil into PathUtil, FileIOUtil and FileQueryUtil
  • Split DataUnits into BinaryDataUnits and DecimalDataUnits
  • Changed the return type of FileUtil.walk(Path), files(Path) and directories(Path) from Stream to List
  • Renamed FileQueryUtil.collectFiles(Collection) to resolveFiles(Collection)
  • Removed PrimitiveUtil
  • Removed ArgsUtil
  • Removed PrimitiveUnits

Improved

  • Optimized StringUtil.join(String, Object...)
  • Improved FileQuerryUtil.resolveFiles(Collection)