Skip to content

v0.2.5

Compare
Choose a tag to compare
@aaronwolen aaronwolen released this 08 Dec 14:32
· 173 commits to master since this release

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() and osf_upload() gain the option to display progress bars.
  • New osf_refresh() to update an existing osf_tbl.
  • Devs can now enable logging API requests and responses by definingOSF_LOG (see Contributing for more information).

Breaking changes

  • osf_download() and osf_upload()'s overwrite argument has been replaced with conflicts, which can be set to "error" (the default), "skip", or "overwrite".
  • osf_upload()'s name argument has been removed, so it is no longer possible to upload a file and change it's OSF name.
  • osf_download()'s path argument must point to an existing directory where all downloaded files will be saved.
  • osf_download()'s decompress 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 specified path.

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.