Skip to content

Commit

Permalink
Prepared Release (#88)
Browse files Browse the repository at this point in the history
* Prepared Release

* Added 2nd Developer info

* Updated CHANGELOG.md
  • Loading branch information
cdr-chakotay authored Jan 17, 2023
1 parent 0b5275f commit ac8ad13
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 5 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
### 1.0.0 / 2022-12-14 ###
#### Major Release
Warning: This version includes breaking changes and some experimental features, please keep that in mind when using it.

If you encounter any problems because of the upgrade, please do not hesitate to contact [email protected]
or open a GitHub-Issue.

##### Breaking Changes - Upgrade Guide
* The AssemblyListener Interface has been upgraded. As a result you will have to implement the following methods:
- `onFileUploadPaused(String name)`
- `onFileUploadResumed(String name)`
- `onFileUploadProgress(long uploadedBytes, long totalBytes)`
If you do not need their functionality, just leave them blank.
* Also take note of the deprecation of `AsyncAssemblies`. The normal `Assembly` class, thanks to its extended
functionality, serves as a replacement. You can find more about it further down in the text.

##### Most Important Innovations:
* Introduction of multithreaded uploads. - Now you can upload multiple files in parallel:
* The uploads are pausable via `Assembly#pauseUploads()`.
* And resumable with `Assembly#resumeUploads()`.
* The default value of files being uploaded at the same time is 2. You can adjust this with
`Assembly#setMaxParallelUploads(int maxUploads)`.
* If you want to turn off this feature use: `Assembly#setMaxParallelUploads(int maxUploads)` with a value of 1.
* The `AssemblyListener` has now an extended feature set and provides also information to the new upload mode.
* `AsyncAssemblies` are deprecated now in favor of multithreaded uploads.
* Because some users, especially on Android, are using AsyncAssemblies
this release ships a fix for the corresponding Listeners to avoid `NullPointerExceptions`.
* 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.
The provided Examples were revised and new examples have been added.

##### Minor changes:
* All dependencies are up-to-date now and include all necessary security patches.
* Signature Authentication uses HmacSHA384 now.
* Signature Authentication uses a unique nonce per assembly in order to prevent signature reuse errors.

### 0.4.4 / 2022-10-30 ###
* The Socket-IO plugin has been updated to version 4, which is also used by the API.

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

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

Expand Down
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ allprojects {
dependencies {
implementation 'org.jetbrains:annotations:23.0.0'
implementation 'io.tus.java.client:tus-java-client:0.4.5'
implementation 'joda-time:joda-time:2.12.0'
implementation 'joda-time:joda-time:2.12.2'
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation 'org.json:json:20220924'
implementation 'commons-codec:commons-codec:1.15'
Expand Down Expand Up @@ -59,6 +59,13 @@ def pomConfig = {
}

developers {
developer {
id 'cdr_chakotay'
name 'Florian Kuenzig'
email '[email protected]'
organization 'Transloadit II GmbH'
organizationUrl 'transloadit.com'
}
developer {
id 'Transloadit'
name 'Transloadit'
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/java-sdk-version/version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
versionNumber='0.4.4'
versionNumber='1.0.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 @@ -65,7 +65,7 @@ public void get() throws Exception {
mockServerClient.verify(HttpRequest.request()
.withPath("/foo")
.withMethod("GET")
.withHeader("Transloadit-Client", "java-sdk:0.4.4"));
.withHeader("Transloadit-Client", "java-sdk:1.0.0"));

}

Expand Down

0 comments on commit ac8ad13

Please sign in to comment.