Closed ericman314 closed 1 year ago
Base: 0.00% // Head: 99.25% // Increases project coverage by +99.25%
:tada:
Coverage data is based on head (
e462507
) compared to base (b55e8c1
). Patch coverage: 99.15% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
2023-02-20, v1.0.0
V1 is a major rewrite of UnitMath in TypeScript. While most of the API remains the same, V1 does introduce several breaking changes from v0.8.7. See Migrating to v1 for details.
toString
no longer simplifies units. You must now explicitly callsimplify
for the unit to be simplified.simplify
andsimplifyThreshold
options.definitions.quantities
anddefinitions.baseQuantities
.definitions.unitSystems
todefinitions.systems
definitions.prefixes
todefinitions.prefixGroups
definitions.systems
is now just a string array of units assigned to that system.autoAddToSystem
option, since it is now much easier to add units to a system.Acknowledgements
Many thanks to Michal Grňo @m93a for spearheading the TypeScript migration!!
And thanks to those who tried out the release candidates, your feedback was really helpful!