Skip to content

Releases: caltechlibrary/caltechdata_api

New record creation and editing options

17 May 22:51
Compare
Choose a tag to compare

This release adds new options to caltechdata_api:

  • default_preview is the file that will show up in the CaltechDATA file preview pane
  • file_descriptions is an array of text that is associated with external file links
  • s3_link is the parent download link for external file links (listed at the top of the external files block)

This release fixes a bug with duplicate filenames, supports passing embargo settings, and allows users to provide custom 'updated' dates. The new custom external files description type is also supported.

get_files is fixed to work with the current version of CaltechDATA.

An example automated data transfer script process_tomograms.py is included.

Full Changelog: v1.3.0...v1.4.0

Added author support

06 Apr 20:22
Compare
Choose a tag to compare

What's Changed

  • Add in initial support for the InvenioRDM version of caltechAUTHORS by @tmorrell in #18. This package will likely have a name change in the future to indicate that it works with multiple Caltech repositories.
  • Fix bugs in handling of OSN linked files.
  • Add missing requirement s3fs by @mhucka in #16

Full Changelog: v1.2.1...v1.3.0

Bug fixes for metadata handling

11 Jan 00:42
Compare
Choose a tag to compare

This release fixes some bugs in metadata handling, including errors that happened when a publication date or person name wasn't set.

Improving caltechdata_edit on draft records

05 Jan 00:43
Compare
Choose a tag to compare

This release makes a few improvements to how the caltechdata_edit function works on draft records, including better support for editing and managing files attached to a draft record.

Small bug fix on identifiers and sizes

14 Dec 04:13
Compare
Choose a tag to compare

This release includes a small bug fix on identifiers and improves size handling for attached files.

Fix DOI and Identifier handling

06 Dec 01:15
Compare
Choose a tag to compare

This release fixes some issues with DOI and other identifier handling.

The caltechdata_edit function was changed so it accepts just one id at a time. This is the more likely use case and makes metadata checks easier.

This release improves metadata handling, add some example metadata files, and updates documentation.

Full Changelog: v1.0.0...v1.1.0

caltechdata_api for InvenioRDM

23 Nov 23:17
Compare
Choose a tag to compare

This release of caltechdata_api is the first designed to work with InvenioRDM and the current version of CaltechDATA. The interface is generally the same, but has been enhanced to support the new features in InvenioRDM such as draft records. Code that supported the TIND version of CaltechDATA is no longer needed and has been removed.

Full Changelog: v0.3.0...v1.0.0

Fix file handling on edit

08 Sep 18:26
Compare
Choose a tag to compare

This release fixes file handling on edit to correctly remove duplicate files. It also adds better options to edit.py to be able to delete files.

get_files

03 Sep 16:57
Compare
Choose a tag to compare

This release adds get_files, which is a simple export of files attached to a record.

Add better metadata options and bug fix

24 Aug 16:26
Compare
Choose a tag to compare

This release reorganizes the get_metadata function to add a validate option to enable skipping validation and removes an unused password option. It also fixes an issue that impacted records with multiple rights statements.