2024.3.2
版本发布时间: 2024-03-26 19:36:49
pyscript/pyscript最新发布版本:2024.8.2(2024-08-05 22:31:23)
PyScript Release Notes
Polyscript
- updated MicroPython to its latest version: https://github.com/micropython/micropython/pull/13583
- it is now possible to fully work offline with Polyscript: https://github.com/pyscript/polyscript/pull/85
- it is now possible to automatically extract
.zip
and.tar.gz
files if the extension matches and the target ends with a/*
, as in/*
for root or./dest/path/*
for relative paths: https://github.com/pyscript/polyscript/pull/84 - updated coincident to its latest, allowing main -> worker interaction without needing SharedArrayBuffer (so
await
is mandatory, but no special headers are needed to consume asynchronous workers utilities): https://github.com/pyscript/polyscript/pull/80
PyScript
- improved the previously shipped
pyscript.fetch
utility to satisfy all requirements around it: https://github.com/pyscript/pyscript/pull/2001 - improved documentation around JS libraries imported directly in PyScript (both Pyodide and MicroPython)
- added a
pyscript.ffi
module that exports bothcreate_proxy
andto_js
, normalized for both Pyodide and MicroPython and converting by default everything as object literal instead of Map: https://github.com/pyscript/pyscript/pull/2005