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

@uppy/aws-s3: update type and deprecate timeout option #4298

Merged
merged 3 commits into from
Apr 26, 2023

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Feb 2, 2023

Having a timeout on the client side doesn't make much sense IMO, a more reasonable approach seems to be to use the Expires value reported by the backend that tells Uppy when the signature expires (at which point the upload is guaranteed to fail, so it makes sense to cancel the upload).
The plan is to remove the option entirely on the next major, at the same time as we combine both @uppy/aws-s3 and @uppy/aws-s3-multipart, which doesn't have this option.

If you are using this option and would not like it to be removed, please comment on this thread.

@aduh95 aduh95 merged commit e361267 into transloadit:main Apr 26, 2023
@aduh95 aduh95 deleted the aws-timeout-deprecation branch April 26, 2023 07:58
@github-actions github-actions bot mentioned this pull request May 2, 2023
github-actions bot added a commit that referenced this pull request May 2, 2023
| Package                | Version | Package                | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3           |   3.1.1 | @uppy/status-bar       |   3.1.2 |
| @uppy/aws-s3-multipart |   3.3.0 | @uppy/transloadit      |   3.1.4 |
| @uppy/locales          |   3.2.1 | uppy                   |   3.9.0 |

- @uppy/aws-s3-multipart: allowedMetaFields: null means “include all” (Artur Paikin / #4437)
- @uppy/aws-s3-multipart: add `shouldUseMultipart ` option (Antoine du Hamel / #4205)
- @uppy/transloadit: Reset `tus` key in the file on error, so retried files are re-uploaded (Artur Paikin / #4421)
- meta: commit build file that was modified (Antoine du Hamel)
- meta: examples: add CORS settings for DigitalOcean Spaces (Antoine du Hamel / #4428)
- @uppy/aws-s3: deprecate `timeout` option (Antoine du Hamel / #4298)
- @uppy/aws-s3-multipart: make retries more robust (Antoine du Hamel / #4424)
- meta: fix badges on README (Antoine du Hamel / #4419)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants