New
2026.1.1
- Minor fixes in coincident.
- Removed WebR (for the time being) and improved packages details in polyscript.
- Updated polyscript module to include latest coincident and latest Pyodide 0.29.1.
- INCLUDES BREAKING CHANGES API/docstring refactor #2414
magic_jsrenamed tocontext(but everything should still only be referenced via the corepyscriptnamespace).- A much requested change in
pyscript.web: usepage["#an-id"]to get a single element by id (rather thanpage.find("#an-id")[0]). - In
pyscript.weban Element's styles are a Pythondictand classes a Pythonset(rather than custom objects with a similar API to those Python classes). - Explicitly use
update_allwithElementCollectioninstances. You used to be able to do implicit changes via:my_collection.innerHTML = "foo". Feedback was this felt risky (folks thought they were mutating an element, not an element collection and they were getting strange results). Now you just:my_collection.update_all(innerHTML="foo")which also makes it more obvious what's going on. - Extensive rewrite of docstrings with examples. These form the basis of our new API docs.
- Added many more tests for the purpose of coverage and testing edge-cases.