Skip to content

Commit ac8ad13

Browse files
authored
Prepared Release (#88)
* Prepared Release * Added 2nd Developer info * Updated CHANGELOG.md
1 parent 0b5275f commit ac8ad13

File tree

5 files changed

+47
-5
lines changed

5 files changed

+47
-5
lines changed

CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
### 1.0.0 / 2022-12-14 ###
2+
#### Major Release
3+
Warning: This version includes breaking changes and some experimental features, please keep that in mind when using it.
4+
5+
If you encounter any problems because of the upgrade, please do not hesitate to contact [email protected]
6+
or open a GitHub-Issue.
7+
8+
##### Breaking Changes - Upgrade Guide
9+
* The AssemblyListener Interface has been upgraded. As a result you will have to implement the following methods:
10+
- `onFileUploadPaused(String name)`
11+
- `onFileUploadResumed(String name)`
12+
- `onFileUploadProgress(long uploadedBytes, long totalBytes)`
13+
If you do not need their functionality, just leave them blank.
14+
* Also take note of the deprecation of `AsyncAssemblies`. The normal `Assembly` class, thanks to its extended
15+
functionality, serves as a replacement. You can find more about it further down in the text.
16+
17+
##### Most Important Innovations:
18+
* Introduction of multithreaded uploads. - Now you can upload multiple files in parallel:
19+
* The uploads are pausable via `Assembly#pauseUploads()`.
20+
* And resumable with `Assembly#resumeUploads()`.
21+
* The default value of files being uploaded at the same time is 2. You can adjust this with
22+
`Assembly#setMaxParallelUploads(int maxUploads)`.
23+
* If you want to turn off this feature use: `Assembly#setMaxParallelUploads(int maxUploads)` with a value of 1.
24+
* The `AssemblyListener` has now an extended feature set and provides also information to the new upload mode.
25+
* `AsyncAssemblies` are deprecated now in favor of multithreaded uploads.
26+
* Because some users, especially on Android, are using AsyncAssemblies
27+
this release ships a fix for the corresponding Listeners to avoid `NullPointerExceptions`.
28+
* If you want to add a `Step` to an `Assembly`, providing the Robot's name is now optional. This helps if you want to do a Template Override.
29+
The provided Examples were revised and new examples have been added.
30+
31+
##### Minor changes:
32+
* All dependencies are up-to-date now and include all necessary security patches.
33+
* Signature Authentication uses HmacSHA384 now.
34+
* Signature Authentication uses a unique nonce per assembly in order to prevent signature reuse errors.
35+
136
### 0.4.4 / 2022-10-30 ###
237
* The Socket-IO plugin has been updated to version 4, which is also used by the API.
338

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.4.4'
23+
implementation 'com.transloadit.sdk:transloadit:1.0.0'
2424
```
2525

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

build.gradle

+8-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ allprojects {
2424
dependencies {
2525
implementation 'org.jetbrains:annotations:23.0.0'
2626
implementation 'io.tus.java.client:tus-java-client:0.4.5'
27-
implementation 'joda-time:joda-time:2.12.0'
27+
implementation 'joda-time:joda-time:2.12.2'
2828
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
2929
implementation 'org.json:json:20220924'
3030
implementation 'commons-codec:commons-codec:1.15'
@@ -59,6 +59,13 @@ def pomConfig = {
5959
}
6060

6161
developers {
62+
developer {
63+
id 'cdr_chakotay'
64+
name 'Florian Kuenzig'
65+
66+
organization 'Transloadit II GmbH'
67+
organizationUrl 'transloadit.com'
68+
}
6269
developer {
6370
id 'Transloadit'
6471
name 'Transloadit'
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
versionNumber='0.4.4'
1+
versionNumber='1.0.0'

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public void get() throws Exception {
6565
mockServerClient.verify(HttpRequest.request()
6666
.withPath("/foo")
6767
.withMethod("GET")
68-
.withHeader("Transloadit-Client", "java-sdk:0.4.4"));
68+
.withHeader("Transloadit-Client", "java-sdk:1.0.0"));
6969

7070
}
7171

0 commit comments

Comments
 (0)