Skip to content

Commit

Permalink
updated change log
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed Aug 14, 2021
1 parent 0acbee4 commit d3a63c8
Showing 1 changed file with 118 additions and 0 deletions.
118 changes: 118 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,124 @@ Renamed repo to dcblogdev/laravel-microsoft-graph

## Version 3.0.1

Added support for Laravel 7

## Version 3.0.2

Calling the API with the id

When calling the connect-method with explicit id it would fail trying to retrieve the users email address. This issue is fixed by calling the API with the id.

## Version 3.0.3

added support for Laravel 8

## Version 3.0.4

Laravel 8 and Guzzle 7 support

Guzzle has been upgraded from version 6 to 7 and Laravel 8 (illuminate/support) has been added.

Base url has also changed from the /beta endpoing to 1.0

https://graph.microsoft.com/v1.0/

## Version 3.0.5

Support for Guzzle 6 and 7

Added support for both Guzzle 6 and 7 since older versions of Laravel required Guzzle 6.

## Version 3.0.6

patch for guzzle 6/7

## Version 3.0.7

supports login ability

Added new methods: isConnected() and disconnect()
fires an event when a user logs in
config uses tenant id for authorise urls when set in .env
added a publishing option for listeners
added an event NewMicrosoft365SignInEvent that fires on login.

## Version 3.0.8

Fix issue when connecting with specified ID

Merge pull request #14 from stromgren/explicit-id

Fix issue when connecting with specified ID

## Version 3.0.9

added file methods

Added methods:

List files and folders

```php
MsGraph::files()->getFiles($path = null, $order = 'asc');
```

List drive

```php
MsGraph::files()->getDrive();
```

List drives

```php
MsGraph::files()->getDrives();
```

Search items

```php
MsGraph::files()->search($term);
```

Download file by id

```php
MsGraph::files()->downloadFile($id)
```

Delete file by id

```php
MsGraph::files()->deleteFile($id)
```

Create folder pass the folder and the path where the folder will be created if no path is provided the root is used.

```php
MsGraph::files()->createFolder($name, $path = null)
```

Get file/folder item by id

```php
MsGraph::files()->getItem($id)
```

Rename file/folder pass the new name and the id

```php
MsGraph::files()->rename($name, $id)
```

Upload file passes the name and the uploadPath (where the file is on your server) and the path to where the file will be stored if no path is provided the root is used.

```php
MsGraph::files()->upload($name, $uploadPath, $path = null)
```

## Version 3.0.10

Changed files to support passing the prefix to the paths such as me or groups/$groupId or sites.

Example
Expand Down

0 comments on commit d3a63c8

Please sign in to comment.