Releases: brython-dev/brython
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).
Brython-3.7.0
This is the final version of Brython 3.7.0, the first one based on the
same version of CPython. It is mostly a bugfix version compared to the
previous release candidate (3.7.0rc2).
Brython-3.7.0rc2
This is the second, and probably last, release candidate of Brython 3.7.0, the first one based on the same Python version.
Apart from the usual bug fixes, this release focuses on the support of modules copied from CPython 3.7.0 standard library. Support of the standard "traceback" module required the most changes. Many other modules implemented in C in CPython and that were implemented in pure Python in previous versions have been implemented in Javascript in this version.
Brython-3.7.0rc1
This release is the first one that is based on the current Python version (3.7.0). The standard library has been upgraded to that of Python 3.7.0 and features such as dataclasses (PEP 557) and support for the typing module (PEP 560) have been added
Also included in this release:
- Underscores in Numeric Literals (PEP 515)
- support of the @ operator (PEP 465)
- variable annotations (PEP 526)
- support of "async" and "await" as keywords : not usable as in CPython because Javascript lacks blocking function, but they don't raise syntax errors