Skip to content

Version v3.0.0-beta.7

Pre-release
Pre-release

Choose a tag to compare

@Taar Taar released this 28 Aug 18:18
· 8 commits to main since this release

General

  • Fixed unit type issues (#312, #217)
  • Updated the toBest to return the original value/unit if a better value was not found (#313)
  • Updated toBest return type to preserve unit type (#319)
  • Added unit cache so that unit look ups are similar and faster when there are a lot of units (#325)
  • Updated index.ts import aliases to match the documentation (#325)
  • Updated index.ts to export all custom error objects (#325)

Measures

  • Added Decimeters to length measure (#309)
  • Added ares to area measure (#326)
  • Added cubic decimeters to volume measure (#326)
  • Added dm3/s dm3/min dm3/h dm3/d dm3/h l/d l/a m3/d m3/a to volume flow rate measure (#326)
  • Added mirco and mega volt to voltage measure (#326)
  • Added millibar to pressure measure (#326)
  • Added kilogram per minute to mass flow rate measure (#326)
  • Added micro and mega ampere to current measure (#326)
  • Updated precision when converting between metric and imperial for the mass measure (#321)
  • Overhauled digital units to correctly follow the SI system and the IEC system (#316)

Development

  • Added publint to help catch package related issues (#303, #305)
  • Updated to Typescript v5 (#323)
  • Updated project's Eslint configuration from the legacy format to the new format (#324)
  • Updated packages and minor package fixes (#331)