Skip to content

Commit e842f4d

Browse files
committed
Merge remote-tracking branch 'origin/main' into masenf/rehydrate-on-reconnect
2 parents 77c55bc + 81a1b2f commit e842f4d

File tree

10 files changed

+468
-444
lines changed

10 files changed

+468
-444
lines changed

pyi_hashes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"reflex/components/el/elements/tables.pyi": "686eb70ea7d8c4dafb0cc5c284e76184",
4040
"reflex/components/el/elements/typography.pyi": "684e83dde887dba12badd0fb75c87c04",
4141
"reflex/components/gridjs/datatable.pyi": "98a7e1b3f3b60cafcdfcd8879750ee42",
42-
"reflex/components/lucide/icon.pyi": "6026aca0c03c3e6f423ac3d61db1f7b2",
42+
"reflex/components/lucide/icon.pyi": "4a3d1e9f1609f7655e1036545f40a35c",
4343
"reflex/components/markdown/markdown.pyi": "2f84254a548e908020949564fc289339",
4444
"reflex/components/moment/moment.pyi": "e1952f1c2c82cef85d91e970d1be64ab",
4545
"reflex/components/plotly/plotly.pyi": "4311a0aae2abcc9226abb6a273f96372",

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "reflex"
3-
version = "0.8.19dev1"
3+
version = "0.8.20dev1"
44
description = "Web apps in pure Python."
55
license.text = "Apache-2.0"
66
authors = [
@@ -31,7 +31,7 @@ dependencies = [
3131
"python-multipart >=0.0.20,<1.0",
3232
"python-socketio >=5.12.0,<6.0",
3333
"redis >=5.2.1,<8.0",
34-
"reflex-hosting-cli >=0.1.58",
34+
"reflex-hosting-cli >=0.1.59",
3535
"rich >=13,<15",
3636
"sqlmodel >=0.0.27,<0.1",
3737
"starlette >=0.47.0",
@@ -243,7 +243,7 @@ fail_fast = true
243243

244244
[[tool.pre-commit.repos]]
245245
repo = "https://github.com/astral-sh/ruff-pre-commit"
246-
rev = "v0.14.2"
246+
rev = "v0.14.4"
247247
hooks = [
248248
{ id = "ruff-format", args = [
249249
"reflex",

reflex/components/lucide/icon.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from reflex.vars.base import LiteralVar, Var
77
from reflex.vars.sequence import LiteralStringVar, StringVar
88

9-
LUCIDE_LIBRARY = "lucide-react@0.552.0"
9+
LUCIDE_LIBRARY = "lucide-react@0.553.0"
1010

1111

1212
class LucideIconComponent(Component):
@@ -438,6 +438,12 @@ def _get_imports(self):
438438
"check",
439439
"chef_hat",
440440
"cherry",
441+
"chess_bishop",
442+
"chess_king",
443+
"chess_knight",
444+
"chess_pawn",
445+
"chess_queen",
446+
"chess_rook",
441447
"chevron_down",
442448
"chevron_first",
443449
"chevron_last",
@@ -1139,6 +1145,7 @@ def _get_imports(self):
11391145
"mountain_snow",
11401146
"mountain",
11411147
"mouse_off",
1148+
"mouse_pointer_2_off",
11421149
"mouse_pointer_2",
11431150
"mouse_pointer_ban",
11441151
"mouse_pointer_click",

reflex/components/radix/primitives/progress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class ProgressComponent(RadixPrimitiveComponentWithClassName):
1616
"""A Progress component."""
1717

18-
library = "@radix-ui/[email protected].7"
18+
library = "@radix-ui/[email protected].8"
1919

2020

2121
class ProgressRoot(ProgressComponent):

reflex/components/recharts/recharts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class Recharts(Component):
99
"""A component that wraps a recharts lib."""
1010

11-
library = "recharts@3.3.0"
11+
library = "recharts@3.4.1"
1212

1313
def _get_style(self) -> dict:
1414
return {"wrapperStyle": self.style}
@@ -17,7 +17,7 @@ def _get_style(self) -> dict:
1717
class RechartsCharts(NoSSRComponent, MemoizationLeaf):
1818
"""A component that wraps a recharts lib."""
1919

20-
library = "recharts@3.3.0"
20+
library = "recharts@3.4.1"
2121

2222

2323
LiteralAnimationEasing = Literal["ease", "ease-in", "ease-out", "ease-in-out", "linear"]

reflex/constants/installer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Bun(SimpleNamespace):
1414
"""Bun constants."""
1515

1616
# The Bun version.
17-
VERSION = "1.3.1"
17+
VERSION = "1.3.2"
1818

1919
# Min Bun Version
2020
MIN_VERSION = "1.3.0"
@@ -138,7 +138,7 @@ def DEPENDENCIES(cls) -> dict[str, str]:
138138

139139
DEV_DEPENDENCIES = {
140140
"@emotion/react": "11.14.0",
141-
"autoprefixer": "10.4.21",
141+
"autoprefixer": "10.4.22",
142142
"postcss": "8.5.6",
143143
"postcss-import": "16.1.1",
144144
"@react-router/dev": _react_router_version,

reflex/plugins/tailwind_v4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Constants(SimpleNamespace):
1717
"""Tailwind constants."""
1818

1919
# The Tailwindcss version
20-
VERSION = "[email protected].16"
20+
VERSION = "[email protected].17"
2121
# The Tailwind config.
2222
CONFIG = "tailwind.config.js"
2323
# Default Tailwind content paths
@@ -156,7 +156,7 @@ def get_frontend_development_dependencies(self, **context) -> list[str]:
156156
return [
157157
*super().get_frontend_development_dependencies(**context),
158158
Constants.VERSION,
159-
"@tailwindcss/[email protected].16",
159+
"@tailwindcss/[email protected].17",
160160
]
161161

162162
def pre_compile(self, **context):

reflex/utils/console.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
from reflex.utils.decorator import once
2222

2323
# Console for pretty printing.
24-
_console = Console()
25-
_console_stderr = Console(stderr=True)
24+
_console = Console(highlight=False)
25+
_console_stderr = Console(stderr=True, highlight=False)
2626

2727
# The current log level.
2828
_LOG_LEVEL = LogLevel.INFO

tests/units/utils/test_tasks.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import asyncio
22
import contextlib
3+
import os
34
from unittest.mock import Mock
45

56
import pytest
67

78
from reflex.utils.tasks import ensure_task
89

10+
CI = bool(os.environ.get("CI", False))
11+
912

1013
class NotSuppressedError(Exception):
1114
"""An exception that should not be suppressed."""
@@ -72,13 +75,13 @@ async def faulty_coro(): # noqa: RUF029
7275

7376

7477
async def test_ensure_task_limit_window_passed():
75-
"""Test that ensure_task raises after exceeding exception limit within the limit window."""
78+
"""Test that ensure_task resets exception limit past the limit window."""
7679
call_count = 0
7780

7881
async def faulty_coro():
7982
nonlocal call_count
8083
call_count += 1
81-
await asyncio.sleep(0.05)
84+
await asyncio.sleep(0.5 if CI else 0.05)
8285
if call_count > 3:
8386
raise RuntimeError("Test Passed") # noqa: EM101
8487
raise ValueError("Should have been suppressed") # noqa: EM101
@@ -90,8 +93,8 @@ async def faulty_coro():
9093
coro_function=faulty_coro,
9194
suppress_exceptions=[ValueError],
9295
exception_delay=0,
93-
exception_limit=3,
94-
exception_limit_window=0.1,
96+
exception_limit=2,
97+
exception_limit_window=0.1 if CI else 0.01,
9598
)
9699

97100
with contextlib.suppress(asyncio.CancelledError), pytest.raises(RuntimeError):

0 commit comments

Comments
 (0)