Skip to content

0.5.0

Compare
Choose a tag to compare
@alex-phillips alex-phillips released this 08 Dec 14:20
· 26 commits to master since this release

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)