Skip to content

Latest commit

 

History

History
1253 lines (748 loc) · 103 KB

CHANGELOG.md

File metadata and controls

1253 lines (748 loc) · 103 KB

5.2.0 (2024-11-13)

  • feat: add a feature option to support custom component id generator (#461) (7a1fc4c), closes #461

5.1.5 (2024-11-11)

  • chore: fix typo (#464) (4a811b0), closes #464
  • chore(deps): update dependency rollup to ^4.24.0 (#448) (0fc9cd0), closes #448
  • chore(deps): update dependency rollup to ^4.25.0 (#472) (91210cc), closes #472
  • chore(deps): update upstream (#462) (5625fc9), closes #462
  • fix(deps): update all non-major dependencies (#439) (e432bcb), closes #439
  • fix(hmr): re-resolve script after type dep changed (#446) (8f9c624), closes #446
  • fix(hmr): should reload if relies file changed after re-render (#471) (62b17f3), closes #471
  • perf: use hash to replace createHash (#460) (de88394), closes #460

5.1.4 (2024-09-16)

  • chore: format (07b29a6)
  • chore(deps): update dependency rollup to ^4.21.3 (#440) (98766c2), closes #440
  • fix: skip checking private properties of typeParameters (#443) (e4f5fff), closes #443
  • fix(plugin-vue): allow overwrite esbuild config (#444) (1344294), closes #444

5.1.3 (2024-08-29)

  • chore: upgrade to eslint 9 (236a40f)
  • chore: use pnpm catalog for shared deps (0735e18)
  • chore(deps): update dependency rollup to ^4.20.0 (#433) (37c9073), closes #433
  • chore(deps): update upstream (#436) (b75a46f), closes #436
  • fix(deps): update all non-major dependencies (#421) (e3a7fec), closes #421
  • fix(plugin-vue): default value for __VUE_OPTIONS_API__ (acb57c9), closes #438

5.1.2 (2024-08-01)

  • refactor(plugin-vue): add type field (a6b7e3f)
  • fix(plugin-vue): add deprecated script.propsDestructure option (1e24322), closes #431
  • chore(deps): update upstream (#432) (5d592cd), closes #432

5.1.1 (2024-07-27)

  • fix(plugin-vue): clear script cache if recall (f5eb5ac), closes #431

5.1.0 (2024-07-23)

  • fix(deps): update all non-major dependencies (#412) (8cb2ea9), closes #412
  • fix(plugin-vue): clear cache after build end (96dbb22)
  • chore: update documentation for new features option (7fc7994)
  • chore(deps): update upstream (#416) (02a3edd), closes #416
  • feat(plugin-vue): add features option (#419) (3e839e2), closes #419

5.0.5 (2024-05-30)

  • fix(deps): update all non-major dependencies (#360) (ed4970a), closes #360
  • fix(deps): update all non-major dependencies (#371) (0a484c7), closes #371
  • fix(plugin-vue): don't inline template when __VUE_PROD_DEVTOOLS__ (#81) (277a3ab), closes #81
  • refactor(plugin-vue): use normalizePath from vite (#395) (2848174), closes #395
  • chore(deps): replace dependency eslint-plugin-node with eslint-plugin-n ^14.0.0 (#378) (997f9bb), closes #378
  • chore(deps): update all non-major dependencies (#355) (4faec3d), closes #355
  • chore(deps): update upstream (#356) (cf7d91e), closes #356
  • chore(deps): update upstream (#361) (a28c46e), closes #361
  • chore(deps): update upstream (#367) (2050ad3), closes #367
  • chore(deps): update upstream (#379) (96c82e9), closes #379
  • chore(plugin-vue): update options on docs (3f8b472)

5.0.4 (2024-02-09)

  • chore(deps-dev): bump vite from 5.0.10 to 5.0.12 (#354) (0294b9d), closes #354
  • chore(deps): update dependency prettier to v3.2.4 (#347) (e957179), closes #347
  • chore(deps): update dependency prettier to v3.2.5 (#352) (a9f5b11), closes #352
  • chore(deps): update upstream (#333) (573420d), closes #333
  • types: omit overridden options (0c7432b)
  • fix(deps): update all non-major dependencies (#332) (70e5df9), closes #332
  • fix(plugin-vue): allow disabling transformAssetUrls (#326) (0ff6fb7), closes #326

5.0.3 (2024-01-10)

  • fix(deps): update all non-major dependencies (#309) (8c694f6), closes #309
  • fix(plugin-vue): handle circular references in HMR check (#334) (eddcfa8), closes #334 #325
  • fix(plugin-vue): handle custom element when hot update (6ffee6d)
  • chore: fix typo (0a3b9a5)
  • chore(deps): update upstream (#310) (90eb484), closes #310

5.0.2 (2023-12-30)

  • fix: ensure consistent user template options when reusing AST (bc0ad64), closes #322
  • fix: only enable ast reuse for vue 3.4.3+ (4a53b6f)
  • chore: bump vue to 3.4.2 (97002e1)

5.0.1 (2023-12-29)

5.0.0 (2023-12-25)

  • Breaking: drop reactivityTransform support
  • Breaking: drop Node 14/16 support
  • Breaking: drop Vite 4.x support
  • Vue 3.4 template AST reuse support
  • Vue 3.4 compile-time flag __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ support
  • Added customElement option
  • Deprecated defineModel option

5.0.0-beta.1 (2023-12-14)

  • chore: deprecate defineModel option (0d52a27)
  • feat: provide default value for __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ (new in Vue 3.4) (0fbc4a4)

5.0.0-beta.0 (2023-12-07)

  • chore: upgrade vitest (db4cf1c)
  • chore(deps): update dependency rollup to ^4.6.1 (#308) (1a5df4f), closes #308
  • feat(plugin-vue): add customElement option to compiler (#238) (99564d5), closes #238
  • fix: respect vite base config for absolute URLs during dev (515b171)
  • fix(deps): update all non-major dependencies (#298) (cad0825), closes #298

5.0.0-alpha.0 (2023-11-28)

  • fix(plugin-vue): dts for cjs and esm (c6050ea)
  • feat: skip hmr when script is merely formatted (#258) (8383f49), closes #258
  • feat: support template AST reuse from Vue 3.4 parser (ba1bab9)
  • feat(plugin-vue): add api type to plugin (028617d)
  • chore: remove leftover references to reactivity transform (66d81ce)
  • chore(deps): update upstream (#302) (9c93426), closes #302
  • chore(deps): update upstream (major) (#295) (f5d8a29), closes #295
  • feat!: drop reactivity transform support (85b2f5b)
  • refactor!: drop node 14&16 (#296) (4b7be52), closes #296
  • refactor!: drop vite 4 (fcabfa5)
  • refactor(plugin-vue): simplify logic of resolving script (#300) (2ac1045), closes #300

BREAKING CHANGE

  • Reactivity Transform is no longer supported as part of this plugin, in coordination with Vue 3.4. Use VueMacros if you wish to continue using this feature.

4.5.0 (2023-11-16)

  • chore: update peerDependencies to support Vite 5 (#290) (f92861a), closes #290
  • chore: upgrade deps (c046eba)
  • fix(deps): update all non-major dependencies (#262) (c316d43), closes #262

4.4.1 (2023-11-08)

4.4.0 (2023-10-02)

  • fix(plugin-vue): re-create filters after updating options (#246) (c383503), closes #246
  • feat: support generated JS imports for external scoped style (#196) (bd5055d), closes #196
  • chore: add @ts-ignore when accessing legacy?.buildSsrCjsExternalHeuristics (#255) (04c3b0b), closes #255
  • refactor(plugin-vue): deprecate reactivity transform (38f8ea5)
  • refactor(plugin-vue): use source-map-js (#247) (b43690d), closes #247

4.3.4 (2023-08-28)

  • chore(deps): update typescript-eslint monorepo to v6 (major) (#210) (fb07b5b), closes #210
  • feat(plugin-vue): expose options in api (#177) (269121e), closes #177

4.3.3 (2023-08-22)

  • fix: conditionally get descriptor on hmr (#236) (b7b1383), closes #236

4.3.2 (2023-08-21)

  • fix(plugin-vue): distinguish HMR and transform descriptor (#232) (9119d4d), closes #232

4.3.1 (2023-08-17)

  • fix: revert "fix(plugin-vue): distinguish HMR and transform descriptor (#227)" (0c28448), closes #227

4.3.0 (2023-08-17)

  • docs: add example for transforming custom blocks (#221) (a6e013e), closes #221
  • fix: make it work when a default lang was specified (#223) (ff68ed3), closes #223 #17
  • fix: missing typescript declaration for globalTypeFiles (#189) (1e8d16e), closes #189
  • fix(build): ensure correct typing for node esm (#179) (8a19ee4), closes #179
  • fix(deps): update all non-major dependencies (#163) (3c8193d), closes #163
  • fix(deps): update all non-major dependencies (#205) (e014680), closes #205
  • fix(plugin-vue): distinguish HMR and transform descriptor (#227) (aa2b59d), closes #227
  • fix(plugin-vue): hmr not working when updating script+template at the same time with a template prep (93c444c), closes #106 #28 #76
  • feat(types): expose hoistStatic option for script compilation (#198) (7466b4f), closes #198

4.2.3 (2023-05-12)

  • fix(types): widen allowed script options for 3.3 features (3ac08e4)

4.2.2 (2023-05-11)

  • fix: ignore generic attribute when generating script import (3170af1)
  • chore: bump vite (ffe74e5)
  • chore: bump vue version (799d875)

4.2.1 (2023-04-26)

  • fix: lang="tsx" can't be inlined (c3f5c9c), closes #159
  • chore: update changelog [ci skip] (9d0d7a7)

4.2.0 (2023-04-25)

  • feat: support 3.3 imported types in SFC macros (c891652)

4.2.0-beta.3 (2023-04-19)

  • fix: fix watcher unlink listener setup timing (2d2c91a)

4.2.0-beta.2 (2023-04-19)

  • fix: invalidate type cache on file removal (e8cc64b)

4.2.0-beta.1 (2023-04-18)

  • perf: only record type deps map in dev (605b3b0)
  • chore: bump vue dev dep (1f2155a)
  • chore: bump vue dev dep (trying windows fix) (6513ecf)
  • chore: remove unused export (d73c8e7)
  • fix: ensure canInlineMain logic is identical with before refactor (e6c5a90)
  • feat: support 3.3 imported types in SFC macros (c891652)

4.2.0-beta.0 (2023-04-17)

  • fix: check presence of magic-string instance when using rewriteDefaultAST (094f784)
  • fix(deps): update all non-major dependencies (#82) (b274436), closes #82
  • fix(vue): retrieve rewritten code (#139) (199f0cb), closes #139
  • chore: format (328fc10)
  • refactor: reuse script ast for rewriting default (#136) (9d84656), closes #136
  • refactor: use compiler-sfc 3.3 genDefaultAs option to avoid rewriteDefault (2c35a66)

4.1.0 (2023-03-16)

  • fix: avoid resolving to 2.7 compiler-sfc (cf36b3e)

4.1.0-beta.0 (2023-03-07)

  • fix: upgrade rollup and typescript (#114) (c8a61e3), closes #114
  • fix(deps): update all non-major dependencies (#50) (8f4a5dc), closes #50

4.0.0 (2022-12-09)

  • chore: update vite dep to ^4.0.0 (#49) (5a2f789), closes #49
  • chore(deps): update all non-major dependencies (#40) (4c95967), closes #40
  • chore(deps): update rollup and esbuild (#46) (92fec7b), closes #46

4.0.0-beta.0 (2022-12-05)

BREAKING CHANGE

  • handleHotUpdate plugin hook now receives a single HmrContext argument instead of multiple args.
  • refTransform option has been replaced by reactivityTransform option. Now also requires vue@^3.2.25.
  • now requires vue@^3.2.13 as peer dep

4.0.0-alpha.2 (2022-11-30)

  • docs(plugin-vue): update options in README (#11125) (23d79b8), closes #11125
  • fix(plugin-vue): invalidate script module cache when it changed in hot update (#11059) (9d0b9d8), closes #11059
  • fix(plugin-vue): support scss/sass/less... hmr on custom template languages (fix #10677) (#10844) (d413848), closes #10677 #10844

4.0.0-alpha.1 (2022-11-22)

  • feat: dedupe the vue in client bundle by default (#11032) (fae0e23), closes #11032

4.0.0-alpha.0 (2022-11-15)

  • fix: handle HMR for Vue SFC with query parameters (fix #9341) (#10794) (6462ab0), closes #9341 #10794
  • fix(vue): skip url query request (fixes #10863) (#10920) (97d200c), closes #10863 #10920
  • chore(deps): update all non-major dependencies (#10910) (f6ad607), closes #10910
  • chore(deps): update to rollup 3.3 (#10890) (2d17aa2), closes #10890
  • perf: regexp perf issues, refactor regexp stylistic issues (#10905) (fc007df), closes #10905
  • docs(plugin-vue): add link to plugin-vue-jsx (#10830) (0c295e0), closes #10830
  • feat: rollup 3 (#9870) (beb7166), closes #9870

3.2.0 (2022-10-26)

  • chore(deps): update all non-major dependencies (#10393) (f519423), closes #10393
  • chore(deps): update all non-major dependencies (#10488) (15aa827), closes #10488
  • fix(plugin-vue): enable ts in template when using tsx in dev mode (#10180) (a9f9d31), closes #10180
  • docs: add missing binding in asset import example (#10414) (d7ac96d), closes #10414

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

  • fix(deps): update all non-major dependencies (#10077) (caf00c8), closes #10077
  • fix(deps): update all non-major dependencies (#10316) (a38b450), closes #10316
  • fix(deps): update all non-major dependencies (#9985) (855f2f0), closes #9985
  • fix(deps): update rollup to ^2.79.1 (#10298) (2266d83), closes #10298
  • fix(esbuild): transpile with esnext in dev (#10207) (43b7b78), closes #10207
  • chore(deps): update dependency slash to v5 (#10317) (9d87c11), closes #10317
  • refactor(types): bundle client types (#9966) (da632bf), closes #9966

3.1.0 (2022-09-05)

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

  • docs: fix typo (#9855) (583f185), closes #9855
  • feat: support object style hooks (#9634) (757a92f), closes #9634
  • chore: fix typo (#9684) (d30f881), closes #9684
  • chore(deps): update all non-major dependencies (#9675) (4e56e87), closes #9675
  • chore(plugin-vue): update reactivityTransform comment docs [ci skip] (d04784b)

3.0.3 (2022-08-12)

3.0.2 (2022-08-11)

  • chore: fix code typos (#9033) (ed02861), closes #9033
  • chore: narrow down rollup version (#9637) (fcf4d98), closes #9637

3.0.1 (2022-07-18)

  • fix: mention that Node.js 13/15 support is dropped (fixes #9113) (#9116) (2826303), closes #9113 #9116
  • fix(vue): remove ssr.external config (#9128) (ec91f98), closes #9128
  • refactor(vue): limit passable compilerOptions (#8994) (b7b3e65), closes #8994

3.0.0 (2022-07-13)

  • chore: 3.0 release notes and bump peer deps (#9072) (427ba26), closes #9072
  • fix(vue): handle undefined on import.meta.hot.accept (fixes #8625) (#9011) (70af44a), closes #8625 #9011
  • docs: cleanup changes (#8989) (07aef1b), closes #8989

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

  • fix(deps): update all non-major dependencies (#8802) (a4a634d), closes #8802
  • fix(plugin-vue): handle TS decorators in rewriteDefault fallback (cb0c76a)
  • chore: use tsx directly instead of indirect esno (#8773) (f018f13), closes #8773
  • chore(plugin-vue): mark export helper with null byte (#8792) (8de4319), closes #8792

3.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

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

  • fix(deps): update all non-major dependencies (#8281) (c68db4d), closes #8281
  • fix(deps): update all non-major dependencies (#8391) (842f995), closes #8391
  • fix(plugin-vue): fix sourcemap when no script block in sfc (close #8601) (#8604) (ccfccec), closes #8601 #8604
  • chore: enable reportUnusedDisableDirectives (#8384) (9a99bc4), closes #8384
  • 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
  • feat: expose createFilter util (#8562) (c5c424a), closes #8562
  • refactor: remove hooks ssr param support (#8491) (f59adf8), closes #8491
  • feat!: migrate to ESM (#8178) (76fdc27), closes #8178

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/vite#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)