Skip to content

Commit 376990b

Browse files
authored
Merge pull request #383 from IQSS/release/2.1.0
Release v2.1.0
2 parents 40e74cc + 5febe7c commit 376990b

File tree

149 files changed

+5891
-650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+5891
-650
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212

1313
## Suggestions on how to test this:
1414

15-
## Is there a release notes update needed for this change?:
15+
## Is there a release notes or changelog update needed for this change?:
1616

1717
## Additional documentation:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ node_modules
1010
# unit tests
1111
coverage
1212

13+
# macOS
14+
.DS_Store
15+
1316
# ignore npm lock
1417
package-json.lock
1518
.npmrc

.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: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Changelog
2+
3+
All notable changes to **Dataverse Client Javascript** are documented here.
4+
5+
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.
6+
7+
## [Unreleased]
8+
9+
### Added
10+
11+
### Changed
12+
13+
### Fixed
14+
15+
### Removed
16+
17+
[Unreleased]: https://github.com/IQSS/dataverse-client-javascript/compare/v2.1.0...develop
18+
19+
---
20+
21+
## [v2.1.0] -- 2025-09-29
22+
23+
### Added
24+
25+
- CHANGELOG.md file to track changes in a standard way.
26+
27+
- New property isAdvancedSearchFieldType returned by API in GetCollectionMetadataBlocks and GetMetadataBlockByName use cases.
28+
29+
- Use cases for Notifications: GetAllNotifications, DeleteNotification.
30+
31+
- Use cases for Dataset Linking: LinkDataset, UnlinkDataset, GetDatasetLinkedCollections.
32+
33+
- Use case: GetCitationInOtherFormats.
34+
35+
- Use case: GetDatasetAvailableCategories.
36+
37+
- Use cases for Collections Linking: LinkCollection, UnlinkCollection, GetCollectionLinks.
38+
39+
- Use cases for External Tools: GetExternalTools, GetDatasetExternalToolResolved, GetFileExternalToolResolved.
40+
41+
- Use case: GetDatasetTemplates.
42+
43+
- Use case: GetAvailableStandardLicenses.
44+
45+
- Use case: GetAvailableDatasetMetadataExportFormats.
46+
47+
- Use cases for Dataset Types: GetDatasetAvailableDatasetTypes, GetDatasetAvailableDatasetType, AddDatasetType, LinkDatasetTypeWithMetadataBlocks, SetAvailableLicensesForDatasetType, DeleteDatasetType.
48+
49+
### Changed
50+
51+
- CreateDataset use case updated to allow non-default dataset types.
52+
53+
- GetCollectionMetadataBlocks use case updated to support passing a dataset type.
54+
55+
### Fixed
56+
57+
- Integration tests in Roles Repository.
58+
59+
- Incorrect Filter Queries split that caused value parts to be truncated.
60+
61+
### Security
62+
63+
- Dependencies updated to address vulnerabilities found by npm audit.

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,29 @@ First of all thank you very much for your interest in contributing to this proje
1616
- Unit and integration tests pass
1717
- Unit and integration tests for new functionality/fix are added
1818
- Documentation is updated (Any new use case added or modified should be documented in the [Use Cases](./docs/useCases.md) section)
19+
- Changelog is updated with your changes in the `[Unreleased]` section of [CHANGELOG.md](./CHANGELOG.md)
20+
21+
## Maintaining the Changelog
22+
23+
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.
24+
25+
### When to Add Changelog Entries
26+
27+
**Every pull request should include a changelog entry**
28+
29+
Add a changelog entry for changes, including:
30+
31+
- **Added**: New features, components, or functionality
32+
- **Changed**: Changes to existing functionality, API modifications, or package updates
33+
- **Fixed**: Bug fixes and issue resolutions
34+
- **Removed**: Deprecated features or removed functionality
35+
36+
### How to Add Changelog Entries
37+
38+
1. **Add your changes to the `[Unreleased]` section** at the top of `CHANGELOG.md`
39+
2. **Categorize your changes** under the appropriate category(Added, Changed, Fixed, Removed)
40+
3. **Write clear, concise descriptions** that help users understand the impact of changes
41+
4. **Include relevant issue numbers** when applicable
1942

2043
## Code of Conduct
2144

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ For detailed information about available use cases see [Use Cases Docs](https://
4040

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

43+
## Changelog
44+
45+
See [CHANGELOG.md](https://github.com/IQSS/dataverse-client-javascript/blob/main/CHANGELOG.md) for a detailed history of changes to this project.
46+
4347
## Contributing
4448

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

docs/making-releases.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- [Regular or Hotfix?](#regular-or-hotfix)
55
- [Create Github Issue and Release Branch](#create-github-issue-and-release-branch)
66
- [Update the version](#update-the-version)
7+
- [Update the changelog](#update-the-changelog)
78
- [Merge "release branch" into "main"](#merge-release-branch-into-main)
89
- [Publish the Dataverse Client Javascript package](#publish-the-dataverse-client-javascript-package)
910
- [Create a Draft Release on GitHub and Tag the Version](#create-a-draft-release-on-github-and-tag-the-version)
@@ -40,6 +41,51 @@ npm version 3.5.0 --no-git-tag-version
4041

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

44+
## Update the changelog
45+
46+
**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).
47+
48+
Before releasing, ensure the changelog is properly prepared:
49+
50+
1. **Review the [Unreleased] section** in `CHANGELOG.md` and `packages/design-system/CHANGELOG.md`
51+
2. **Move entries from [Unreleased] to the new version section**:
52+
53+
```markdown
54+
## [vX.X.X] -- YYYY-MM-DD
55+
56+
### Added
57+
58+
- Feature descriptions from unreleased section
59+
60+
### Changed
61+
62+
- Changes from unreleased section
63+
64+
### Fixed
65+
66+
- Bug fixes from unreleased section
67+
68+
### Removed
69+
70+
- Removals from unreleased section
71+
```
72+
73+
3. **Clear the [Unreleased] section** but keep the structure:
74+
75+
```markdown
76+
## [Unreleased]
77+
78+
### Added
79+
80+
### Changed
81+
82+
### Fixed
83+
84+
### Removed
85+
```
86+
87+
4. **Commit the changelog updates** as part of the release preparation
88+
4389
If everything looks good, you can push the changes to the repository.
4490

4591
## Merge "release branch" into "main"
@@ -96,7 +142,7 @@ Go to https://github.com/IQSS/dataverse-client-javascript/releases/new to start
96142
97143
- Under "Release title" use the same name as the tag such as v3.5.0.
98144
99-
- 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.
145+
- 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.
100146
101147
- Click "Save draft" because we do not want to publish the release yet.
102148

0 commit comments

Comments
 (0)