Skip to content

Conversation

@TimChild
Copy link
Owner

This PR updates the project to support reflex >0.8.0 with necessary compatibility changes:

  • Updated pyproject.toml to require reflex >0.8.0
  • Updated demo and test files for compatibility
  • Updated lock file with new dependencies
  • Made necessary code adjustments for new reflex version

This builds on the recently merged PR #16 that fixed the EventLoop import issues.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project to support reflex version 0.8.0 and above, making necessary compatibility adjustments across dependency declarations, routing conventions, test selectors, and build tooling.

Key changes:

  • Updated reflex dependency from >=0.7.5 (previously pinned at ==0.7.5) to >=0.8.0
  • Migrated catch-all route parameters from custom names to the standardized [[...splat]] convention
  • Updated test selectors from ID-based to semantic role-based queries for better resilience

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pyproject.toml Updated reflex dependency constraint to >=0.8.0 and added new dev dependencies (uvicorn, psutil)
uv.lock Updated lock file with new dependency versions including reflex 0.8.20, granian 2.6.0, click 8.3.1, starlette 0.50.0, and removed obsolete dependencies (fastapi, gunicorn, distro, etc.)
custom_components/reflex_clerk_api/pages.py Changed catch-all route parameters from [[...signin]] and [[...signup]] to [[...splat]] to align with reflex 0.8.x conventions
custom_components/reflex_clerk_api/init.py Bumped package version from 1.0.2 to 1.1.0
tests/test_demo.py Updated test selectors from ID-based locators to semantic role-based selectors and removed assertion for "Demos" text
clerk_api_demo/clerk_api_demo/clerk_api_demo.py Updated documentation string from "supports reflex 0.7.x" to "supports reflex 0.8.x"
Taskfile.yml Changed version bump commands from uv run hatch to uvx hatch for cleaner tool invocation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TimChild TimChild merged commit cc75c3f into main Nov 21, 2025
15 of 19 checks passed
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.

2 participants