diff --git a/packages/vite/CHANGELOG.md b/packages/vite/CHANGELOG.md
index 1e4bf794f568c8..d20a05603e20a1 100644
--- a/packages/vite/CHANGELOG.md
+++ b/packages/vite/CHANGELOG.md
@@ -1,3 +1,9 @@
+## 3.1.7 (2022-10-10)
+
+* fix(ssr): track var as function scope (#10397) ([a5143e9](https://github.com/vitejs/vite/commit/a5143e9)), closes [#10397](https://github.com/vitejs/vite/issues/10397) [#10388](https://github.com/vitejs/vite/issues/10388)
+
+
+
## 3.1.6 (2022-10-06)
* fix(config): don't resolve by module field (#10347) (#10360) ([f756e84](https://github.com/vitejs/vite/commit/f756e84)), closes [#10347](https://github.com/vitejs/vite/issues/10347) [#10360](https://github.com/vitejs/vite/issues/10360) [#10347](https://github.com/vitejs/vite/issues/10347)
diff --git a/packages/vite/package.json b/packages/vite/package.json
index 794463a5c98f72..e2384319dc8efd 100644
--- a/packages/vite/package.json
+++ b/packages/vite/package.json
@@ -1,6 +1,6 @@
{
"name": "vite",
- "version": "3.1.6",
+ "version": "3.1.7",
"type": "module",
"license": "MIT",
"author": "Evan You",