You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Don't forget to remove deprecated code on each major release!
21
21
22
22
### Added
23
23
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.
25
25
26
26
### Changed
27
27
@@ -34,10 +34,8 @@ Don't forget to remove deprecated code on each major release!
34
34
- The `group_name` argument has been renamed to `group`.
35
35
- The `group_add` and `group_discard` arguments have been removed for simplicity.
36
36
- 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.
40
37
- ReactPy v2 compatibility! This release aligns `reactpy-django` with ReactPy v2's API.
38
+
- Refactored `DjangoResolver` to extend `ReactPyResolver` instead of `StarletteResolver`.
41
39
- Replaced `web.module_from_file`/`web.export` with `reactjs.component_from_file`.
42
40
- Replaced `reactpy.backend.types` and `reactpy.core.types` imports with `reactpy.types`.
43
41
- 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!
46
44
47
45
- Removed `reactpy_django.components.pyscript_component`. Use `reactpy.executors.pyscript.pyscript_component` instead.
48
46
- 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.
0 commit comments