Skip to content

Commit 025a4c2

Browse files
chore: release (#268)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a816df1 commit 025a4c2

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

‎.changeset/vite8-envfile-deprecation.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎packages/react-router-devtools/CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# react-router-devtools
22

3+
## 6.2.3
4+
5+
### Patch Changes
6+
7+
- a816df1: Stop emitting the `envFile` deprecation warning on Vite 8.
8+
9+
The internal vite-node server passes `envFile: false` to `createServer`, which Vite 8 deprecated in favour of `envDir: false`. Every Vite 8 consumer therefore saw `The 'envFile' option is deprecated, please use 'envDir: false' instead.` on startup, because the warning is emitted from a top-level `createServer` call that no user config can reach. The key is now chosen from the installed Vite major, so Vite 8 gets `envDir: false` while the existing `>=5` peers keep `envFile: false`.
10+
311
## 6.2.2
412

513
### Patch Changes

‎packages/react-router-devtools/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-router-devtools",
33
"description": "Devtools for React Router - debug, trace, find hydration errors, catch bugs and inspect server/client data with react-router-devtools",
44
"author": "Alem Tuzlak",
5-
"version": "6.2.2",
5+
"version": "6.2.3",
66
"license": "MIT",
77
"keywords": [
88
"react-router",

‎test-apps/react-router-vite/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@types/react": "^19.2.2",
2424
"@types/react-dom": "^19.2.2",
2525
"eslint": "^9.19.0",
26-
"react-router-devtools": "^6.2.2",
26+
"react-router-devtools": "^6.2.3",
2727
"typescript": "^5.9.3",
2828
"vite": "^7.2.2",
2929
"vite-plugin-inspect": "^10.1.0",

0 commit comments

Comments
 (0)