Skip to content

Commit 807e997

Browse files
authoredJun 27, 2021
Prepare 0.3.0 Release (#68)
* Prepare 0.3.0 Release * update one jUnit Test * Remove unused imports * Update README.md * Update CHANGELOG.md
1 parent 87dbd6f commit 807e997

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed
 

‎CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
### 0.3.0 / 2021-06-27 ###
2+
* Updated all dependencies to their most recent, compatible version
3+
=> minimal requirements for the SDK are now Android 5+ and Java 8+.
4+
* Add (form) fields to an Assembly or Template with the addField()- and addFields() - methods
5+
* Extended support for Assembly progress updates via the Websocket.
6+
=> AssemblyListener Interface provides more callback functions now. This should be considered before the update.
7+
* Codebase received a review and an updated JavaDoc
8+
* New Example added that uses [Kotlin](https://kotlinlang.org/).
9+
110
### 0.2.0 / 2021-05-17 ###
211
* Added retry functionality for assemblies in case of reaching the rate limit
312

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Existing users should take note of the [JCenter shutdown](https://jfrog.com/blog
2020
**Gradle:**
2121

2222
```groovy
23-
implementation 'com.transloadit.sdk:transloadit:0.2.0'
23+
implementation 'com.transloadit.sdk:transloadit:0.3.0'
2424
```
2525

2626
**Maven:**
@@ -29,7 +29,7 @@ implementation 'com.transloadit.sdk:transloadit:0.2.0'
2929
<dependency>
3030
<groupId>com.transloadit.sdk</groupId>
3131
<artifactId>transloadit</artifactId>
32-
<version>0.2.0</version>
32+
<version>0.3.0</version>
3333
</dependency>
3434
```
3535

‎src/main/resources/version.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
versionNumber='0.2.0'
1+
versionNumber='0.3.0'

‎src/test/java/com/transloadit/sdk/RequestTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void get() throws Exception {
5656
mockServerClient.verify(HttpRequest.request()
5757
.withPath("/foo")
5858
.withMethod("GET")
59-
.withHeader("Transloadit-Client", "java-sdk:0.2.0"));
59+
.withHeader("Transloadit-Client", "java-sdk:0.3.0"));
6060

6161
}
6262

‎src/test/java/com/transloadit/sdk/async/AsyncAssemblyTest.java

+1-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import com.transloadit.sdk.exceptions.LocalOperationException;
1010
import com.transloadit.sdk.exceptions.RequestException;
1111
import com.transloadit.sdk.response.AssemblyResponse;
12-
import org.junit.After;
1312
import org.junit.Before;
1413
import org.junit.Rule;
1514
import org.junit.Test;
@@ -61,6 +60,7 @@ public class AsyncAssemblyTest extends MockHttpService {
6160
*/
6261
@Before
6362
public void setUp() throws Exception {
63+
mockServerClient.reset();
6464
listener = new Listener();
6565
assembly = new MockAsyncAssembly(transloadit, listener);
6666
uploadFinished = false;
@@ -83,13 +83,6 @@ public void setUp() throws Exception {
8383
.respond(HttpResponse.response().withBody(getJson("assembly.json")));
8484
}
8585

86-
/**
87-
* Resets mockServer after each Test run.
88-
*/
89-
@After
90-
public void tearDown() {
91-
mockServerClient.reset();
92-
}
9386

9487
/**
9588
* This test verifies the functionality of the {@link Assembly#save()} method under the special

0 commit comments

Comments
 (0)