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
Improve and rename vdom_to_html -> reactpy_to_html (#1278)
- Renamed `reactpy.utils.html_to_vdom` to `reactpy.utils.string_to_reactpy`.
- Renamed `reactpy.utils.vdom_to_html` to `reactpy.utils.reactpy_to_string`.
- `reactpy.utils.string_to_reactpy` has been upgraded to handle more complex scenarios without causing ReactJS rendering errors.
- `reactpy.utils.reactpy_to_string` will now retain the user's original casing for element `data-*` and `aria-*` attributes.
- Convert `pragma: no cover` comments to `nocov`
Copy file name to clipboardExpand all lines: docs/source/about/changelog.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ Unreleased
38
38
- :pull:`1113` - Renamed ``reactpy.config.REACTPY_DEBUG_MODE`` to ``reactpy.config.REACTPY_DEBUG``.
39
39
- :pull:`1113` - ``@reactpy/client`` now exports ``React`` and ``ReactDOM``.
40
40
- :pull:`1263` - ReactPy no longer auto-converts ``snake_case`` props to ``camelCase``. It is now the responsibility of the user to ensure that props are in the correct format.
41
+
- :pull:`1278` - ``reactpy.utils.reactpy_to_string`` will now retain the user's original casing for ``data-*`` and ``aria-*`` attributes.
42
+
- :pull:`1278` - ``reactpy.utils.string_to_reactpy`` has been upgraded to handle more complex scenarios without causing ReactJS rendering errors.
41
43
42
44
**Removed**
43
45
@@ -48,6 +50,8 @@ Unreleased
48
50
- :pull:`1113` - Removed ``reactpy.run``. See the documentation for the new method to run ReactPy applications.
49
51
- :pull:`1113` - Removed ``reactpy.backend.*``. See the documentation for the new method to run ReactPy applications.
50
52
- :pull:`1113` - Removed ``reactpy.core.types`` module. Use ``reactpy.types`` instead.
53
+
- :pull:`1278` - Removed ``reactpy.utils.html_to_vdom``. Use ``reactpy.utils.string_to_reactpy`` instead.
54
+
- :pull:`1278` - Removed ``reactpy.utils.vdom_to_html``. Use ``reactpy.utils.reactpy_to_string`` instead.
51
55
- :pull:`1113` - All backend related installation extras (such as ``pip install reactpy[starlette]``) have been removed.
52
56
- :pull:`1113` - Removed deprecated function ``module_from_template``.
0 commit comments