Skip to content

Releases: dcblogdev/laravel-dropbox

Add support for Laravel 11

12 Mar 11:06
Compare
Choose a tag to compare
v3.0.6

Add support for Laravel 11

Add support for Laravel 10

05 Feb 14:43
Compare
Choose a tag to compare
v3.0.5

Add support for Laravel 10

added support for Laravel 9

29 Jan 12:52
Compare
Choose a tag to compare
v3.0.4

fixed merge conflict

added a move() method to the files() resource

01 Feb 08:10
Compare
Choose a tag to compare

Move accepts 4 params:

  • $fromPath - provide the path for the existing folder/file
  • $toPath - provide the new path for the existing golder/file must start with a /
  • $autoRename - If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict. The default for this field is false.
  • $allowOwnershipTransfer - Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies. The default for this field is false.
Dropbox::files()->move($fromPath, $toPath, $autoRename = false, $allowOwnershipTransfer = false);

improved download, request a path, it will be downloaded.

27 Jan 00:53
Compare
Choose a tag to compare
v3.0.2

removed header from download.

Release of V3 - new methods and refresh tokens now supported

26 Jan 22:30
Compare
Choose a tag to compare

This major release has some breaking changes additional columns added to the migration added:

  • refresh_token
  • scope

Changed expires_in to DATETIME type.

added new methods:

isConnected returns true when there is token data.

Dropbox::isConnected()

disconnect() disconnects from Dropbox and deleted the token then redirects to the path provided, defaults to /

Dropbox::disconnect($redirectPath = '/')

Added new config option,

Set access type, options are offline and online
* Offline - will return a short-lived access_token and a long-lived refresh_token that can be used to request a new short-lived access token as long as a user's approval remains valid.
* Online - will return a short-lived access_token

'accessType' => env('DROPBOX_ACCESS_TYPE', 'offline')

Added support for refresh tokens, now when a token is about to expire and there is a refresh token stored, a new access_token will be refreshed by using the refresh token this happens automatically when any request to Dropbox is attempted.

added support for scopes to the config file

19 Jan 20:28
Compare
Choose a tag to compare
Merge remote-tracking branch 'origin/master'

# Conflicts:
#	config/dropbox.php

Improved upload method

03 Oct 02:35
a35f31f
Compare
Choose a tag to compare

$path can be empty so set the desired folder structure for storing uploaded files.

added support for Guzzle 7

02 Oct 23:39
7f957aa
Compare
Choose a tag to compare
v2.0.3

added support for Guzzle 7

added support for Laravel 8

08 Sep 08:23
Compare
Choose a tag to compare
v2.0.2

added support for Laravel 8