Skip to content

Releases: pyscript/pyscript

2025.7.1

01 Jul 12:41
e433275
Compare
Choose a tag to compare

Release Notes

  • added and tested a new PyScript Bridge helper companion, to import from JS Python modules
  • fixed a bug in <label> #2352
  • updated polyscript dependency to its latest which brings in:
    • a new packages_cache = "passthrough" option, beside "never", to avoid lazy micropip initialization and parallelize Pyodide bootstrap when network connection is good and offline ability is not a concern. This should help speeding up bootstrap pyscript/polyscript#138
    • added a debug = True option in config to help debugging Pyodide pyscript/polyscript#135 - please note this degrades Pyodide performance
    • updated coincident orchestration to bring back the service-worker attribute without needing @pyscript/service-worker at all and tested in multiple devices, including iOS and iPad OS
    • updated also coincident ffi logic via a dedicated project able to improve performance a lot, specially with all the JS primitives where performance matters, including TypedArray of all kinds and ArrayBuffer
    • coincident ffi also has a smart cache feature that is able to make Pyodide bootstrap and performance nearly 1:1 with the main thread. Roundtrips can be cut off entirely for most JS primitives while DOM nodes or arrays from the main thread are not cached to preserve their constantly mutable state and preserve correctness.
    • coincident ffi also exposes some extra feature that is reflected through pyscript.ffi, specially direct(ref) to pass directly values instead of holding these on the main thread and assign to update many fields at once from a worker. Both utilities work seamlessly on either main or worker but on worker these will have a boost.

2025.5.1

21 May 13:47
42c6cb7
Compare
Choose a tag to compare

Release notes

  • Updated Pyodide to 0.27.6
  • Updated MicroPython to 1.25.0
  • Automatic redirect to localhost when 0.0.0.0 is reached: #2328
  • Added py-editor:done to know when the editor has done processing: #2329
  • Created a polyfill based on ServiceWorker to workaround the latest removal of a dependency when headers are missing or Safari is not working: #2334
  • Included all 3rd-party licenses within our package: #2343
  • Added debug config flag to improve debugging in compatible interpreters (currently only Pyodide): pyscript/polyscript#135
  • Rewrote experimental_create_proxy="auto" to improve edge cases and overall performance: pyscript/polyscript#134
  • improved 2X worker to main performance: pyscript/polyscript#132

2025.3.1

11 Mar 12:03
b22f384
Compare
Choose a tag to compare

Release notes

  • Update PyGameCE related configuration and input capabilities after feedback from users. See #2310, #2311 and #2313

2025.2.4: Fix #2302 - Updated Polyscript to its latest (#2303)

27 Feb 10:24
290eb03
Compare
Choose a tag to compare

Release notes

  • Fix a bug that stopped folks from installing wheels copied over to the VFS. #2302
  • Update README to acknowledge Anaconda's support of the project. #2297
  • Update to latest Pyodide. #2300
  • PyEditor stop button to interrupt evaluation of code stuck in an infinite loop. #2295
  • Test clean-ups. #2296 and #2292

2025.2.3

17 Feb 14:41
0366e48
Compare
Choose a tag to compare

Release notes

  • Adds new pyscript.fs namespace for interacting with the user's local filesystem (NOTE: Chromium only). See #2289. Please see our documentation for more details.

2025.2.2

07 Feb 08:52
b13317d
Compare
Choose a tag to compare

Release notes

  • No functional change to PyScript itself, but an update to use the most recent versions of Pyodide and MicroPython (via PolyScript). #2283

2025.2.1

05 Feb 13:54
57b1440
Compare
Choose a tag to compare

Release notes

  • Update to the latest version of Pyodide (#2270)
  • Add a new py-game type for easy access to the PyGame-CE library (#2265)

2024.11.1

08 Jan 15:16
ce923a3
Compare
Choose a tag to compare

Release notes

2024.10.2

28 Oct 11:11
3f19e00
Compare
Choose a tag to compare

Release notes

2024.10.1

07 Oct 13:48
febbb03
Compare
Choose a tag to compare

Release notes

  • Many updates to refactor / clean / re-organise the repository (without actually changing functionality). #2190, #2191, #2192, #2197, #2201, #2204 This puts us in a good state for future API refactoring and development.
  • When using packages with Pyodide, automatically cache repeatedly required packages so bootstrap speed improves. #2205
  • Add a new JavaScript donkey API that makes it easy to spin up PyScript workers for future Python work without the need to use <script> tags to start PyScript. #2210
  • Improved memory usage when multiple workers/interpreters are used on the same page. #2195