Units v0.3.0 Release Notes

Release Date: 2020-01-28 // about 4 years ago
  • 📚 Continued work on cleaning up the library and starting to add main documentation, as well as adding more units and cleaning up string conversions and some additional tests. Additional fuzzing fixes and add a webserver for exploring conversions.

    🔄 Changed

    • Change the unit_data operators from '+', '-' to '*' and '/' so they actually match the operation they are performing #12
    • 🆓 Pow on measurements is a free function instead of operator #12
    • ⚡️ Update cmake policy configuration so it works with newer CMakes #31

    🛠 Fixed

    • ✅ Several issues that came from the fuzzer tests (#14, #18, #16, #19, #24, #28, #30)
    • Fixed the UNITS_HEADER_ONLY target so it actually works and add some tests for it #23
    • Update the cmake code so it correctly deals with and uses the CMAKE_CXX_STANDARD option #22
    • ⚠ Some strict aliasing warnings on gcc 6 #26

    ➕ Added

    • ➕ Added pow and root functions to measurements #7
    • ➕ Add sqrt function which is a wrapper function around the root function for measurements and units #8
    • ➕ Added uncertain measurment class for dealing with uncertainties #9, later modified in the primary method of uncertainty propagation#32
    • ➕ Added a webserver for doing conversions through an html based interface #11
    • ➕ Added a docker file for doing fuzzing #16
    • ➕ Added initial set of documention on readthedocs.io #25,#27

    ✂ Removed

    • member methods of pow and root for measurements