Skip to content

Commit fb44eaf

Browse files
committed
Merge branch 'develop' into revert-377-revert-367-feat/345-get-collection-for-linking
2 parents d74bab3 + 1421988 commit fb44eaf

31 files changed

+860
-787
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
npm run format
2+
npm run typecheck
3+
npm run lint:fix
4+
git add .

CHANGELOG.md

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,52 @@ This changelog follows the principles of [Keep a Changelog](https://keepachangel
1414

1515
### Removed
1616

17+
- 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.
18+
19+
[Unreleased]: https://github.com/IQSS/dataverse-client-javascript/compare/v2.1.0...develop
20+
1721
---
1822

19-
## [v2.0.0] -- 2025-07-04
23+
## [v2.1.0] -- 2025-09-29
24+
25+
### Added
26+
27+
- CHANGELOG.md file to track changes in a standard way.
28+
29+
- New property isAdvancedSearchFieldType returned by API in GetCollectionMetadataBlocks and GetMetadataBlockByName use cases.
30+
31+
- Use cases for Notifications: GetAllNotifications, DeleteNotification.
32+
33+
- Use cases for Dataset Linking: LinkDataset, UnlinkDataset, GetDatasetLinkedCollections.
34+
35+
- Use case: GetCitationInOtherFormats.
36+
37+
- Use case: GetDatasetAvailableCategories.
38+
39+
- Use cases for Collections Linking: LinkCollection, UnlinkCollection, GetCollectionLinks.
40+
41+
- Use cases for External Tools: GetExternalTools, GetDatasetExternalToolResolved, GetFileExternalToolResolved.
42+
43+
- Use case: GetDatasetTemplates.
44+
45+
- Use case: GetAvailableStandardLicenses.
46+
47+
- Use case: GetAvailableDatasetMetadataExportFormats.
48+
49+
- Use cases for Dataset Types: GetDatasetAvailableDatasetTypes, GetDatasetAvailableDatasetType, AddDatasetType, LinkDatasetTypeWithMetadataBlocks, SetAvailableLicensesForDatasetType, DeleteDatasetType.
50+
51+
### Changed
52+
53+
- CreateDataset use case updated to allow non-default dataset types.
54+
55+
- GetCollectionMetadataBlocks use case updated to support passing a dataset type.
56+
57+
### Fixed
58+
59+
- Integration tests in Roles Repository.
60+
61+
- Incorrect Filter Queries split that caused value parts to be truncated.
62+
63+
### Security
2064

21-
[Unreleased]: https://github.com/IQSS/dataverse-frontend/compare/v2.0.0...develop
65+
- Dependencies updated to address vulnerabilities found by npm audit.

docs/making-releases.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ npm version 3.5.0 --no-git-tag-version
4141

4242
This command will update the version in the `package.json` and `package-lock.json`.
4343

44-
If everything looks good, you can push the changes to the repository.
45-
4644
## Update the changelog
4745

4846
**Note**: Contributors should have already added their changes to the `[Unreleased]` section as part of their pull requests (see [CONTRIBUTING.md](../.github/CONTRIBUTING.md#changelog-guidelines) for details).
@@ -86,8 +84,9 @@ Before releasing, ensure the changelog is properly prepared:
8684
### Removed
8785
```
8886

89-
4. **Update the version links** at the bottom of the changelog files
90-
5. **Commit the changelog updates** as part of the release preparation
87+
4. **Commit the changelog updates** as part of the release preparation
88+
89+
If everything looks good, you can push the changes to the repository.
9190

9291
## Merge "release branch" into "main"
9392

docs/useCases.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,6 +2076,8 @@ The `collectionIdOrAlias` is a generic collection identifier, which can be eithe
20762076

20772077
There is a second optional parameter called `onlyDisplayedOnCreate` which indicates whether or not to return only the metadata blocks that are displayed on dataset creation. The default value is false.
20782078

2079+
There is a third optional parameter called `datasetType` which will include additional fields from metadata blocks linked to the provided type, if any. Before using this parameter, you will probably want to [list available dataset types](#get-dataset-available-dataset-types) for your installation.
2080+
20792081
## Users
20802082

20812083
### Users read use cases

0 commit comments

Comments
 (0)