All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Correct wrong warning syntax.
- Handle OData special charachters in the filename
'
and(
- Migrate to
got
sincerequest
was deprecated. See more reason on this migration here. - Update
mocha
version and test cases to cover all API.
- Only support NodeJS version
10.x
or greater. - All APIs are now implement with
promise
/async
exceptdownload()
API - it returns aReadableStream
. Other APIs should be used withasync/await
. delete()
API now returnboolean
value instead.true
for deleting successfully.- Failure requests now should be handled with
try/catch
.
- Added new api:
partialDownload()
. - Fixing
README.md
: Changeshare
anduser
inparams
=>drive
anddriveId
according tov0.4.0
- Added progress callback to uploadSession
- Added option to use any drive (me, users, groups, drives, sites)
- Added option to call custom endpoints. Ex. '/groups/{groupId}/drives'
- Added sync endpoint
- Fixed uploadSession with provided
parentPath
parameter
- Added
oneDrive.items.uploadSession
function for uploading large files
- Resolved package vulnerabilities
- Support for accessing shared files
- Since version 0.1 this repo is using
graph.microsoft.com
API instead ofapi.onedrive.com
to support enterprise accounts too. You should verify that you are authorizing againstgraph.microsoft.com
. All of the API's are working indentically