From 23d7bfc8ba4a0f877ed4ef8ab193f2baedea50c2 Mon Sep 17 00:00:00 2001 From: alex8088 <244096523@qq.com> Date: Thu, 15 Oct 2026 00:01:19 +0800 Subject: [PATCH] release: v6.0.0 --- CHANGELOG.md | 88 +++++++++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 51 insertions(+), 39 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1942f81..d5a9982 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,73 +1,85 @@ -### v6.0.0-beta.8 (_2026-10-11_) +### v6.0.0 (_2026-10-15_) +- feat(bytecode): support RegExp for chunkAlias option ([#885](https://github.com/alex8088/electron-vite/issues/885)) - refactor: share and normalize build output resolution - refactor: inline bytecode build plugin name +- refactor!: invoke the bytecode compiler only once to compile all code +- refactor: use pipe stdio for spawn Electron bytecode compliler and append stderr error +- refactor: use rolldown instead of esbuild to bundle config file +- refactor: compile bytecode using the Electron main process or renderer process rather then via the `ELECTRON_RUN_AS_NODE` +- refactor!: simplify resolve config and isolate user config for sub-builds +- refactor: `?modulePath` sub-build output strategy - perf(swcPlugin): skip redundant minification when using Oxc ([#922](https://github.com/alex8088/electron-vite/issues/922)) - perf: skip Babel loading in development and builds without bytecode - perf: short-circuit bytecode detection in builds +- perf: setup rollupOption compatibility via config factory +- perf: build compatibility target for Electron 42, 43, 44 - fix(asset): use consistent file paths for asset cache lookups -- chore: simplify bytecode compiler initialization - -### v6.0.0-beta.7 (_2026-10-08_) - - fix(bytecode): unable to obtain the bytecode build session in Node.js 24 ([#928](https://github.com/alex8088/electron-vite/issues/928)) - -### v6.0.0-beta.6 (_2026-10-07_) - -- refactor!: invoke the bytecode compiler only once to compile all code -- refactor: use pipe stdio for spawn Electron bytecode compliler and append stderr error -- chore: improve jsdoc for bytecode options ([#898](https://github.com/alex8088/electron-vite/issues/898)) - -### v6.0.0-beta.5 (_2026-09-29_) - -- feat(bytecode): support RegExp for chunkAlias option ([#885](https://github.com/alex8088/electron-vite/issues/885)) - fix(dev): exit non-zero when Electron is killed by a signal ([#918](https://github.com/alex8088/electron-vite/issues/918)) - fix(dev): forward termination signals to Electron child ([#900](https://github.com/alex8088/electron-vite/issues/900)) - fix(dev): improve Electron process signal handling - fix(bytecode): set the regular expression's `lastIndex` to 0 to perform a global match for chunkAlias option - -### v6.0.0-beta.4 (_2026-09-28_) - - fix(esmShim)!: use `this.parse` to find the last static import ([#906](https://github.com/alex8088/electron-vite/issues/906)) - -### v6.0.0-beta.3 (_2026-09-27_) - - fix(deps)!: downgraded @babel/* to v7 due to Node requirements - -### v6.0.0-beta.2 (_2026-09-27_) - -- refactor: use rolldown instead of esbuild to bundle config file -- refactor: compile bytecode using the Electron main process or renderer process rather then via the `ELECTRON_RUN_AS_NODE` -- perf: setup rollupOption compatibility via config factory -- perf: build compatibility target for Electron 42, 43, 44 - fix: remove useless preset config - fix(swcPlugin): also disable oxc on Vite 8 ([#920](https://github.com/alex8088/electron-vite/issues/920)) - fix: clone config without plugins [#902](https://github.com/alex8088/electron-vite/issues/902) - fix(deps)!: update magic-string to v1 - fix(deps)!: update @babel/* to v8 -- chore(deps): update all non-major dependencies -- chore(deps): update lint-staged to v17 - -### v6.0.0-beta.1 (_2026-04-12_) - -- refactor!: simplify resolve config and isolate user config for sub-builds - fix!: compatible with rollupOptions and rolldownOptions - fix: chunk filename is wrong in ES mode - -### v6.0.0-beta.0 (_2026-04-09_) - -- refactor: `?modulePath` sub-build output strategy - fix(asset): isolate asset caches per environment - fix: use the environment api in plugins - fix: skip TTY terminal manipulations in CI environments - fix(deps)!: update vite to v8 ([#894](https://github.com/alex8088/electron-vite/issues/894)) - fix: Typescript compiler option 'outDir' must be located inside Rollup 'dir' option - fix(isolateEntries): handle non-TTY stdout in build reporter (#887) +- chore: simplify bytecode compiler initialization +- chore: improve jsdoc for bytecode options ([#898](https://github.com/alex8088/electron-vite/issues/898)) +- chore(deps): update all non-major dependencies +- chore(deps): update lint-staged to v17 - chore(deps): update cac to v7 - chore(deps): update globals to v17 - chore(deps): update eslint and @eslint/js to v10 - chore(deps): update all non-major dependencies +### v6.0.0-beta.8 (_2026-10-11_) + +See [v6.0.0-beta.8 changelog](https://github.com/alex8088/electron-vite/blob/v6.0.0-beta.8/CHANGELOG.md) + +### v6.0.0-beta.7 (_2026-10-08_) + +See [v6.0.0-beta.7 changelog](https://github.com/alex8088/electron-vite/blob/v6.0.0-beta.7/CHANGELOG.md) + +### v6.0.0-beta.6 (_2026-10-07_) + +See [v6.0.0-beta.6 changelog](https://github.com/alex8088/electron-vite/blob/v6.0.0-beta.6/CHANGELOG.md) + +### v6.0.0-beta.5 (_2026-09-29_) + +See [v6.0.0-beta.5 changelog](https://github.com/alex8088/electron-vite/blob/v6.0.0-beta.5/CHANGELOG.md) + +### v6.0.0-beta.4 (_2026-09-28_) + +See [v6.0.0-beta.4 changelog](https://github.com/alex8088/electron-vite/blob/v6.0.0-beta.4/CHANGELOG.md) + +### v6.0.0-beta.3 (_2026-09-27_) + +See [v6.0.0-beta.3 changelog](https://github.com/alex8088/electron-vite/blob/v6.0.0-beta.3/CHANGELOG.md) + +### v6.0.0-beta.2 (_2026-09-27_) + +See [v6.0.0-beta.2 changelog](https://github.com/alex8088/electron-vite/blob/v6.0.0-beta.2/CHANGELOG.md) + +### v6.0.0-beta.1 (_2026-04-12_) + +See [v6.0.0-beta.1 changelog](https://github.com/alex8088/electron-vite/blob/v6.0.0-beta.1/CHANGELOG.md) + +### v6.0.0-beta.0 (_2026-04-09_) + +See [v6.0.0-beta.0 changelog](https://github.com/alex8088/electron-vite/blob/v6.0.0-beta.0/CHANGELOG.md) + ### v5.0.0 (_2025-12-07_) - feat(config): add `build.externalizeDeps` and `build.bytecode` config options to replace `externalizeDepsPlugin` and `bytecodePlugin` diff --git a/package.json b/package.json index 99a0644..f0c4d2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "electron-vite", - "version": "6.0.0-beta.8", + "version": "6.0.0", "description": "Electron build tooling based on Vite", "type": "module", "main": "./dist/index.js",