|
| 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 | + |
1 | 36 | ### 0.4.4 / 2022-10-30 ###
|
2 | 37 | * The Socket-IO plugin has been updated to version 4, which is also used by the API.
|
3 | 38 |
|
|
0 commit comments