Skip to content

Commit b2ed9b4

Browse files
authored
0822dev (#6005)
1 parent a20f0bf commit b2ed9b4

File tree

8 files changed

+89
-79
lines changed

8 files changed

+89
-79
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": "d77bfffa92eeab90ceb57c57245cf393",
42+
"reflex/components/lucide/icon.pyi": "987866ee6f629249cae85547a4e00151",
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "reflex"
3-
version = "0.8.21dev1"
3+
version = "0.8.22dev1"
44
description = "Web apps in pure Python."
55
license.text = "Apache-2.0"
66
authors = [

reflex/compiler/templates.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,9 @@ def vite_config_template(
581581
enableNativePlugin: false,
582582
hmr: {"true" if experimental_hmr else "false"},
583583
}},
584+
legacy: {{
585+
inconsistentCjsInterop: true,
586+
}},
584587
server: {{
585588
port: process.env.PORT,
586589
hmr: {"true" if hmr else "false"},

reflex/components/lucide/icon.py

Lines changed: 4 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.554.0"
9+
LUCIDE_LIBRARY = "lucide-react@0.555.0"
1010

1111

1212
class LucideIconComponent(Component):
@@ -823,6 +823,7 @@ def _get_imports(self):
823823
"folders",
824824
"footprints",
825825
"forklift",
826+
"form",
826827
"forward",
827828
"frame",
828829
"framer",
@@ -1751,6 +1752,8 @@ def _get_imports(self):
17511752
"warehouse",
17521753
"washing_machine",
17531754
"watch",
1755+
"waves_arrow_down",
1756+
"waves_arrow_up",
17541757
"waves_ladder",
17551758
"waves",
17561759
"waypoints",

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.4.1"
11+
library = "recharts@3.5.0"
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.4.1"
20+
library = "recharts@3.5.0"
2121

2222

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

reflex/constants/installer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ def DEPENDENCIES(cls) -> dict[str, str]:
143143
"postcss-import": "16.1.1",
144144
"@react-router/dev": _react_router_version,
145145
"@react-router/fs-routes": _react_router_version,
146-
"vite": "npm:rolldown-vite@7.1.18",
146+
"vite": "npm:rolldown-vite@7.2.8",
147147
}
148148
OVERRIDES = {
149149
# This should always match the `react` version in DEPENDENCIES for recharts compatibility.
150150
"react-is": _react_version,
151-
"cookie": "1.0.2",
152-
"vite": "npm:rolldown-vite@7.1.18",
151+
"cookie": "1.1.1",
152+
"vite": "npm:rolldown-vite@7.2.8",
153153
}

reflex/model.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@
1515
from reflex.utils.serializers import serializer
1616

1717
if TYPE_CHECKING:
18+
from typing import TypeVar
19+
1820
import sqlalchemy
1921
import sqlmodel
2022

2123
SQLModelOrSqlAlchemy = (
2224
type[sqlmodel.SQLModel] | type[sqlalchemy.orm.DeclarativeBase]
2325
)
2426

27+
SQLModelOrSqlAlchemyT = TypeVar("SQLModelOrSqlAlchemyT", bound=SQLModelOrSqlAlchemy)
28+
2529

2630
def _safe_db_url_for_logging(url: str) -> str:
2731
"""Remove username and password from the database URL for logging.
@@ -177,7 +181,7 @@ class ModelRegistry:
177181
_metadata: ClassVar[sqlalchemy.MetaData | None] = None
178182

179183
@classmethod
180-
def register(cls, model: SQLModelOrSqlAlchemy):
184+
def register(cls, model: SQLModelOrSqlAlchemyT) -> SQLModelOrSqlAlchemyT:
181185
"""Register a model. Can be used directly or as a decorator.
182186
183187
Args:

uv.lock

Lines changed: 70 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)