Skip to content

Commit 1b509c6

Browse files
authored
[ENG-5099] 0.7.4 version bumps (and nextjs downgrade) (#4986)
* Upgrade frontend dependencies axios -> 1.8.2 next -> 15.2.2 next-themes -> 0.4.6 plotly.js -> 3.0.1 react-dropzone -> 14.3.8 recharts -> 2.15.1 sonner -> 2.0.1 autoprefixer -> 10.4.21 postcss -> 8.5.3 * bump plotly to 6.0 (<7) * Downgrade next to 15.0.4 to workaround turbopack issue Due to the following issue, hot reload after adding new pages to the app results in existing pages no longer rendering properly vercel/next.js#77218
1 parent d57f881 commit 1b509c6

File tree

7 files changed

+157
-157
lines changed

7 files changed

+157
-157
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ dev = [
145145
"pandas >=2.1.1,<3.0",
146146
"pillow >=10.0.0,<12.0",
147147
"playwright >=1.46.0",
148-
"plotly >=5.13.0,<6.0",
148+
"plotly >=5.13.0,<7.0",
149149
"pre-commit >=4.1.0,<5.0",
150150
"psycopg[binary] >=3.2.6,<4.0",
151151
"pyright >=1.1.396,<1.2",

reflex/components/core/upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class GhostUpload(Fragment):
190190
class Upload(MemoizationLeaf):
191191
"""A file upload component."""
192192

193-
library = "[email protected].5"
193+
library = "[email protected].8"
194194

195195
tag = ""
196196

reflex/components/plotly/plotly.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Plotly(NoSSRComponent):
7171

7272
library = "[email protected]"
7373

74-
lib_dependencies: list[str] = ["plotly.js@2.35.3"]
74+
lib_dependencies: list[str] = ["plotly.js@3.0.1"]
7575

7676
tag = "Plot"
7777

@@ -289,7 +289,7 @@ class PlotlyBasic(Plotly):
289289

290290
library = "[email protected]"
291291

292-
lib_dependencies: list[str] = ["[email protected].0"]
292+
lib_dependencies: list[str] = ["[email protected].1"]
293293

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

316316
library = "[email protected]"
317317

318-
lib_dependencies: list[str] = ["[email protected].0"]
318+
lib_dependencies: list[str] = ["[email protected].1"]
319319

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

342342
library = "[email protected]"
343343

344-
lib_dependencies: list[str] = ["[email protected].0"]
344+
lib_dependencies: list[str] = ["[email protected].1"]
345345

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

368368
library = "[email protected]"
369369

370-
lib_dependencies: list[str] = ["[email protected].0"]
370+
lib_dependencies: list[str] = ["[email protected].1"]
371371

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

394394
library = "[email protected]"
395395

396-
lib_dependencies: list[str] = ["[email protected].0"]
396+
lib_dependencies: list[str] = ["[email protected].1"]
397397

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

420420
library = "[email protected]"
421421

422-
lib_dependencies: list[str] = ["[email protected].0"]
422+
lib_dependencies: list[str] = ["[email protected].1"]
423423

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

446446
library = "[email protected]"
447447

448-
lib_dependencies: list[str] = ["[email protected].0"]
448+
lib_dependencies: list[str] = ["[email protected].1"]
449449

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

472472
library = "[email protected]"
473473

474-
lib_dependencies: list[str] = ["[email protected].0"]
474+
lib_dependencies: list[str] = ["[email protected].1"]
475475

476476
def add_imports(self) -> ImportDict | list[ImportDict]:
477477
"""Add imports for the plotly strict component.

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 = "[email protected].0"
11+
library = "[email protected].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 = "[email protected].0"
20+
library = "[email protected].1"
2121

2222

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

reflex/components/sonner/toast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def dict(self, *args: Any, **kwargs: Any) -> dict[str, Any]:
172172
class Toaster(Component):
173173
"""A Toaster Component for displaying toast notifications."""
174174

175-
library: str | None = "sonner@1.7.2"
175+
library: str | None = "sonner@2.0.1"
176176

177177
tag = "Toaster"
178178

reflex/constants/installer.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,20 @@ class Commands(SimpleNamespace):
8282

8383
DEPENDENCIES = {
8484
"@emotion/react": "11.14.0",
85-
"axios": "1.7.9",
85+
"axios": "1.8.3",
8686
"json5": "2.2.3",
87-
"next": "15.1.7",
87+
"next": "15.0.4",
8888
"next-sitemap": "4.2.3",
89-
"next-themes": "0.4.4",
89+
"next-themes": "0.4.6",
9090
"react": "19.0.0",
9191
"react-dom": "19.0.0",
9292
"react-focus-lock": "2.13.6",
9393
"socket.io-client": "4.8.1",
9494
"universal-cookie": "7.2.2",
9595
}
9696
DEV_DEPENDENCIES = {
97-
"autoprefixer": "10.4.20",
98-
"postcss": "8.5.1",
97+
"autoprefixer": "10.4.21",
98+
"postcss": "8.5.3",
9999
"postcss-import": "16.1.0",
100100
}
101101
OVERRIDES = {

0 commit comments

Comments
 (0)