2023-06-04 14:03:01 +02:00
|
|
|
### v1.0.23 (_2023-06-04_)
|
|
|
|
|
|
|
|
- feat: supports ES build target for renderer [#174](https://github.com/alex8088/electron-vite/issues/174)
|
|
|
|
- revert: chore: remove process env define [#159](https://github.com/alex8088/electron-vite/issues/174)
|
|
|
|
- perf: build compatilibity target for Electron 25
|
|
|
|
- chore(deps): update all non-major dependencies
|
|
|
|
|
2023-04-23 18:11:52 +02:00
|
|
|
### v1.0.22 (_2023-04-23_)
|
|
|
|
|
|
|
|
- feat(cli): add --rendererOnly flag to dev command
|
|
|
|
- perf: build compatilibity target for Electron 24
|
|
|
|
- chore: remove process env define
|
|
|
|
- chore: typo error messages
|
|
|
|
|
2023-03-26 18:01:41 +02:00
|
|
|
### v1.0.21 (_2023-03-27_)
|
|
|
|
|
|
|
|
- fix(bytecodePlugin): bytecode loader is not referenced correctly in the chunks
|
|
|
|
- fix(bytecodePlugin): sub-chunks are not compliled in vite 4
|
|
|
|
- perf: always disable build.modulePreload in main and preload config
|
|
|
|
- chore(deps): update esbuild to 0.17
|
|
|
|
- chore(deps): update vite to 4.2.1
|
|
|
|
|
2023-03-11 17:39:48 +01:00
|
|
|
### v1.0.20 (_2023-03-12_)
|
|
|
|
|
|
|
|
- feat: support for renderer debugging [#130](https://github.com/alex8088/electron-vite/issues/130)
|
|
|
|
- fix(asset): asset path is not resolved correctly when outDir is specified [#117](https://github.com/alex8088/electron-vite/issues/117)
|
|
|
|
- fix: specified renderer outDir is not parsed correctly
|
|
|
|
- fix(bytecodePlugin): not work in monorepo [#128](https://github.com/alex8088/electron-vite/issues/128)
|
|
|
|
- perf: build compatilibity target for Electron 23
|
|
|
|
- perf: print log
|
|
|
|
- chore(deps): update all non-major dependencies
|
|
|
|
- chore(deps): update vite to 4.1.4
|
|
|
|
- chore(deps): update rollup to 3.18
|
|
|
|
- chore(deps): update magic-string to 0.30.0
|
|
|
|
|
2023-02-06 14:01:27 +01:00
|
|
|
### v1.0.19 (_2023-02-06_)
|
|
|
|
|
|
|
|
- feat(bytecodePlugin): protect strings [#91](https://github.com/alex8088/electron-vite/issues/91)
|
|
|
|
- fix(bytecodePlugin): escape protected strings (thanks to [@jeremyben](https://github.com/jeremyben))
|
|
|
|
|
2023-01-16 13:54:23 +01:00
|
|
|
### v1.0.18 (_2023-01-16_)
|
|
|
|
|
|
|
|
- feat(asset): support for WebAssembly in the main process
|
|
|
|
- fix(asset): wasm must be suffixed with `?loader`
|
|
|
|
|
2023-01-07 17:05:59 +01:00
|
|
|
### v1.0.17 (_2023-01-08_)
|
|
|
|
|
|
|
|
- feat: static asset handling
|
|
|
|
- fix: output duplicate log in vscode debugging [#75](https://github.com/alex8088/electron-vite/issues/75)
|
|
|
|
- chore(bytecodePlugin): KiB to kB
|
|
|
|
- chore(worker): use toRelativePath helper
|
|
|
|
- chore(deps): update all non-major dependencies
|
|
|
|
- chore(deps): update vite to 4.0.4
|
|
|
|
|
2022-12-11 17:03:33 +01:00
|
|
|
### v1.0.16 (_2022-12-12_)
|
|
|
|
|
|
|
|
- feat: vite 4.x support [#69](https://github.com/alex8088/electron-vite/issues/69)
|
|
|
|
- fix: `NODE_ENV` is incorrect in vite 4.x [#70](https://github.com/alex8088/electron-vite/issues/70)
|
|
|
|
- fix: invalid output format check
|
|
|
|
- fix: output format check
|
|
|
|
- chore(deps): update all non-major dependencies
|
|
|
|
- chore(deps): update esbuild and magic-string
|
|
|
|
- chore(deps): update vite to 4.0.0
|
|
|
|
|
2022-12-04 17:19:30 +01:00
|
|
|
### v1.0.15 (_2022-12-05_)
|
|
|
|
|
|
|
|
- feat: support mode and command conditional config
|
|
|
|
- feat: specify env prefixes for vite's loadEnv and export it
|
|
|
|
- perf: build compatilibity target for Electron 22
|
|
|
|
- perf: do not externalize node builtin modules for the renderer [#61](https://github.com/alex8088/electron-vite/issues/61)
|
|
|
|
|
2022-11-12 18:28:47 +01:00
|
|
|
### v1.0.14 (_2022-11-13_)
|
|
|
|
|
|
|
|
- fix(bytecodePlugin): replace bytecode module regex
|
|
|
|
|
2022-11-11 14:23:16 +01:00
|
|
|
### v1.0.13 (_2022-11-11_)
|
|
|
|
|
|
|
|
- feat: support for node worker
|
|
|
|
- refactor: plugins
|
|
|
|
- fix(swcPlugin): unreachable code
|
|
|
|
- fix(bytecodePlugin): bytecode loader injection and chunk module parsing errors [#49](https://github.com/alex8088/electron-vite/issues/49)
|
2023-01-07 17:05:59 +01:00
|
|
|
- fix: incorrect replace `__dirname`/`__filename` in config file
|
2022-11-11 14:23:16 +01:00
|
|
|
- fix: output format error under multiple entries
|
|
|
|
|
2022-11-01 19:00:30 +01:00
|
|
|
### v1.0.12 (_2022-11-02_)
|
|
|
|
|
|
|
|
- feat: support monorepo (by @ianstormtaylor)
|
|
|
|
- feat: add `--skipBuild` flag to preview command
|
|
|
|
- feat: make a SWC plugin to support TypeScript decorators (`emitDecoratorMetadata`)
|
|
|
|
- fix: use `modulePreload.polyfill` instead `polyfillModulePreload`
|
|
|
|
- chore: update deps
|
|
|
|
|
2022-10-16 08:35:07 +02:00
|
|
|
### v1.0.11 (_2022-10-16_)
|
|
|
|
|
|
|
|
- feat: externalize deps plugin
|
|
|
|
|
2022-10-07 07:49:51 +02:00
|
|
|
### v1.0.10 (_2022-10-07_)
|
|
|
|
|
|
|
|
- feat: export splitVendorChunk from vite
|
|
|
|
- fix: compatible with the latest version of Electron
|
|
|
|
- refactor: load config file
|
|
|
|
- perf: the bytecodePlugin transform arrow function by default
|
|
|
|
- perf: disable gzip-compressed size reporting, increase build performance
|
|
|
|
- perf: bytecode compilation log print format
|
|
|
|
- perf: build compatilibity target for Electron 21
|
|
|
|
|
2022-09-19 12:36:51 +02:00
|
|
|
### v1.0.9 (_2022-09-19_)
|
|
|
|
|
|
|
|
- feat: source code protection
|
|
|
|
- fix: specify a config file error
|
|
|
|
- fix: in the specified non-production mode, the `base` path is wrong
|
|
|
|
- perf: cache electron executable path
|
|
|
|
- chore: add electron-vite mode node env
|
|
|
|
- chore: use node prefix
|
|
|
|
|
2022-09-11 11:00:07 +02:00
|
|
|
### v1.0.8 (_2022-09-11_)
|
|
|
|
|
|
|
|
- feat: the main process and preload scripts support hot reloading [#7](https://github.com/alex8088/electron-vite/issues/7)
|
|
|
|
|
2022-08-29 12:57:43 +02:00
|
|
|
### v1.0.7 (_2022-08-29_)
|
|
|
|
|
|
|
|
- feat: add sourcemap cli options for debugging
|
|
|
|
|
2022-08-25 13:29:47 +02:00
|
|
|
### v1.0.6 (_2022-08-25_)
|
|
|
|
|
|
|
|
- chore: update deps
|
|
|
|
- chore: use vite@3
|
|
|
|
|
2022-08-20 14:38:29 +02:00
|
|
|
### v1.0.5 (_2022-08-20_)
|
|
|
|
|
|
|
|
- fix: can not get import meta env variables in renderer
|
|
|
|
- feat: define env prefix
|
|
|
|
- feat: new official website released
|
|
|
|
|
2022-07-03 09:51:30 +02:00
|
|
|
### v1.0.4 (_2022-07-03_)
|
|
|
|
|
|
|
|
- fix: error occurs when the preload config is a function (by @Beiluola)
|
|
|
|
- fix: ELECTRON_RENDERER_URL is incorrect when host is true (by @Beiluola)
|
|
|
|
- feat: add sqlite3 module to rollup external option
|
|
|
|
|
2022-04-30 18:29:13 +02:00
|
|
|
### v1.0.3 (_2022-05-01_)
|
|
|
|
|
2022-06-05 06:24:47 +02:00
|
|
|
- fix: throw error when vite.config.\* file in root ([#3](https://github.com/alex8088/electron-vite/issues/3))
|
2022-04-30 18:29:13 +02:00
|
|
|
- feat: export splitVendorChunkPlugin from vite
|
|
|
|
- perf: build target for Electron 19
|
|
|
|
|
2022-03-31 13:56:42 +02:00
|
|
|
### v1.0.2 (_2022-03-31_)
|
|
|
|
|
|
|
|
#### Bug fixes
|
|
|
|
|
|
|
|
- fix: an error occurred when `tsconfig` file changed
|
|
|
|
|
2022-03-28 06:08:53 +02:00
|
|
|
### v1.0.1 (_2022-03-28_)
|
|
|
|
|
|
|
|
#### Prefs
|
|
|
|
|
|
|
|
- perf: no need to polyfill `Module Preload` for the Electron renderer ([82477b](https://github.com/alex8088/electron-vite/commit/82477b))
|
|
|
|
|
2022-03-17 09:21:02 +01:00
|
|
|
### v1.0.0 (_2022-03-17_)
|
|
|
|
|
|
|
|
#### Features
|
|
|
|
|
|
|
|
- electron-vite
|