GEMD v2.0.0 is released
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
dumpsand / orloadsmethods 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
namekeyword in LinkByUID'sfrom_entityhas been removed in favor ofscope. A user-specified scope is no longer a valid positional argument. (#208) - The
get_valueandget_enummethods 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_classesmethod 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_uidkeyword in gemd.util'ssubstitute_linkshas been removed in favor ofscope. (#208)
Full Changelog: v1.18.5...v2.0.0