- 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: plugin-legacy@1.7.1 (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)