Adding support for downstream developers.
Improvements
* A decorator was added to support migration of Base Enumeration symbols. This makes it much easier for downstream consumers of this library to rename their enumerations (not the value). 193
**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.15.0...v.1.16.0
v.1.15.0
Further quality of life improvements, helping us help you.
Improvements
* We've changed the base of our enumeration to behave in a much more string-like way, and be much more useful in allowing for a wide range of input strings to map to the expected internal representations. Basically, a string enumeration is much friendlier in what it accepts while emitting a consistent output. 192
* We've improved our automated testing approach, so now our normal workflows are tested against a wider range of versions of dependent libraries. This identified a couple of outdated dependencies, and so the added clean-up is always nice. 191
**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.14.0...v.1.15.0
v.1.14.0
Quality of Life improvements around units handling and tests.
Improvements
* Improved unit handling capability around scaling factors, including `get_base_units` for converting to-and-from SI (190 )
* Better testing practice, boosting library versions and refactoring where tests live (189 )
**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.13.5...v.1.14.0
v.1.13.5
Quick fix for one issue.
Maintenance
* Units were being incorrectly normalized when they had fractional exponents. 187
**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.13.4...v.1.13.5
v.1.13.4
This release addresses minor bugs.
Maintenance
* `.` has been added to the allowed list of punctuation for units, to be tolerant of expressions like `mol.` and `a.u.`. 185
* This also addresses an issue where the scaling factor support was dropped anytime a custom units file was used. 185
* For some complex cases involving white space and unary operators (e.g., `-` as negative not minus), we've replicated Pint's parsing behavior. 186
**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.13.2...v.1.13.4
v.1.13.2
Happy to offer some minor quality of life improvements following last week's release.
Maintenance
* We've improved out units parsing. Punctuation that is not a mathematical operator is being flagged and we cleaned up our handling of scaling factors. And more tests. More tests is good. 183
* We also added Python 3.11 tests to our CI/CD process. 183
* And we cleaned up some of our serialization. We fixed a caching issue with our class map and removed an old tripping hazard when setting uids that look like UUIDs. 184
**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.13.0...v.1.13.2
v.1.13.0
This release updates some legacy architecture as well as rolls in some quality of life improvements.
Improvements
* In order to be compatible with Python 2.x, we hadn't really used [abc](https://docs.python.org/3.10/library/abc.html) in some core work. Here, we're updated the class DictSerializable to make subclassing easier and enable some bigger clean-up in the near future. (#182)
* We've added a little magic so that the core [Pint](https://pypi.org/project/Pint/) units handling will work with scaling factors. Now we can support customary units like `g/100 mL` to better represent how data are transcribed in the real world. (#180)
Maintenance
* Improved some of our testing infrastrcture (181)
**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v.1.12.1...v.1.13.0
v.1.12.1
This release is driven by dependencies in the Python ecosystem. No new functionality.
Improvements
* We've updated our library to be compatible with the latest version of Pint (https://github.com/CitrineInformatics/gemd-python/pull/178)
* And we've updated our installs and tests to include that version (https://github.com/CitrineInformatics/gemd-python/pull/179)
**Full Changelog**: https://github.com/CitrineInformatics/gemd-python/compare/v1.11.1...v.1.12.1