Skip to content
Merged

087dev #5704

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
2 changes: 1 addition & 1 deletion pyi_hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"reflex/components/el/elements/tables.pyi": "e3f299e59bb8ff87aa949c6b606551c9",
"reflex/components/el/elements/typography.pyi": "b4ec4ffb448f7a9b5f94712404448d9e",
"reflex/components/gridjs/datatable.pyi": "98a7e1b3f3b60cafcdfcd8879750ee42",
"reflex/components/lucide/icon.pyi": "eb7929c0d708ddbbe8ed4849cd4aa5ce",
"reflex/components/lucide/icon.pyi": "020db5c37c5a6bee5912532a89d6deda",
"reflex/components/markdown/markdown.pyi": "2f84254a548e908020949564fc289339",
"reflex/components/moment/moment.pyi": "93fa4c6009390fe9400197ab52735b84",
"reflex/components/plotly/plotly.pyi": "4311a0aae2abcc9226abb6a273f96372",
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "reflex"
version = "0.8.6dev1"
version = "0.8.7dev1"
description = "Web apps in pure Python."
license.text = "Apache-2.0"
authors = [
Expand Down Expand Up @@ -32,7 +32,7 @@ dependencies = [
"python-multipart >=0.0.20,<1.0",
"python-socketio >=5.12.0,<6.0",
"redis >=5.2.1,<7.0",
"reflex-hosting-cli >=0.1.53",
"reflex-hosting-cli >=0.1.54",
"rich >=13,<15",
"sqlmodel >=0.0.24,<0.1",
"starlette >=0.47.0",
Expand Down Expand Up @@ -233,7 +233,7 @@ fail_fast = true

[[tool.pre-commit.repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.12.7"
rev = "v0.12.8"
hooks = [
{ id = "ruff-format", args = [
"reflex",
Expand Down
3 changes: 3 additions & 0 deletions reflex/.templates/jinja/web/vite.config.js.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ export default defineConfig((config) => ({
},
},
},
experimental: {
enableNativePlugin: false,
},
server: {
port: process.env.PORT,
watch: {
Expand Down
5 changes: 4 additions & 1 deletion reflex/components/lucide/icon.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from reflex.vars.base import LiteralVar, Var
from reflex.vars.sequence import LiteralStringVar, StringVar

LUCIDE_LIBRARY = "lucide-react@0.536.0"
LUCIDE_LIBRARY = "lucide-react@0.539.0"


class LucideIconComponent(Component):
Expand Down Expand Up @@ -343,6 +343,7 @@ def _get_imports(self):
"brain_cog",
"brain",
"brick_wall_fire",
"brick_wall_shield",
"brick_wall",
"briefcase_business",
"briefcase_conveyor_belt",
Expand Down Expand Up @@ -494,6 +495,7 @@ def _get_imports(self):
"circle_slash_2",
"circle_slash",
"circle_small",
"circle_star",
"circle_stop",
"circle_user_round",
"circle_user",
Expand Down Expand Up @@ -950,6 +952,7 @@ def _get_imports(self):
"japanese_yen",
"joystick",
"kanban",
"kayak",
"key_round",
"key_square",
"key",
Expand Down
18 changes: 9 additions & 9 deletions reflex/components/plotly/plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Plotly(NoSSRComponent):

library = "react-plotly.js@2.6.0"

lib_dependencies: list[str] = ["plotly.js@3.0.3"]
lib_dependencies: list[str] = ["plotly.js@3.1.0"]

tag = "Plot"

Expand Down Expand Up @@ -303,7 +303,7 @@ class PlotlyBasic(Plotly):

library = "react-plotly.js@2.6.0"

lib_dependencies: list[str] = ["plotly.js-basic-dist-min@3.0.3"]
lib_dependencies: list[str] = ["plotly.js-basic-dist-min@3.1.0"]

def add_imports(self) -> ImportDict | list[ImportDict]:
"""Add imports for the plotly basic component.
Expand All @@ -329,7 +329,7 @@ class PlotlyCartesian(Plotly):

library = "react-plotly.js@2.6.0"

lib_dependencies: list[str] = ["plotly.js-cartesian-dist-min@3.0.3"]
lib_dependencies: list[str] = ["plotly.js-cartesian-dist-min@3.1.0"]

def add_imports(self) -> ImportDict | list[ImportDict]:
"""Add imports for the plotly cartesian component.
Expand All @@ -355,7 +355,7 @@ class PlotlyGeo(Plotly):

library = "react-plotly.js@2.6.0"

lib_dependencies: list[str] = ["plotly.js-geo-dist-min@3.0.3"]
lib_dependencies: list[str] = ["plotly.js-geo-dist-min@3.1.0"]

def add_imports(self) -> ImportDict | list[ImportDict]:
"""Add imports for the plotly geo component.
Expand All @@ -381,7 +381,7 @@ class PlotlyGl3d(Plotly):

library = "react-plotly.js@2.6.0"

lib_dependencies: list[str] = ["plotly.js-gl3d-dist-min@3.0.3"]
lib_dependencies: list[str] = ["plotly.js-gl3d-dist-min@3.1.0"]

def add_imports(self) -> ImportDict | list[ImportDict]:
"""Add imports for the plotly 3d component.
Expand All @@ -407,7 +407,7 @@ class PlotlyGl2d(Plotly):

library = "react-plotly.js@2.6.0"

lib_dependencies: list[str] = ["plotly.js-gl2d-dist-min@3.0.3"]
lib_dependencies: list[str] = ["plotly.js-gl2d-dist-min@3.1.0"]

def add_imports(self) -> ImportDict | list[ImportDict]:
"""Add imports for the plotly 2d component.
Expand All @@ -433,7 +433,7 @@ class PlotlyMapbox(Plotly):

library = "react-plotly.js@2.6.0"

lib_dependencies: list[str] = ["plotly.js-mapbox-dist-min@3.0.3"]
lib_dependencies: list[str] = ["plotly.js-mapbox-dist-min@3.1.0"]

def add_imports(self) -> ImportDict | list[ImportDict]:
"""Add imports for the plotly mapbox component.
Expand All @@ -459,7 +459,7 @@ class PlotlyFinance(Plotly):

library = "react-plotly.js@2.6.0"

lib_dependencies: list[str] = ["plotly.js-finance-dist-min@3.0.3"]
lib_dependencies: list[str] = ["plotly.js-finance-dist-min@3.1.0"]

def add_imports(self) -> ImportDict | list[ImportDict]:
"""Add imports for the plotly finance component.
Expand All @@ -485,7 +485,7 @@ class PlotlyStrict(Plotly):

library = "react-plotly.js@2.6.0"

lib_dependencies: list[str] = ["plotly.js-strict-dist-min@3.0.3"]
lib_dependencies: list[str] = ["plotly.js-strict-dist-min@3.1.0"]

def add_imports(self) -> ImportDict | list[ImportDict]:
"""Add imports for the plotly strict component.
Expand Down
4 changes: 2 additions & 2 deletions reflex/components/recharts/recharts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class Recharts(Component):
"""A component that wraps a recharts lib."""

library = "recharts@3.1.0"
library = "recharts@3.1.2"

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

library = "recharts@3.1.0"
library = "recharts@3.1.2"


LiteralAnimationEasing = Literal["ease", "ease-in", "ease-out", "ease-in-out", "linear"]
Expand Down
8 changes: 4 additions & 4 deletions reflex/constants/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Bun(SimpleNamespace):
"""Bun constants."""

# The Bun version.
VERSION = "1.2.19"
VERSION = "1.2.20"

# Min Bun Version
MIN_VERSION = "1.2.17"
Expand Down Expand Up @@ -75,7 +75,7 @@ class Node(SimpleNamespace):


def _determine_react_router_version() -> str:
default_version = "7.7.1"
default_version = "7.8.0"
if (version := os.getenv("REACT_ROUTER_VERSION")) and version != default_version:
from reflex.utils import console

Expand Down Expand Up @@ -143,11 +143,11 @@ def DEPENDENCIES(cls) -> dict[str, str]:
"postcss-import": "16.1.1",
"@react-router/dev": _react_router_version,
"@react-router/fs-routes": _react_router_version,
"vite": "npm:rolldown-vite@7.0.12",
"vite": "npm:rolldown-vite@7.1.2",
}
OVERRIDES = {
# This should always match the `react` version in DEPENDENCIES for recharts compatibility.
"react-is": _react_version,
"cookie": "1.0.2",
"vite": "npm:rolldown-vite@7.0.12",
"vite": "npm:rolldown-vite@7.1.2",
}
Loading
Loading