Skip to content

Releases: Argavyon/Cloud-API-with-Dropbox

v2.0.0

Choose a tag to compare

@Argavyon Argavyon released this 15 Feb 16:05

Added the ability to specify a target directory when uploading a file.

BREAKING CHANGES

DropboxCloud.uploadFile

The signature of DropboxCloud method uploadFile has been slightly altered.
async uploadFile(file: File, timeout?: Number? = null) was the previous signature
async uploadFile(file: File, dir?: String = '/', timeout?: Number? = null) is the new signature

Its behavior when used as uploadFile(file: File) remains unchanged, as the default value of dir is '/'.

Updating from previous versions

To update from v1.x, change any uploadFile(file, timeout) call to uploadFile(file, ' /', timeout).

Full Changelog

v1.1.0...v2.0.0

v1.1.0

Choose a tag to compare

@Argavyon Argavyon released this 15 Feb 15:53

Added support for same-page redirection (previously, only popup redirection was supported).
Added support for “online” access tokens (previously, only “offline” access tokens were supported).

Method OAuth should now check whether the user is logged in and attempt to refresh their access token faster and more reliably.

Changes to the API are backward compatible, and default behavior is unchanged.

Full Changelog: v1.0.0...v1.1.0

Initial release

Choose a tag to compare

@Argavyon Argavyon released this 10 Feb 21:17
3443d5e
v1.0.0

Add files via upload