## vitejs/vite — v8.2.0…v8.2.1

_30 commits._

### Fixes
- **fix(server): use a random port when port is 0 (#23158)** (fddf4ea)
- **fix(css): don't re-run lightningcss visitor during minify (fix #23146) (#23147)** (de041a7)
- **fix(build): make client chunkImportMap work with `sharedPlugins: true` (#23184)** (15f0307)
- **fix(bundled-dev): inject client script tag before chunk scripts (#23161)** (eac0cc8)
- **fix(deps): update all non-major dependencies (#23136)** (14454fd)
- **fix: don't mutate the user config when resolving the lib entry from the top-level `input` (#23135)** (b4bf596)
- **perf(css): look up pure CSS chunks through a Set (#23114)** (1331b0b)
- **fix: handle shebang ending with uncommon line terminators (#23038)** (17f7b2f)
- **fix(deps): update rolldown-related dependencies (#23070)** (7ac6f7f)

### Backend
- **release: v8.2.1** (4216158)
- **release: create-vite@9.1.2** (843a47d)

### Tests
- **test: poll after editFile in playground tests (#23186)** (1694482)
- **test(bundled-dev): enable sourcemap playgrounds (#23080)** (c2155fe)
- **test(bundled-dev): enable html playground (#23081)** (ad55e34)
- **test(bundled-dev): enable css playgrounds (#23079)** (5290aea)
- **test(bundled-dev): enable assets playgrounds (#23078)** (ff4ab6c)
- **test: fix flaky legacy watch failure by workaround (#23152)** (fe37d67)
- **test(bundled-dev): un-skip long-tail playground cases (#23082)** (278dc80)
- **test: reduce logs (#23138)** (7673c02)
- **test: add relative path in assetsInclude case (#22955)** (9cbeecb)

### Docs
- **docs(build): fix incomplete `@default` for build.minify (#23177)** (ef02435)
- **docs: fix broken links in Environment API pages (#23148)** (06cd77f)
- **docs(static-deploy): remove kinsta (#23142)** (89620f0)
- **docs: remove nonexistent `RemoteEnvironmentTransport` import in environment API example (#23127)** (40a3999)
- **docs: extract VersionsList component (#23085)** (e6b6b16)

### Chore
- **chore: remove outdated `minimumReleaseAgeExclude` configuration (#23174)** (d62b336)
- **refactor(bundled-dev): avoid injecting server values in the bundle (#22967)** (23b8a08)
- **refactor(bundled-dev): remove rolldown lazy stub module workaround (#23129)** (e72036e)
- **chore(deps): update dependency strip-literal to v4 (#23140)** (9db65ce)
- **chore(deps): update dependency rolldown-plugin-dts to ^0.28.0 (#23137)** (4adc1e7)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/vitejs/vite?utm_source=github-action)._