Skip to content

Latest commit

 

History

History
508 lines (204 loc) · 23.6 KB

CHANGELOG.md

File metadata and controls

508 lines (204 loc) · 23.6 KB

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

  • fix: rewrite CJS specific funcs/vars in plugins (#8227) (9baa70b), closes #8227
  • fix(plugin-vue): regenerate scoped css in build watch, fix #7980 (#7989) (dc00225), closes #7980 #7989
  • fix(plugin-vue): use server.origin when building base for transformAssetUrls (#8077) (2f7a490), closes #8077
  • build!: bump targets (#8045) (66efd69), closes #8045
  • chore: enable import/no-duplicates eslint rule (#8199) (11243de), closes #8199
  • docs(plugin-vue): clarify asset url handling (#8184) (32c75e2), closes #8184

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

  • 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: upgrade to pnpm v7 (#8041) (50f8f3b), closes #8041
  • chore: use unbuild to bundle plugins (#8139) (638b168), closes #8139
  • chore(deps): use esno to replace ts-node (#8152) (2363bd3), closes #8152
  • chore(lint): sort for imports (#8113) (43a58dd), closes #8113
  • chore(plugin-vue): change @rollup/pluginutils to dep from devDep (#8154) (dcc8ea4), closes #8154
  • chore(plugin-vue): replace source-map with gen/trace-mapping (#8155) (79a8c85), closes #8155
  • fix(plugin-vue): allow overwriting template.transformAssetUrls.includeAbsolute (fix #4836) (#6779) (e0fe200), closes #4836 #6779
  • fix(plugin-vue): don't inline ts scripts during build (#7909) (ba6cae9), closes #7909
  • fix(plugin-vue): trigger css hmr on custom template languages (#6987) (2289d04), closes #6987
  • fix(plugin-vue): user defined transformAssetUrls ignored in production build (#7171) (bfab569), closes #7171
  • fix(vue): same src file request same key (#8059) (4c54800), closes #8059
  • refactor: use node hash (#7975) (5ce7c74), closes #7975
  • build!: remove node v12 support (#7833) (eeac2d2), closes #7833

2.3.2 (2022-05-04)

  • feat: import ts with .js in vue (#7998) (9974094), closes #7998
  • refactor(plugin-vue): remove querystring import (#7997) (f3d15f1), closes #7997
  • chore(deps): update all non-major dependencies (#7780) (eba9d05), closes #7780

2.3.1 (2022-03-30)

  • chore(plugin-vue): revert #7527, lower vite peer dep (447bbeb), closes #7527

2.3.0 (2022-03-30)

  • chore(plugin-vue): bump vite peer dep to 2.9.0 (#7472) (12fd1d9), closes #7472
  • feat(css): css.devSourcemap option (#7471) (57f14cb), closes #7471
  • fix(plugin-vue): respect VUE_PROD_DEVTOOLS setting (#4984) (90e812a), closes #4984

2.3.0-beta.0 (2022-03-22)

  • fix(deps): update all non-major dependencies (#7392) (b63fc3b), closes #7392
  • feat: css sourcemap support during dev (#7173) (38a655f), closes #7173
  • chore(deps): update all non-major dependencies (#6905) (839665c), closes #6905
  • docs(vue): add transformAssetUrls example (#7232) (08e928c), closes #7232

2.2.4 (2022-02-28)

2.2.3 (2022-02-28)

Bug Fixes

2.2.2 (2022-02-18)

2.2.1 (2022-02-18)

Bug Fixes

2.2.0 (2022-02-09)

Bug Fixes

2.1.0 (2022-01-21)

Bug Fixes

  • plugin-vue: compiler is null on rollup (#6566) (b289b2d)
  • plugin-vue: make cssm code tree shakeable (#6353) (3fb4118)
  • update the vue version in the error message (#6252) (6a47083)

2.0.1 (2021-12-14)

Bug Fixes

2.0.0 (2021-12-12)

Bug Fixes

Code Refactoring

  • plugin-vue: resolve vue/compiler-sfc from project root (ce8b0fe)

Features

  • plugin-vue: add reactivityTransform option. (955d0fe)

BREAKING CHANGES

  • plugin-vue: refTransform option has been replaced by reactivityTransform option. Now also requires vue@^3.2.25.
  • plugin-vue: now requires vue@^3.2.13 as peer dep

1.10.2 (2021-12-07)

Bug Fixes

  • plugin-vue: misleading error thrown after refresh or hmr (#5870) (5c07cec)

1.10.1 (2021-11-26)

Bug Fixes

1.10.0 (2021-11-22)

1.10.0-beta.1 (2021-11-19)

Bug Fixes

  • plugin-vue dev scripts error in ssr-vue (#5607) (502b8f2)
  • plugin-vue: template src isn't working when script setup (#5418) (518da44)
  • plugin-vue: use __vccOpts for vue-class-component (#5374) (c4f9db2)

1.10.0-beta.0 (2021-10-28)

1.9.4 (2021-10-27)

Bug Fixes

  • plugin-vue: exclude direct css request from hmr target (#5422) (4331c26)

1.9.3 (2021-10-05)

Bug Fixes

  • plugin-vue: don't use object spread in the config hook (#5155) (c1ce471)

1.9.2 (2021-09-24)

Bug Fixes

  • plugin-vue: handle rewrite default edge case with TS (609a342)

Reverts

  • Revert "feat(plugin-vue): define VUE_SSR flag" (3e2c1bf)

1.9.1 (2021-09-23)

Features

  • plugin-vue: define VUE_SSR flag (49618c1) (Reverted)

1.9.0 (2021-09-21)

Bug Fixes

  • plugin-vue: enable ts in template also for lang=tsx (ed88df3)

Features

  • plugin-vue: support optional @vue/compiler-sfc peer dep (b17b5ae)

1.8.1 (2021-09-19)

Bug Fixes

  • plugin-vue: generate tree-shakable code (316d7af)

1.8.0 (2021-09-18)

Bug Fixes

Performance Improvements

  • plugin-vue: inline main script for build + avoid sourcemap generation when possible (93d9a2d)

1.7.1 (2021-09-18)

Bug Fixes

  • plugin-vue: properly handle in-template TS syntax + tests (0a2a5e1)

1.7.0 (2021-09-18)

Features

  • plugin-vue: support TS in template expressions (01fa2ab)

1.6.2 (2021-09-08)

Bug Fixes

  • plugin-vue: ensure descriptor in case main request is cached (85612fe)

1.6.1 (2021-09-06)

Bug Fixes

  • hmr doesn't work when modifying the code of jsx in sfc (#4563) (1012367)
  • plugin-vue: avoid applying ref transform to dependencies by default (cd4f341)

1.6.0 (2021-08-24)

Features

  • plugin-vue: latest ref transform support (533b002)
  • plugin-vue: warn compiler-sfc version mismatch (e7263b9)

1.5.0 (2021-08-24)

1.4.0 (2021-08-07)

Features

  • Custom Elements mode behavior changed: now only inlines the CSS and no longer exports the custom element constructor (exports the component as in normal mode). Users now need to explicitly call defineCustomElement on the component. This allows the custom element to be defined using an async version of the source component.

Bug Fixes

1.3.0 (2021-07-27)

Bug Fixes

  • reuse the old preprocessor after changing the lang attr (#4224) (7a3c6e6)

Features

  • plugin-vue: support importing vue files as custom elements (3a3af6e)

1.2.5 (2021-07-12)

1.2.4 (2021-06-27)

Bug Fixes

1.2.3 (2021-06-01)

Bug Fixes

  • plugin-vue: rewrite default after ts compiled (#3591) (ea5bafa)

1.2.2 (2021-04-24)

Bug Fixes

1.2.1 (2021-03-31)

Bug Fixes

  • plugin-vue: allow to overwrite feature flags (#2675) (a4acc16)

1.2.0 (2021-03-26)

Features

  • plugin-vue: enable :slotted usage detection (c40c49f)

1.1.5 (2021-02-26)

Bug Fixes

  • plugin-vue: fix hmr when emptying sfc file (#2142) (493b942), closes #2128
  • plugin-vue: handle default rewrite edge case for commented class (2900a9a), closes #2277
  • plugin-vue: import vue file as raw correctly (#1923) (5b56d70)

1.1.4 (2021-01-30)

Bug Fixes

  • plugin-vue: handle block src pointing to dependency files (bb7da3f), closes #1812

1.1.3 (2021-01-29)

Bug Fixes

  • plugin-vue: special handling for class default export in sfc (d3397e6), closes #1476

1.1.2 (2021-01-24)

1.1.1 (2021-01-23)

Bug Fixes

  • avoid eager hmr api access (fa37456)

Features

  • support base option during dev, deprecate build.base (#1556) (809d4bd)

1.1.0 (2021-01-19)

Features

  • ssr manifest for preload inference (107e79e)
  • plugin-vue: support for vite core new ssr impl (a93ab23)

1.0.6 (2021-01-15)

Bug Fixes

1.0.5 (2021-01-09)

Bug Fixes

  • plugin-vue: default pug doctype (756a0f2), closes #1383
  • plugin-vue: pass on script and style options to compiler-sfc (0503d42), closes #1450

1.0.4 (2021-01-04)

Bug Fixes

  • plugin-vue: mark SFC compiler options as Partial (#1316) (331484c)

Features

1.0.3 (2021-01-02)

Bug Fixes

  • plugin-vue: custom block prev handling (8dbc2b4)

Code Refactoring

  • hmr: pass context object to handleHotUpdate plugin hook (b314771)

BREAKING CHANGES

  • hmr: handleHotUpdate plugin hook now receives a single HmrContext argument instead of multiple args.

1.0.2 (2021-01-02)

Bug Fixes

  • plugin-vue: avoid throwing on never requested file (48a24c1)
  • plugin-vue: custom block prev handling (8dbc2b4)
  • avoid self referencing type in plugin-vue (9cccdaa)
  • plugin-vue: ensure id on descriptor (91217f6)