Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
9a313b5
Stash: GetSearchServices WIP
GPortas May 28, 2025
b0e2c66
Stash: SearchServicesRepository WIP
GPortas May 28, 2025
e6dfcfd
Added: search services repository logic
GPortas May 28, 2025
6eca761
Fixed: search services endpoint
GPortas May 28, 2025
34cb64e
Changed: registry
GPortas May 28, 2025
05b99a7
Changed: temporarily commented test steps in deploy_pr action
GPortas May 28, 2025
566cc9e
Added: support for searchServiceName in getCollectionItems (testless)
GPortas May 28, 2025
f042d8d
Added: SCORE to SortType
GPortas May 28, 2025
e29b28e
export search module
g-saracca May 28, 2025
a7e329e
Merge branch 'develop' into enhanced_search
g-saracca Jun 6, 2025
0c891f8
keep showTypeCounts as last arg
g-saracca Jun 6, 2025
7f3e9eb
Merge pull request #328 from IQSS/release/1.0.0
g-saracca Jul 3, 2025
b84eba2
feat: include isAdvancedSearchFieldType prop
g-saracca Jul 8, 2025
d3bee42
test: include property in helpers
g-saracca Jul 8, 2025
8e54722
Merge branch 'develop' of github.com:IQSS/dataverse-client-javascript…
GPortas Jul 11, 2025
e03fa21
Changed: uncommented deploy_pr test steps
GPortas Jul 11, 2025
0c49ec5
feat: update notification usecases
ChengShi-1 Jul 11, 2025
3c12fbe
fix: testcases
ChengShi-1 Jul 11, 2025
4b5334c
Added: missing docs for GetCollectionItems use case
GPortas Jul 15, 2025
4d61527
Added: use case docs for GetSearchServices
GPortas Jul 15, 2025
c355cab
Added: unit tests for GetSearchServices use case
GPortas Jul 15, 2025
7dbd02d
Added: reformat
GPortas Jul 15, 2025
439aa62
Stash: SearchServicesRepository IT WIP
GPortas Jul 15, 2025
84350c6
Added: missing search services tests
GPortas Jul 15, 2025
011c4ad
Added: missing export in search subdomain
GPortas Jul 15, 2025
2715460
feat: add link and unlink use cases
g-saracca Jul 16, 2025
17f5a24
test: add functional and integration
g-saracca Jul 16, 2025
df0ffa8
fix: numbers for dataset id and string for collection alias
g-saracca Jul 17, 2025
2434086
feat: GetDatasetLinkedCollections use case
g-saracca Jul 17, 2025
0d85969
test: add tests
g-saracca Jul 17, 2025
90f9b04
Merge branch 'main' into develop
g-saracca Jul 17, 2025
851f269
fix: replace WriteError with ReadError in GetDatasetLinkedCollections…
g-saracca Jul 17, 2025
252e08c
fix: naming of delete notification
ChengShi-1 Jul 17, 2025
41d62f0
Merge pull request #308 from IQSS/enhanced_search
ofahimIQSS Jul 21, 2025
6a025d3
Merge pull request #337 from IQSS/feat/324-link-dataset-use-cases
ofahimIQSS Jul 21, 2025
a731e47
Merge pull request #333 from IQSS/feat/332-include-isAdvancedSearchFi…
ofahimIQSS Jul 22, 2025
b9604c6
feat: update get citation in other format
ChengShi-1 Jul 22, 2025
b107eda
Merge branch 'develop' into Citation-in-other-format
ChengShi-1 Jul 22, 2025
7678460
fix: update the response format
ChengShi-1 Jul 23, 2025
b464cec
revert the dataverse image to docker.io, unstable
ekraffmiller Jul 23, 2025
d492fea
fix RolesRepository integration test
ekraffmiller Jul 23, 2025
eb9ffc3
skip failing test until fix is in place
ekraffmiller Jul 23, 2025
97cba99
Merge pull request #342 from IQSS/fix-env
ofahimIQSS Jul 24, 2025
5e59c9f
Merge branch 'develop' into Citation-in-other-format
ChengShi-1 Jul 24, 2025
0928200
feat: update use case get available categories
ChengShi-1 Jul 24, 2025
7ce1c2f
feat: update useCases.md
ChengShi-1 Jul 24, 2025
997a4fb
Revert "fix RolesRepository integration test"
ChengShi-1 Jul 25, 2025
329831e
Revert "fix RolesRepository integration test"
ChengShi-1 Jul 25, 2025
273947c
Update docs/useCases.md
ChengShi-1 Jul 25, 2025
a3abce0
fix: test
ChengShi-1 Jul 25, 2025
136e125
fix: test
ChengShi-1 Jul 25, 2025
7810d21
Merge branch '336-file-use-cases-get-available-dataset-file-categorie…
ChengShi-1 Jul 25, 2025
5fd4982
feat: add test case for persistent id
ChengShi-1 Jul 31, 2025
e9c4f98
fix: change the names and stringify json object
ChengShi-1 Jul 31, 2025
6df006e
feat: initial work, types methods
g-saracca Aug 1, 2025
f199086
add linkCollection and unlinkCollection use cases
ekraffmiller Aug 4, 2025
3f01e90
fix: update to dataset index.tx
ChengShi-1 Aug 5, 2025
a957946
fix: update datasetID to allow persistent id
ChengShi-1 Aug 5, 2025
548ca2c
add functional tests
ekraffmiller Aug 5, 2025
9db4c47
use consistent names for UnlinkCollection
ekraffmiller Aug 5, 2025
380dedc
fix import
ekraffmiller Aug 5, 2025
ed2ebf3
fix roles test data
ekraffmiller Aug 5, 2025
2f24d32
add GetCollectionLinks use case
ekraffmiller Aug 11, 2025
c2564a1
remove console.log()
ekraffmiller Aug 12, 2025
8c14fdf
Merge pull request #340 from IQSS/Citation-in-other-format
ofahimIQSS Aug 13, 2025
74321bf
Reapply "fix RolesRepository integration test"
ChengShi-1 Aug 14, 2025
628e4e6
fix: change order
ChengShi-1 Aug 14, 2025
158f842
Merge pull request #349 from IQSS/Citation-in-other-format
g-saracca Aug 14, 2025
4770f56
Merge branch 'develop' into 336-file-use-cases-get-available-dataset-…
ChengShi-1 Aug 15, 2025
ed5feeb
fix: add a ,
ChengShi-1 Aug 15, 2025
5ec425a
fix: tests roleHelper
ChengShi-1 Aug 15, 2025
ace8b9d
fix: tests roleHelper
ChengShi-1 Aug 15, 2025
008b3aa
Merge branch 'develop' into 334-create-use-cases-for-get-notification…
ChengShi-1 Aug 15, 2025
1d78fbb
remove .DS_Store
ekraffmiller Aug 15, 2025
3a969cb
Remove remaining .DS_Store file
ekraffmiller Aug 15, 2025
c439f93
add GetCollectionLinks to index.ts
ekraffmiller Aug 15, 2025
8d47d04
fix string for API url, update unit UnlinkCollection test
ekraffmiller Aug 15, 2025
b9d0422
Update LinkCollection.test.ts
ekraffmiller Aug 15, 2025
14e7968
fix test description
ekraffmiller Aug 15, 2025
eb2925b
resolve merge conflicts
ekraffmiller Aug 15, 2025
396c348
fix integrations
ekraffmiller Aug 15, 2025
e93174e
feat: update get notification parameter
ChengShi-1 Aug 15, 2025
3219a71
Merge pull request #344 from IQSS/336-file-use-cases-get-available-da…
ofahimIQSS Aug 15, 2025
541e892
feat: display as read
ChengShi-1 Aug 18, 2025
de95d37
fix on tests
ChengShi-1 Aug 18, 2025
204796f
Merge pull request #346 from IQSS/325-link-unlink-collection
ofahimIQSS Aug 18, 2025
e087a57
update env. variables
ChengShi-1 Aug 19, 2025
0c1de29
fix: avoid incorrect split causing value part to be truncated
g-saracca Aug 21, 2025
bfb640a
Merge pull request #351 from IQSS/fix/350-fq-split
ofahimIQSS Aug 21, 2025
b61f8cf
fix: update naming and test
ChengShi-1 Aug 22, 2025
68fcaa7
Merge pull request #335 from IQSS/334-create-use-cases-for-get-notifi…
ofahimIQSS Aug 22, 2025
d576136
feat: external tool use cases
g-saracca Aug 22, 2025
550afa5
test: unit
g-saracca Aug 22, 2025
db7e613
test: integration cases
g-saracca Aug 25, 2025
aa4bb65
refactor: change mapping
g-saracca Aug 25, 2025
fc750c9
skip tests to get pr version generated
g-saracca Aug 25, 2025
5ed2e8a
refactor: rename external tool URL methods and interfaces for clarity
g-saracca Aug 25, 2025
2435a25
feat: add contentType to ExternalTool and ExternalToolPayload interfaces
g-saracca Aug 27, 2025
99286b1
test: remove skips
g-saracca Sep 1, 2025
ea487a0
Merge branch 'develop' into feat/317-get-dataset-templates
g-saracca Sep 1, 2025
6bfc7d6
feat: methods and use cases
g-saracca Sep 2, 2025
aa34265
feat: tansform iconUrl to iconUri
g-saracca Sep 2, 2025
6c9fb0e
refactor: move use case to datasets repository
g-saracca Sep 2, 2025
9eb5ab8
feat: change property name to avoid confusion
g-saracca Sep 2, 2025
9b46887
refactor: use types from model instead of repeating
g-saracca Sep 3, 2025
70276ca
feat: change model returned
g-saracca Sep 4, 2025
4ce6b26
feat: new use case for licenses
ChengShi-1 Sep 4, 2025
48785ee
chore: back to unstable image for tests
g-saracca Sep 5, 2025
5cec1d2
feat: add toolParams, allowedApiCalls and requirements properties
g-saracca Sep 5, 2025
5ab5852
skip test for now
g-saracca Sep 5, 2025
8720bdc
test: add integration cases
g-saracca Sep 8, 2025
47d2561
fix: model and payload changes
ChengShi-1 Sep 8, 2025
1331a81
feat: use case and docs
g-saracca Sep 8, 2025
4235db5
test: add unit and integration tests
g-saracca Sep 8, 2025
57c98de
Merge pull request #358 from IQSS/get-licenses
ofahimIQSS Sep 9, 2025
4a6055a
Merge branch 'develop' into feat/361-get-available-dataset-metadata-e…
g-saracca Sep 9, 2025
39aa3da
Merge pull request #362 from IQSS/feat/361-get-available-dataset-meta…
ofahimIQSS Sep 9, 2025
4405fc0
Merge branch 'develop' into feat/317-get-dataset-templates
g-saracca Sep 9, 2025
d06e2cb
fix: use mapper and correct test
g-saracca Sep 9, 2025
5cad35d
feat: new use case for getting dataset types #363
pdurbin Sep 9, 2025
0ec433f
refactor: update license handling across dataset models and transformers
g-saracca Sep 10, 2025
3c8bb11
Merge develop into fea/352-external-tool-use-cases
g-saracca Sep 10, 2025
40ea333
test: unskip tests now that related backend PR was merged
g-saracca Sep 10, 2025
81a431e
Merge pull request #355 from IQSS/feat/317-get-dataset-templates
ofahimIQSS Sep 10, 2025
e4f09f9
fix docs (copy/paste error) #363
pdurbin Sep 10, 2025
a49c004
add integration test #363
pdurbin Sep 10, 2025
76fa636
feat: use case
g-saracca Sep 10, 2025
5695023
test: add unit and integration test
g-saracca Sep 10, 2025
8387b4e
docs: add use case docs
g-saracca Sep 10, 2025
5190e6a
Merge branch 'develop' into feat/345-get-collection-for-linking
g-saracca Sep 10, 2025
bf9c617
Merge branch 'develop' into 363-get-datasetTypes #363
pdurbin Sep 10, 2025
aaf41cc
docs: move use case to correct section (read instead of write) #363
pdurbin Sep 10, 2025
585c419
Merge pull request #353 from IQSS/feat/352-external-tool-use-cases
ofahimIQSS Sep 11, 2025
2796c36
Merge pull request #366 from IQSS/363-get-datasetTypes
ofahimIQSS Sep 11, 2025
e4c0880
feat: update linkDataset and unlinkDataset methods to accept string o…
g-saracca Sep 16, 2025
569b1da
feat: add changelog and update relevant files
ChengShi-1 Sep 17, 2025
20dc116
feat: update PR template
ChengShi-1 Sep 17, 2025
e30ad18
feat: add alreadyLinked parameter to getCollectionsForLinking to get …
g-saracca Sep 19, 2025
4e1c1a0
fix: unit tests
g-saracca Sep 19, 2025
3c6da0a
fix: add wait after linking for test
g-saracca Sep 19, 2025
9d20668
fix: make test assertions better
g-saracca Sep 19, 2025
d37c5f8
remove comment
g-saracca Sep 19, 2025
ff42b7f
fix: map linked dataset correctly according to model
g-saracca Sep 22, 2025
8888982
add, edit, and delete dataset types #370
pdurbin Sep 22, 2025
6f5df7b
delete dataset types after testing is done #370
pdurbin Sep 23, 2025
fd1779c
make prettier happy #370
pdurbin Sep 23, 2025
574a58d
Merge pull request #371 from IQSS/368-add-changelog-and-update-documents
g-saracca Sep 23, 2025
ad3f1cf
allow dataset to be created with non-default dataset type #359
pdurbin Sep 23, 2025
d1ee276
update getCollectionMetadataBlocks to support dataset types #210
pdurbin Sep 23, 2025
9d02003
Merge pull request #372 from IQSS/370-dataset-types-crud
ofahimIQSS Sep 24, 2025
b1ada17
docs: remove dataverse wording
g-saracca Sep 24, 2025
d52bc13
Merge pull request #367 from IQSS/feat/345-get-collection-for-linking
ofahimIQSS Sep 24, 2025
bc48538
Merge pull request #373 from IQSS/359-create-dataset-datasettype
ofahimIQSS Sep 24, 2025
8cc6b9d
Revert "Get Collections For Linking Use Case"
g-saracca Sep 25, 2025
16c83fe
Merge pull request #377 from IQSS/revert-367-feat/345-get-collection-…
g-saracca Sep 25, 2025
351424d
Merge pull request #374 from IQSS/210-get-blocks-datasettype
ofahimIQSS Sep 26, 2025
c53ffd7
chore: fixes with npm run audit fix
g-saracca Sep 29, 2025
84834b7
chore: replace pre-commit with husky
g-saracca Sep 29, 2025
d6a09a4
docs: add to changelog
g-saracca Sep 29, 2025
fcd2ea5
Merge pull request #381 from IQSS/fix/380-deps-vulnerabilities
g-saracca Sep 29, 2025
5febe7c
release v2.1.0
g-saracca Sep 29, 2025
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
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

## Suggestions on how to test this:

## Is there a release notes update needed for this change?:
## Is there a release notes or changelog update needed for this change?:

## Additional documentation:
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ node_modules
# unit tests
coverage

# macOS
.DS_Store

# ignore npm lock
package-json.lock
.npmrc
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
npm run format
npm run typecheck
npm run lint:fix
git add .
63 changes: 63 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Changelog

All notable changes to **Dataverse Client Javascript** are documented here.

This changelog follows the principles of [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and adheres to [Semantic Versioning](https://semver.org/). This document is intended for developers, contributors, and users who need to understand the technical details.

## [Unreleased]

### Added

### Changed

### Fixed

### Removed

[Unreleased]: https://github.com/IQSS/dataverse-client-javascript/compare/v2.1.0...develop

---

## [v2.1.0] -- 2025-09-29

### Added

- 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.

### Changed

- CreateDataset use case updated to allow non-default dataset types.

- GetCollectionMetadataBlocks use case updated to support passing a dataset type.

### Fixed

- Integration tests in Roles Repository.

- Incorrect Filter Queries split that caused value parts to be truncated.

### Security

- Dependencies updated to address vulnerabilities found by npm audit.
23 changes: 23 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,29 @@ First of all thank you very much for your interest in contributing to this proje
- Unit and integration tests pass
- Unit and integration tests for new functionality/fix are added
- Documentation is updated (Any new use case added or modified should be documented in the [Use Cases](./docs/useCases.md) section)
- Changelog is updated with your changes in the `[Unreleased]` section of [CHANGELOG.md](./CHANGELOG.md)

## Maintaining the Changelog

When contributing to this project, it's important to document your changes in the changelog to help users and developers understand what has been added, changed, fixed, or removed between versions. The changelog helps maintain transparency about project evolution and assists users in understanding the impact of updates. We also have another changelog for design system, so for any design system changes, please include them in that changelog.

### When to Add Changelog Entries

**Every pull request should include a changelog entry**

Add a changelog entry for changes, including:

- **Added**: New features, components, or functionality
- **Changed**: Changes to existing functionality, API modifications, or package updates
- **Fixed**: Bug fixes and issue resolutions
- **Removed**: Deprecated features or removed functionality

### How to Add Changelog Entries

1. **Add your changes to the `[Unreleased]` section** at the top of `CHANGELOG.md`
2. **Categorize your changes** under the appropriate category(Added, Changed, Fixed, Removed)
3. **Write clear, concise descriptions** that help users understand the impact of changes
4. **Include relevant issue numbers** when applicable

## Code of Conduct

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ For detailed information about available use cases see [Use Cases Docs](https://

For detailed information about usage see [Usage Docs](https://github.com/IQSS/dataverse-client-javascript/blob/main/docs/usage.md).

## Changelog

See [CHANGELOG.md](https://github.com/IQSS/dataverse-client-javascript/blob/main/CHANGELOG.md) for a detailed history of changes to this project.

## Contributing

Want to add a new use case or improve an existing one? Please check the [Contributing](https://github.com/IQSS/dataverse-client-javascript/blob/main/CONTRIBUTING.md) section.
Expand Down
48 changes: 47 additions & 1 deletion docs/making-releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- [Regular or Hotfix?](#regular-or-hotfix)
- [Create Github Issue and Release Branch](#create-github-issue-and-release-branch)
- [Update the version](#update-the-version)
- [Update the changelog](#update-the-changelog)
- [Merge "release branch" into "main"](#merge-release-branch-into-main)
- [Publish the Dataverse Client Javascript package](#publish-the-dataverse-client-javascript-package)
- [Create a Draft Release on GitHub and Tag the Version](#create-a-draft-release-on-github-and-tag-the-version)
Expand Down Expand Up @@ -40,6 +41,51 @@ npm version 3.5.0 --no-git-tag-version

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

## Update the changelog

**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).

Before releasing, ensure the changelog is properly prepared:

1. **Review the [Unreleased] section** in `CHANGELOG.md` and `packages/design-system/CHANGELOG.md`
2. **Move entries from [Unreleased] to the new version section**:

```markdown
## [vX.X.X] -- YYYY-MM-DD

### Added

- Feature descriptions from unreleased section

### Changed

- Changes from unreleased section

### Fixed

- Bug fixes from unreleased section

### Removed

- Removals from unreleased section
```

3. **Clear the [Unreleased] section** but keep the structure:

```markdown
## [Unreleased]

### Added

### Changed

### Fixed

### Removed
```

4. **Commit the changelog updates** as part of the release preparation

If everything looks good, you can push the changes to the repository.

## Merge "release branch" into "main"
Expand Down Expand Up @@ -96,7 +142,7 @@ Go to https://github.com/IQSS/dataverse-client-javascript/releases/new to start

- Under "Release title" use the same name as the tag such as v3.5.0.

- Add a description of the changes included in this release. You should include a link to the recently published npm version and summarize the key updates, fixes, or features.
- Add a description of the changes included in this release. You should include a link to the recently published npm version and summarize the key updates, fixes, or features. You can copy the content from the corresponding version section in `CHANGELOG.md` for consistency.

- Click "Save draft" because we do not want to publish the release yet.

Expand Down
Loading