Skip to content

Latest commit

 

History

History
663 lines (325 loc) · 51.8 KB

CHANGELOG.md

File metadata and controls

663 lines (325 loc) · 51.8 KB

5.4.1 (2024-05-30)

  • 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

5.4.0 (2024-05-08)

  • 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

5.3.2 (2024-03-08)

  • fix(plugin-legacy): dynamic import browserslist-to-esbuild (#16011) (42fd11c), closes #16011
  • fix(plugin-legacy): replace esbuild-plugin-browserslist with browserslist-to-esbuild (#15988) (37af8a7), closes #15988
  • fix(plugin-legacy): respect modernTargets option if renderLegacyChunks disabled (#15789) (0813531), closes #15789

5.3.1 (2024-02-21)

  • 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

5.3.0 (2024-01-25)

  • 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

5.2.0 (2023-11-22)

  • 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

5.1.0 (2023-11-21)

  • 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

5.0.0 (2023-11-16)

  • feat(plugin-legacy)!: bump vite peer dep (#15004) (3c92c7b), closes #15004

5.0.0-beta.3 (2023-11-14)

  • 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

5.0.0-beta.2 (2023-10-09)

  • fix(legacy)!: should rename x.[hash].js to x-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

5.0.0-beta.1 (2023-09-25)

  • 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

5.0.0-beta.0 (2023-09-19)

  • 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

4.1.1 (2023-07-20)

  • fix(deps): update all non-major dependencies (#13758) (8ead116), closes #13758
  • fix(deps): update all non-major dependencies (#13872) (975a631), closes #13872

4.1.0 (2023-07-06)

  • 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

4.0.5 (2023-06-21)

  • 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

4.0.4 (2023-05-24)

  • fix(legacy): import @babel/preset-env (#12961) (d53c650), closes #12961
  • chore(deps): update all non-major dependencies (#12805) (5731ac9), closes #12805

4.0.3 (2023-04-25)

  • 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

4.0.2 (2023-03-16)

  • 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

4.0.1 (2023-02-02)

4.0.0 (2023-02-02)

  • 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

3.0.1 (2022-12-09)

  • chore: update vite and plugins to stable (#11278) (026f41e), closes #11278

3.0.0 (2022-12-09)

  • chore: enable prettier trailing commas (#11167) (134ce68), closes #11167
  • chore(deps): update all non-major dependencies (#11182) (8b83089), closes #11182

3.0.0-alpha.0 (2022-11-30)

  • 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

2.3.1 (2022-11-07)

  • chore(deps): update all non-major dependencies (#10725) (22cfad8), closes #10725

2.3.0 (2022-10-26)

  • 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

2.3.0-beta.0 (2022-10-05)

  • 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 when renderLegacyChunks=false (fixes #10201) (#10220) (7f548e8), closes #10201 #10220
  • refactor(types): bundle client types (#9966) (da632bf), closes #9966

2.2.0 (2022-09-19)

  • 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

2.1.0 (2022-09-05)

2.1.0-beta.0 (2022-08-29)

  • 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

2.0.1 (2022-08-11)

  • 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

2.0.0 (2022-07-13)

  • 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

2.0.0-beta.1 (2022-07-06)

  • 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 indirect esno (#8773) (f018f13), closes #8773

2.0.0-beta.0 (2022-06-21)

  • 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

2.0.0-alpha.2 (2022-06-19)

  • 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 replace ts-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

2.0.0-alpha.1 (2022-05-19)

  • 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

2.0.0-alpha.0 (2022-05-13)

1.8.2 (2022-05-02)

  • 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

1.8.1 (2022-04-13)

  • fix(deps): update all non-major dependencies (#7668) (485263c), closes #7668
  • docs(legacy): note works in build only (#7596) (f26b14a), closes #7596

1.8.0 (2022-03-30)

  • 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)

Bug Fixes

1.7.0 (2022-02-09)

Bug Fixes

1.6.4 (2021-12-07)

1.6.3 (2021-11-22)

Bug Fixes

  • build: resolve rollupOptions.input paths (#5601) (5b6b016)

1.6.2 (2021-10-11)

Features

1.6.1 (2021-10-05)

Bug Fixes

  • plugin-legacy: use terser as the default minifier (#5168) (9ee7234)

1.6.0 (2021-09-29)

Bug Fixes

Features

  • plugin-legacy: add externalSystemJS option (#5024) (60b6f55)

1.5.3 (2021-09-07)

Bug Fixes

1.5.2 (2021-09-01)

Bug Fixes

  • plugin-legacy: avoid executing blank dynamic import (#4767) (de71408), closes #4568

1.5.1 (2021-08-03)

Bug Fixes

1.5.0 (2021-07-27)

Bug Fixes

  • deps: update all non-major dependencies (#4387) (2f900ba)
  • plugin-legacy: legacy fallback for dynamic import (#3885) (fc6d8f1)

1.4.4 (2021-07-12)

Features

  • allow entryFileNames, chunkFileNames functions for legacy (#4122) (df29bff)

1.4.3 (2021-06-27)

Bug Fixes

1.4.2 (2021-06-22)

Bug Fixes

1.4.1 (2021-06-01)

Bug Fixes

1.4.0 (2021-05-17)

Bug Fixes

1.3.4 (2021-05-11)

Bug Fixes

1.3.3 (2021-05-03)

Bug Fixes

1.3.2 (2021-03-27)

Bug Fixes

1.3.1 (2021-02-15)

Bug Fixes

  • 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)

Features

  • plugin-legacy: inject import.meta.env.LEGACY (416f190)

1.2.3 (2021-02-01)

Features

  • plugin-legacy: use compact output when transpiling legacy chunks (045e519), closes #1828

1.2.2 (2021-01-25)

Bug Fixes

  • plugin-legacy: throw error when using esbuild minify with legacy plugin (8fb2511)

Features

  • default vendor chunk splitting (f6b58a0)
  • support base option during dev, deprecate build.base (#1556) (809d4bd)

1.2.1 (2021-01-14)

Bug Fixes

1.2.0 (2021-01-11)

Bug Fixes

  • plugin-html: typo in the Safari 10 nomodule snippet (#1483) (e5576c3)

Features

  • plugin-legacy: support additionalLegacyPolyfills (ca25896), closes #1475

1.1.1 (2021-01-09)

Bug Fixes

  • plugin-legacy: add index.d.ts at publish (#1457) (dce2456)

1.1.0 (2021-01-07)

Features

  • use constant inline script + provide CSP hashes (72107cd)

1.0.1 (2021-01-07)

Bug Fixes

  • plugin-legacy: avoid esbuild transform on legacy chunks (7734105)
  • add promise polyfill if not used in bundle (b72db4e)

Performance Improvements

  • use @babel/standalone + lazy load (b2f98fb)

1.0.0 (2021-01-07)

Features

  • plugin-legacy: @vitejs/plugin-legacy (8c34870)