- Start returning shared folders from
ApiClient.listFolder(String)andApiClient.loadFolder()methods. - Add the option to select from the download URL variants provided by a
FileLinkwhen using theApiClient.download()methods that accept aFileLink. - All methods in
RemoteDatawill now also throwApiErrorwhich was previously wrapped in anIOException. - Add additional methods in
FileLinkthat allow starting a download by specifying the download URL variant to be used.
- Do not throw a
FileNotFoundExceptionon an encountered 404 HTTP error while attempting to stream the content of a generated file link, use the existingAPIHttpException.
- The artifacts for
1.8.0were published on Maven Central with a missing file. No actual changes code changes apart from the version bump and updated publishing configuration.
- Start returning shared folders from
ApiClient.listFolder()(#33) - Add properties to
RemoteEntryandRemoteFolderfor determining access permissions, ownership and entry shared status.
- Fix issues with uploads of text files containing
--symbols.(#31) - Add
ApiClient.getChecksums()methods for obtaining remote file content checksums. (#28) - Update to the latest OkHttp (4.9.3)
- Update to Kotlin 1.6.10
BREAKING CHANGES:
DataSource.contentLength()can no longer return-1Las a valid value for cases where the data is not known beforehand. Due to compatibility reasons pCloud's API endpoints do not accept HTTP requests with unknown content length, thus making upload operations for such content largely slow & inefficient. Expect the issue to be solved in a later version of the SDK which shifts to use the binary protocol offered by pCloud API servers.(#30)
- Bump the java source compatibility version to 1.8 (Java 8).
- Raise the minimum Android SDk to API21 (Android 5.0 Lollipop) for the Android-enabled artifacts.
- Update to the latest OkHttp (4.9.0)
- Add support for custom tabs in the
androidartifact solving issues with Google Sign-in from WebViews. (#21) - Add a Kotlin coroutines-enabled artifact with helper methods for suspending execution of
Call<T>in coroutine contexts.