tag:github.com,2008:https://github.com/ericman314/UnitMath/releases Release notes from UnitMath 2023-02-20T18:08:49Z tag:github.com,2008:Repository/183345881/v1.0.0 2023-02-20T18:12:19Z v1.0.0 <p>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 <a href="/ericman314/UnitMath/blob/v1.0.0/migrating-to-v1.md">Migrating to v1</a> for details.</p> <ul> <li><code>toString</code> no longer simplifies units. You must now explicitly call <code>simplify</code> for the unit to be simplified.</li> <li>Removed <code>simplify</code> and <code>simplifyThreshold</code> options.</li> <li>Removed <code>definitions.quantities</code> and <code>definitions.baseQuantities</code>.</li> <li>Renaned <code>definitions.unitSystems</code> to <code>definitions.systems</code></li> <li>Renamed <code>definitions.prefixes</code> to <code>definitions.prefixGroups</code></li> <li>Each system defined in <code>definitions.systems</code> is now just a string array of units assigned to that system.</li> <li>Removed <code>autoAddToSystem</code> option, since it is now much easier to add units to a system.</li> <li>Customer formatters no longer accept additional user arguments.</li> </ul> ericman314 tag:github.com,2008:Repository/183345881/v1.0.0-rc.1 2021-11-21T04:11:20Z v1.0.0-rc.1 <ul> <li>Convert to TypeScript</li> <li>Removed concept of "quantities" and "base quantities"</li> <li>Simplified how systems are defined and used in formatting</li> <li>Simpler way to define units</li> <li>Renamed many variables and API functions to make their meaning less ambiguous</li> <li>Updated README.md</li> </ul> ericman314 tag:github.com,2008:Repository/183345881/v0.8.6 2020-07-14T05:26:21Z v0.8.6 <ul> <li>Standardized on US customary fluid volumes</li> <li>Corrected values for <code>teaspoon</code> and <code>fluidounce</code></li> </ul> ericman314 tag:github.com,2008:Repository/183345881/v0.8.5 2019-11-23T19:12:59Z v0.8.5 <ul> <li><code>compare</code> now handles NaNs consistently</li> </ul> ericman314 tag:github.com,2008:Repository/183345881/v0.8.4 2019-08-05T13:55:28Z v0.8.4 <ul> <li>Added <code>prefixesToChooseFrom</code> option</li> <li>Bugfix when auto-prefixing negative numbers</li> </ul> ericman314 tag:github.com,2008:Repository/183345881/v0.8.3 2019-06-05T01:25:36Z v0.8.3 <ul> <li><code>split</code> now supports custom types</li> </ul> ericman314 tag:github.com,2008:Repository/183345881/v0.8.2 2019-06-01T17:23:57Z v0.8.2 <ul> <li>Fixed unit complexity calculation for deciding whether to simplify units</li> <li>Added undocumented second parameter to <code>conv</code> function, which could be removed at any time</li> </ul> ericman314 tag:github.com,2008:Repository/183345881/v0.8.1 2019-06-01T15:25:11Z v0.8.1 <ul> <li>Format function can now be used with number or custom types</li> <li>Now supports passing parameters to custom format function</li> </ul> ericman314 tag:github.com,2008:Repository/183345881/v0.8.0 2019-05-31T00:28:20Z v0.8.0 <ul> <li>Added <code>getValue</code>, <code>getNormalizedValue</code>, and <code>setNormalizedValue</code></li> <li>Added format option for custom types</li> </ul> ericman314 tag:github.com,2008:Repository/183345881/v0.7.0 2019-05-29T02:52:26Z v0.7.0 <ul> <li>Added compare</li> </ul> ericman314