Units v0.6.0 Release Notes
Release Date: 2022-05-16 // over 1 year ago-
This release has a number of fixes for specific unit strings, adds some other units and a new unit_conversion_maps structure to reduce stack usage.
๐ Changed
- 0๏ธโฃ Convert default branch to "main"
- The string maps are new defined in a constexpr array in
units_conversion_maps.hpp
this reduces the stack usage significantly and clears up some warnings about that on some compilers #217,#226 - The country specific codes for China and Canada were changed from "ch" and
can
tocn
andca
to match country top level domains #229
๐ Fixed
- The "hartree" string produced an incorrect value #163
- ๐ Fixed an issue with inverse multipliers for inverse conversions #166
- ๐ changed the string conversions to better align with SI recommendations #173
- ๐ Fix an issue with the string "0.2" #188
- ๐ Fix asterisk operator typo #194
- โก๏ธ Update the docker images to use more recent base images #206,#212
- ๐ User defined units were not being used in the string conversion operations properly #213
- โก๏ธ Update third party library links #216
- โ Clean up some
if constexpr
warnings on some platforms #227 - ๐ Fix an issue of misinterpreting short strings with spaces such as
kg m
#224
โ Added
- โ Added a series of constants to make the available constants match the Nist Common Constants list #163
- โ added "Eh" as a valid string value for "hartree" #163
- โ Added support for larger power factors in units when using larger base #184
- โ Added support for some climate related units #210,#179
- โ Added mass to weight conversions #229
- โ added domains to allow some domain specific units that might mean different things in different contexts #173