Skip to content

salesforcer 0.2.1

Compare
Choose a tag to compare
@StevenMMortimer StevenMMortimer released this 07 Sep 18:30
· 120 commits to main since this release
551c2fd

Dependencies

  • CAUTION: This release requires {dplyr 1.0.0} because {dplyr 1.0.1} introduced
    a bug in bind_rows() with how it binds lists where the list elements have differing
    lengths. This is documented in tidyverse/dplyr#5417 and r-lib/vctrs#1073. The
    timeline for a fix is unknown as of Aug 16, 2020.
    You can install the older
    version of {dplyr} using the following command:
remotes::install_version("dplyr", "1.0.0")

Features

  • Add support for the defaultLimit argument in sf_search() to be able to
    restrict the number of records from each individual object when searching
    across one or more objects.
  • Add support for updating attachments with the sf_update_attachments()
    function (#79).
  • Add support for downloading attachments just by its Id. In addition, the
    sf_download_attachment() function returns the file path of the downloaded
    content instead of a logical indicating success.

Bug fixes

  • Fix bug introduced in {salesforcer 0.2.0} which could not stack records with
    errors longer than length 1. The new solution is to always return the errors
    column as a list, which is coerced to length 1 for the record (#66).
  • Fix bug in sf_search() that was passing "true"/"false" instead of actual
    boolean value for the spellCorrection parameter in the POST body.