Skip to content

v6.0.0b1#296

Merged
Archmonger merged 3 commits into
mainfrom
6.0.0b1
Jul 14, 2026
Merged

v6.0.0b1#296
Archmonger merged 3 commits into
mainfrom
6.0.0b1

Conversation

@Archmonger

@Archmonger Archmonger commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

Beta version release

Added

  • Automatically serve ReactPy wheel from Django's static directory when using PyScript.

Changed

  • Updated dependencies: reactpy>=2.0.0, <3.0.0 and reactpy-router>=3.0.0, <4.0.0.
  • Updated Python support to 3.11–3.14.
  • Replaced PyScript <py-script> tags with standard <script type="py"> tags.
  • Updated the interface for reactpy.hooks.use_channel_layer to be more intuitive.
    • Arguments now must be provided as keyworded arguments.
    • The name argument has been renamed to channel.
    • 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.
  • 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.

Removed

  • 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.pyscript. Use reactpy.html.py_script instead.
  • Removed nest_asyncio dependency.

Fixed

  • Resolved bug where django_form events would sometimes not occur.

Checklist

Please update this checklist as you complete each item:

  • Tests have been developed for bug fixes or new functionality.
  • The changelog has been updated, if necessary.
  • Documentation has been updated, if necessary.
  • GitHub Issues closed by this PR have been linked.

By submitting this pull request I agree that all contributions comply with this project's open source license(s).

@Archmonger Archmonger requested a review from a team as a code owner July 14, 2026 21:50
@Archmonger Archmonger merged commit 35b702f into main Jul 14, 2026
23 checks passed
@Archmonger Archmonger deleted the 6.0.0b1 branch July 14, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant