Skip to content

Version 0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 12 Mar 04:01
· 245 commits to main since this release
v0.5.0
afc8ec2

Added

  • Added SeeAlso() method to all builders, which links to another variable for documentation purposes
  • Added SupersededBy() option, which indicates which variables to use instead of a deprecated one
  • Added WithRegistry() option to allow registration of variables in custom variable registries

Changed

  • [BC] Floating point variables no longer accept NaN, +Inf or -Inf as valid values
  • [BC] Replaced WithConstraintFunc() with WithConstraint()
  • variable.Register() now directly accepts a Registry instead of using functional options

Removed

  • Removed variable.Option type and variable.WithRegistry() option

Fixed

  • Internal errors from strconv.ParseXXX() functions are no longer presented to the user verbatim