Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release v1.0.0] Merge dev into main #104

Merged
merged 42 commits into from
Jul 7, 2021
Merged

[Release v1.0.0] Merge dev into main #104

merged 42 commits into from
Jul 7, 2021

Conversation

StevenMMortimer
Copy link
Owner

salesforcer 1.0.0

Dependencies

  • Remove uses of {RForcecom} after it was removed from CRAN on 6/9/2021 (salesforcer removed from CRAN #101)

  • Remove LazyData option in DESCRIPTION since data() is not utilized

  • Deprecate argument in sf_write_csv() from path to file as was done in
    {readr} v1.4.0.

  • Deprecate argument bind_using_character_cols because we will always need
    to bind as character and then parse if guess_types=TRUE. Per comments in
    guess_max = Inf tidyverse/readr#588 and Better support for reading compressed files tidyverse/readr#98, we must read all of the data as
    character first and then use type_convert() to ensure that we use all values
    in the column to guess the type. The default for read_csv() is to only use
    the first 1,000 rows and its guess_max argument cannot be set to Inf.

  • Change lifecycle status from "Maturing" to "Status" per the retirement of
    "Maturing" in the {lifecycle} package. The documentation notes:

    Previously we used as maturing for functions that lay somewhere between experimental and stable. We stopped using this stage because, like questioning, it’s not clear what actionable information this stage delivers.

    In addition, the lifecycle guidance states that experimental packages have
    version numbers less than 1.0.0 and may have major changes in its future.
    The {salesforcer} package has achieved a stable state with core
    functionality implemented and a focus on backwards compatibility due to the
    volume of users.

Features

  • Improve documentation to retrieve the access token or session ID after
    authentication (Make it easier to get access token #97)

  • Improve parsing of Bulk API query recordsets from CSV where all values
    in the column will be used to guess the type instead of the first 1000.

Bug fixes

Remove RForcecom from roxygen documentation and from the Suggests packages. Later we may need to remove from vignettes.

Closes #101
Remove RForcecom from roxygen documentation and from the Suggests packages. Later we may need to remove from vignettes.

Closes #97
Salesforce returns dates and datetimes in UTC but
sometimes as YYYY-MM-DD or MM/DD/YYYY in the case of
reports, so we will convert using the anytime package
rather than trusting type_convert()'s behavior.

Allow users to pass guess_types directly to sf_run_report()
in case they still want to do that and parse the character
strings on their own

Closes #93
Fix the casting of all common columns between the different
record sets by ensuring that only one class is selected after
identifying it with the class() function.

Allow users to specify the `combine_record_types` argument
directly in higher level functions like `sf_upsert()` and
have it passed through if the API is set to "Bulk 2.0"

Closes #95
Set the version number to 1.0.0 to match notion
behind the lifecycle status "Stable", which is
now used in place of "Maturing"
The check on Windows stated that an error happened while processing because the there was no package RForcecom, which should not be the case

Error: Error: processing vignette 'transitioning-from-RForcecom.Rmd' failed with diagnostics:

there is no package called 'RForcecom'

https://github.com/StevenMMortimer/salesforcer/runs/2985296515?check_suite_focus=true
@StevenMMortimer StevenMMortimer self-assigned this Jul 5, 2021
@StevenMMortimer StevenMMortimer added this to the Release v1.0.0 milestone Jul 5, 2021
@StevenMMortimer StevenMMortimer merged commit aef7aee into main Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant