Releases: uploadcare/uploadcare-android
Releases · uploadcare/uploadcare-android
Version 4.3.1
What's Changed
- bugfix: UploadcareClient class visibility by @onthecrow in #135
Full Changelog: 4.3.0...4.3.1
Version 4.3.0
Library changes:
- Added convert methods with result data
Version 4.2.0
Library changes:
- Improved support for auto-store setting.
Version 4.1.0
Version 4.0.0
Library changes:
- Migrated REST API support from v0.6 to v0.7.
- Added support for:
- Added support for new event types for webhooks.
- Added support for converting multi-page documents into a group of files.
- Added
default_effects
field inUploadcareFile
. - Added reaction to request throttling (429 code response).
- Added Proguard rule to keep DTO classes to avoid issues with network JSON deserialization.
- Fixed authorization signature for requests with URL parameters.
- Removed sorting methods by file size, as the corresponding parameter has been removed from the API query parameters.
- Removed the
UploadcareClient.storeGroup()
andUploadcareGroup.store()
methods, as their endpoints have been removed.
Widget changes:
- SocialApi doesn't use
GET /sources
method anymore. - Added Proguard rule to keep DTO classes to avoid issues with network JSON deserialization.
Build changes:
- Migrated Gradle builds from Groovy to Kotlin.
Example app changes:
- Removed sorting options by file size from
UploadFragment
. - Enabled R8 shrinking code for release build to enable Proguard's rules.
Version 3.3.0
Library:
- Added support for signing your webhooks using the
signingSecret
parameter. - Fixed an issue with
datetime
filtering. - Improved the handling of large file uploads.
Dependencies:
- Update the target SDK version to 34.
- Update AGP (Android Gradle Plugin) version to 8.1.1.
- Update dependencies.
Version 3.2.0
This is a maintenance release aimed at updating core dependencies.
Dependencies:
- Replace deprecated dependencies and methods usage under the hood
- Update the target SDK version to 33
- Update AGP version to 8.1.0 and Gradle version to 8.1
- Update dependencies
Widget:
- The methods
UploadcareWidget.selectFile()
andFragment.startActivityForResult
have been deprecated.
We provide a new way of launching selection of the file to upload viaFragment.registerForActivityResult
andActivity.registerForActivityResult
withUploadcareActivityResultContract
- Documentation about using widget via
registerForActivityResult
withUploadcareActivityResultContract
is updated accordingly
Version 3.1.0
Example:
- Add Background upload example.
- Add Cancel upload example.
- Add Upload Progress example.
- Add Pause/Resume Upload example.
- Add Document/Video conversion example
Widget:
- "UploadcareWidget.getInstance()" doesn't require Context no more.
- Background upload (using WorkManager internally).
- Full support for Android 11 (compile/target SDK 30).
- Update to full usage of MaterialComponents.
- Dark theme support.
- Refactor widget methods to be much easier to use, builder like pattern.
- Add ability to specify upload parameters like cancellation, show progress etc.
- Signed uploads for local Files.
- Update dependencies.
- Update documentation.
Library:
- Add Secure Delivery support (Authenticated Urls) from custom CDN (Akamai, KeyCDN).
- Add ability to Pause/Resume upload when using FileUploader/MultipleFilesUploader.
- Add ability to cancel upload in progress.
- Add ability to listen for upload progress for File/Url and Multiple Files/Urls.
- Add "UploadFileCallback", use it instead of "UploadcareFileCallback" for uploading file.
- Rename "privateKey" to "secretKey".
- Add ability to get File/Files with Object Recognition information.
- Signed uploads.
- Add support for API v0.6
- Add ability to Create file Group.
- Add ability to copy files in local/remote storage. Update old copy file method, mark as Deprecated.
- Add ability to get/create/update/delete Webhooks.
- Add ability to convert documents/videos.
- Update dependencies.
- Update documentation.
This closes #40 , closes #37 , closes #36 , closes #35 , closes #33 , closes #30 , closes #29 , closes #22 , closes #21 , closes #32 , closes #34
Version 2.2.0
Example:
- Update Widget/Library versions
Widget:
- Add ability to use UploadcareWidget without "private" key, for selection and uploading files.
- Add ability to provide custom "Request code" for file selection/upload request so you can filter result for specific request.
- Fix possible issue when showing error that doesn't have message.
- Update dependencies
Library:
- Add ability to use UploadcareClient without "private" key, for uploading files.
- Update UploadcareFile data model, make "url" and "datetimeUploaded" fields optional, those fields can be empty when you use UploadcareClient without "private" key, for uploading files.
- Update dependencies
Version 2.1.0
- Example:
- Update Widget/Library versions
- Widget:
- Update Library version
- Library:
- Fix batch store/delete calls support more than 100 Files
Closes #23