From 5af71684d345f6b4f8bc79cd4d880971a30f2e2e Mon Sep 17 00:00:00 2001 From: Florian Scherf Date: Mon, 26 Sep 2022 14:18:48 +0200 Subject: [PATCH] release 1.10.4 Signed-off-by: Florian Scherf --- doc/content/changelog.rst | 34 ++++++++++++++++++++++++++++++++++ lona/__init__.py | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/doc/content/changelog.rst b/doc/content/changelog.rst index 6aae7368..2438e329 100644 --- a/doc/content/changelog.rst +++ b/doc/content/changelog.rst @@ -6,6 +6,40 @@ is_template: False Changelog ========= +.. changelog-header:: 1.10.4 (2022-09-26) + +Changes +~~~~~~~ + +* Client + + * Python based pre compiler was replaced with JavaScript ES06 imports + + * The sole reason for the client pre compiler was to add Python constants + and Javascript imports to the vanilla Javascript client implementation. + + Since all major browsers support ES06 imports now, and Python constants + can also resolved in the templating stage, the client pre compiler was + removed. + +Bugfixes +~~~~~~~~ + +* Client + + * Node caching problem was fixed + + * Previously the node cache got cleaned out after every rendering patch + that was applied. In some cases that resulted in situations in which + nodes got cleaned out of the cache before they were applied to the Dom. + + When a patch came in, for a node that was not present in the node cache, + the client crashed. + + This issue was fixed by removing the cash clear calls after every patch + and add one call after an entire patch stack. + + .. changelog-header:: 1.10.3 (2022-08-12) Bugfixes diff --git a/lona/__init__.py b/lona/__init__.py index bff6a63a..5c2ec32a 100644 --- a/lona/__init__.py +++ b/lona/__init__.py @@ -10,5 +10,5 @@ if e.name != 'typing_extensions': raise -VERSION = (1, 10, 3) +VERSION = (1, 10, 4) VERSION_STRING = '.'.join(str(i) for i in VERSION)