Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
This document record significant changes to the project

## 1.0.0 2026-04-29
- Spring 6 / Hibernate 6 / Jakarta migration (RSDEV-444)
- Upgrade to rspace-parent 3.0.0
Comment thread
rs-fraser marked this conversation as resolved.

## 0.7.1 2026-04-27

- fix `IOException: stream is closed` on POST requests by adding `Content-Type: application/json` header
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>figshare-client-java</artifactId>
<version>0.7.1</version>
<version>1.0.0</version>
<parent>
<groupId>com.github.rspace-os</groupId>
<artifactId>rspace-parent</artifactId>
<version>2.1.3</version>
<version>3.0.0</version>
</parent>

<repositories>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public void deletePrivateArticleLink(Long articleId, String uniqueLinkKey) {
String url = utils.createPath("/account/articles/{id}/private_links/{private_link_id}");
ResponseEntity<String> resp = getRestTemplate().exchange(url,
HttpMethod.DELETE, createEmptyEntity(), String.class, articleId, uniqueLinkKey);
log.debug(resp.getStatusCode().name());
log.debug(resp.getStatusCode().toString());
}

// personal token used for testing and is added to the Authorisation Header.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package com.researchspace.figshare.model;

import org.springframework.http.HttpStatus;

import lombok.Data;
import org.springframework.http.HttpStatusCode;

@Data
public class FigshareError {
String message, code;
HttpStatus status;
HttpStatusCode status;

}