File tree 5 files changed +14
-12
lines changed
test/java/com/transloadit/sdk
5 files changed +14
-12
lines changed Original file line number Diff line number Diff line change
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
+
1
10
### 0.2.0 / 2021-05-17 ###
2
11
* Added retry functionality for assemblies in case of reaching the rate limit
3
12
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Existing users should take note of the [JCenter shutdown](https://jfrog.com/blog
20
20
** Gradle:**
21
21
22
22
``` groovy
23
- implementation 'com.transloadit.sdk:transloadit:0.2 .0'
23
+ implementation 'com.transloadit.sdk:transloadit:0.3 .0'
24
24
```
25
25
26
26
** Maven:**
@@ -29,7 +29,7 @@ implementation 'com.transloadit.sdk:transloadit:0.2.0'
29
29
<dependency >
30
30
<groupId >com.transloadit.sdk</groupId >
31
31
<artifactId >transloadit</artifactId >
32
- <version >0.2 .0</version >
32
+ <version >0.3 .0</version >
33
33
</dependency >
34
34
```
35
35
Original file line number Diff line number Diff line change 1
- versionNumber =' 0.2 .0'
1
+ versionNumber =' 0.3 .0'
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public void get() throws Exception {
56
56
mockServerClient .verify (HttpRequest .request ()
57
57
.withPath ("/foo" )
58
58
.withMethod ("GET" )
59
- .withHeader ("Transloadit-Client" , "java-sdk:0.2 .0" ));
59
+ .withHeader ("Transloadit-Client" , "java-sdk:0.3 .0" ));
60
60
61
61
}
62
62
Original file line number Diff line number Diff line change 9
9
import com .transloadit .sdk .exceptions .LocalOperationException ;
10
10
import com .transloadit .sdk .exceptions .RequestException ;
11
11
import com .transloadit .sdk .response .AssemblyResponse ;
12
- import org .junit .After ;
13
12
import org .junit .Before ;
14
13
import org .junit .Rule ;
15
14
import org .junit .Test ;
@@ -61,6 +60,7 @@ public class AsyncAssemblyTest extends MockHttpService {
61
60
*/
62
61
@ Before
63
62
public void setUp () throws Exception {
63
+ mockServerClient .reset ();
64
64
listener = new Listener ();
65
65
assembly = new MockAsyncAssembly (transloadit , listener );
66
66
uploadFinished = false ;
@@ -83,13 +83,6 @@ public void setUp() throws Exception {
83
83
.respond (HttpResponse .response ().withBody (getJson ("assembly.json" )));
84
84
}
85
85
86
- /**
87
- * Resets mockServer after each Test run.
88
- */
89
- @ After
90
- public void tearDown () {
91
- mockServerClient .reset ();
92
- }
93
86
94
87
/**
95
88
* This test verifies the functionality of the {@link Assembly#save()} method under the special
You can’t perform that action at this time.
0 commit comments