Skip to content

Commit

Permalink
Prepare 0.4.1 Release (#77)
Browse files Browse the repository at this point in the history
* Prepare 0.4.1 Release

* Update Request.java
  • Loading branch information
cdr-chakotay authored Sep 26, 2021
1 parent db8a30e commit a59eb08
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 0.4.1 / 2021-09-26 ###
* Added debugging features regarding HTTP-requests, which should not be used in production without contacting Transloadit support.

### 0.4.0 / 2021-09-26 ###
* Added support for client-side Assembly IDs. You can obtain the ID of an Assembly now before even uploading/saving it. You can achieve this with the brand-new Assembly#getAssemblyID() method.
* Added debugging features regarding AssemblyIDs, which should not be used in production without contacting Transloadit support.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ implementation 'com.transloadit.sdk:transloadit:0.3.0'
<dependency>
<groupId>com.transloadit.sdk</groupId>
<artifactId>transloadit</artifactId>
<version>0.4.0</version>
<version>0.4.1</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/transloadit/sdk/Request.java
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ protected okhttp3.Response retryAfterSpecificErrors(Object[] originalParameters)
throws LocalOperationException, RequestException {
okhttp3.Response response = null;
retryAttemptsRequestExceptionLeft--;
System.out.println("Retry " + requestType.toString() + " , Attempts left: "
+ retryAttemptsRequestExceptionLeft);
//System.out.println("Retry " + requestType.toString() + " , Attempts left: "
// + retryAttemptsRequestExceptionLeft);

try {
int timeToWait = new Random().nextInt(1000) + 1000;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
versionNumber='0.4.0'
versionNumber='0.4.1'
2 changes: 1 addition & 1 deletion src/test/java/com/transloadit/sdk/RequestTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void get() throws Exception {
mockServerClient.verify(HttpRequest.request()
.withPath("/foo")
.withMethod("GET")
.withHeader("Transloadit-Client", "java-sdk:0.4.0"));
.withHeader("Transloadit-Client", "java-sdk:0.4.1"));

}

Expand Down

0 comments on commit a59eb08

Please sign in to comment.