Skip to content

Releases: hugoalh-studio/temperature-es

3.0.0 Beta 1

08 Apr 09:12
992fc5e
Compare
Choose a tag to compare
3.0.0 Beta 1 Pre-release
Pre-release

💥 Break Changes

  • Change target NodeJS to >= v16.13.0 (@hugoalh)(N/A)
  • Refactor class Temperature: (@hugoalh)(N/A)
    • Method toJSON is renamed to toObject, and keys are always ASCII symbol instead of customizable
    • Remove static method difference
    • Remove static method unitSI, use static method unit without any parameter will output same result
    • Replace methods toStringASCII and toStringStandard by method toString, and always append standard symbol
  • Remove class TemperatureDifference (@hugoalh)(N/A)

〰️ Changes

  • Add function convertTemperature as simplify of the class Temperature (@hugoalh)(N/A)

2.0.2

13 Jun 07:45
8406c94
Compare
Choose a tag to compare
  • CHANGE: Changed TypeScript type with object as interface with object

2.0.1

05 Jun 03:36
62fcce5
Compare
Choose a tag to compare
  • CHANGE: Improved auto-complete

2.0.0

19 May 08:28
21cd214
Compare
Choose a tag to compare

⚠ 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

21 Apr 10:29
eed7871
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release

⚠ 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

1.2.4

11 Mar 08:31
2be0125
Compare
Choose a tag to compare
  • CHANGE: Updated readme

1.2.3

10 Mar 08:43
1a39864
Compare
Choose a tag to compare
  • CHANGE: Reduced package size
  • CHANGE: Updated readme

1.2.2

17 Oct 04:18
Compare
Choose a tag to compare
  • CHANGE: Updated readme

1.2.1

23 Sep 09:44
Compare
Choose a tag to compare
  • REMOVE: Removed target NPM requirement as this is unnecessary

1.2.0

28 Aug 08:50
Compare
Choose a tag to compare
  • CHANGE: Fixed incorrect and/or overlapped symbols
    • D is added to match Delisle
    • r is corrected to match Réaumur instead of Rankine
    • Removed exclusive lowercase symbols