Skip to content

Releases: transloadit/java-sdk

v1.0.0

17 Jan 17:46
ac8ad13
Compare
Choose a tag to compare

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 support@transloadit.com
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.

v0.4.4

30 Oct 13:33
abe3964
Compare
Choose a tag to compare
  • The Socket-IO plugin has been updated to version 4, which is also used by the API.

v0.4.3

28 Oct 15:48
65b340b
Compare
Choose a tag to compare
  • Includes a vulnerability patch in the used socket-io implementation

v0.4.2

03 Feb 09:28
17823ed
Compare
Choose a tag to compare
  • Added possibility for SDKs using this SDK to send their own version number to the server in the Transloadit-Client header.
  • Resolved some file-name conflicts with the tus-java-client library.

v0.4.1

26 Sep 14:53
a59eb08
Compare
Choose a tag to compare
  • Added debugging features regarding HTTP requests, which should not be used in production without contacting Transloadit support.

v0.4.0

26 Sep 14:40
c90faaa
Compare
Choose a tag to compare
  • Added support for client-side Assembly IDs. You can obtain the ID of an Assembly now before even uploading/saving it. You can achieve this with the brand-new Assembly#getAssemblyID() method.
  • Added debugging features regarding AssemblyIDs, which should not be used in production without contacting Transloadit support.
  • Also updated the AssemblyListener interface to provide HashMaps instead of JSONObjects.

v0.3.0

27 Jun 20:47
807e997
Compare
Choose a tag to compare
  • 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.

v0.2.0

17 May 13:52
9e77842
Compare
Choose a tag to compare
  • Added retry functionality for assemblies in case of reaching the rate limit

v0.1.6

11 May 14:17
26b2530
Compare
Choose a tag to compare
  • Fix bug that doesn't allow usage of templates that have disabled allow steps override.
  • Added some new examples

v0.1.5

16 Jul 09:51
Compare
Choose a tag to compare
  • Make tus uploads to assembly's tus url
  • Make assembly wait till completion