Skip to content

2.0.0

Compare
Choose a tag to compare
@ferraridamiano ferraridamiano released this 17 May 15:53
· 31 commits to main since this release
  • We finally introduce extensions on num and String. Checkout the documentation for more details. Now you can easily convert in this way:
1.convertFromTo(LENGTH.meters, LENGTH.inches)
  • We also refactor a little bit the code: now all the properties inherit from CustomProperty, this change leads to a reduction of ~500 lines of code.

  • We fixed a wrong conversion (energy foot pound)

Breaking:

  • Node becomes ConversionNode
  • SimpleCustomConversion becomes SimpleCustomProperty
  • CustomConversion becomes CustomProperty