Skip to content

Commit

Permalink
v3.2.1 (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger authored Jun 29, 2023
1 parent 1cd6d39 commit 9acb074
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/reactpy_django/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 2 additions & 3 deletions src/reactpy_django/websocket/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_app/tests/test_regex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9acb074

Please sign in to comment.