Releases: caltechlibrary/caltechdata_api
v1.10.0
Automated testing
- Repository now has a full suite of automated tests
- Outdated
datacite43
files replaced with files from the current version ofCaltechDATA
.
Code changes
- Migrated the repository to use a modern
pyproject.toml
andsetup.cfg
setup. - Incorporated a workflow to update
setup.cfg
automatically whencodemeta.json
changes, via thecodemeta2cff.yml
GitHub Action. return_id
option added to caltechdata_edit, which matched the behavior ofcaltechdata_write
by returning the record id
CLI improvements
- Support for a profile file with saved orcid and funding data
- Better orcid support
- Bug fixes
Bug fixes
-
Many improvements to the validate function
-
Automated tests added by @RohanBhattaraiNP and @tmorrell.
-
Example jupyter notebook provided by @AbakahAlexander
Full Changelog: v1.9.1...v1.10.0
Bug fix for validation
This release fixes a bug where the validation was too strict and unnecessarily required the identifiers field.
Bug fix for custom DOIs and new tests
This release includes new tests for caltechdata_api and improvements to the build in validation. It also fixes a bug that impacted passing custom DOIs.
Add CaltechAUTHORS support to get_metadata
This release adds CaltechAUTHORS support to get_metadata, as well as the edit.py example. It also includes better token behavior and updated release workflows.
Bug fix release
This release fixes some bugs with the validation and cli tool.
Full Changelog: v1.8.0...v1.8.1
Addition of test mode and initial medata validation
This release adds a -test
flag to the cli, and adds some new metadata validation checks.
Full Changelog: v1.7.1...v1.8.0
Bug fix release
This release fixes a bug in the cli token handling. It also corrects how caltechdata_edit treats new version records with custom DOIs.
First release of CaltechDATA CLI
This release makes a new command line interface (CLI) available for CaltechDATA. It allows you to create and edit records in CaltechDATA using the API entirely from the command line. You can create metadata entirely on the command line, or utilize a README template https://github.com/caltechlibrary/caltechdata_api/blob/main/templates/README.md, or use the previously supported json file https://github.com/caltechlibrary/caltechdata_api/blob/main/example.json.
As we bring online new storage options online for Caltech, the CLI will be updated and enhanced.
CLI preview improvements
This release includes a number of cli preview performance improvements, including switching to s3md for large uploads with additional automation. It also includes better token handling, support for multiple file uploads, and multiple values in README.md.
Includes improvements by @RohanBhattaraiNP and @elizabethjhwon
Full Changelog: v1.6.0...v1.6.1
CLI Preview
This release includes a preview of the CaltechDATA cli tool. It is currently set up to work only with the test version of CaltechDATA, and may change functionality before we bring it into production.
New Contributors
- @RohanBhattaraiNP and @elizabethjhwon contributed to the cli development
Full Changelog: v1.5.0...v1.6.0