Skip to content

Releases: alex-phillips/node-clouddrive

0.6.4

15 Feb 23:11
Compare
Choose a tag to compare

Added

  • Utils now contains method for rounding numbers
  • Utils now contains method for checking if a value exists in an array
  • New config option --config for 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

03 Jan 15:02
Compare
Choose a tag to compare

Fixed

  • Removed redundant 'node' string in app name after upgrading env-paths

0.6.2

03 Jan 14:37
Compare
Choose a tag to compare

Fixed

  • Upgrade version of env-paths to fix some thrown Exceptions on CentOS

0.6.1

30 Dec 19:21
Compare
Choose a tag to compare

Fixed

  • encrypt and decrypt commands 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

27 Dec 17:07
Compare
Choose a tag to compare

Added

  • upload command now supports --labels
  • New update command lets you update a node's labels and description
  • Added support for encrypting / decrypting file names and contents on upload/download
  • Added encrypt and decrypt commands for encrypting/decrypting files locally using the same method as uploading/downloading
  • Now supports concurrent upload/download connections

0.5.0

08 Dec 14:20
Compare
Choose a tag to compare

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
  • UploadCommand now supports the --checksum option in addition to the default config value
  • delete-everything command now used to delete all CLI files and folders
  • upload and download now supports encryption

Breaking Changes

  • cache and config directories are now stored using the env-paths package. NOTE: you will need to either manually move your existing files or re-run init and sync with this new version.
  • Account object now accepts cache as its second parameter since clientId and clientSecret are optional.

Fixed

  • request library has been swapped out for got
  • colors has been swapped out for chalk
  • unlink command now requires child ID since constructing the path of a node with multiple parents is currently only returning one path
  • exists command can now check for individual files, not just directories
  • Changed appConfig to cliConfig and defaultConfig to appConfig in cli.js (makes more sense)

0.4.0

23 Jun 00:17
Compare
Choose a tag to compare

0.4.0

Added

  • sync commands chunkSize and maxNodes options are not configurable via the config command
  • exists command recursively checks local directory to check if the files exist remotely without uploading any new files
  • link and unlink commands can be used to add a node or remove it from a parent (the old link command is now share)
  • Some functionality is now optionally remote (such as getChildren and getTrash) that can go to the API rather than relying on the local cache

Fixed

  • Default config for the Config object has been moved outside of the class file
  • rm and restore commands now have a recursive option to delete all children nodes

0.3.2

26 Feb 21:18
Compare
Choose a tag to compare

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

15 Feb 23:51
Compare
Choose a tag to compare

Added

  • Updated yargs package to version 4

Fixed

  • Now properly building dist code for npm distribution and including it (added .npmignore) when publishing

v0.3.0

14 Feb 19:54
Compare
Choose a tag to compare

0.3.0

Added

  • cat command outputs contents of remote file to STDOUT
  • Added "searching" spinner when running find command
  • 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 x number of times (set in the config)
  • Converted base CLI framework from commander to yargs.
  • sync function 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 config option to toggle ANSI colors
  • Added config option to toggle display of progress bars
  • Config is now it's own object and separated from the Command class
  • Added a force flag on file upload to overwrite remote node's contents even if the MD5 matches the local file
  • Added config option to bypass MD5 check when downloading files

Fixed

  • download command 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 root without any notation (empty path).
  • Fixed bug where we were not properly reading boolean values from the saved config.
  • All async operations now properly pass up their errors
  • A file Node will automatically be overwritten on upload if its status is PENDING
  • Node version check is now the first thing and with as few dependencies as possible