v0.2.5
Multi-file transfers!
osf_download()
and osf_upload()
are now vectorized, making the process of adding files to or retrieving files from OSF much more convenient. This functionality required significant refactoring and brings with it several notable breaking changes (see below).
Other new features
osf_download()
andosf_upload()
gain the option to display progress bars.- New
osf_refresh()
to update an existingosf_tbl
. - Devs can now enable logging API requests and responses by defining
OSF_LOG
(see Contributing for more information).
Breaking changes
osf_download()
andosf_upload()
'soverwrite
argument has been replaced withconflicts
, which can be set to"error"
(the default),"skip"
, or"overwrite"
.osf_upload()
'sname
argument has been removed, so it is no longer possible to upload a file and change it's OSF name.osf_download()
'spath
argument must point to an existing directory where all downloaded files will be saved.osf_download()
'sdecompress
argument has been removed. The zip file downloaded from OSF is always decompressed in a temp directory where the enclosed files are selectively copied to the specifiedpath
.
Minor changes
- Better error message when user attempts to upload directly to a file
(#102, @tiernanmartin). - crul v0.7.4 is now the minimum required version.
- The waterbutler client will now re-attempt failed requests 3 times.
- Consolidated internal client constructors.
- Increased wait time on travis to avoid time outs during testing.