Skip to content

Releases: brython-dev/brython

Brython-3.12.5

29 Sep 06:57
Compare
Choose a tag to compare

There is no new feature in this version, only bug fixes and internal implementation changes.

Brython-3.12.4

03 Jul 13:33
Compare
Choose a tag to compare

This is mostly a bugfix release with no significant new feature.

Brython-3.12.3

04 Mar 21:32
Compare
Choose a tag to compare

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

04 Mar 10:00
Compare
Choose a tag to compare

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

27 Nov 16:18
Compare
Choose a tag to compare

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

02 Oct 15:20
Compare
Choose a tag to compare

The main new features in this release are:

  1. 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
  1. 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

  2. a more consistent interface between Brython and Javascript

Brython-3.11.3

19 Jun 10:01
Compare
Choose a tag to compare

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

03 Mar 18:13
Compare
Choose a tag to compare

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

30 Jan 14:20
Compare
Choose a tag to compare

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.

Brython-3.11.0

24 Oct 12:07
Compare
Choose a tag to compare

This version, released on the same day as CPython 3.11, supports most of its new features, notably:

  • PEP 654 – Exception Groups and except *
  • PEP 657 – Include Fine Grained Error Locations in Tracebacks
  • PEP 678 – Enriching Exceptions with Notes