Releases: openpatch/hyperbook
Releases · openpatch/hyperbook
hyperbook@0.96.2
Patch Changes
4ec0a52Thanks @mikebarkmin! - pyide: Remove pytamaro canvas-mode rendering.show_graphic()andshow_animation()now always render to the output panel, which correctly displays animated GIFs produced byshow_animation(). Thecanvasattribute on:::pyideis no longer needed for pytamaro and has no effect on pytamaro output.
hyperbook-studio@0.50.10
Patch Changes
- Updated dependencies [
4ec0a52]:- @hyperbook/markdown@0.67.2
@hyperbook/markdown@0.67.2
Patch Changes
4ec0a52Thanks @mikebarkmin! - pyide: Remove pytamaro canvas-mode rendering.show_graphic()andshow_animation()now always render to the output panel, which correctly displays animated GIFs produced byshow_animation(). Thecanvasattribute on:::pyideis no longer needed for pytamaro and has no effect on pytamaro output.
hyperbook@0.96.1
Patch Changes
-
90d3f0bThanks @mikebarkmin! - Fix several bugs in the pyide directive:- Fix MutationObserver never initializing dynamically added pyide elements (
node.type→node.nodeType) - Fix error traceback trimming when
<exec>is absent from the traceback (findIndexreturning-1no longer silently drops all context) - Remove hardcoded
id="canvas"from canvas elements, which caused duplicate HTML IDs on pages with multiple canvas pyides - Use the page language (
document.documentElement.lang) for friendly Python error messages instead of always loading English - Avoid injecting redundant
import asyncio/import pygamein the pygame auto-wrap when the user already imports them
- Fix MutationObserver never initializing dynamically added pyide elements (
hyperbook-studio@0.50.9
Patch Changes
- Updated dependencies [
90d3f0b]:- @hyperbook/markdown@0.67.1
hyperbook-studio@0.50.8
Patch Changes
- Updated dependencies [
42d258e]:- @hyperbook/markdown@0.67.0
@hyperbook/markdown@0.67.1
Patch Changes
-
90d3f0bThanks @mikebarkmin! - Fix several bugs in the pyide directive:- Fix MutationObserver never initializing dynamically added pyide elements (
node.type→node.nodeType) - Fix error traceback trimming when
<exec>is absent from the traceback (findIndexreturning-1no longer silently drops all context) - Remove hardcoded
id="canvas"from canvas elements, which caused duplicate HTML IDs on pages with multiple canvas pyides - Use the page language (
document.documentElement.lang) for friendly Python error messages instead of always loading English - Avoid injecting redundant
import asyncio/import pygamein the pygame auto-wrap when the user already imports them
- Fix MutationObserver never initializing dynamically added pyide elements (
hyperbook@0.95.1
Patch Changes
-
c267b74Thanks @mikebarkmin! - Show the Pythoninput()prompt message in the browser dialog.When a Python script calls
input("Zahl eingeben: "), the prompt text is now passed through to the browser'swindow.prompt()dialog instead of always showing the generic "Input required:" message.
hyperbook@0.95.0
Minor Changes
-
6f4443fThanks @mikebarkmin! - Migrate all code editors to CodeMirror 6 and improve OpenSCAD parameter panelCodeMirror 6 migration
- Replace
@webcoder49/code-input(Prism.js) with CodeMirror 6 across all interactive elements:webide,pyide,p5,typst, andabc-music. - Editors now feature syntax highlighting via CodeMirror language packages (HTML, CSS, JavaScript, Python, C++), GitHub Light/Dark themes, and proper bracket/indent handling.
OpenSCAD parameter panel
- Always show the parameters panel (no longer hidden when no parameters exist).
- Support
/* [Tab Name] */comment syntax to group parameters into collapsible accordions. Parameters in/* [Global] */are shown outside any accordion. - Accordion open/closed state is preserved across parameter rebuilds.
- Parameter changes now auto-trigger a re-render of the preview.
- Parameter changes are written back into the editor source code so the code stays in sync.
- Editing the source code directly also triggers a re-render.
- Replace
hyperbook-studio@0.50.7
Patch Changes
- Updated dependencies [
c267b74]:- @hyperbook/markdown@0.66.1