Skip to content

Releases: CitrineInformatics/gemd-python

GEMD v2.2.0 is released!

01 Oct 20:34
4b9944d

Choose a tag to compare

This release has no changes to code, only changes to package management details. As Python 3.8 was marked as end-of-life several months ago, this is following that lead.

Improvements

  • This release drops Python version 3.8 and Pint earlier than version 0.24.4 from the officially supported packages and our testing regimen. There is no change to code, so this should not break any existing installations #225

Full Changelog: v2.1.11...v2.2.0

GEMD v2.1.11 is released!

27 Jun 21:50
b0a0b97

Choose a tag to compare

This update is a small quality-of-life release. The next release will drop support for Python 3.8 and add official support for Python 3.13.

Improvements

  • Updates the list of supported elements, including D and T for hydrogen isotopes and completing Group 7 (through Og). #223
  • Improved equality check performance in scenarios where an object might be compared to itself. #224

Full Changelog: v2.1.9...v2.1.11

GEMD v2.1.9 is released!

20 Aug 17:03
f3cd227

Choose a tag to compare

This PR adds compatibility with the latest version of Pint, v0.24.3.

Improvements

  • Support latest Pint, which includes recognizing more units and compatibility with latest numpy #222

Fixes

  • We reworked packaging constraints to avoid a bad state. Pint 0.22 and 0.23 are incompatible with numpy > 2 but this is not constrained in Pint's pyproject.toml. This library itself is compatible with those individual releases, but blind pip install was wasn't protecting against this. #222

Full Changelog: v2.1.8...v2.1.9

GEMD v2.1.8 is released!

05 Aug 17:34
bb12bd1

Choose a tag to compare

This release adds support for new units, including treating ratios like % in the unit strings.

Improvements

  • We now support % and other ratio expressions as units. This required updating both our minimum pint version as well as updating our unit definitions. %, ppm, and other ratios are available here and on our platform. #219 #220
  • We also added support for Mooney viscosity units, a specialized material measurement for rubbers. Take you for your first contribution #218, @xperrylinn.

Full Changelog: v2.1.5...v2.1.8

GEMD v2.1.5 is released

22 May 20:52
26c6be8

Choose a tag to compare

This release is to verify the repository migration to our common GitHub Actions repository functions as we expect. There are no software differences from the previous release.

Improvements

Full Changelog: v2.1.4...v2.1.5

GEMD v2.1.4 is released

15 May 16:33
8b3fdb2

Choose a tag to compare

This is a simple bug fix for the package import migration that last was part of the last release.

Improvements

  • Corrected an issue around deploying the units file on Windows boxes, where the default character set is not necessarily utf-8. #216

Full Changelog: v2.1.3...v2.1.4

GEMD v2.1.3 is released

23 Apr 17:32
7b9735b

Choose a tag to compare

This release collects two PRs to migrate the CI / CD for this repository from Travis CI to GitHub Actions.

What's Changed

  • Add and configure GitHub Actions for testing and deployment (#214).
  • Remove Travis dependence for testing, build & deploy (#215).

Full Changelog: v2.1.1...v2.1.3

GEMD v2.1.1 is released

17 Apr 18:07
f84671e

Choose a tag to compare

This is a maintenance release. It cleans up how the Pint library is imported and wrapped, which should improve reliability when taking advantage of more advanced formatting. It also resolves some warnings originating from Python migrating how package resources get pulled in. There should be no surprises.

Improvements

  • Previously, outputting units with scaling factors could result in strangely formatted strings. To resolve this, we now derive a child class, now possible because boosting the minimum supported Pint. This removes a potential tripping hazard, and generally makes it easier to fold gemd-python into the existing ecosystem. (#212)
  • Python's migration from pkg_resources to importlib.resources left gemd-python issuing deprecation warnings. This resolves those by using the newfiles objects. (#213)

Full Changelog: v2.0.0...v2.1.1

GEMD v2.0.0 is released

06 Feb 17:43
6df6538

Choose a tag to compare

We are thrilled to announce version 2.0.0 of gemd-python. It's been a few years of updates, both technical and quality of life, since our 1.0.0 release, but all of that has been oriented around improving the SDK (as opposed to the underlying data model).

Upgrading to version 2 may necessitate changes to existing scripts. There should be no fundamental changes in functionality between v1.18.5 and v2.0.0, so the deprecation messages from the older version should provide a guide to updating your code.

Improvements

  • In cases where both the built-in json and the gemd.json dumps and / or loads methods are used in close proximity in the code, we've used aliases to make it obvious which is which. This should just be a cosmetic change. (#208)

What's Removed

  • The name keyword in LinkByUID's from_entity has been removed in favor of scope. A user-specified scope is no longer a valid positional argument. (#208)
  • The get_value and get_enum methods have been removed from BaseEnumeration. They are no longer necessary, as enumerations now return the values when cast as strings, as in a format statement. (#208)
  • The register_classes method has been removed from the GEMDJson object. Object types are defined during extension of the BaseEntity class, and registered with the deserializer at definition time.
  • The native_uid keyword in gemd.util's substitute_links has been removed in favor of scope. (#208)

Full Changelog: v1.18.5...v2.0.0

GEMD v1.18.5 is released

05 Feb 20:37
c80f22e

Choose a tag to compare

This is a maintenance release, anticipating a release of the next major version in the near future.

Improvements

Fixes

  • The building and testing process has been updated, adding Python 3.12 to the test suite (#202), cleaning up the packaging (#205 #207), addressing the vast majority of documentation build warnings (#204), and boosting testing library versions (#210).
  • Made object definitions a bit more consistent (non-breaking, #206)
  • Correct encoding error on Windows with units file extraction (#211)

Full Changelog: v1.16.7...v1.18.5