Skip to content

Conversation

@georgestagg
Copy link
Collaborator

  • Upgrade webR to version v0.5.5 (R 4.5.1).
  • Upgrade embedded R Shiny to v1.11.1.
  • Update service worker injected COI headers, fixing CURL with webR in Safari.

The changes to the service worker only apply when the ?coi=1 query parameter is used with Shinylive. This is an undocumented (IIRC) feature required for using browser() (and now also CURL) in webR on Safari. The feature is disabled by default, and not many users are relying on it, so it should be fairly safe to tweak.

We switch from `credentialless` to `require-corp` for the COEP header
when the shinylive service worker is adding COI headers.

This fixes both `browser()` and CURL on webR when running under Shiny.
@georgestagg georgestagg merged commit 18eecf4 into main Aug 19, 2025
2 checks passed
@georgestagg georgestagg deleted the webr-0-5-5 branch August 19, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants