Skip to content

Commit 35b702f

Browse files
authored
v6.0.0b1 (#296)
1 parent cd191ce commit 35b702f

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/publish-latest-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish Latest Docs
22

33
on:
44
release:
5-
types: [published]
5+
types: [released]
66

77
jobs:
88
publish-latest-docs:

CHANGELOG.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Don't forget to remove deprecated code on each major release!
2121

2222
### Added
2323

24-
- Automatic serve ReactPy wheel from Django's static directory when using PyScript.
24+
- Automatically serve ReactPy wheel from Django's static directory when using PyScript.
2525

2626
### Changed
2727

@@ -34,10 +34,8 @@ Don't forget to remove deprecated code on each major release!
3434
- The `group_name` argument has been renamed to `group`.
3535
- The `group_add` and `group_discard` arguments have been removed for simplicity.
3636
- To improve performance, `preact` is now used as the default client-side library instead of `react`.
37-
- Refactored `DjangoResolver` to extend `ReactPyResolver` instead of `StarletteResolver`.
38-
- Replaced `reactpy_router.resolvers.StarletteResolver` with `ReactPyResolver` for Django URL routing.
39-
- Moved `{% load reactpy %}` to after `<!DOCTYPE html>` in HTML templates for standards compliance.
4037
- ReactPy v2 compatibility! This release aligns `reactpy-django` with ReactPy v2's API.
38+
- Refactored `DjangoResolver` to extend `ReactPyResolver` instead of `StarletteResolver`.
4139
- Replaced `web.module_from_file`/`web.export` with `reactjs.component_from_file`.
4240
- Replaced `reactpy.backend.types` and `reactpy.core.types` imports with `reactpy.types`.
4341
- 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!
4644

4745
- Removed `reactpy_django.components.pyscript_component`. Use `reactpy.executors.pyscript.pyscript_component` instead.
4846
- Removed the entire `reactpy_django/pyscript/` package (component template, layout handler, and utilities) in favor of ReactPy core's PyScript executor.
49-
- Removed `reactpy_django/html.py` (`pyscript` VDOM constructor). Use `html.py_script` instead.
50-
- Removed `nest_asyncio` dependency and its initialization on startup.
47+
- Removed `reactpy_django.html.pyscript`. Use `reactpy.html.py_script` instead.
48+
- Removed `nest_asyncio` dependency.
5149

5250
### Fixed
5351

src/reactpy_django/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
)
99
from reactpy_django.websocket.paths import REACTPY_WEBSOCKET_ROUTE
1010

11-
__version__ = "5.2.1"
11+
__version__ = "6.0.0b1"
1212
__all__ = [
1313
"REACTPY_WEBSOCKET_ROUTE",
1414
"components",

0 commit comments

Comments
 (0)