Skip to content

chore(deps-dev): Bump vite from 5.4.21 to 8.1.5 - #138

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vite-8.0.16
Closed

chore(deps-dev): Bump vite from 5.4.21 to 8.1.5#138
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vite-8.0.16

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026

Copy link
Copy Markdown
Contributor

Bumps vite from 5.4.21 to 8.1.5.

Release notes

Sourced from vite's releases.

v8.1.5

Please refer to CHANGELOG.md for details.

v8.1.4

Please refer to CHANGELOG.md for details.

v8.1.3

Please refer to CHANGELOG.md for details.

v8.1.2

Please refer to CHANGELOG.md for details.

v8.1.1

Please refer to CHANGELOG.md for details.

create-vite@8.1.0

Please refer to CHANGELOG.md for details.

plugin-legacy@8.1.0

Please refer to CHANGELOG.md for details.

v8.1.0

Please refer to CHANGELOG.md for details.

plugin-legacy@8.1.0-beta.0

Please refer to CHANGELOG.md for details.

v8.1.0-beta.0

Please refer to CHANGELOG.md for details.

v8.0.16

Please refer to CHANGELOG.md for details.

v8.0.15

Please refer to CHANGELOG.md for details.

v8.0.14

Please refer to CHANGELOG.md for details.

v8.0.13

Please refer to CHANGELOG.md for details.

v8.0.12

Please refer to CHANGELOG.md for details.

v8.0.11

Please refer to CHANGELOG.md for details.

v8.0.10

Please refer to CHANGELOG.md for details.

... (truncated)

Changelog

Sourced from vite's changelog.

8.1.5 (2026-07-16)

Bug Fixes

  • bundled-dev: avoid duplicated buildEnd (#22931) (8100320)
  • client: overlay error message format align rolldown (#22869) (5a72b87)
  • deps: update all non-major dependencies (#22921) (fef682d)
  • deps: update rolldown-related dependencies (#22922) (3c345e4)
  • module-runner: don't crash stack-trace source mapping when globalThis.Buffer is absent (#22945) (f8b38e3)
  • optimizer: respect importer module format for dynamic import interop with CJS deps (#22951) (6c08c39)
  • ssr: scope switch-case declarations to the switch, not the function (#22893) (b59a73f)

Documentation

  • build: fix incorrect @default for build.cssMinify (#22948) (c88c236)
  • build: fix incorrect @default for build.lib.formats (#22911) (369ed60)

Tests

  • avoid scanner scanning all files under __tests__ (#22912) (c961cae)

8.1.4 (2026-07-09)

Features

Bug Fixes

  • build: add workaround for building on stackblitz (#22840) (575c32c)
  • build: keep import.meta.url in preload function as-is (#22839) (f1f90ed)
  • deps: update all non-major dependencies (#22865) (d4295a9)
  • deps: update rolldown-related dependencies (#22866) (7cf07e4)
  • html: avoid backtracking in import-only check (#22848) (b5868c0)
  • optimizer: avoid optimizer run for transform request before init (#22852) (72a5e21)
  • ssr: align named export function call stacktrace column with Node (#22829) (173a1b6)
  • strip pure CSS chunk imports when chunkImportMap is enabled (#22841) (648bd04)

Documentation

Miscellaneous Chores

  • deps: update dependency postcss-modules to v9 (#22867) (a9539d6)

Code Refactoring

Tests

... (truncated)

Commits
  • 5e7fe12 release: v8.1.5
  • 6c08c39 fix(optimizer): respect importer module format for dynamic import interop wit...
  • 5a72b87 fix(client): overlay error message format align rolldown (#22869)
  • f8b38e3 fix(module-runner): don't crash stack-trace source mapping when globalThis.Bu...
  • 8100320 fix(bundled-dev): avoid duplicated buildEnd (#22931)
  • c88c236 docs(build): fix incorrect @default for build.cssMinify (#22948)
  • b59a73f fix(ssr): scope switch-case declarations to the switch, not the function (#22...
  • fef682d fix(deps): update all non-major dependencies (#22921)
  • 3c345e4 fix(deps): update rolldown-related dependencies (#22922)
  • 369ed60 docs(build): fix incorrect @default for build.lib.formats (#22911)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 1, 2026
@oratis

oratis commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Tested vite@^8.0.16 against current main (Node 24, pnpm 9): the desktop vite build fails. vite 8 ships the new rolldown bundler, which errors:

[vite]: Rolldown failed to resolve import "openai" from packages/core/dist/providers/deepseek.js  (build.rolldownOptions.external)

Our current vite 5 config handles openai/node built-ins differently; rolldown needs an explicit build.rolldownOptions.external. Deferring until the vite config is migrated to rolldown (externalize openai + node built-ins, re-verify the preview*.html prod-exclusion, and a manual tauri dev runtime check in the WebKit webview). Not a clean auto-merge.

@oratis

oratis commented Aug 2, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.21 to 8.1.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.1.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.0.16
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps-dev): Bump vite from 5.4.21 to 8.0.16 chore(deps-dev): Bump vite from 5.4.21 to 8.1.5 Aug 2, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vite-8.0.16 branch from 976cf71 to b6a3c7b Compare August 2, 2026 06:54
@oratis

oratis commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Review: superseded by #212 — and the original blocker is genuinely gone

This was correctly deferred in June: vite 8 swaps in the rolldown bundler and vite build failed with

Rolldown failed to resolve import "openai"

traced to core/dist/providers/deepseek.js being pulled into the renderer graph. The fix at the time would have been a build.rolldownOptions.external migration plus Tauri runtime verification — real risk, correctly parked.

That blocker no longer exists. #192 split dependency-free model metadata out of the provider implementation specifically so provider and OpenAI SDK code stay out of renderer bundles. The import rolldown couldn't resolve simply isn't in the renderer graph anymore. I re-tested and the build is clean with no rolldownOptions work at all — a nice second-order payoff from the thin-client migration in #180#210.

#212 lands this together with #139 (they're coupled — plugin-react 6 requires vite 7+), plus __dirnameimport.meta.dirname in vite.config.ts to clear vite 8's configLoader: 'native' deprecation warning.

Verified beyond vite build: the full build:tauri-assets pipeline (a bundler swap is exactly what produces a valid-looking dist/ that Tauri then can't package), 1033 tests, and the desktop Playwright journey.

Closing in favour of #212.

@oratis

oratis commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Superseded by #212 (vite 8 + plugin-react 6 together; the rolldown/openai blocker was removed by #192).

@oratis oratis closed this Aug 2, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/vite-8.0.16 branch August 2, 2026 07:09
oratis pushed a commit that referenced this pull request Aug 2, 2026
Supersedes #138 and #139, which are coupled (plugin-react 6 requires
vite 7+) and were deferred in June because `vite build` failed with
`Rolldown failed to resolve import "openai"` — vite 8 swaps in the
rolldown bundler, and the renderer was transitively pulling
core/dist/providers/deepseek.js.

That blocker is gone: #192 split dependency-free model metadata from the
provider implementation specifically so provider/OpenAI SDK code is
absent from renderer bundles. The import rolldown could not resolve no
longer reaches the renderer graph, so no `build.rolldownOptions.external`
migration is needed.

Also replaces `__dirname` with `import.meta.dirname` in vite.config.ts.
vite 8 warns that `__dirname` is unsupported by `configLoader: 'native'`,
which is planned to become the default in a future major. The repo
requires Node >=22, so `import.meta.dirname` is available.

Verified on top of React 19 (#211), forced rebuild throughout:
- tsc -b --force, lint (--max-warnings=0), format:check: clean
- 1033 tests across 8 packages: pass
- pnpm build + full build:tauri-assets pipeline: pass
  (app-server.cjs 599,395 bytes — within the 768 KiB #208 budget)
- desktop Playwright protocol journey (4 tests): pass

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
oratis added a commit that referenced this pull request Aug 2, 2026
Supersedes #138 and #139, which are coupled (plugin-react 6 requires
vite 7+) and were deferred in June because `vite build` failed with
`Rolldown failed to resolve import "openai"` — vite 8 swaps in the
rolldown bundler, and the renderer was transitively pulling
core/dist/providers/deepseek.js.

That blocker is gone: #192 split dependency-free model metadata from the
provider implementation specifically so provider/OpenAI SDK code is
absent from renderer bundles. The import rolldown could not resolve no
longer reaches the renderer graph, so no `build.rolldownOptions.external`
migration is needed.

Also replaces `__dirname` with `import.meta.dirname` in vite.config.ts.
vite 8 warns that `__dirname` is unsupported by `configLoader: 'native'`,
which is planned to become the default in a future major. The repo
requires Node >=22, so `import.meta.dirname` is available.

Verified on top of React 19 (#211), forced rebuild throughout:
- tsc -b --force, lint (--max-warnings=0), format:check: clean
- 1033 tests across 8 packages: pass
- pnpm build + full build:tauri-assets pipeline: pass
  (app-server.cjs 599,395 bytes — within the 768 KiB #208 budget)
- desktop Playwright protocol journey (4 tests): pass

Co-authored-by: t <t@t>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant