Releases: hugoalh/temperature-es
Releases · hugoalh/temperature-es
3.0.0
💥 Break Changes
- Change target NodeJS to >= v16.13.0 (@hugoalh)(N/A)
- Refactor class
Temperature: (@hugoalh)(N/A)- Method
toJSONis renamed totoObject, and keys are always ASCII symbol instead of customizable - Remove static method
difference - Remove static method
unitSI, use static methodunitwithout any parameter will output same result - Replace methods
toStringASCIIandtoStringStandardby methodtoString, and always append standard symbol
- Method
- Remove class
TemperatureDifference(@hugoalh)(N/A)
〰️ Changes
3.0.0 Beta 2
3.0.0 Beta 1
💥 Break Changes
- Change target NodeJS to >= v16.13.0 (@hugoalh)(N/A)
- Refactor class
Temperature: (@hugoalh)(N/A)- Method
toJSONis renamed totoObject, and keys are always ASCII symbol instead of customizable - Remove static method
difference - Remove static method
unitSI, use static methodunitwithout any parameter will output same result - Replace methods
toStringASCIIandtoStringStandardby methodtoString, and always append standard symbol
- Method
- Remove class
TemperatureDifference(@hugoalh)(N/A)
〰️ Changes
- Add function
convertTemperatureas 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