2.0.0 / 2024-01-14
Major Release
- Exchange the Socket based assembly status fetching with a Server-Sent-Events (SSE) solution.
- Added new methods to the AssemblyListener interface to provide more information about the assembly status. e.g. encoding progress with AssemblyListener#onAssemblyProgress().
- Changed existing methods in the AssemblyListener interface to provide the bare JSON response from the api instead of pre-parsed data.
- Removed the deprecated AsyncAssemblies class and functionality.
Breaking Changes - Upgrade Guide
-
The AssemblyListener interface has been upgraded. As a result you will have to implement the following methods:
onFileUploadFinished(JSONObject uploadInformation);
onAssemblyProgress(JSONObject progress)
onAssemblyResultFinished(JSONArray result)
-
The AsyncAssembly class has been removed. If you were using it, you will have to switch to the regular Assembly class.
It has been extended with asynchronous upload capabilities in the past.
The Example underexamples/src/main/java/com/transloadit/examples/MultiStepProcessing.java
shows how to use the new features.