Leading into the UseR 2024! Conference, we’re releasing quarto-webr
v0.4.2. This release contains a number of new features and bug fixes. The most notable change is the ability to download the R history of commands executed through a new global menu in the right column and underneath Revealjs’ “Tools” menu. Additionally, we’ve added the ability to have the monaco editor switch between Quarto’s light and dark theme modes. Behind the scenes, we’ve also upgraded to webR v0.3.3 and added two new document-level options: cell-options
and version
. We’ve also added a number of new cell-level options to control the interactive code cell editor, such as editor-code-line-numbers
, editor-word-wrap
, editor-quick-suggestions
, editor-max-height
, and editor-font-scale
. Finally, we’ve enabled non-graphical computation within a webr-r
cell when OffScreenCanvas
is not available, and we’ve made a number of other changes and bug fixes.
For more details on the changes, please see the news entry below
quarto-webr
news file entry for version 0.4.2 (2024-06-24)
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)
Added the ability to have the monaco editor switch between Quarto’s light and dark theme modes. (#176)
- Added two new document-level options:
- 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 is1
for HTML Documents, Books, and Websites and0.5
for Revealjs Slides. (#172 & #209, thanks ute!)
- Enabled non-graphical computation within a
webr-r
cell whenOffScreenCanvas
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).
- If
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
andwebr-worker.js
whenchannel-type
is notservice-worker
. (#210) - Dynamically write
webr-serviceworker.js
andwebr-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
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).