connectapi
connectapi copied to clipboard
Update version of Connect used to test common workflows (e.g., git-backed deployment)
When initializing git-backed deployment, users see the following warnings. I recognize this is intentional and expected, but, in contrast, other deployment workflows in rsconnect
do not have parallel warnings.
Accordingly, users tend to be more concerned they've used an incorrect workflow when calling connectapi::deploy_repo()
(vs. other deployment methods). Related discussion: https://github.com/rstudio/rsconnect/issues/888
connectapi::deploy_repo(
client = connectapi::connect(),
repository = this_repo,
branch = this_branch
)
Warnings:
Warning messages:
1: You are using a newer version of Posit Connect (2023.09.0) than was tested (2022.09.0). Most APIs should function as expected.
This warning is displayed once per session.
2: The `deploy_repo` function is experimental and subject to change without warning in a future release
This warning is displayed once per session.
3: The `repo_set` function is experimental and subject to change without warning in a future release
This warning is displayed once per session.
Possible options to consider:
- Update the version used to test more regularly (e.g., via GitHub Actions)
- Turn off the messaging for more-commonly used or mature workflows where it's unlikely the API would change