Skip to content

Commit

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

* update one jUnit Test

* Remove unused imports

* Update README.md

* Update CHANGELOG.md
  • Loading branch information
cdr-chakotay authored Jun 27, 2021
1 parent 87dbd6f commit 807e997
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### 0.3.0 / 2021-06-27 ###
* Updated all dependencies to their most recent, compatible version
=> minimal requirements for the SDK are now Android 5+ and Java 8+.
* Add (form) fields to an Assembly or Template with the addField()- and addFields() - methods
* Extended support for Assembly progress updates via the Websocket.
=> AssemblyListener Interface provides more callback functions now. This should be considered before the update.
* Codebase received a review and an updated JavaDoc
* New Example added that uses [Kotlin](https://kotlinlang.org/).

### 0.2.0 / 2021-05-17 ###
* Added retry functionality for assemblies in case of reaching the rate limit

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Existing users should take note of the [JCenter shutdown](https://jfrog.com/blog
**Gradle:**

```groovy
implementation 'com.transloadit.sdk:transloadit:0.2.0'
implementation 'com.transloadit.sdk:transloadit:0.3.0'
```

**Maven:**
Expand All @@ -29,7 +29,7 @@ implementation 'com.transloadit.sdk:transloadit:0.2.0'
<dependency>
<groupId>com.transloadit.sdk</groupId>
<artifactId>transloadit</artifactId>
<version>0.2.0</version>
<version>0.3.0</version>
</dependency>
```

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.2.0'
versionNumber='0.3.0'
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 @@ -56,7 +56,7 @@ public void get() throws Exception {
mockServerClient.verify(HttpRequest.request()
.withPath("/foo")
.withMethod("GET")
.withHeader("Transloadit-Client", "java-sdk:0.2.0"));
.withHeader("Transloadit-Client", "java-sdk:0.3.0"));

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import com.transloadit.sdk.exceptions.LocalOperationException;
import com.transloadit.sdk.exceptions.RequestException;
import com.transloadit.sdk.response.AssemblyResponse;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
Expand Down Expand Up @@ -61,6 +60,7 @@ public class AsyncAssemblyTest extends MockHttpService {
*/
@Before
public void setUp() throws Exception {
mockServerClient.reset();
listener = new Listener();
assembly = new MockAsyncAssembly(transloadit, listener);
uploadFinished = false;
Expand All @@ -83,13 +83,6 @@ public void setUp() throws Exception {
.respond(HttpResponse.response().withBody(getJson("assembly.json")));
}

/**
* Resets mockServer after each Test run.
*/
@After
public void tearDown() {
mockServerClient.reset();
}

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

0 comments on commit 807e997

Please sign in to comment.