Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@cdr-chakotay cdr-chakotay released this 17 Jan 17:46
· 4 commits to main since this release
ac8ad13

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.