Skip to content

Commit

Permalink
Merge pull request #99 from uploadcare/release-4.0.0
Browse files Browse the repository at this point in the history
Release 4.0.0
  • Loading branch information
rsedykh authored Nov 16, 2023
2 parents 9d050c8 + 47b7139 commit ee9f4cd
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 34 deletions.
53 changes: 27 additions & 26 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
# Changelog

# History
## 4.0.0

## 4.0.0 — UNRELEASED
- Library:
- Migrated REST API support from v0.6 to v0.7.
- Removed the `UploadcareClient.storeGroup()` and `UploadcareGroup.store()` methods, as their
endpoints have been removed.
- Added support for new event types of webhooks.
- Removed sorting methods by file size, as the corresponding parameter has been removed from
the API query parameters.
- Added support for converting multipage into a group of files.
- Added `default_effects` field in `UploadcareFile`.
- Added react to request throttling (429 code response).
- Added support for [object recognition](https://uploadcare.com/docs/intelligence/object-recognition/),
[unsafe content detection](https://uploadcare.com/docs/unsafe-content/),
[malware protection](https://uploadcare.com/docs/security/malware-protection/),
and [background removal](https://uploadcare.com/docs/remove-bg/).
- Fixed authorization signature for requests with url parameters.
- Added Proguard rule to keep DTO classes to avoid issues with network JSON deserialization.
- Widget:
- SocialApi doesn't use `GET /sources` method anymore.
- Added Proguard rule to keep DTO classes to avoid issues with network JSON deserialization.
- Project:
- Migrated Gradle builds from Groovy to Kotlin.
- Example:
- Removed sorting options by file size from `UploadFragment`.
- Enable R8 shrinking code for release build to enable Proguard's rules.
**Library changes:**
- Migrated REST API support from v0.6 to [v0.7](http://uploadcare.com/api-refs/rest-api/v0.7.0/).
- Added support for:
- [Object recognition](https://uploadcare.com/docs/intelligence/object-recognition/),
- [Unsafe content detection](https://uploadcare.com/docs/unsafe-content/),
- [Malware protection](https://uploadcare.com/docs/security/malware-protection/),
- [Background removal](https://uploadcare.com/docs/remove-bg/).
- Added support for [new event types](https://uploadcare.com/docs/webhooks/#event-types) for webhooks.
- Added support for converting [multi-page documents](https://uploadcare.com/docs/transformations/document-conversion/#multipage-conversion) into a group of files.
- Added `default_effects` field in `UploadcareFile`.
- 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()` and `UploadcareGroup.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.

## 3.3.0
- Library:
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
appVersion = "3.3.0"
appVersion = "4.0.0"
kotlinVersion = "1.9.20"
kotlinCoroutines = "1.7.3"
minSdk = "22"
Expand Down
9 changes: 4 additions & 5 deletions library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Supported features:
- Paginated resources fetching.
- CDN path builder.
- File uploading from a file, byte array, URL, and URI.
- Document and Video Conversion.
- Secure Delivery.
- Secure Webhooks.
- Document and video conversion, all Uploadcare add-ons.
- Singned uploads and URLs.
- Secure webhooks.
- Synchronous and asynchronous operation modes.

[Documentation](https://github.com/uploadcare/uploadcare-android/blob/master/documentation/LIBRARY.md)
Expand All @@ -25,6 +25,5 @@ The latest stable version is available at jCenter.
To include it in your Android project, add this line to the 'gradle.build' file:

```
implementation 'com.uploadcare.android.library:uploadcare-android:3.3.0'
implementation 'com.uploadcare.android.library:uploadcare-android:4.0.0'
```
3 changes: 1 addition & 2 deletions widget/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ The latest stable version is available from jCenter.
To include it in your Android project, add this line to the 'gradle.build' file:

```
implementation 'com.uploadcare.android.widget:uploadcare-android-widget:3.3.0'
implementation 'com.uploadcare.android.widget:uploadcare-android-widget:4.0.0'
```

0 comments on commit ee9f4cd

Please sign in to comment.