All notable changes to Dataverse Client Javascript are documented here.
This changelog follows the principles of Keep a Changelog and adheres to Semantic Versioning. This document is intended for developers, contributors, and users who need to understand the technical details.
-
Datasets: Added
updateDatasetLicenseuse case and repository method to support Dataverse endpointPUT /datasets/{id}/license, for updating dataset license or custom terms -
New Use Case: Get Collections For Linking Use Case.
-
New Use Case: Create a Dataset Template under Collections.
-
New Use Case: Update Terms of Access.
-
Files: Added
FilesConfigclass for configuring file upload behavior at runtime, including:useS3Tagging: Option to disable S3 object tagging (x-amz-taggingheader) for S3-compatible storage that doesn't support tagging. Default:true.maxMultipartRetries: Configurable maximum retries for multipart upload parts. Default:5.fileUploadTimeoutMs: Configurable timeout for file upload operations. Default:60000.
- Add pagination query parameters to Dataset Version Summeries and File Version Summaries use cases
- Files:
DirectUploadClientconstructor now accepts aDirectUploadClientConfigobject instead of a plain number formaxMultipartRetries.
- Removed date fields validations in create and update dataset use cases, since validation is already handled in the backend and SPA frontend (other clients should perform client side validation also). This avoids duplicated logic and keeps the package focused on its core responsibility.
-
CHANGELOG.md file to track changes in a standard way.
-
New property isAdvancedSearchFieldType returned by API in GetCollectionMetadataBlocks and GetMetadataBlockByName use cases.
-
Use cases for Notifications: GetAllNotifications, DeleteNotification.
-
Use cases for Dataset Linking: LinkDataset, UnlinkDataset, GetDatasetLinkedCollections.
-
Use case: GetCitationInOtherFormats.
-
Use case: GetDatasetAvailableCategories.
-
Use cases for Collections Linking: LinkCollection, UnlinkCollection, GetCollectionLinks.
-
Use cases for External Tools: GetExternalTools, GetDatasetExternalToolResolved, GetFileExternalToolResolved.
-
Use case: GetDatasetTemplates.
-
Use case: GetAvailableStandardLicenses.
-
Use case: GetAvailableDatasetMetadataExportFormats.
-
Use cases for Dataset Types: GetDatasetAvailableDatasetTypes, GetDatasetAvailableDatasetType, AddDatasetType, LinkDatasetTypeWithMetadataBlocks, SetAvailableLicensesForDatasetType, DeleteDatasetType.
-
CreateDataset use case updated to allow non-default dataset types.
-
GetCollectionMetadataBlocks use case updated to support passing a dataset type.
-
Integration tests in Roles Repository.
-
Incorrect Filter Queries split that caused value parts to be truncated.
- Dependencies updated to address vulnerabilities found by npm audit.