Skip to content

Releases: rstudio/rstudioapi

rstudioapi 0.19.0

11 Jun 23:44

Choose a tag to compare

  • getDelegatedAzureToken() gains an as argument. With as = "AzureToken",
    the token is returned as an R6 object compatible with the AzureToken class
    from the AzureAuth package, so it can be passed directly to packages like
    AzureGraph and Microsoft365R. (rstudio/rstudio#17619)

  • getDelegatedAzureToken() now returns the same token shape in all IDEs:
    the relative expires_in field is converted to an absolute expires_at
    timestamp, matching what RStudio sessions already returned.

  • getMode() no longer fails on very old versions of RStudio that lack the
    internal .rs.isDesktop() helper. In that case, it now falls back to
    versionInfo()$mode, which has been available since RStudio 0.97.124. (#326)

  • Added showEditSuggestion() for displaying edit suggestions in the RStudio
    editor. The function takes a document range and suggested replacement text,
    allowing RStudio to present a visual diff that users can accept or dismiss.

rstudioapi 0.17.0

16 Oct 22:40

Choose a tag to compare

  • Added getMode(), which can be used to differentiate between Desktop
    and Server installations of RStudio. (#280)