Skip to content

Releases: ropensci/osfr

v0.2.9

25 Sep 22:24
Compare
Choose a tag to compare

osfr 0.2.9

Minor changes

  • tibble v3.0.0 is now the minimum required version

Fixes

  • Fixed bug preventing uploads directly to OSF directories that contained conflicting files (#121, #129)
  • Fixed pkgdown site build (#147)
  • Fixed downloading of files via GUIDs (#141, thanks @psanker)

Build and test infrastructure

  • Unit tests for single file uploads, html encoding, and basic node mechanics are now mocked with vcr (#145)
  • GitHub Actions is now used for continuous integration (#146)
  • brio is now used in tests for writing text to files so \n is used for line endings on Windows. This produces files with identical sizes on all platforms allowing vcr to match requests that include file sizes in the body (#146).

v0.2.8

18 Feb 17:13
Compare
Choose a tag to compare

Noteworthy

  • Initial CRAN release
  • Publication of accompanying paper in the Journal of Open Source Software that can be cited in papers using osfr, see citation("osfr") for details

Minor

  • Add rOpenSci reviewers to DESCRIPTION
  • Remove deleted URLs from vignette
  • Add badges for zenodo and JOSS
  • Add Makefile for common developer tasks

v0.2.7

23 Jan 01:08
Compare
Choose a tag to compare

Important changes

osfr is now part of rOpenSci and the documentation website has moved to a new URL: https://docs.ropensci.org/osfr.

New features

  • New osf_cp() function for copying files to new locations (@tpyork, #114)

Other changes

  • The getting started vignette was overhauled to better leverage multi-file transfers and is now precomputed
  • Encoded HTML symbols in node titles are now handled properly (#117)
  • osf_rm() argument recursive been renamed to recurse in order to be consistent with other functions
  • Internal links now point to the ropensci repository and new documentation URL

v0.2.6.1

08 Dec 14:34
Compare
Choose a tag to compare
  • Fix pkgdown deployment

v0.2.6

08 Dec 14:33
Compare
Choose a tag to compare

Improved uploading

  • New approach uses a file manifest to compare local and remote files
  • We now search for conflicting remote files within each directory queued for upload, this avoids the issue reported in (#108, thanks @tpyork)

v0.2.5

08 Dec 14:32
Compare
Choose a tag to compare

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.

v0.2.4

29 Mar 20:52
c0441f9
Compare
Choose a tag to compare

Minor fixes

  • Listing files within a specified path would fail if sibling directories
    shared a common substring in their names (#95)
  • Setting verbose=TRUE now works properly for osf_upload()
  • A startup message is printed when OSF_SERVER is defined
  • Improved documentation for n_max, GUIDs and the mysterious meta column

v0.2.3

29 Jan 16:16
6a2e58d
Compare
Choose a tag to compare

New features

  • Failed OSF API requests are now re-attempted 3 times (requires crul v0.7.0)

Minor fixes

  • Fix incorrect column name in empty osf_tbls (#88, @machow)
  • No longer importing modify_at()
  • Add rOpenSci badge (#89, @maelle)
  • Don't build vignettes on travis

v0.2.2

25 Jan 14:31
93b73fc
Compare
Choose a tag to compare

New functions

  • osf_mv() to move files and directories to a new project, component, or
    subdirectory

New features

  • osf_rm() can now delete files and directories

Minor improvements and fixes

  • Restructured tests to better handle environments in which OSF_PAT and/or OSF_SERVER are not defined

osfr v0.2.1

15 Jan 18:22
Compare
Choose a tag to compare
  • Minor tweaks to the website
  • osf_retrieve_file() will no longer retrieve files on 3rd-party storage
    providers, since other osfr functions currently only support OSF storage