Releases: alex-phillips/node-clouddrive
Releases · alex-phillips/node-clouddrive
0.6.4
Added
Utilsnow contains method for rounding numbersUtilsnow contains method for checking if a value exists in an array- New
configoption--configfor passing in a custom config file - Added global option to force or disable ANSI output
Fixed
- Fixed two memory leaks involving open file streams
0.6.3
Fixed
- Removed redundant 'node' string in app name after upgrading
env-paths
0.6.2
Fixed
- Upgrade version of
env-pathsto fix some thrown Exceptions on CentOS
0.6.1
Fixed
encryptanddecryptcommands now require a source file path- The software was not properly checking if encryption was active before attempting to remove 'encrypted' file
0.6.0
Added
uploadcommand now supports--labels- New
updatecommand lets you update a node's labels and description - Added support for encrypting / decrypting file names and contents on upload/download
- Added
encryptanddecryptcommands for encrypting/decrypting files locally using the same method as uploading/downloading - Now supports concurrent upload/download connections
0.5.0
Added
- Logging: we now not only have better streamlined CLI output with actually working verbosity levels, but these messages are also logged to a file.
- Upload can check and detect existing files based on their paths and a file's size instead of MD5 checks (which can a long time). This is toggled in the config.
- Now using events to trigger events instead of passing in callbacks everywhere (download, upload, overwrite, etc.)
- Now using custom progress bar since others were either broken in some way or no longer maintained
UploadCommandnow supports the--checksumoption in addition to the default config valuedelete-everythingcommand now used to delete all CLI files and foldersuploadanddownloadnow supports encryption
Breaking Changes
cacheandconfigdirectories are now stored using the env-paths package. NOTE: you will need to either manually move your existing files or re-runinitandsyncwith this new version.Accountobject now acceptscacheas its second parameter sinceclientIdandclientSecretare optional.
Fixed
requestlibrary has been swapped out forgotcolorshas been swapped out forchalkunlinkcommand now requires child ID since constructing the path of a node with multiple parents is currently only returning one pathexistscommand can now check for individual files, not just directories- Changed
appConfigtocliConfiganddefaultConfigtoappConfigincli.js(makes more sense)
0.4.0
0.4.0
Added
synccommandschunkSizeandmaxNodesoptions are not configurable via theconfigcommandexistscommand recursively checks local directory to check if the files exist remotely without uploading any new fileslinkandunlinkcommands can be used to add a node or remove it from a parent (the oldlinkcommand is nowshare)- Some functionality is now optionally
remote(such asgetChildrenandgetTrash) that can go to the API rather than relying on the local cache
Fixed
- Default config for the
Configobject has been moved outside of the class file rmandrestorecommands now have a recursive option to delete all children nodes
0.3.2
Fixed
- Failed file upload where response body is invalid now uses retry attempts to upload again
- We now "force" reauthentication to Amazon in some cases even if our token hasn't expired
v0.3.1
Added
- Updated
yargspackage to version 4
Fixed
- Now properly building
distcode fornpmdistribution and including it (added.npmignore) when publishing
v0.3.0
0.3.0
Added
catcommand outputs contents of remote file to STDOUT- Added "searching" spinner when running
findcommand - Refactored the entire codebase to use several ES6 features including classes, template strings, arrow function notations, etc
- Failed uploads due to expired tokens now retry
xnumber of times (set in the config) - Converted base CLI framework from
commandertoyargs. syncfunction now accepts parameters (i.e.,chunkSize,maxNodes)- Incomplete downloads now have file prefix (
.__incomplete) - Can now specify dimensions when downloading images
- More color information on listings output (red = in trash, yellow = pending)
- Added
configoption to toggle ANSI colors - Added
configoption to toggle display of progress bars Configis now it's own object and separated from theCommandclass- Added a
forceflag on file upload to overwrite remote node's contents even if the MD5 matches the local file - Added
configoption to bypass MD5 check when downloading files
Fixed
downloadcommand no longer outputs multiple "failure" messages when it fails to download remote file- Fixed authorization renewal issue where we weren't properly checking of the API key OR secret were both invalid
- Fixed exception when attempting to upload to
rootwithout any notation (empty path). - Fixed bug where we were not properly reading boolean values from the saved config.
- All
asyncoperations now properly pass up their errors - A file
Nodewill automatically be overwritten on upload if its status isPENDING - Node version check is now the first thing and with as few dependencies as possible