Releases: rstudio/connectapi
Releases · rstudio/connectapi
connectapi 0.4.0
New features
- New functions
set_thumbnail()
,get_thumbnail()
,delete_thumbnail()
and
has_thumbnail()
let you interact with content thumbnails, replacing older
*_image()
functions. (#294, #304) groups_create_remote()
now has anexact
parameter. Settingexact
causes
the function to consider only exact group name matches when searching for
remote groups and checking for existing local groups. (#216)- New functions to let you view and delete runtime caches on a Connect server:
get_runtime_caches()
,delete_runtime_cache()
(#312) - New
get_runtimes()
lets you view available runtimes and versions on a
Connect server. (#311)
Lifecycle changes
Newly deprecated
set_image_path()
,set_image_url()
, andset_image_webshot()
have been
deprecated and will be removed in a future update. They have been replaced by
set_thumbnail()
, which works both with local file paths and remote URLs to
images. Likewise,has_image()
anddelete_image()
have been deprecated in
favor ofhas_thumbnail()
anddelete_thumbnail()
. (#294, #304)Connect$server_settings_r()
has been deprecated in favor of
get_runtimes(client, "r")
. (#311)
Minor improvements and fixes
- Upgrade
pkgdown
to bootstrap 5 to enable search (@fh-mthomson, #275) - The
get_timezones()
function now uses thev1/timezones
endpoint if
available. (#300) connect$DELETE()
now respects theparser
argument rather than always using
NULL
.get_groups()
no longer hangs when a searchprefix
is provided. (#319)
v0.3.0
Breaking changes
GET_URL()
,GET_RESULT()
, andGET_RESULT_URL()
have been eliminated in
favor ofGET()
(#274).- The
.empty_object
argument has been removed fromPUT
/PATCH
/POST
(#274).
New features
- New
content_render()
andcontent_restart()
functions.content_render()
allows you to programmatically re-render content such as Quarto and R Markdown
reports and Jupyter notebooks, optionally passing in avariant_key
to render
a specific variant of parameterized content.content_restart()
lets you
restart interactive content, such as Shiny applications, APIs, or dashboards
(#283, #289) - New
get_oauth_credentials()
function for interacting with Connect's
/v1/oauth/integrations/credentials
endpoint. This endpoint allows content
running on Posit Connect to obtain the content viewer's OAuth access token
(#297).
Minor improvements and fixes
- Timestamps with non-zero offsets received from Connect no longer parse as
NA
(#290). - Timestamps sent to Connect are now correctly converted to UTC, instead of
simply being labeled as GMT (#291). - Functions to render variants and email reports now contain the request
query that Connect expects (#277). - HTTP verb functions can take any URL, not just one relative to API root, and
can optionally return thehttr_response
object (#274).
What's Changed
- refactor: consolidate HTTP request methods by @nealrichardson in #274
- Prune variant render and sender API requests by @nealrichardson in #277
- Remove unnecessary dev dependency from pkgdown.yaml by @nealrichardson in #282
- Deprecate get_variant_default by @nealrichardson in #284
- chore: update renv environment and infra by @toph-allen in #285
- chore: update DESCRIPTION with new authors & maintainer by @toph-allen in #286
- feat:
content_render()
andcontent_restart()
implementations by @toph-allen in #283 - fix: parsing time stamps with time zone offsets containing colons by @toph-allen in #291
- Add initial oauth integration credential exchange impl by @dbkegley in #292
- feat:
content_render()
can take avariant_key
argument to render non-default variants. by @toph-allen in #289
New Contributors
- @toph-allen made their first contribution in #285
- @dbkegley made their first contribution in #292
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Full Changelog: v0.1.3.1...v0.2.0
New Contributors
- @aronatkins made their first contribution in #190
- @nealrichardson made their first contribution in #206
- @olivroy made their first contribution in #212
- @cormach made their first contribution in #203
- @csgillespie made their first contribution in #179
First alpha release
This is an alpha release with currently minimal testing / validation.