Releases: hugoalh-studio/temperature-es
Releases · hugoalh-studio/temperature-es
3.0.0 Beta 1
💥 Break Changes
- Change target NodeJS to >= v16.13.0 (@hugoalh)(N/A)
- Refactor class
Temperature
: (@hugoalh)(N/A)- Method
toJSON
is renamed totoObject
, and keys are always ASCII symbol instead of customizable - Remove static method
difference
- Remove static method
unitSI
, use static methodunit
without any parameter will output same result - Replace methods
toStringASCII
andtoStringStandard
by methodtoString
, and always append standard symbol
- Method
- Remove class
TemperatureDifference
(@hugoalh)(N/A)
〰️ Changes
- Add function
convertTemperature
as simplify of the classTemperature
(@hugoalh)(N/A)
2.0.2
2.0.1
2.0.0
⚠ Important
No More CommonJS
Since this version, this package is fully removed CommonJS support, use import
instead of require
to import this package.
- ADD: Added ability to output converted value with unit symbol
- CHANGE: Changed value output syntax, use
toValue(unit)
instead of corresponding temperature name/unit - CHANGE: Improved efficiency
- CHANGE: Moved to TypeScript based
- REMOVE: Removed CommonJS codes
2.0.0 Beta 1
⚠ Important
No More CommonJS
Since this version, this package is fully removed CommonJS support, use import
instead of require
to import this package.
- ADD: Added ability to output converted value with unit symbol
- CHANGE: Changed value output syntax, use
toValue(unit)
instead of corresponding temperature name/unit - CHANGE: Improved efficiency
- CHANGE: Moved to TypeScript based
- REMOVE: Removed CommonJS codes