From 4275917558736581ebbb50d234a2dd797a0ad2da Mon Sep 17 00:00:00 2001 From: Mark Bakhit Date: Tue, 14 Jul 2026 14:50:18 -0700 Subject: [PATCH 1/3] v6.0.0b1 --- .github/workflows/publish-latest-docs.yml | 2 +- src/reactpy_django/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-latest-docs.yml b/.github/workflows/publish-latest-docs.yml index a4945b6f..1368cd5a 100644 --- a/.github/workflows/publish-latest-docs.yml +++ b/.github/workflows/publish-latest-docs.yml @@ -2,7 +2,7 @@ name: Publish Latest Docs on: release: - types: [published] + types: [released] jobs: publish-latest-docs: diff --git a/src/reactpy_django/__init__.py b/src/reactpy_django/__init__.py index e13b3024..97f215c3 100644 --- a/src/reactpy_django/__init__.py +++ b/src/reactpy_django/__init__.py @@ -8,7 +8,7 @@ ) from reactpy_django.websocket.paths import REACTPY_WEBSOCKET_ROUTE -__version__ = "5.2.1" +__version__ = "6.0.0b1" __all__ = [ "REACTPY_WEBSOCKET_ROUTE", "components", From c51f0c7c2bf759be1e0a9f276bddbbd62555e54d Mon Sep 17 00:00:00 2001 From: Mark Bakhit Date: Tue, 14 Jul 2026 14:54:42 -0700 Subject: [PATCH 2/3] tweak changelog entries --- CHANGELOG.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d3482c7..f045bea9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,7 @@ Don't forget to remove deprecated code on each major release! ### Added -- Automatic serve ReactPy wheel from Django's static directory when using PyScript. +- Automatically serve ReactPy wheel from Django's static directory when using PyScript. ### Changed @@ -34,10 +34,9 @@ Don't forget to remove deprecated code on each major release! - The `group_name` argument has been renamed to `group`. - The `group_add` and `group_discard` arguments have been removed for simplicity. - To improve performance, `preact` is now used as the default client-side library instead of `react`. -- Refactored `DjangoResolver` to extend `ReactPyResolver` instead of `StarletteResolver`. -- Replaced `reactpy_router.resolvers.StarletteResolver` with `ReactPyResolver` for Django URL routing. -- Moved `{% load reactpy %}` to after `` in HTML templates for standards compliance. - ReactPy v2 compatibility! This release aligns `reactpy-django` with ReactPy v2's API. + - Refactored `DjangoResolver` to extend `ReactPyResolver` instead of `StarletteResolver`. + - Replaced `reactpy_router.resolvers.StarletteResolver` with `ReactPyResolver` for Django URL routing. - Replaced `web.module_from_file`/`web.export` with `reactjs.component_from_file`. - Replaced `reactpy.backend.types` and `reactpy.core.types` imports with `reactpy.types`. - Renamed `Location.pathname` to `Location.path` and `Location.search` to `Location.query_string`. @@ -46,8 +45,8 @@ Don't forget to remove deprecated code on each major release! - Removed `reactpy_django.components.pyscript_component`. Use `reactpy.executors.pyscript.pyscript_component` instead. - Removed the entire `reactpy_django/pyscript/` package (component template, layout handler, and utilities) in favor of ReactPy core's PyScript executor. -- Removed `reactpy_django/html.py` (`pyscript` VDOM constructor). Use `html.py_script` instead. -- Removed `nest_asyncio` dependency and its initialization on startup. +- Removed `reactpy_django.html.pyscript`. Use `reactpy.html.py_script` instead. +- Removed `nest_asyncio` dependency. ### Fixed From 04f09df3774f791bdcef5c6266e5130b53d8c410 Mon Sep 17 00:00:00 2001 From: Mark Bakhit Date: Tue, 14 Jul 2026 14:56:55 -0700 Subject: [PATCH 3/3] one more changelog tweak --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f045bea9..0a471e6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +36,6 @@ Don't forget to remove deprecated code on each major release! - To improve performance, `preact` is now used as the default client-side library instead of `react`. - ReactPy v2 compatibility! This release aligns `reactpy-django` with ReactPy v2's API. - Refactored `DjangoResolver` to extend `ReactPyResolver` instead of `StarletteResolver`. - - Replaced `reactpy_router.resolvers.StarletteResolver` with `ReactPyResolver` for Django URL routing. - Replaced `web.module_from_file`/`web.export` with `reactjs.component_from_file`. - Replaced `reactpy.backend.types` and `reactpy.core.types` imports with `reactpy.types`. - Renamed `Location.pathname` to `Location.path` and `Location.search` to `Location.query_string`.