Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove async assembly #94

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Remove async assembly #94

wants to merge 4 commits into from

Conversation

cdr-chakotay
Copy link
Collaborator

This PR removes the AsyncAssembly functionality as it is more or less obsolete.

The regular Assembly Class is capable of asynchronous uploads already and the AsyncAssembly have been marked deprecated more than a year ago.
I want to reduce complexity by removing the AsyncAssembly logic.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@448b1ee). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage        ?   75.06%           
  Complexity      ?      186           
=======================================
  Files           ?       13           
  Lines           ?      726           
  Branches        ?       62           
=======================================
  Hits            ?      545           
  Misses          ?      146           
  Partials        ?       35           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cdr-chakotay cdr-chakotay marked this pull request as ready for review January 5, 2025 21:30
@cdr-chakotay cdr-chakotay requested a review from Acconut January 5, 2025 21:30
Copy link
Member

@Acconut Acconut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I just left a few improvements for the release notes. Could you take care of the final major release once this has been merged? Or are there other changes we need to make before a release?

* Removed the deprecated AsyncAssemblies class and functionality.

##### Breaking Changes - Upgrade Guide
* The AssemblyListener Interface has been upgraded. As a result you will have to (re-) implement the following methods:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* The AssemblyListener Interface has been upgraded. As a result you will have to (re-) implement the following methods:
* The AssemblyListener interface has been upgraded. As a result you will have to implement the following methods:

- `onAssemblyProgress(JSONObject progress)`
- `onAssemblyResultFinished(JSONArray result)`

* The AsyncAssemblies class has been removed. If you were using it, you will have to switch to the regular Assembly class.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* The AsyncAssemblies class has been removed. If you were using it, you will have to switch to the regular Assembly class.
* The AsyncAssembly class has been removed. If you were using it, you will have to switch to the regular Assembly class.

### 1.0.1 / 2024-11-28 ###
* Added SDK support for generating signed Smart CDN URLs (see https://transloadit.com/docs/topics/signature-authentication/#smart-cdn).
This functionality ships as Transloadit#getSignedSmartCDNUrl() - Method.
* Migrated test suite from JUnit4 to JUnit 5
* Upgrade okhttp to 4.12.0 as a security update

### 1.0.0 / 2022-12-14 ###
#### Major Release
#### Major Release
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Major Release
#### Major Release

@cdr-chakotay
Copy link
Collaborator Author

Will have a run if I think we must clean the code a little bit if I don't find something I think we are good to go :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants