Releases: brython-dev/brython
Brython-3.8.6
This is the same as 3.8.5 except that it fixes a regression for Web Workers.
Brython-3.8.5
Apart from a few bug fixes, this release is published to solve the problem reported in issue #1262 : the CPython brython package required CPython 3.8. It should now be usable with older versions of Python3.
Brython-3.8.4
As reported in issue #1260, pip install brython
was broken in version 3.8.1... After two unsuccessful tries (3.8.2 and 3.8.3) I am releasing this version only to fix this critical issue.
Brython-3.8.1
This is mostly a bugfix version, with a few internal improvements and no significant new feature for users.
Brython-3.8.0
Brython-3.8.0 is the first version synchronized with the same CPython version. It implements the new features in CPython, notably the "walrus operator" := for assignment expressions, the definition of positional-only function
parameters, and a new f-string specifier f"{x=}" for debugging purposes.
Brython-3.7.5
The main change in this release is the new way of distributing Brython packages : see this post for more information.
It also introduces 2 backwards-incompatible changes:
. the API of browser.webcomponent has changed (cf issue #1163)
. the keyword argument async
in functions get(), post()
and the like in the browser.ajax
module has been replaced by blocking
. async
is now a Python keyword and can't be used as a variable name. blocking
means the opposite of async
Brython-3.7.4
This is mostly a bugfix version. The main new feature is the implementation
and documentation of Web Components, a standard technology to define custom
HTML tags, in a dedicated module browser.webcomponent
.
Brython-3.7.3
This release is the same as 3.7.2, except for the critical bug reported in issue #1118 by Andy Lewis.
Brython-3.7.2
The main new feature in this release in a new implementation of the interface
to Web Workers, a standard web technology to run tasks in a separate thread to
keep the main program responsive. It is implemented in a new module,
browser.worker
, which replaces the previous implementation in
browser.webworker
.
Brython-3.7.1
The main change in this version is the support of asynchronous programming. The keywords async
(in async def
, async for
and async while
) and await
are supported.
To run asynchronous programs, a new module, browser.aio
, has been introduced as a replacement for the CPython asyncio
module, which can't be ported in a browser context (no blocking functions, no user-defined
event loop).