From 70fc2477e7b1a54354ad8a67e827ff32156d57ca Mon Sep 17 00:00:00 2001 From: Florian Scherf Date: Mon, 5 Dec 2022 14:42:39 +0100 Subject: [PATCH] release 1.10.5 Signed-off-by: Florian Scherf --- doc/content/changelog.rst | 31 +++++++++++++++++++++ doc/content/end-user-documentation/html.rst | 4 +++ lona/__init__.py | 2 +- 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/doc/content/changelog.rst b/doc/content/changelog.rst index 2438e329..0b1e4b04 100644 --- a/doc/content/changelog.rst +++ b/doc/content/changelog.rst @@ -6,6 +6,37 @@ is_template: False Changelog ========= +.. changelog-header:: 1.10.5 (2022-11-05) + +Changes +~~~~~~~ + +* HTML + + * Frontend Widget capabilities were added to the abstract node class + + * Previously only nodes, subclassing ``lona.html.Widget``, could define a + frontend widget. Now, any node, besides text nodes, can do so. + + This is in preparation of making the widget API obsolete at first, and + removing it entirely in Lona2. + + +Bugfixes +~~~~~~~~ + +* HTML + + * Handling of non-string attributes like ``True`` was fixed in string + representations + + * Previously code like ``str(Option(bubble_up=True))`` crashed + +* collect-static + + * A regression, added in 1.10.2, was fixed + + .. changelog-header:: 1.10.4 (2022-09-26) Changes diff --git a/doc/content/end-user-documentation/html.rst b/doc/content/end-user-documentation/html.rst index 61d23ad2..fe2b80b8 100644 --- a/doc/content/end-user-documentation/html.rst +++ b/doc/content/end-user-documentation/html.rst @@ -819,6 +819,10 @@ handle the event. Frontend Widgets ~~~~~~~~~~~~~~~~ +.. note:: + + Frontend widget support for ``lona.html.Node`` was added in 1.10.5 + Widgets and nodes can define a Javascript based frontend widget, to include client side code. This is useful to integrate with third party Javascript libraries. diff --git a/lona/__init__.py b/lona/__init__.py index 5c2ec32a..215498c3 100644 --- a/lona/__init__.py +++ b/lona/__init__.py @@ -10,5 +10,5 @@ if e.name != 'typing_extensions': raise -VERSION = (1, 10, 4) +VERSION = (1, 10, 5) VERSION_STRING = '.'.join(str(i) for i in VERSION)