Skip to content

v2.3.0

Latest

Choose a tag to compare

@ChengShi-1 ChengShi-1 released this 08 Oct 19:13
686ef0d

npm package: https://www.npmjs.com/package/@iqss/dataverse-client-javascript/v/2.3.0
Compatible with Dataverse 6.12

Summary of Changes:

Added

  • Datasets: Added optional templateId support to createDataset requests and getDataset responses.
  • Guestbooks: Added editGuestbook use case.
  • Guestbooks: Added getGuestbookResponsesByGuestbookId use case and repository support for retrieving paginated guestbook responses with total count as structured JSON.
  • Guestbooks: Added downloadGuestbookResponsesByCollectionId and downloadGuestbookResponsesOfAGuestbook use cases and repository support for exporting guestbook responses as raw CSV content.
  • Guestbooks: Added optional includeStats support to getGuestbooksByCollectionId, returning usageCount and responseCount when requested.
  • Files: Added getFileCitationByFormat use case, repository method, and FileCitationFormat enum to support Dataverse file citation exports in EndNote, RIS, BibTeX, CSL, and Internal formats.
  • Datasets: Added getDatasetReviews use case and repository method to support Dataverse endpoint GET /datasets/{identifier}/reviews, for retrieving review datasets associated with a dataset by persistent id or numeric id.
  • Datasets: Added exportDatasetMetadata use case, repository method, and ExportedDatasetMetadata response type to support exporting dataset metadata by numeric id or persistent id through Dataverse endpoint GET /datasets/export.
  • Datasets: Added getDatasetVersions use case.
  • Collections: Added allowedDatasetTypes field to the Collection model. This field is optional and only populated the feature is enabled on the installation and configured on the collection.
  • Collections: Added theme information when retrieving a collection using getCollection.
  • Collections: Added setDefaultContributorRole use case.

Changed

  • Files: Added an optional dataset version parameter to getFileCitationByFormat for version-specific file citation exports.