Releases: duke-libraries/ezid-client
Releases · duke-libraries/ezid-client
v1.11.0
v1.10.0
Version 1.10.0
v1.9.4
v1.9.3
#93 - Fixes tests failing under Ruby 3.0. Thanks, @ahamelers!
v1.9.2
v1.9.0
- Migrates CI from Travis to GitHub actions.
- Adds code to catch unexpected HTML responses and to retry server error and unexpected response error 2 times before re-raising.
v1.8.0
- Deprecated settings related to SSL, since SSL now required.
- Added Datacite compatibility (contributed by @jgondron):
- Added a new
MetadataTransformDatacite
class that transforms a hashes datacite.* keys to the xml required by the datacite api. - Added an additional step in
Metadata#to_anvl
. Before the metadata is converted to anvl, it will perform an additional transformation of the metadata hash to make it compatible with datacite. A future improvement might be to do IoC here so that we can inject requested transforms and ignore ones an app doesn't care about. - Added an inverse transformation method for transforming metadata from the datacite api to keys required by the Metadata class
- Added an additional step in Metadata#replace to transform the remote datacite metadata into the correct format
- Adding a default DOI identifier type even when one is not available in the existing metadata. I've found that if you add this, the api's will generate the identifier xml for you. This is mostly for the case when you want to mint and give it the metadata in one op, since you won't have the identifier yet.
- Datacite chokes on newlines in the xml. Likely to do with how the anvl gets parsed. Changed the transform to remove all new lines from the xml and fixed specs/fixtures to match.
- Also fixed some issues with the readme's testing env variables
- Added a new
v1.7.1
Patches Ezid::Configuration
to set @use_ssl
to true
by default, since EZID will require SSL starting April 30, 2017. In practice, unless the default port of 443 is changed, the client would use SSL by default prior to this change.
In the future, the use_ssl
configuration setting will probably be removed.
v1.7.0
Ezid::Identifier#metadata
is now merged local and remote metadata.- Adds
Ezid::Identifier.load(id, metadata)
Ezid::BatchEnumerator
renamed toEzid::Batch
without API change.
v1.6.0
- NEW:
Ezid::BatchEnumerator
. Contructor receives a format (only:anvl
currently supported) and file path to batch download (uncompressed).#each
method yieldsEzid::Identifier
instance for each record in the batch. - Adds
compression
option toEzid::BatchDownload
(closes #74). Ezid::BatchDownload#download_file
returns file path (closes #73).