Skip to content

Releases: hugoalh/temperature-es

3.0.0

08 Jan 09:01
7f2595d

Choose a tag to compare

💥 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)
  • Add target Bun and Deno (@hugoalh)(N/A)
  • Refactor codes (@hugoalh)(N/A)
  • Transfer ownership from hugoalh Studio (hugoalh-studio) to hugoalh (hugoalh) (@hugoalh)(N/A)

3.0.0 Beta 2

07 Jan 10:04
e60531e

Choose a tag to compare

3.0.0 Beta 2 Pre-release
Pre-release

〰️ Changes

  • Add target Bun and Deno (@hugoalh)(N/A)
  • Refactor codes (@hugoalh)(N/A)
  • Transfer ownership from hugoalh Studio (hugoalh-studio) to hugoalh (hugoalh) (@hugoalh)(N/A)

3.0.0 Beta 1

08 Apr 09:12

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

Choose a tag to compare

  • CHANGE: Changed TypeScript type with object as interface with object

2.0.1

05 Jun 03:36

Choose a tag to compare

  • CHANGE: Improved auto-complete

2.0.0

19 May 08:28

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

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

Choose a tag to compare

  • CHANGE: Updated readme

1.2.3

10 Mar 08:43

Choose a tag to compare

  • CHANGE: Reduced package size
  • CHANGE: Updated readme

1.2.2

17 Oct 04:18

Choose a tag to compare

  • CHANGE: Updated readme