You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
Significant changes since 0.1.0
2
2
3
-
2.0.0 2026-03-09
4
-
- feature: remove SWORD protocol dependency and upload option
3
+
2.0.0 2026-03-16
4
+
- breaking change: removed SWORD dependency and sword-related upload methods from DatasetOperations interface; more details in [Migration Guide](Migration_Guide_V1_to_V2.md)
5
+
- dependencies: minor version updates of `commons-lang3`, `commons-io` and `spring` versions
Version 2.0.0. removes the SWORD protocol as an upload mechanism.
2
+
3
+
* SWORD library (`org.swordapp:sword2-client`) is no longer a dependency of the project.
4
+
5
+
*`com.researchspace.dataverse.api.v1.DatasetOperations` interface and `DataverseOperationsImplV1`
6
+
implementation no longer provide `uploadFile()` methods. Use `uploadNativeFile()` methods instead.
7
+
8
+
*`com.researchspace.dataverse.sword.FileUploader` was removed.
9
+
10
+
For example usage of `uploadNativeFile()` method you can check implementation
11
+
of [DataverseRSpaceRepository.java](https://github.com/rspace-os/rspace-dataverse-adapter/blob/main/src/main/java/com/researchspace/dataverse/rspaceadapter/DataverseRSpaceRepository.java)
12
+
within [rspace-dataverse-adapter](https://github.com/rspace-os/rspace-dataverse-adapter) project.
13
+
14
+
If you need to use old SWORD upload you can still use version 1.4.2, which is available on JitPack
Copy file name to clipboardExpand all lines: Readme.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,7 @@
3
3
This project is a Java wrapper around the [Dataverse API](http://guides.dataverse.org/en/4.2/api/).
4
4
It was initially contributed by [ResearchSpace](www.researchspace.com) in October 2016.
5
5
6
-
## Version 2
7
-
Version 2 removes the SWORD protocol as an upload mechanism.
8
-
9
-
If you make use of SWORD, you can still use version 1.X, which is available on JitPack or buildable via git history.
6
+
Version 2.0.0 released in March 2026 no longer depends on SWORD protocol libs - see the [migration guide](Migration_Guide_V1_to_V2.md) for more details.
10
7
11
8
## Building
12
9
@@ -61,7 +58,7 @@ If using Maven, add this to your pom.xml file (thanks AleixMT).
61
58
62
59
<dependencies>
63
60
<dependency>
64
-
<groupId>com.github.rspace-os</groupId>
61
+
<groupId>com.github.iqss</groupId>
65
62
<artifactId>dataverse-client-java</artifactId>
66
63
<version>v2.0.0</version>
67
64
</dependency>
@@ -124,7 +121,7 @@ There are [instructions](https://projectlombok.org/features/index.html) on how t
124
121
125
122
### Coding standards
126
123
127
-
Please make sure tests pass before committing, and to add new tests for new additions.
124
+
Please make sure tests pass before committing, and add new tests for new additions.
0 commit comments