# esbuild/release
esbuild v0.28.1
importance: highfeaturesecurity
This release addresses a security vulnerability in esbuild's local development server on Windows, adds integrity checks to the Deno API, and fixes several bugs related to module evaluation, the `new` operator, and variable renaming.
affected
Users of esbuild's local development server on Windows and those using the Deno API are directly affected by the security fixes.
action
Update to version 0.28.1 to benefit from security fixes and bug improvements.
release_signals
!Disallowed `\` in local development server HTTP requests to prevent directory traversal on Windows (GHSA-g7r4-m6w7-qqqr)
!Added integrity checks to esbuild's Deno API to ensure downloaded binaries match expected content (GHSA-gv7w-rqvm-qjhr)
+Added integrity checks to esbuild's Deno install script
+Fixed module evaluation when an error is thrown
+Fixed edge cases around the `new` operator
+Fixed renaming of nested `var` declarations
+Emit `var` instead of `const` for certain TypeScript-only constructs for ES5
code_snippet
```js
// Original code
new (foo()`bar`)()
new (foo()?.bar)()
// Old output
new foo()`bar`();
new (foo())?.bar();
// New output
new (foo())`bar`();
new (foo()?.bar)();
```# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.