Skip to content

v3.2.1 #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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