# Changelog

## 0.1.0 (2026-11-15)

First release.

- Python (Pyodide 314.0.7) and R (webR 0.6.1) code blocks: `<script type="text/python">` and `<script type="text/r">`, inline or from a `src` file.
- Declarative events on any element: `py-click`, `r-input`, `py-change`, ... plus `py-ready` / `r-ready`, which run once at startup.
- `py-out` / `r-out` put text output or R plots into an element; `py-then` / `r-then` pass results as JavaScript data to a function (for Observable Plot, Highcharts, D3, ...).
- Data conversion: Python dicts, lists, numpy arrays and pandas DataFrames; R vectors, named lists and data frames (as rows, with factors and dates as text).
- One file works on pages opened from disk, served from a site, or loaded from a CDN.
- When served from the same site, Python runs in a shared worker: other tabs and page reloads reuse the running interpreter (Chromium), with separate variables per tab.
- `data-watch` re-runs changed `src` files in the live interpreter.
- JavaScript API: `pyr.data()`, `pyr.exec()`, `pyr.rerun()`.
