Releases: brython-dev/brython
Brython-3.13.0
This is the first release of Brython 3.13, including the new features of Python 3.13.
Brython-3.12.5
There is no new feature in this version, only bug fixes and internal implementation changes.
Brython-3.12.4
This is mostly a bugfix release with no significant new feature.
Brython-3.12.3
The main feature in this release is the replacement of the Python parser by a program generated from the standard Python grammar with the CPython toolchain, adapted to generate Javascript code instead of C.
Austin Schick greatly contributed to this change by providing a first proof of concept in issue #2354 and advice on the next steps of the implementation.
(This is the same as 3.12.2, with a fix for the blocking bug #2381)
Brython-3.12.2
The main feature in this release is the replacement of the Python parser by a program generated from the standard Python grammar with the CPython toolchain, adapted to generate Javascript code instead of C.
Austin Schick greatly contributed to this change by providing a first proof of concept in issue #2354 and advice on the next steps of the implementation.
Brython-3.12.1
Special thanks to Denis Migdal, who inspired and/or wrote the main changes in this release:
- speed up startup time by removing generation of Unicode-related tables
- significant improvement in performance of function argument parsing
- rewrite frames management
Apart from many bug fixes, other changes include:
- an improved implementation of PEP 695 – Type Parameter Syntax
- a partial rewriting of the alterative Brython implementation using a PEG parser with the standard Python grammar
Brython-3.12.0
The main new features in this release are:
- the implementation of Python 3.12, notably:
- PEP 701, f-strings in the grammar
- PEP 695, type parameter syntax and the type statement
- Improved ‘Did you mean …’ suggestions for NameError and SyntaxError exceptions
-
the optional removal of the attribute
onload = brython(options)
of the<body>
tag, replaced by setting page-level options with tag<brython-options>
or per-script options as attributes of the<script>
tag -
a more consistent interface between Brython and Javascript
Brython-3.11.3
This is mostly a bug fix release, with bug fixes and additional features in the re
module and a few performance improvements.
Brython-3.11.2
The main changes in this version are performance improvement in various fields:
- dictionary and set objects
- function arguments parsing
- attribute resolution
Brython can now use Javascript modules that use "export" with the function import_modules(refs, callback)
. The API is experimental and may change in the future. The gallery includes a demo that use this feature with the Javascript library three.js.
A first version of a synthesizer demo is included in the gallery.
Brython-3.11.1
The main change in this release is a complete rewriting of classes, dictionaries and sets implementation, for a better compliance with Python and speed improvements.