Units v0.5.0 Release Notes

Release Date: 2021-08-17 // over 2 years ago
  • 🚀 This release includes some changes to the CMake builds and Targets. Also includes support for 64 bit base types for units with expanded power support, and support for a custom namespace for better integration with other applications. And additional units for natural gas and particle physics.

    🔄 Changed

    • 📚 update the physical constants to latest values and updated related documentation on Physical constants [#56][]
    • CMake targets units::units and units::header_only are the only two public targets [#155][]
    • ⚡️ Updated code checks [#85][]

    🛠 Fixed

    • 🛠 Fixed -Wshadow warnings for GCC 4.9 and earlier [#66][]
    • 📚 Documentation Fixes and updates [#152][], [#146][], [#111][], [#82][]
    • 🛠 Fixed pow_overflows not handling 0 correctly [#139][], [#134][]
    • 🛠 Fixed a few issues with the output strings and some SI units [#130][]
    • Some cleanup for multiplier string generation [#93][]
    • 🛠 Fixed an issue with plural two character units like lb, oz [#91][]
    • 🛠 Fix identified Fuzzing issue [#84][]
    • 🛠 Fixed some shadow warnings on some compilers [#72][]
    • 🛠 Fixed some issues with std::abs usage [#70][]

    ➕ Added

    • ➕ Added version output to converter app and the correct version info on the webserver [#54][]
    • ➕ Added markdown linter to pre-commit [#64][]
    • CMake format check to pre-commit [#65][]
    • ➕ Added tests for the shared library build [#155][]
    • ➕ Added support for 64 bit base unit [#150][], [#142][]
    • CMake Variable for manipulating output namespace [#136][], [#141][]
    • ➕ Added some support for compiling with C++20 [#125][]
    • ➕ Added some additional units for supporting particle physics [#120][],[#115][], [#112][], [#109][]
    • ➕ Added support for exposing the main unit maps for string conversions [#113][]
    • ➕ Added support for natural gas related units [#74][]

    ✂ Removed

    • 🏗 Travis-CI builds have been migrated to Azure and Circle-CI [#159][]
    • ✂ removed units::units-static, and units::units-shared CMake targets[#155][]
    • ✂ Removed Becquerel from the generated unit strings as it was producing some very odd units at times [#82][]