Skip to content

Commit

Permalink
release 1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Scherf <[email protected]>
  • Loading branch information
fscherf committed Aug 26, 2021
1 parent 8e127f8 commit 7e08a23
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
50 changes: 50 additions & 0 deletions doc/content/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,56 @@ toctree: False
Changelog
=========

`1.4 <https://github.com/lona-web-org/lona/releases/tag/1.4>`_ (2021-08-26)
---------------------------------------------------------------------------

Changes
~~~~~~~

* logging

* the Lona root logger can't be filtered anymore

* The root logger is used by the command line tools to report errors, for
example when startup is not possible due an invalid host or port.
These errors should never be ignored.

* the default log level was set from ``logging.WARN`` to ``logging.INFO``

* requests

* ``request.user`` is now writeable

* In middlewares it makes sense to set ``request.user`` from a
handle_request hook for authentication or authorization.

* ``request.interactive`` was added

* ``request.interactive`` is a shortcut to
``request.connection.interactive``

* support for ``NO_COLOR`` environment variable was added

* more information: `no-color.org <https://no-color.org>`_

Bugfixes
~~~~~~~~

* unique ids in ``lona.html.AbstractNode`` and view runtimes were fixed

* Previously timestamps generated by ``time.monotonic_ms()`` were used as
unique ids, but at least on Windows, these timestamps seem not to have an
high enough resolution.
This results in HTML trees in which all nodes have the same node id, which
breaks input events.

* logging

* ansi colors are now disabled in terminals that don't support them

* color palette were fixed for light terminals


`1.3 <https://github.com/lona-web-org/lona/releases/tag/1.3>`_ (2021-08-22)
---------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lona/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@

pass

VERSION = (1, 3)
VERSION = (1, 4)
VERSION_STRING = '{}'.format('.'.join([str(i) for i in VERSION]))

0 comments on commit 7e08a23

Please sign in to comment.