Skip to content

A Change Is Gonna Come

Latest
Compare
Choose a tag to compare
@coatless coatless released this 24 Jun 19:04
· 4 commits to main since this release

Breaking Changes

  • We've update the minimum Quarto requirement to 1.4.554.
    • This version of Quarto is apart of the latest RStudio IDE (Version: 2024.04.0, Date: 2024-04-29).

Features

  • Upgraded to webR v0.3.3 (#196)

  • Added ability to download the R history of commands executed through a new global menu in the right column and underneath Revealjs' "Tools" menu. (#148)

WebsiteRevealjs

qwebr-demo-r-history-html

qwebr-demo-r-history-revealjs

  • Added the ability to have the monaco editor switch between Quarto's light and dark theme modes. (#176)
qwebr-editor-theme-dark-and-light
  • Added two new document-level options:

    • cell-options specifies global defaults for {webr-r} options (#173, thanks ute!)
    • version specifies what version of webR should be used. Default embedded version. (#211)
  • Added the editor-* class of cell-level options to control the interactive code cell editor:

    • editor-code-line-numbers allows highlighting code lines in the editor window. (#204)
    • editor-word-wrap allows long lines to be wrapped inside of the code cell. Default "true". (#38)
    • editor-quick-suggestions enables autocomplete menu suggestions. Default "false".(#182, thanks egenn!)
    • editor-max-height limits growth of the editor window. (#177, thanks ute!)
    • editor-font-scale scales the code cell size relative to the page font size. Default is 1 for HTML Documents, Books, and Websites and 0.5 for Revealjs Slides. (#172 & #209, thanks ute!)
  • Enabled non-graphical computation within a webr-r cell when OffScreenCanvas is not available. (#155, thanks for raising it @mccarthy-m-g)

    • If OffScreenCanvas is not available, we now display a Quarto warning callout at the start of the document that emphasizes only non-graphical computation is available and a gentle nudge to upgrade the web browser being used.
    • The majority of modern browsers now have support for OffScreenCanvas. This previously effected users still on iOS 16 (Safari 16 and earlier).

Changes

  • Added a mouse over button to allow for downloading an image when generated. (#147)
  • Increase the minimum Quarto version requirement to 1.4.554. (#198).
  • Upgraded to webR v0.3.2 (#187)
  • Added Lua type annotations and function documentation into the Quarto extensions' Lua filter. (#190)
  • Avoided distributing webr-serviceworker.js and webr-worker.js when channel-type is not service-worker. (#210)
  • Dynamically write webr-serviceworker.js and webr-worker.js files based on the version chosen (#212)
  • Updated the version of the FontAwesome from 6.5.1 to 6.5.2. (#191)

Bug fixes

  • Newline characters that separate options from code lines are now removed. (#217)
  • Prevented vertical scroll bars from always being present by modifying the adaptive container of the editor to always be at least 2 pixels greater than the editor's content instead of being the exact amount. (#164)

Documentation

  • Added new editor options vignette.
  • Updated community examples covering quarto-webr uses in 2024 Q1 (#193).
  • Improve the data loading documentation page by clarifying the virtual file system usage (#201).