Releases: alex-phillips/node-clouddrive
Releases · alex-phillips/node-clouddrive
0.6.4
Added
Utils
now contains method for rounding numbersUtils
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
Fixed
- Removed redundant 'node' string in app name after upgrading
env-paths
0.6.2
Fixed
- Upgrade version of
env-paths
to fix some thrown Exceptions on CentOS
0.6.1
Fixed
encrypt
anddecrypt
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
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
anddecrypt
commands 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
UploadCommand
now supports the--checksum
option in addition to the default config valuedelete-everything
command now used to delete all CLI files and foldersupload
anddownload
now supports encryption
Breaking Changes
cache
andconfig
directories are now stored using the env-paths package. NOTE: you will need to either manually move your existing files or re-runinit
andsync
with this new version.Account
object now acceptscache
as its second parameter sinceclientId
andclientSecret
are optional.
Fixed
request
library has been swapped out forgot
colors
has been swapped out forchalk
unlink
command now requires child ID since constructing the path of a node with multiple parents is currently only returning one pathexists
command can now check for individual files, not just directories- Changed
appConfig
tocliConfig
anddefaultConfig
toappConfig
incli.js
(makes more sense)
0.4.0
0.4.0
Added
sync
commandschunkSize
andmaxNodes
options are not configurable via theconfig
commandexists
command recursively checks local directory to check if the files exist remotely without uploading any new fileslink
andunlink
commands can be used to add a node or remove it from a parent (the oldlink
command is nowshare
)- Some functionality is now optionally
remote
(such asgetChildren
andgetTrash
) 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
andrestore
commands 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
yargs
package to version 4
Fixed
- Now properly building
dist
code fornpm
distribution and including it (added.npmignore
) when publishing
v0.3.0
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
toyargs
. 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 theCommand
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 isPENDING
- Node version check is now the first thing and with as few dependencies as possible