Releases: savannahostrowski/pyrepl-web
0.2.0
New in this release!
Web Component API
You can now use a <py-repl> custom element for cleaner HTML integration with theme, packages, repl-title, src, no-header, no-buttons, readonly attributes.
<div class="pyrepl"> is still supported for backwards compatibility.
Simplified Theming
You can now create custom themes with just background and foreground colors. Terminal ANSI colors and syntax highlighting auto-derived from background luminance. Theming also now supports pygmentsStyle for full control over syntax highlighting
Theme names matching Pygments styles (e.g., monokai, dracula) use that style automatically. Custom themes fall back to catppuccin-mocha (dark) or catppuccin-latte (light) based on background
0.1.13
Start downloading Pyodide in the background on page load
0.1.12
Various performance improvements via code splitting and lazy loading pygments for syntax highlighting. Bundle is now ~99% smaller.
0.1.10
Full Changelog: 0.1.9...0.1.10
0.1.9
0.1.8
Fix build
0.1.7
Adds several attributes:
- data-readonly mode - disables input
- data-headers - ability to hide widget header chrome
- data-src - ability to pass a script on pre-load of the widget (to preload namespace etc.)
- data-title - ability to customize the title of the widget (uses 'python' by default)
Adds ctrl+c (interrupt) and ctrl+l (clear) keybinding support
Adds custom theming support
0.1.6
Bump version
0.1.5
Fixes for publishing pipeline
0.1.4
- Python 3.13 running in the browser via WebAssembly
- Syntax highlighting with Pygments
- Tab completion
- Command history (up/down arrows)
- Smart indentation
- Preload PyPI packages
- Multiple themes (Catppuccin Mocha/Latte)