Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ tasks:

bump-patch:
cmds:
- uv run hatch version patch
- uvx hatch version patch
- uv lock

bump-minor:
cmds:
- uv run hatch version minor
- uvx hatch version minor
- uv lock

bump-major:
cmds:
- uv run hatch version major
- uvx hatch version major
- uv lock

publish:
Expand Down
2 changes: 1 addition & 1 deletion clerk_api_demo/clerk_api_demo/clerk_api_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def demo_page_header_and_description() -> rx.Component:
rx.code("async/await"),
" for all requests to the Clerk backend",
),
rx.list_item("supports reflex 0.7.x"),
rx.list_item("supports reflex 0.8.x"),
rx.list_item(
"adds a helper for handling ",
rx.code("on_load"),
Expand Down
2 changes: 1 addition & 1 deletion custom_components/reflex_clerk_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0.2"
__version__ = "1.1.0"

from .authentication_components import sign_in, sign_up
from .clerk_provider import (
Expand Down
4 changes: 2 additions & 2 deletions custom_components/reflex_clerk_api/pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def add_sign_in_page(
),
publishable_key=publishable_key,
)
app.add_page(sign_in_page, route=route + "/[[...signin]]")
app.add_page(sign_in_page, route=route + "/[[...splat]]")


def add_sign_up_page(
Expand All @@ -52,4 +52,4 @@ def add_sign_up_page(
),
publishable_key=publishable_key,
)
app.add_page(sign_up_page, route=route + "/[[...signup]]")
app.add_page(sign_up_page, route=route + "/[[...splat]]")
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dynamic = ["version"]
dependencies = [
"authlib>=1.5.1,<2.0.0",
"clerk-backend-api>=2.0.0,<3.0.0",
"reflex>=0.7.5",
"reflex>=0.8.0",
]

classifiers = [
Expand Down Expand Up @@ -70,6 +70,8 @@ dev = [
"pytest-pretty>=1.2.0",
"ruff>=0.9.10",
"semver>=3.0.4",
"reflex==0.7.5", # https://github.com/reflex-dev/reflex/issues/5114 -- Pinned until this is fixed
"reflex>=0.8.0",
"hatchling>=1.27.0",
"uvicorn>=0.38.0",
"psutil>=7.0.0",
]
9 changes: 6 additions & 3 deletions tests/test_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,12 @@ def test_render(page: Page):
I.e. Check components are visible.
"""
page.pause()
expect(page.locator('[id="__next"]')).to_contain_text("reflex-clerk-api demo")
expect(page.locator('[id="__next"]')).to_contain_text("Getting Started")
expect(page.locator('[id="__next"]')).to_contain_text("Demos")
expect(page.get_by_role("heading", name="reflex-clerk-api demo")).to_contain_text(
"reflex-clerk-api demo"
)
expect(page.get_by_role("heading", name="Getting Started")).to_contain_text(
"Getting Started"
)

expect(page.get_by_test_id("clerkstate_variables_and_methods")).to_be_visible()
expect(page.get_by_test_id("clerk_loaded_and_signed_in_out_areas")).to_be_visible()
Expand Down
333 changes: 109 additions & 224 deletions uv.lock

Large diffs are not rendered by default.

Loading