Skip to content

Commit 9295abc

Browse files
authored
v5.2.0 (#277)
1 parent b9af25d commit 9295abc

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ Don't forget to remove deprecated code on each major release!
1919

2020
## [Unreleased]
2121

22+
- Nothing (yet)!
23+
24+
### [5.2.0] - 2024-12-29
25+
2226
### Added
2327

2428
- User login/logout features!
@@ -540,7 +544,8 @@ Don't forget to remove deprecated code on each major release!
540544
541545
- Support for IDOM within the Django
542546
543-
[Unreleased]: https://github.com/reactive-python/reactpy-django/compare/5.1.1...HEAD
547+
[Unreleased]: https://github.com/reactive-python/reactpy-django/compare/5.2.0...HEAD
548+
[5.2.0]: https://github.com/reactive-python/reactpy-django/compare/5.1.1...5.2.0
544549
[5.1.1]: https://github.com/reactive-python/reactpy-django/compare/5.1.0...5.1.1
545550
[5.1.0]: https://github.com/reactive-python/reactpy-django/compare/5.0.0...5.1.0
546551
[5.0.0]: https://github.com/reactive-python/reactpy-django/compare/4.0.0...5.0.0

src/reactpy_django/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
)
1414
from reactpy_django.websocket.paths import REACTPY_WEBSOCKET_ROUTE
1515

16-
__version__ = "5.1.1"
16+
__version__ = "5.2.0"
1717
__all__ = [
1818
"REACTPY_WEBSOCKET_ROUTE",
1919
"components",

src/reactpy_django/templatetags/reactpy.py

-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ def component(
144144
)
145145
_logger.error(msg)
146146
return failure_context(dotted_path, ComponentCarrierError(msg))
147-
148147
_prerender_html = prerender_component(user_component, args, kwargs, uuid, request)
149148

150149
# Fetch the offline component's HTML, if requested

tests/test_app/tests/test_components.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ def test_component_use_auth(self):
349349
# Double check that the user stayed logged out
350350
self.page.wait_for_selector("#use-auth[data-username='AnonymousUser']")
351351

352+
# FIXME: This test is flaky on GitHub Actions for unknown reasons.
353+
# Fails at: self.page.wait_for_selector("#use-auth-no-rerender[data-username='user_5']")
354+
@pytest.mark.flaky(reruns=5)
352355
@navigate_to_page("/")
353356
def test_component_use_auth_no_rerender(self):
354357
uuid = self.page.wait_for_selector("#use-auth-no-rerender").get_attribute("data-uuid")
@@ -912,7 +915,7 @@ def test_form_orm_model(self):
912915
finally:
913916
os.environ.pop("DJANGO_ALLOW_ASYNC_UNSAFE")
914917

915-
# TODO: Remove the `reruns` value once we fix flakiness of `test_sync_form_events`
918+
# FIXME: Remove the `reruns` value once we fix flakiness of `test_sync_form_events`
916919
# https://github.com/reactive-python/reactpy-django/issues/272
917920
@pytest.mark.flaky(reruns=5)
918921
@navigate_to_page("/form/sync_event/")

0 commit comments

Comments
 (0)