- chore: extend commit hash (#17709) (4fc9b64), closes #17709
- chore(deps): update all non-major dependencies (#17820) (bb2f8bb), closes #17820
- fix: handle encoded base paths (#17577) (720447e), closes #17577
- fix(deps): update all non-major dependencies (#17430) (4453d35), closes #17430
- fix(deps): update all non-major dependencies (#17494) (bf123f2), closes #17494
- fix(deps): update all non-major dependencies (#17629) (93281b0), closes #17629
- fix(deps): update all non-major dependencies (#17780) (e408542), closes #17780
- perf: improve regex performance (#17789) (952bae3), closes #17789
- docs: rename cdnjs link (#17565) (61357f6), closes #17565
- fix(deps): update all non-major dependencies (#17321) (4a89766), closes #17321
- fix(plugin-legacy): group discovered polyfills by output (#17347) (c735cc7), closes #17347
- fix(plugin-legacy): improve deterministic polyfills discovery (#16566) (48edfcd), closes #16566
- docs(plugin-legacy): update outdated warning about
modernPolyfills
(#17335) (e6a70b7), closes #17335 - chore(deps): remove unused deps (#17329) (5a45745), closes #17329
- chore(deps): update all non-major dependencies (#16722) (b45922a), closes #16722
- fix(deps): update all non-major dependencies (#16258) (7caef42), closes #16258
- fix(deps): update all non-major dependencies (#16376) (58a2938), closes #16376
- fix(deps): update all non-major dependencies (#16488) (2d50be2), closes #16488
- fix(deps): update all non-major dependencies (#16549) (2d6a13b), closes #16549
- fix(legacy): modern polyfill autodetection was not injecting enough polyfills (#16367) (4af9f97), closes #16367
- feat(plugin-legacy): support
additionalModernPolyfills
(#16514) (2322657), closes #16514 - docs(legacy): update
modernTargets
option default value description (#16491) (7171837), closes #16491 - chore(deps): update all non-major dependencies (#16131) (a862ecb), closes #16131
- fix(plugin-legacy): dynamic import browserslist-to-esbuild (#16011) (42fd11c), closes #16011
- fix(plugin-legacy): replace
esbuild-plugin-browserslist
withbrowserslist-to-esbuild
(#15988) (37af8a7), closes #15988 - fix(plugin-legacy): respect modernTargets option if renderLegacyChunks disabled (#15789) (0813531), closes #15789
- fix(deps): update all non-major dependencies (#15675) (4d9363a), closes #15675
- fix(deps): update all non-major dependencies (#15803) (e0a6ef2), closes #15803
- fix(deps): update all non-major dependencies (#15959) (571a3fd), closes #15959
- docs: fix commit id collision (#15105) (0654d1b), closes #15105
- docs: fix dead link (#15700) (aa7916a), closes #15700
- feat(legacy): build file name optimization (#15115) (39f435d), closes #15115
- feat(legacy): support any separator before hash in fileNames (#15170) (ecab41a), closes #15170
- feat(plugin-legacy): add
modernTargets
option (#15506) (cf56507), closes #15506 - fix(deps): update all non-major dependencies (#15233) (ad3adda), closes #15233
- fix(deps): update all non-major dependencies (#15304) (bb07f60), closes #15304
- fix(deps): update all non-major dependencies (#15375) (ab56227), closes #15375
- chore(deps): update all non-major dependencies (#15145) (7ff2c0a), closes #15145
- test(legacy): add a test to checks all inline snippets are valid JS (#15098) (1b9ca66), closes #15098
- fix(plugin-legacy): syntax error in variable
detectModernBrowserCode
(#15095) (1c605ff), closes #15095
- docs(legacy): clarify that csp hashes could change between minors (#15057) (cd353306), closes #15057
- fix(legacy): preserve async generator function invocation (#15021) (47551a6), closes #15021
- fix(deps): update all non-major dependencies (#14635) (21017a9), closes #14635
- fix(deps): update all non-major dependencies (#14729) (d5d96e7), closes #14729
- fix(deps): update all non-major dependencies (#14883) (e5094e5), closes #14883
- fix(deps): update all non-major dependencies (#14961) (0bb3995), closes #14961
- fix(plugin-legacy): add invoke to modern detector to avoid terser treeshaking (#14968) (4033a32), closes #14968
- feat(legacy): export
Options
(#14933) (071bfc8), closes #14933 - chore(deps): update dependency eslint-plugin-regexp to v2 (#14730) (0a7c753), closes #14730
- fix(legacy)!: should rename
x.[hash].js
tox-legacy.[hash].js
(#11599) (e7d7a6f), closes #11599 - fix(deps): update all non-major dependencies (#14510) (eb204fd), closes #14510
- fix(legacy): fix broken build when renderModernChunks=false & polyfills=false (fix #14324) (#14346) (27e5b11), closes #14324 #14346
- fix(deps): update all non-major dependencies (#14460) (b77bff0), closes #14460
- fix(legacy): add guard to modern polyfill chunk (#13719) (945dc4d), closes #13719
- fix(legacy): modern polyfill autodetection was injecting more polyfills than needed (#14428) (1c2e941), closes #14428
- fix(legacy): suppress babel warning during polyfill scan (#14425) (aae3a83), closes #14425
- fix(plugin-legacy): ensure correct typing for node esm (#13892) (d914a9d), closes #13892
- refactor(legacy)!: remove
ignoreBrowserslistConfig
option (#14429) (941bb16), closes #14429
- fix(deps): update all non-major dependencies (#14092) (68638f7), closes #14092
- chore: upgrade babel and release-scripts (#14330) (b361ffa), closes #14330
- chore(deps): update all non-major dependencies (#13938) (a1b519e), closes #13938
- chore(eslint): allow type annotations (#13920) (d1264fd), closes #13920
- docs(legacy): correct
modernPolyfills
description (#14233) (a57f388), closes #14233 - docs(plugin-legacy): fix typo (#13936) (28ddd43), closes #13936
- feat!: bump minimum node version to 18 (#14030) (2c1a45c), closes #14030
- perf: use magic-string hires boundary for sourcemaps (#13971) (b9a8d65), closes #13971
- fix(deps): update all non-major dependencies (#13758) (8ead116), closes #13758
- fix(deps): update all non-major dependencies (#13872) (975a631), closes #13872
- feat(plugin-legacy): add option to output only legacy builds (#10139) (931b24f), closes #10139
- fix(deps): update all non-major dependencies (#13701) (02c6bc3), closes #13701
- chore: add funding field (#13585) (2501627), closes #13585
- chore(deps): update all non-major dependencies (#13553) (3ea0534), closes #13553
- fix(deps): update all non-major dependencies (#13059) (123ef4c), closes #13059
- fix(deps): update all non-major dependencies (#13488) (bd09248), closes #13488
- docs(legacy): add test case to ensure correct csp hashes in readme.md (#13384) (bf0cd25), closes #13384
- fix(legacy): import
@babel/preset-env
(#12961) (d53c650), closes #12961 - chore(deps): update all non-major dependencies (#12805) (5731ac9), closes #12805
- feat(plugin-legacy): support file protocol (#8524) (7a87ff4), closes #8524
- refactor(eslint): migrate to
eslint-plugin-n
(#12895) (62ebe28), closes #12895 - fix(deps): update all non-major dependencies (#12389) (3e60b77), closes #12389
- chore(deps): update all non-major dependencies (#12299) (b41336e), closes #12299
- chore(deps): update rollup to 3.17.2 (#12110) (e54ffbd), closes #12110
- fix(deps): update all non-major dependencies (#12036) (48150f2), closes #12036
- fix(plugin-legacy): no
build.target
override on SSR build (#12171) (a1019f8), closes #12171 - docs(plugin-legacy): outdated csp hash (fix #12112) (#12118) (5f7f5dc), closes #12112 #12118
- fix(legacy): fix browserslist import, close vitejs#11898 (#11899) (9241d08), closes #11899
- feat(legacy)!: bump modern target to support async generator (#11896) (55b9711), closes #11896
- fix(plugin-legacy)!: support browserslist and update default target (#11318) (d5b8f86), closes #11318
- fix: typo (#11283) (bf234a6), closes #11283
- fix(deps): update all non-major dependencies (#11846) (5d55083), closes #11846
- fix(plugin-legacy): legacy sourcemap not generate (fix #11693) (#11841) (2ff5930), closes #11693 #11841
- chore: enable
@typescript-eslint/ban-ts-comment
(#11326) (e58a4f0), closes #11326 - chore: update packages' (vite, vite-legacy) keywords (#11402) (a56bc34), closes #11402
- chore(deps): update all non-major dependencies (#11419) (896475d), closes #11419
- chore(deps): update all non-major dependencies (#11787) (271394f), closes #11787
- refactor(plugin-legacy): optimize cspHashes array (#11734) (b1a8e58), closes #11734
- chore: enable prettier trailing commas (#11167) (134ce68), closes #11167
- chore(deps): update all non-major dependencies (#11182) (8b83089), closes #11182
- fix: support polyfill import paths containing an escaping char (e.g. '') (#10859) (7ac2535), closes #10859
- fix(deps): update all non-major dependencies (#10804) (f686afa), closes #10804
- fix(deps): update all non-major dependencies (#11091) (073a4bf), closes #11091
- chore(deps): update all non-major dependencies (#10910) (f6ad607), closes #10910
- chore(deps): update all non-major dependencies (#11006) (96f2e98), closes #11006
- feat: align default chunk and asset file names with rollup (#10927) (cc2adb3), closes #10927
- feat: rollup 3 (#9870) (beb7166), closes #9870
- fix(deps): update all non-major dependencies (#10610) (bb95467), closes #10610
- chore(deps): update all non-major dependencies (#10393) (f519423), closes #10393
- chore(deps): update all non-major dependencies (#10488) (15aa827), closes #10488
- fix(deps): update all non-major dependencies (#10160) (6233c83), closes #10160
- fix(deps): update all non-major dependencies (#10246) (81d4d04), closes #10246
- fix(deps): update all non-major dependencies (#10316) (a38b450), closes #10316
- fix(legacy): don't force set
build.target
whenrenderLegacyChunks=false
(fixes #10201) (#10220) (7f548e8), closes #10201 #10220 - refactor(types): bundle client types (#9966) (da632bf), closes #9966
- docs(plugin-legacy): fix Vite default target (#10158) (62ff788), closes #10158
- fix(deps): update all non-major dependencies (#10077) (caf00c8), closes #10077
- fix(deps): update all non-major dependencies (#9985) (855f2f0), closes #9985
- fix(plugin-legacy): force set
build.target
(#10072) (a13a7eb), closes #10072
- fix(deps): update all non-major dependencies (#9888) (e35a58b), closes #9888
- fix(plugin-legacy): prevent global process.env.NODE_ENV mutation (#9741) (a8279af), closes #9741
- chore(deps): update all non-major dependencies (#9675) (4e56e87), closes #9675
- chore(deps): update all non-major dependencies (#9778) (aceaefc), closes #9778
- refactor(legacy): build polyfill chunk (#9639) (7ba0c9f), closes #9639
- refactor(legacy): remove code for Vite 2 (#9640) (b1bbc5b), closes #9640
- fix: mention that Node.js 13/15 support is dropped (fixes #9113) (#9116) (2826303), closes #9113 #9116
- fix(deps): update all non-major dependencies (#9176) (31d3b70), closes #9176
- fix(deps): update all non-major dependencies (#9575) (8071325), closes #9575
- fix(legacy): skip esbuild transform for systemjs (#9635) (ac16abd), closes #9635
- chore: fix code typos (#9033) (ed02861), closes #9033
- chore(deps): update all non-major dependencies (#9347) (2fcb027), closes #9347
- chore(deps): update all non-major dependencies (#9478) (c530d16), closes #9478
- chore: 3.0 release notes and bump peer deps (#9072) (427ba26), closes #9072
- chore(deps): update all non-major dependencies (#9022) (6342140), closes #9022
- docs: cleanup changes (#8989) (07aef1b), closes #8989
- fix(deps): update all non-major dependencies (#8802) (a4a634d), closes #8802
- feat: experimental.renderBuiltUrl (revised build base options) (#8762) (895a7d6), closes #8762
- chore: use
tsx
directly instead of indirectesno
(#8773) (f018f13), closes #8773
- feat: bump minimum node version to 14.18.0 (#8662) (8a05432), closes #8662
- feat: experimental.buildAdvancedBaseOptions (#8450) (8ef7333), closes #8450
- chore: use node prefix (#8309) (60721ac), closes #8309
- chore(deps): update all non-major dependencies (#8669) (628863d), closes #8669
- fix(plugin-legacy): prevent esbuild injecting arrow function (#8660) (c0e74e5), closes #8660
- fix(build): use crossorigin for nomodule (#8322) (7f59989), closes #8322
- fix(deps): update all non-major dependencies (#8281) (c68db4d), closes #8281
- fix(deps): update all non-major dependencies (#8391) (842f995), closes #8391
- fix(plugin-legacy): disable babel.compact when minify is disabled (#8244) (742188c), closes #8244
- fix(plugin-legacy): don't include SystemJS in modern polyfills (#6902) (eb47b1e), closes #6902
- fix(plugin-legacy): empty base makes import fail (fixes #4212) (#8387) (1a16f12), closes #4212 #8387
- fix(plugin-legacy): modern polyfill latest features (fixes #8399) (#8408) (ed25817), closes #8399 #8408
- fix(plugin-legacy): prevent failed to load module (#8285) (d671811), closes #8285
- fix(plugin-legacy): respect
entryFileNames
for polyfill chunks (#8247) (baa9632), closes #8247 - chore: enable
@typescript-eslint/explicit-module-boundary-types
(#8372) (104caf9), closes #8372 - chore: update major deps (#8572) (0e20949), closes #8572
- chore: use
esno
to replacets-node
(#8162) (c18a5f3), closes #8162 - chore(deps): update all non-major dependencies (#8474) (6d0ede7), closes #8474
- refactor!: make terser an optional dependency (#8049) (164f528), closes #8049
- refactor(plugin-legacy): improve default polyfill (#8312) (4370d91), closes #8312
- fix: rewrite CJS specific funcs/vars in plugins (#8227) (9baa70b), closes #8227
- fix(plugin-legacy): fail to get the fileName (#5250) (c7fc1d4), closes #5250
- build!: bump targets (#8045) (66efd69), closes #8045
- feat!: relative base (#7644) (09648c2), closes #7644
- docs: use latest core-js unpkg link (#8190) (102b678), closes #8190
- chore: bump minors and rebuild lock (#8074) (aeb5b74), closes #8074
- chore: revert vitejs#8152 (#8161) (85b8b55), closes vitejs/vite#8152 #8161
- chore: update plugins peer deps (d57c23c)
- chore: use
unbuild
to bundle plugins (#8139) (638b168), closes #8139 - chore(deps): use
esno
to replacets-node
(#8152) (2363bd3), closes #8152 - build!: remove node v12 support (#7833) (eeac2d2), closes #7833
- docs(plugin-legacy): remove regenerator-runtime note (#8007) (834efe9), closes #8007
- chore(deps): update all non-major dependencies (#7780) (eba9d05), closes #7780
- chore(deps): update all non-major dependencies (#7847) (e29d1d9), closes #7847
- chore(deps): update all non-major dependencies (#7949) (b877d30), closes #7949
- refactor(legacy): remove unneeded dynamic import var init code (#7759) (12a4e7d), closes #7759
- fix(deps): update all non-major dependencies (#7668) (485263c), closes #7668
- docs(legacy): note works in build only (#7596) (f26b14a), closes #7596
- fix(deps): update all non-major dependencies (#6782) (e38be3e), closes #6782
- fix(deps): update all non-major dependencies (#7392) (b63fc3b), closes #7392
- fix(plugin-legacy): always fallback legacy build when CSP (#6535) (a118a1d), closes #6535
- fix(plugin-legacy): polyfill latest features (#7514) (cb388e2), closes #7514
- fix(plugin-legacy): require Vite 2.8.0 (#6272) (#6869) (997b8f1), closes #6272 #6869
- chore(deps): update all non-major dependencies (#6905) (839665c), closes #6905
- docs(vite-legacy): Note about using
regenerator-runtime
in Content Security Policy environment (#7 (0fd6422), closes #7234 - workflow: separate version bumping and publishing on release (#6879) (fe8ef39), closes #6879
- release: [email protected] (19a58dd)
1.7.1 (2022-02-11)
1.7.0 (2022-02-09)
- don't force terser on non-legacy (fix #6266) (#6272) (1da104e)
- legacy: fix conflict with the modern build on css emitting (#6584) (f48255e), closes #3296 #3317 /github.com/vitejs/vite/commit/6bce1081991501f3779bff1a81e5dd1e63e5d38e#diff-2cfbd4f4d8c32727cd8e1a561cffbde0b384a3ce0789340440e144f9d64c10f6R262-R263
1.6.4 (2021-12-07)
1.6.3 (2021-11-22)
1.6.2 (2021-10-11)
1.6.1 (2021-10-05)
1.6.0 (2021-09-29)
- deps: update all non-major dependencies (#4545) (a44fd5d)
- esbuild minification and renderLegacyChunks false (#5054) (ed384cf)
- normalize internal plugin names (#4976) (37f0b2f)
- plugin-legacy: fix type errors (#4762) (5491143)
1.5.3 (2021-09-07)
- plugin-legacy: fix regression introduced in #4536 (#4861) (fdc3212)
- plugin-legacy: skip in SSR build (#4536) (1f068fc)
1.5.2 (2021-09-01)
1.5.1 (2021-08-03)
- deps: update all non-major dependencies (#4468) (cd54a22)
- plugin-legacy: bake-in Promise polyfill, fix #4414 (#4440) (024a2de)
1.5.0 (2021-07-27)
- deps: update all non-major dependencies (#4387) (2f900ba)
- plugin-legacy: legacy fallback for dynamic import (#3885) (fc6d8f1)
1.4.4 (2021-07-12)
1.4.3 (2021-06-27)
- don't force polyfillDynamicImport if renderLegacyChunks is false (#3695) (#3774) (d2a51ca)
- deps: update all non-major dependencies (#3878) (a66a805)
- plugin-legacy: chunk may not exist (#3886) (dd5931d)
1.4.2 (2021-06-22)
- deps: update all non-major dependencies (#3791) (74d409e)
- plugin-legacy: wrap chunks in IIFE (#3783) (9abdb81)
1.4.1 (2021-06-01)
1.4.0 (2021-05-17)
- plugin-legacy: turn off babel loose mode (#3406) (5348c02)
- restore dynamic-import-polyfill (#3434) (4112c5d)
1.3.4 (2021-05-11)
- plugin-legacy: move polyfills in plugin post, fixes #2786 and #2781 (#3023) (43150e3)
- plugin-legacy: require Vite 2.0.0 final (#3265) (e395dee)
1.3.3 (2021-05-03)
- plugin-legacy: correct log level to error (#3241) (474fe9a)
- ignore babelrc in legacy plugin (#2801) (d466ad0)
1.3.2 (2021-03-27)
1.3.1 (2021-02-15)
- plugin-legacy: prevent constant folding for import.meta.env.LEGACY (bace724), closes #1999
- plugin-legacy: use correct string length in legacy env replacement (#2015) (7f48086)
1.3.0 (2021-02-11)
- plugin-legacy: inject import.meta.env.LEGACY (416f190)
1.2.3 (2021-02-01)
1.2.2 (2021-01-25)
- plugin-legacy: throw error when using esbuild minify with legacy plugin (8fb2511)
- default vendor chunk splitting (f6b58a0)
- support
base
option during dev, deprecatebuild.base
(#1556) (809d4bd)
1.2.1 (2021-01-14)
1.2.0 (2021-01-11)
1.1.1 (2021-01-09)
1.1.0 (2021-01-07)
- use constant inline script + provide CSP hashes (72107cd)
1.0.1 (2021-01-07)
- plugin-legacy: avoid esbuild transform on legacy chunks (7734105)
- add promise polyfill if not used in bundle (b72db4e)
- use @babel/standalone + lazy load (b2f98fb)
- plugin-legacy: @vitejs/plugin-legacy (8c34870)