Skip to content

Commit b1b4985

Browse files
committed
reorganize changelog
1 parent fb03ab6 commit b1b4985

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

docs/source/about/changelog.rst

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,44 +17,46 @@ Unreleased
1717

1818
**Added**
1919

20+
- :pull:`1113` - Added support for Python 3.12 and 3.13.
21+
- :pull:`1281` - Added type hints to ``reactpy.html`` attributes.
22+
- :pull:`1285` - Added support for nested components in web modules
23+
- :pull:`1289` - Added support for inline JavaScript as event handlers or other attributes that expect a callable via ``reactpy.types.InlineJavaScript``
24+
- :pull:`1308` - Event functions can now call ``event.preventDefault()`` and ``event.stopPropagation()`` methods directly on the event data object, rather than using the ``@event`` decorator.
25+
- :pull:`1308` - Event data now supports accessing properties via dot notation (ex. ``event.target.value``).
26+
- :pull:`1308` - Added ``reactpy.types.Event`` to provide type hints for the standard ``data`` function argument (for example ``def on_click(event: Event): ...``).
27+
- :pull:`1113` - Added ``asgi`` and ``jinja`` installation extras (for example ``pip install reactpy[asgi, jinja]``).
28+
- :pull:`1267` - Added ``shutdown_timeout`` parameter to the ``reactpy.use_async_effect`` hook.
2029
- :pull:`1113` - Added ``reactpy.executors.asgi.ReactPy`` that can be used to run ReactPy in standalone mode via ASGI.
2130
- :pull:`1269` - Added ``reactpy.executors.asgi.ReactPyCsr`` that can be used to run ReactPy in standalone mode via ASGI, but rendered entirely client-sided.
2231
- :pull:`1113` - Added ``reactpy.executors.asgi.ReactPyMiddleware`` that can be used to utilize ReactPy within any ASGI compatible framework.
2332
- :pull:`1269` - Added ``reactpy.templatetags.ReactPyJinja`` that can be used alongside ``ReactPyMiddleware`` to embed several ReactPy components into your existing application. This includes the following template tags: ``{% component %}``, ``{% pyscript_component %}``, and ``{% pyscript_setup %}``.
2433
- :pull:`1269` - Added ``reactpy.pyscript_component`` that can be used to embed ReactPy components into your existing application.
25-
- :pull:`1113` - Added ``asgi`` and ``jinja`` installation extras (for example ``pip install reactpy[asgi, jinja]``).
26-
- :pull:`1113` - Added support for Python 3.12 and 3.13.
2734
- :pull:`1264` - Added ``reactpy.use_async_effect`` hook.
28-
- :pull:`1267` - Added ``shutdown_timeout`` parameter to the ``reactpy.use_async_effect`` hook.
29-
- :pull:`1281` - ``reactpy.html`` will now automatically flatten lists recursively (ex. ``reactpy.html(["child1", ["child2"]])``)
3035
- :pull:`1281` - Added ``reactpy.Vdom`` primitive interface for creating VDOM dictionaries.
31-
- :pull:`1281` - Added type hints to ``reactpy.html`` attributes.
32-
- :pull:`1285` - Added support for nested components in web modules
33-
- :pull:`1289` - Added support for inline JavaScript as event handlers or other attributes that expect a callable via ``reactpy.types.InlineJavaScript``
3436
- :pull:`1307` - Added ``reactpy.web.reactjs_component_from_file`` to import ReactJS components from a file.
3537
- :pull:`1307` - Added ``reactpy.web.reactjs_component_from_url`` to import ReactJS components from a URL.
3638
- :pull:`1307` - Added ``reactpy.web.reactjs_component_from_string`` to import ReactJS components from a string.
37-
- :pull:`1308` - Event functions can now call ``event.preventDefault()`` and ``event.stopPropagation()`` methods directly on the event data object, rather than using the ``@event`` decorator.
38-
- :pull:`1308` - Event data now supports accessing properties via dot notation (ex. ``event.target.value``).
39+
3940

4041
**Changed**
4142

4243
- :pull:`1251` - Substitute client-side usage of ``react`` with ``preact``.
43-
- :pull:`1239` - Script elements no longer support behaving like effects. They now strictly behave like plain HTML script elements.
44+
- :pull:`1239` - Script elements no longer support behaving like effects. They now strictly behave like plain HTML scripts.
4445
- :pull:`1255` - The ``reactpy.html`` module has been modified to allow for auto-creation of any HTML nodes. For example, you can create a ``<data-table>`` element by calling ``html.data_table()``.
4546
- :pull:`1256` - Change ``set_state`` comparison method to check equality with ``==`` more consistently.
4647
- :pull:`1257` - Add support for rendering ``@component`` children within ``vdom_to_html``.
4748
- :pull:`1113` - Renamed the ``use_location`` hook's ``search`` attribute to ``query_string``.
4849
- :pull:`1113` - Renamed the ``use_location`` hook's ``pathname`` attribute to ``path``.
4950
- :pull:`1113` - Renamed ``reactpy.config.REACTPY_DEBUG_MODE`` to ``reactpy.config.REACTPY_DEBUG``.
50-
- :pull:`1113` - ``@reactpy/client`` now exports ``React`` and ``ReactDOM``.
5151
- :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.
52+
- :pull:`1196` - Rewrite the ``event-to-object`` package to be more robust at handling properties on events.
53+
- :pull:`1113` - ``@reactpy/client`` now exports ``React`` and ``ReactDOM``.
54+
- :pull:`1281` - ``reactpy.html`` will now automatically flatten lists recursively (ex. ``reactpy.html(["child1", ["child2"]])``)
5255
- :pull:`1278` - ``reactpy.utils.reactpy_to_string`` will now retain the user's original casing for ``data-*`` and ``aria-*`` attributes.
5356
- :pull:`1278` - ``reactpy.utils.string_to_reactpy`` has been upgraded to handle more complex scenarios without causing ReactJS rendering errors.
5457
- :pull:`1281` - ``reactpy.core.vdom._CustomVdomDictConstructor`` has been moved to ``reactpy.types.CustomVdomConstructor``.
5558
- :pull:`1281` - ``reactpy.core.vdom._EllipsisRepr`` has been moved to ``reactpy.types.EllipsisRepr``.
5659
- :pull:`1281` - ``reactpy.types.VdomDictConstructor`` has been renamed to ``reactpy.types.VdomConstructor``.
57-
- :pull:`1196` - Rewrite the ``event-to-object`` package to be more robust at handling properties on events.
5860

5961
**Deprecated**
6062

@@ -63,10 +65,15 @@ Unreleased
6365
-:pull:`1307` - ``reactpy.web.module_from_url`` is deprecated. Use ``reactpy.web.reactjs_component_from_url`` instead.
6466
-:pull:`1307` - ``reactpy.web.module_from_string`` is deprecated. Use ``reactpy.web.reactjs_component_from_string`` instead.
6567

66-
6768
**Removed**
6869

6970
- :pull:`1255` - Removed the ability to import ``reactpy.html.*`` elements directly. You must now call ``html.*`` to access the elements.
71+
- :pull:`1113` - Removed backend specific installation extras (such as ``pip install reactpy[starlette]``).
72+
- :pull:`1113` - Removed support for Python 3.9.
73+
- :pull:`1264` - Removed support for async functions within ``reactpy.use_effect`` hook. Use ``reactpy.use_async_effect`` instead.
74+
- :pull:`1113` - Removed deprecated function ``module_from_template``.
75+
- :pull:`1311` - Removed deprecated exception type ``reactpy.core.serve.Stop``.
76+
- :pull:`1311` - Removed deprecated component ``reactpy.widgets.hotswap``.
7077
- :pull:`1255` - Removed ``reactpy.sample`` module.
7178
- :pull:`1255` - Removed ``reactpy.svg`` module. Contents previously within ``reactpy.svg.*`` can now be accessed via ``html.svg.*``.
7279
- :pull:`1255` - Removed ``reactpy.html._`` function. Use ``html.fragment`` instead.
@@ -75,24 +82,18 @@ Unreleased
7582
- :pull:`1113` - Removed ``reactpy.core.types`` module. Use ``reactpy.types`` instead.
7683
- :pull:`1278` - Removed ``reactpy.utils.html_to_vdom``. Use ``reactpy.utils.string_to_reactpy`` instead.
7784
- :pull:`1278` - Removed ``reactpy.utils.vdom_to_html``. Use ``reactpy.utils.reactpy_to_string`` instead.
78-
- :pull:`1113` - Removed backend specific installation extras (such as ``pip install reactpy[starlette]``).
79-
- :pull:`1113` - Removed deprecated function ``module_from_template``.
80-
- :pull:`1113` - Removed support for Python 3.9.
81-
- :pull:`1264` - Removed support for async functions within ``reactpy.use_effect`` hook. Use ``reactpy.use_async_effect`` instead.
8285
- :pull:`1281` - Removed ``reactpy.vdom``. Use ``reactpy.Vdom`` instead.
8386
- :pull:`1281` - Removed ``reactpy.core.make_vdom_constructor``. Use ``reactpy.Vdom`` instead.
8487
- :pull:`1281` - Removed ``reactpy.core.custom_vdom_constructor``. Use ``reactpy.Vdom`` instead.
85-
- :pull:`1311` - Removed ``reactpy.core.serve.Stop`` type due to extended deprecation.
8688
- :pull:`1311` - Removed ``reactpy.Layout`` top-level export. Use ``reactpy.core.layout.Layout`` instead.
87-
- :pull:`1311` - Removed ``reactpy.widgets.hotswap`` due to extended deprecation.
88-
8989

9090
**Fixed**
9191

9292
- :pull:`1239` - Fixed a bug where script elements would not render to the DOM as plain text.
9393
- :pull:`1271` - Fixed a bug where the ``key`` property provided within server-side ReactPy code was failing to propagate to the front-end JavaScript components.
9494
- :pull:`1254` - Fixed a bug where ``RuntimeError("Hook stack is in an invalid state")`` errors could be generated when using a webserver that reuses threads.
9595

96+
9697
v1.1.0
9798
------
9899
:octicon:`milestone` *released on 2024-11-24*
@@ -102,7 +103,7 @@ v1.1.0
102103
- :pull:`1118` - ``module_from_template`` is broken with a recent release of ``requests``
103104
- :pull:`1131` - ``module_from_template`` did not work when using Flask backend
104105
- :pull:`1200` - Fixed ``UnicodeDecodeError`` when using ``reactpy.web.export``
105-
- :pull:`1224` - Fixes needless unmounting of JavaScript components during each ReactPy render.
106+
- :pull:`1224` - Fixed needless unmounting of JavaScript components during each ReactPy render.
106107
- :pull:`1126` - Fixed missing ``event["target"]["checked"]`` on checkbox inputs
107108
- :pull:`1191` - Fixed missing static files on `sdist` Python distribution
108109

0 commit comments

Comments
 (0)