Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 07 Mar 21:14

What's Changed

  • Improved detection of the runtime script marker so it only treats data-pywebview-htmx="true" as an existing injected script. This fixes cases where scripts marked as false could incorrectly block runtime injection.
  • Updated JavaScript event handling to only prevent the browser’s default behavior for submit events, reducing the chance of other event types being unnecessarily interrupted.
  • Improved py:afterSwap behavior for outerHTML swaps so the event is triggered on the correct updated element.
  • Added tests covering the new script marker behavior and JavaScript event/swap handling fixes.