Units v0.6.0 Release Notes

Release Date: 2022-05-16 // almost 2 years 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 to cn and ca 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