Skip to content

Releases: openpatch/hyperbook

hyperbook@0.96.2

31 May 10:15
c24b744

Choose a tag to compare

Patch Changes

  • 4ec0a52 Thanks @mikebarkmin! - pyide: Remove pytamaro canvas-mode rendering. show_graphic() and show_animation() now always render to the output panel, which correctly displays animated GIFs produced by show_animation(). The canvas attribute on :::pyide is no longer needed for pytamaro and has no effect on pytamaro output.

hyperbook-studio@0.50.10

31 May 10:15
c24b744

Choose a tag to compare

Patch Changes

  • Updated dependencies [4ec0a52]:
    • @hyperbook/markdown@0.67.2

@hyperbook/markdown@0.67.2

31 May 10:15
c24b744

Choose a tag to compare

Patch Changes

  • 4ec0a52 Thanks @mikebarkmin! - pyide: Remove pytamaro canvas-mode rendering. show_graphic() and show_animation() now always render to the output panel, which correctly displays animated GIFs produced by show_animation(). The canvas attribute on :::pyide is no longer needed for pytamaro and has no effect on pytamaro output.

hyperbook@0.96.1

30 May 16:07
aef294c

Choose a tag to compare

Patch Changes

  • 90d3f0b Thanks @mikebarkmin! - Fix several bugs in the pyide directive:

    • Fix MutationObserver never initializing dynamically added pyide elements (node.typenode.nodeType)
    • Fix error traceback trimming when <exec> is absent from the traceback (findIndex returning -1 no 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 pygame in the pygame auto-wrap when the user already imports them

hyperbook-studio@0.50.9

30 May 16:07
aef294c

Choose a tag to compare

Patch Changes

  • Updated dependencies [90d3f0b]:
    • @hyperbook/markdown@0.67.1

hyperbook-studio@0.50.8

30 May 14:38
4225047

Choose a tag to compare

Patch Changes

  • Updated dependencies [42d258e]:
    • @hyperbook/markdown@0.67.0

@hyperbook/markdown@0.67.1

30 May 16:07
aef294c

Choose a tag to compare

Patch Changes

  • 90d3f0b Thanks @mikebarkmin! - Fix several bugs in the pyide directive:

    • Fix MutationObserver never initializing dynamically added pyide elements (node.typenode.nodeType)
    • Fix error traceback trimming when <exec> is absent from the traceback (findIndex returning -1 no 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 pygame in the pygame auto-wrap when the user already imports them

hyperbook@0.95.1

19 May 10:27
4fbed8b

Choose a tag to compare

Patch Changes

  • c267b74 Thanks @mikebarkmin! - Show the Python input() prompt message in the browser dialog.

    When a Python script calls input("Zahl eingeben: "), the prompt text is now passed through to the browser's window.prompt() dialog instead of always showing the generic "Input required:" message.

hyperbook@0.95.0

19 May 09:18
34b565d

Choose a tag to compare

Minor Changes

  • 6f4443f Thanks @mikebarkmin! - Migrate all code editors to CodeMirror 6 and improve OpenSCAD parameter panel

    CodeMirror 6 migration

    • Replace @webcoder49/code-input (Prism.js) with CodeMirror 6 across all interactive elements: webide, pyide, p5, typst, and abc-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.

hyperbook-studio@0.50.7

19 May 10:27
4fbed8b

Choose a tag to compare

Patch Changes

  • Updated dependencies [c267b74]:
    • @hyperbook/markdown@0.66.1