Releases: brython-dev/brython
Brython-3.3.4
Coming only a week after 3.3.3, the reason for this version is a bug in the CPython brython package in version 3.3.3. The fixed version on PyPI needs a new version number, so I had to release a new version here to keep version numbers equal.
Brython-3.3.3
This version brings many improvements :
- add arguments --modules and --make_dist to CPython brython module, to allow distribution of Brython applications through the standard Python process (PyPI, pip). Still work in progress.
- implementation of f-strings introduced in CPython 3.6 (PEP 498)
- improvements to metaclass implementation (by "DRo")
- implement web workers with the webworker module (by Jonathan Verner)
- simplified version of asyncio and new asyncio.fs module : implements an async open method to access local/remote files (by Jonathan Verner)
The complete changelog is below.
Brython-3.3.2
This is mostly a bugfix release, with minor implementation improvements and a demo page added in the Brython site home page.
Brython-3.3.1
The main change in this release is a new implementation of functions, resulting in an important increase of performance : the pystone test is now only 7 times slower than with CPython, compared to 12-15 times slower before.
The complete changelog is included in the release files.
Brython-3.3.0
The main feature in this release is an important change in the recommended way to install and work with Brython.
A CPython package brython
is now available on the Python Package Index. It can be installed like any other package with pip install brython
. Then, in an empty folder, running python -m brython --install
will install 3 files :
- brython.js : the Brython engine, to include in the HTML page
- brython_stdlib.js : groups all the modules and packages of the part of the Python standard library supported by Brython
- demo.html : a page with a few examples of how to use Brython for client-side development
brython.js includes very often used modules : browser, browser.html, javascript
.
If your application uses modules of the standard distribution, you need to include brython_stdlib.js besides brython.js:
<script type="text/javascript" src="brython.js"></script>
<script type="text/javascript" src="brython_stdlib.js"></script>
The release files have also been simplified : the compressed files only hold the 3 files above, and the Brython site mirror is no longer included, it is almost the same as the Github repository clone.
The complete changelog is included below.
Many thanks to all contributors, and especially to @glyph for starting and orienting the discussion on issue #491
Brython-3.2.9
The main new features in this release are a first implementation of the asyncio module, and the introduction of a (still experimental) setup.py to generate a CPython package, following the discussion on issue #491.
Brython-3.2.8
The main changes in this release are :
- the port of Unicode-related methods of str() (by Quentin Santos)
- the addition of a code profiler (by Jonathan Verner)
- a rewriting of the generators implementation : it doesn't use attributes defined at compilation time anymore. This is part of the work required to achieve the goals suggested by Glyph in issue #491 : "Feature Request: Brython Production App Development Pipeline"
The complete changelog is included in the release files.
Brython-3.2.7
The main change in this release is performance improvement : thanks to various optimisations, the pystone test runs 2.5 times faster than with the previous version. It is now 15 times slower than CPython, which is still much, but it was hundreds of times slower a few months ago.
Another change is the implementation of list comprehensions and generator expressions, now using self-executing anonymous functions.
The complete changelog is included in the release files.
Brython-3.2.6
This is mostly a bugfix release, with a new implementation of QUnit tests by Olemis Lang.
Brython-3.2.5
This is mostly a bugfix version, with a new drawing demo usable on tablets and smartphones.