What Happened
Shiny for R 1.15 is available on CRAN. It bundles a coding-agent skill with 21 reference files, available automatically to btw users after loading Shiny; other compatible tools can install it separately. The release also makes watcher a required dependency, so autoreload no longer needs an additional install [1].
The more consequential changes address application behavior: late asynchronous work can finish after a page closes, while destroying a live session still tears down its reactive state. Reconnected sessions reset browser output state. The release also fixes date-input behavior, module IDs, timers and polling with custom sessions, and improves server tests, diagnostics, error handling, OpenTelemetry spans for ExtendedTask, and malformed WebSocket handling [1].
Why It Matters to Businesses
For teams building internal data and AI applications, these fixes target failures that are easy to miss in a demo but costly in production: stale outputs after reconnection, incorrect cleanup, and background work tied to a departing user. Better diagnostics and task tracing can shorten incident investigation, but they do not replace application-level monitoring [1].
Shiny, Streamlit, Gradio, and Chainlit are choices for interactive application interfaces; Quarto and Jupyter serve different publishing and exploratory workflows. Posit tooling, Modal, and Replicate may also be relevant to development, deployment, or model execution. The release detail here concerns Shiny for R 1.15 only; it does not establish new releases or feature changes for the other tools.
Kimbodo Engineering Perspective
A bundled agent skill can help a coding assistant follow Shiny conventions, but generated code still needs review for reactive behavior, authorization, and data access. We would prioritize the session and reconnection fixes over development convenience when deciding whether to upgrade a business-critical app. In particular, “work may finish” must not be confused with “work is safe to run without limits” [1].
How We Would Implement It
- Pin Shiny 1.15 and its dependencies in a reproducible R environment; test the upgrade before changing production images.
- Add integration tests for disconnects, reconnects, session destruction, asynchronous tasks, and module IDs. Use testServer() for server logic, alongside browser-level tests for output state [1].
- Set explicit timeouts and concurrency limits for long-running AI requests. Keep credentials server-side, and decide whether work should continue or be cancelled when a user leaves.
- Instrument ExtendedTask spans and correlate them with request IDs, user sessions, and upstream model calls; alert on failures and abnormal task duration [1].
Risks, Costs and Security
The required watcher dependency changes the installed package set, so validate build reproducibility and resource use. Allowing asynchronous work to finish after a page closes can consume compute or incur model charges without an active viewer. Reconnection tests should also confirm that restored outputs cannot expose another user’s data. Agent-assisted coding adds a further review obligation: reference material improves guidance, not the trustworthiness of generated code [1].
Where Kimbodo Comes In
Kimbodo builds and operates this in production for businesses — see our AI Application Development practice, or Estimate My AI Application.
Sources
- [1] Shiny for R 1.15