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/CHANGELOG.md b/CHANGELOG.md index 2d3482c7..0a471e6a 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,8 @@ 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 `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 +44,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 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",