Skip to content

Commit f3643d8

Browse files
committed
chore: update changelog
1 parent 17c62b8 commit f3643d8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

packages/vite/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# [2.4.0-beta.0](https://github.com/vitejs/vite/compare/v2.3.8...v2.4.0-beta.0) (2021-06-27)
22

3+
### BREAKING CHANGES
4+
5+
- **server:** `server.fsServe` renamed to `server.fs` ([#3965](https://github.com/vitejs/vite/pull/3965))
6+
- **server:** `server.fs.root` deprecated in favor of `server.fs.allow` ([#3968](https://github.com/vitejs/vite/pull/3968))
7+
8+
### Security
9+
10+
We have improved the file serving boundaries detection with ([#3784](https://github.com/vitejs/vite/issues/3784)). While it's still experimental and **disabled by default**, you can opt-in it by
11+
12+
```js
13+
// vite.config.js
14+
export default {
15+
server: {
16+
fs: {
17+
strict: true
18+
}
19+
}
20+
}
21+
```
22+
23+
It should smartly serve the files related to your project (directly imported, linked deps, etc.) while denying the rest. If you find any false-negative, please [open an issue](https://github.com/vitejs/vite/issues/new?assignees=&labels=pending+triage&template=bug_report.yml) with reproduction to report.
324

425
### Bug Fixes
526

0 commit comments

Comments
 (0)