diff --git a/CHANGELOG.md b/CHANGELOG.md index ef52d7de..10bb1d3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,9 +34,13 @@ Using the following categories, list your changes in this order: ## [Unreleased] +- Nothing yet! + +## [3.2.1] - 2023-06-29 + ### Added -- Template tag exception details are now rendered on the webpage when `DEBUG` is enabled. +- Template tag exception details are now rendered on the webpage when `settings.py:DEBUG` is enabled. ### Fixed @@ -295,7 +299,8 @@ Using the following categories, list your changes in this order: - Support for IDOM within the Django -[unreleased]: https://github.com/reactive-python/reactpy-django/compare/3.2.0...HEAD +[unreleased]: https://github.com/reactive-python/reactpy-django/compare/3.2.1...HEAD +[3.2.1]: https://github.com/reactive-python/reactpy-django/compare/3.2.0...3.2.1 [3.2.0]: https://github.com/reactive-python/reactpy-django/compare/3.1.0...3.2.0 [3.1.0]: https://github.com/reactive-python/reactpy-django/compare/3.0.1...3.1.0 [3.0.1]: https://github.com/reactive-python/reactpy-django/compare/3.0.0-reactpy...3.0.1 diff --git a/src/reactpy_django/__init__.py b/src/reactpy_django/__init__.py index 0d8bb188..8d026baa 100644 --- a/src/reactpy_django/__init__.py +++ b/src/reactpy_django/__init__.py @@ -2,7 +2,7 @@ from reactpy_django.websocket.paths import REACTPY_WEBSOCKET_PATH -__version__ = "3.2.0" +__version__ = "3.2.1" __all__ = [ "REACTPY_WEBSOCKET_PATH", "hooks", diff --git a/src/reactpy_django/websocket/consumer.py b/src/reactpy_django/websocket/consumer.py index 90ee0632..c9f32bce 100644 --- a/src/reactpy_django/websocket/consumer.py +++ b/src/reactpy_django/websocket/consumer.py @@ -130,9 +130,8 @@ async def _run_dispatch_loop(self): )() except models.ComponentSession.DoesNotExist: _logger.warning( - f"Browser has attempted to access '{dotted_path}', " - f"but the component has already expired beyond REACTPY_RECONNECT_MAX. " - "If this was expected, this warning can be ignored." + f"Component session for '{dotted_path}:{uuid}' not found. The " + "session may have already expired beyond REACTPY_RECONNECT_MAX." ) return component_params: ComponentParamData = pickle.loads(params_query.params) diff --git a/tests/test_app/tests/test_regex.py b/tests/test_app/tests/test_regex.py index cee32751..61b72e4a 100644 --- a/tests/test_app/tests/test_regex.py +++ b/tests/test_app/tests/test_regex.py @@ -41,8 +41,8 @@ def test_component_regex(self): self.assertNotRegex(r"", COMPONENT_REGEX) self.assertNotRegex(r'{% component " my.component " %}', COMPONENT_REGEX) self.assertNotRegex( - r"""{% component "my.component COMPONENT_REGEX) - self.assertNotRegex( " %}""", + r"""{% component "my.component + " %}""", COMPONENT_REGEX, ) self.assertNotRegex(r'{{ component """ }}', COMPONENT_REGEX)