Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DataCite 4.5 Support #94

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
Changes
=======

Version v1.2.0 (released 2024-10-17):

- Updates package setup and adds black formatting
- Adds support for DataCite Metadata Schema v4.5.
The version 4.5 jsonschema includes a number of
changes and improvements:

- Switches to jsonschema 2019-09 and adds more complete validation
to catch mistyped elements
- Switches publisher from a string to an object. This means
you will need to change publisher to be structured like
`"publisher": {"name": "Invenio Software"}`
when you use version 4.5. This change is needed to
support the addition of publisher identifiers.
- Removes the identifiers field and added doi, prefix, and suffix fields.
These fields are clearer, and DataCite appears to be moving away from the
combined identifiers field. doi is not a required field since you may or
may not have a DOI depending on your workflow.
- Adds new relatedItem elements for publication metadata
- Switches geolocation point values to numbers. This is to enable
validation and is consistent with GeoJson and InvenioRDM. It is
different from the DataCite REST API which uses strings, and
submitted numbers will be turned into strings by DataCite.
- Reorganizes geolocationPolygon to how DataCite is currently rendering this
metadata
- Adds support for the new resourceTypeGeneral and relationType values
- General jsonschema organization improvements

Version v1.1.3 (released 2023-03-20):

- Updates dependency versions and adds python 3.9 support
Expand Down
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ it under the terms of the Revised BSD License quoted below.

Copyright (C) 2015-2018 CERN.
Copyright (C) 2018 Center for Open Science.
Copyright (C) 2019 Caltech.
Copyright (C) 2019-2024 Caltech.
Copyright (C) 2024 Institute of Biotechnology of the Czech Academy of Sciences.

All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion datacite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
from .client import DataCiteMDSClient
from .rest_client import DataCiteRESTClient

__version__ = "1.1.4"
__version__ = "1.2.0"

__all__ = ("DataCiteMDSClient", "DataCiteRESTClient", "__version__")
Loading