Skip to content

Releases: rstudio/connectapi

connectapi 0.4.0

13 Nov 16:04
Compare
Choose a tag to compare

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 an exact parameter. Setting exact 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(), and set_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() and delete_image() have been deprecated in
    favor of has_thumbnail() and delete_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 the v1/timezones endpoint if
    available. (#300)
  • connect$DELETE() now respects the parser argument rather than always using
    NULL.
  • get_groups() no longer hangs when a search prefix is provided. (#319)

v0.3.0

09 Sep 16:28
Compare
Choose a tag to compare

Breaking changes

  • GET_URL(), GET_RESULT(), and GET_RESULT_URL() have been eliminated in
    favor of GET() (#274).
  • The .empty_object argument has been removed from PUT/PATCH/POST (#274).

New features

  • New content_render() and content_restart() functions. content_render()
    allows you to programmatically re-render content such as Quarto and R Markdown
    reports and Jupyter notebooks, optionally passing in a variant_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 the httr_response object (#274).

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

06 Jun 18:20
17cc625
Compare
Choose a tag to compare

Full Changelog: v0.1.3.1...v0.2.0

New Contributors

First alpha release

30 Jan 18:48
28632ba
Compare
Choose a tag to compare
First alpha release Pre-release
Pre-release

This is an alpha release with currently minimal testing / validation.