diff --git a/doc/content/changelog.rst b/doc/content/changelog.rst index 0bc48836..3087834c 100644 --- a/doc/content/changelog.rst +++ b/doc/content/changelog.rst @@ -4,6 +4,56 @@ toctree: False Changelog ========= +`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 `_ + +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 `_ (2021-08-22) --------------------------------------------------------------------------- diff --git a/lona/__init__.py b/lona/__init__.py index 0c2b6ee4..c02da9cb 100644 --- a/lona/__init__.py +++ b/lona/__init__.py @@ -10,5 +10,5 @@ pass -VERSION = (1, 3) +VERSION = (1, 4) VERSION_STRING = '{}'.format('.'.join([str(i) for i in VERSION]))