Releases: LLNL/units
Releases · LLNL/units
v0.13.1: Update for version 0.13.1 release (#388)
* Update for version 0.13.1 release --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
v0.13.0
update pyproject version number (#381)
v0.12.3: Add dimension (#366)
* update license version numbers * update nanobind versions * skip pypy3.11 build on mac * add dimensions class and some commodity conversion maps to actually use * update version numbers * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix compatibility * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update runners * remove old cmake tests --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
v0.12.1: [pre-commit.ci] pre-commit autoupdate (#358)
updates: - [github.com/pre-commit/mirrors-clang-format: v19.1.5 → v19.1.6](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.5...v19.1.6) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
v0.12.0: update the python interface, (#357)
- Updated the Python interface, cleaned up the code, added dunder methods, and implemented mod operation for measurements. - Added floor division in Python. - Enhanced README with new shields and more documentation updates. - Updated version and documentation; improved bool conversion in Python with tests. - Applied auto fixes from pre-commit.com hooks. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
v0.11.0
Python package release, documentation update, continued addition of new units and other updates and fixes
Changed
- Updated cmake and other dependencies #342
- Updated copyright date to 2024 #351
- updated the r20 units to be mostly operational #314
- Updated third party libraries, and some new CI builders #335,#336
Fixed
- fixed some issues with windows.h header conflicts #345
- fixed an issue using CMAKE_CXX_STANDARD #339
- fixed some missing test coverage to 100% #316,#317,#318
Added
v0.10.2
v0.9.1
Fix some string output issues related to units with various prefixes of meters and seconds, and add a UNITS_CMAKE_PROJECT_NAME
variable to cmake to allow the CMAKE project name to be customized.
Fixed
- fixed an issue with string output related to mm/s outputting as mHz*m and mm/s^2 outputting as Gy/km #308
Added
- Added a CMAKE variable to change the project name, to resolve some packaging conflicts.
UNITS_CMAKE_PROJECT_NAME
#310
v0.9.0
A few user suggested tweaks, and support additional unit string conversions supported by the google unit converter. Cleaner output for Hz
and prioritization of SI base units in the to_string operation.
Changed
- Modified the eflag to work a little differently than the iflag and moved a couple units to use the eflag instead to support things like
sqrt(degC.pow(2))=degC
#275 - Updated copyright date to 2023 #266
- Updated to new version of google test and added some additional units and test from the google unit conversion #283
- Fixed and corrected some documentation to match the latest code #284
- Altered the match_flags to 64 bits and corresponding updates to the flag constants#294
- adjusting the partitioning algorithms to have a minimum size and have some controlling flags #294,#297
- split the non-english units into a separate array that can be controlled independently in the build #296
Fixed
- fix fuzzing issue with arb. unit #275
- Format arb.unit nicely and fix a hardcoded namespace #272
- Fix
quad
unit, and clean up some unit conversion strings involvingHz
#265 - Update clang tidy and fix resulting issues #267
- Fixed an issue where scalar unit values in measurements using
to_string
could cause a crash #289 - Fixed some issues with prioritization of base units in the string generation #303
Added
- Added multiplies and divides operations which take into account perunit operations #299
- Added application notes on strain #299
- Added support for addition in unit string, the units on both sides must have the same units #298
- Updated coverage to hit 100% again #291
- Added several unit strings and cleaned up the typography units #282
- Added a dependabot configuration for updating the actions #274
- Added
removeUserDefinedUnit
method #273 - Added `addUserDefinedOutput method to specify an output string for a unit #270
- Added support for
robi
andqubi
prefixes
v0.7.0
Added several math operations for units, restored coverage to 100%, added uncertain constants and cleaner string generation and interpretation around the use of '.' and uncertain measurements, and added support for new SI prefixes.
Changed
- Changed the interpretation of '.' in some unit strings to allow more consistent use as abbreviation #250
- Made the string generation for uncertain measurements obey rules for significant figures more closely #249
Fixed
- Get code coverage back to 100% #256, #254, #253, #252
- Fixed hard coded namespaces in unit_conversion maps #241
- Fixed a bug found by fuzzing #240