Version v3.0.0-beta.7
Pre-release
Pre-release
General
- Fixed unit type issues (#312, #217)
- Updated the
toBestto return the original value/unit if a better value was not found (#313) - Updated
toBestreturn 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.tsimport aliases to match the documentation (#325) - Updated
index.tsto 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)