- chore: add vite 6 peer dep (#481) (4288652), closes #481
- chore: fix lint (378aea3)
- chore(deps): update dependency rollup to ^4.27.2 (#476) (b2df95e), closes #476
- 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 replacecreateHash
(#460) (de88394), closes #460
- 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
- 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
- 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
- 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
- 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)
- 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
- 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
- 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)
- fix: Revert "feat: support template AST reuse from Vue 3.4 parser" (5d68fbd), closes #322 /github.com/vuejs/core/blob/a41c5f1f4367a9f41bcdb8c4e02f54b2378e577d/packages/compiler-sfc/src/parse.ts#L133-L139 /github.com/vitejs/vite-plugin-vue/blob/f75de2e5284af6036efa45d5c9ec37757485e3a0/packages/plugin-vue/src/template.ts#L186-L190
- chore: aggregated changelog for 5.0 [ci skip] (2b33c32)
- 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
- chore: deprecate defineModel option (0d52a27)
- feat: provide default value for
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__
(new in Vue 3.4) (0fbc4a4)
- 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
- 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
- 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.
- 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
- fix: fix style block hmr for vitepress md files (a26a854), closes vuejs/vitepress#3129
- chore: make tests pass with rollup4 (#271) (298d419), closes #271
- 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 accessinglegacy?.buildSsrCjsExternalHeuristics
(#255) (04c3b0b), closes #255 - refactor(plugin-vue): deprecate reactivity transform (38f8ea5)
- refactor(plugin-vue): use source-map-js (#247) (b43690d), closes #247
- chore(deps): update typescript-eslint monorepo to v6 (major) (#210) (fb07b5b), closes #210
- feat(plugin-vue): expose options in
api
(#177) (269121e), closes #177
- fix: revert "fix(plugin-vue): distinguish HMR and transform descriptor (#227)" (0c28448), closes #227
- 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
- fix(types): widen allowed script options for 3.3 features (3ac08e4)
- fix: ignore generic attribute when generating script import (3170af1)
- chore: bump vite (ffe74e5)
- chore: bump vue version (799d875)
- feat: support 3.3 imported types in SFC macros (c891652)
- fix: fix watcher unlink listener setup timing (2d2c91a)
- fix: invalidate type cache on file removal (e8cc64b)
- 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)
- 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)
- fix: avoid resolving to 2.7 compiler-sfc (cf36b3e)
- fix: upgrade rollup and typescript (#114) (c8a61e3), closes #114
- fix(deps): update all non-major dependencies (#50) (8f4a5dc), closes #50
- 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
- chore: @typescript-eslint/explicit-module-boundary-types (#2735) (3337060), closes #2735
- chore: 3.0 release notes and bump peer deps (#9072) (e6947e7), closes #9072
- chore: Add
repository.directory
topackages/**/package.json
(#2687) (3be6b48), closes #2687 - chore: add version badge for plugins [skip ci] (d3ebd5f)
- chore: author (d18e950)
- chore: bump deps (1281de5)
- chore: bump minors and rebuild lock (#8074) (069207c), closes #8074
- chore: bump vue (93fd77a)
- chore: bump vue and vitepress deps (e141d89)
- chore: bump vue deps to 3.2.5 (8fec623)
- chore: bump vue version (cab434e)
- chore: bump vue version (fix broken alias test case) (27ac68b)
- chore: change prettier version to exact (#3386) (a08465c), closes #3386
- chore: convert scripts to TS (#6160) (8653e84), closes #6160
- chore: enable
import/no-duplicates
eslint rule (#8199) (a0b88b3), closes #8199 - chore: enable prettier trailing commas (#37) (eef8929), closes #37
- chore: enable reportUnusedDisableDirectives (#8384) (6e8094a), closes #8384
- chore: fix code typos (#9033) (3ca1391), closes #9033
- chore: fix lockfile + missing args (943f4ab)
- chore: fix plugin-vue build (e4fbe06)
- chore: fix publish, build vite before plugin-react and plugin-vue (#6988) (691da83), closes #6988
- chore: fix some typos (#2715) (91d2174), closes #2715
- chore: fix typo (#9684) (eafe717), closes #9684
- chore: format (#5459) (0623832), closes #5459
- chore: format & check with prettier (#5869) (2465f11), closes #5869
- chore: format and fix typo (#5718) (bd5c795), closes #5718
- chore: narrow down rollup version (#9637) (c381571), closes #9637
- chore: next replace core (#6664) (c9e9e55), closes #6664
- chore: no implicit any for local vars (#4314) (134d0a1), closes #4314
- chore: plugin-vue changelog edits [ci skip] (6fbf739)
- chore: prefer type imports (#5835) (f2d9ae8), closes #5835
- chore: prefer-const (#2733) (7e4d61d), closes #2733
- chore: remove invalid condition (#5758) (f2f5daf), closes #5758
- chore: remove stale files (8fc4c84)
- chore: remove stale option (95db63e)
- chore: repo setup (cfb7e42)
- chore: revert vitejs/vite#8152 (#8161) (be1d42c), closes vitejs/vite#8152 #8161
- chore: typos (#1463) [skip ci] (f71e0e0), closes #1463
- chore: update branch links [ci skip] (965d07f)
- chore: Update fsevents, chokidar, rollup (#1901) (30949d9), closes #1901
- chore: update major deps (#8572) (858af60), closes #8572
- chore: update plugins peer deps (43aa63c)
- chore: upgrade to pnpm v7 (#8041) (e42c759), closes #8041
- chore: use
esno
to replacets-node
(#8162) (addbe17), closes #8162 - chore: use
tsx
directly instead of indirectesno
(#8773) (0b0a21f), closes #8773 - chore: use
unbuild
to bundle plugins (#8139) (83ddf72), closes #8139 - chore: use cjs extension with scripts (#5877) (6ac51e9), closes #5877
- chore: use node prefix (#8309) (32dc514), closes #8309
- chore: use recommended lint (#3072) (50362d4), closes #3072
- chore: vite as peer dep for plugin-vue (#4979) (bef4608), closes #4979
- chore(deps): bump rollup version (#5045) (955df4e), closes #5045
- chore(deps): massive major deps update (#5574) (ee30ad7), closes #5574
- chore(deps): update all non-major dependencies (#10393) (e238633), closes #10393
- chore(deps): update all non-major dependencies (#10488) (efc0dd8), closes #10488
- chore(deps): update all non-major dependencies (#10910) (34ceb0d), closes #10910
- chore(deps): update all non-major dependencies (#4117) (6614840), closes #4117
- chore(deps): update all non-major dependencies (#4309) (f60927d), closes #4309
- chore(deps): update all non-major dependencies (#4992) (b599b0f), closes #4992
- chore(deps): update all non-major dependencies (#5100) (8b30606), closes #5100
- chore(deps): update all non-major dependencies (#5679) (8aca1db), closes #5679
- chore(deps): update all non-major dependencies (#5879) (d61b590), closes #5879
- chore(deps): update all non-major dependencies (#6357) (71dc4fe), closes #6357
- chore(deps): update all non-major dependencies (#6905) (de8beb9), closes #6905
- chore(deps): update all non-major dependencies (#7780) (17c8b26), closes #7780
- chore(deps): update all non-major dependencies (#8474) (9a97dba), closes #8474
- chore(deps): update all non-major dependencies (#9675) (654e3f0), closes #9675
- chore(deps): update dependency slash to v4 (#4118) (7a07f17), closes #4118
- chore(deps): update dependency slash to v5 (#10317) (6fd5c72), closes #10317
- chore(deps): update non critical deps (#5569) (a1eca7c), closes #5569
- chore(deps): update plugins (#5462) (caa700f), closes #5462
- chore(deps): update to esbuild 0.14.14, with patched dist (#6639) (506b337), closes #6639
- chore(deps): update to rollup 3.3 (#10890) (bd9c3cf), closes #10890
- chore(deps): update typescript to v4.3 (#3557) (d3d5192), closes #3557
- chore(deps): use
esno
to replacets-node
(#8152) (612a1b6), closes #8152 - chore(lint): sort for imports (#8113) (ca80e9d), closes #8113
- chore(plugin-vue): backwards compat for ssr option (b4af35e)
- chore(plugin-vue): bump vite peer dep requirement (90c7e20)
- chore(plugin-vue): bump vite peer dep to 2.9.0 (#7472) (976f2e6), closes #7472
- chore(plugin-vue): change @rollup/pluginutils to dep from devDep (#8154) (b10ac5e), closes #8154
- chore(plugin-vue): changelog [ci skip] (77bd76f)
- chore(plugin-vue): comments and readme (e30b37f)
- chore(plugin-vue): define
renderFnName
if necessary (#1357) (1cd0590), closes #1357 - chore(plugin-vue): fix return type annotation (852d71d)
- chore(plugin-vue): mark export helper with null byte (#8792) (5b1e188), closes #8792
- chore(plugin-vue): prepare for release (bad5279)
- chore(plugin-vue): remove deprecated options (87bad9b)
- chore(plugin-vue): replace source-map with gen/trace-mapping (#8155) (5713a87), closes #8155
- chore(plugin-vue): revert #7527, lower vite peer dep (85c04f2), closes #7527
- chore(plugin-vue): update reactivityTransform comment docs [ci skip] (80b4108)
- release: [email protected] (7f027a5)
- release: [email protected] (c21710a)
- release: [email protected] (7d7e479)
- release: [email protected] (19ff48b)
- release: [email protected] (a3f6de1)
- release: [email protected] (3a70d96)
- release: [email protected] (4c1ee89)
- release: [email protected] (d18b6de)
- release: [email protected] (64e42a1)
- release: [email protected] (7de66ff)
- release: [email protected] (b59df72)
- release: [email protected] (a0a138c)
- release: [email protected] (ca04118)
- release: [email protected] (e1e19cd)
- release: [email protected] (e9c929e)
- release: [email protected] (94b375e)
- release: [email protected] (6033572)
- release: [email protected] (bcf29ce)
- release: [email protected] (6b2ecac)
- release: [email protected] (e2e47ff)
- release: [email protected] (d196dd2)
- release: [email protected] (bfc4a09)
- release: [email protected] (f1eb67d)
- release: [email protected] (83aa68b)
- release: [email protected] (faf2ec5)
- release: [email protected] (41dd987)
- release: [email protected] (908cd75)
- release: [email protected] (c6e9672)
- release: [email protected] (c0c126a)
- release: [email protected] (ee54b65)
- release: [email protected] (5ccbc27)
- release: [email protected] (e14a3f9)
- release: [email protected] (b8fc0f2)
- release: [email protected] (b9c3991)
- release: [email protected] (df59ff9)
- release: [email protected] (232ddb9)
- release: [email protected] (ec627ed)
- release: [email protected] (b70a4f8)
- release: [email protected] (f879b32)
- release: [email protected] (def902e)
- release: [email protected] (4d8f246)
- release: [email protected] (6a3c4e7)
- release: [email protected] (19948be)
- release: [email protected] (09dca5b)
- release: [email protected] (6d9de5f)
- release: [email protected] (b9030eb)
- release: [email protected] (60fdfa4)
- release: [email protected] (0e543da)
- release: [email protected] (e2147eb)
- release: [email protected] (38722d9)
- release: [email protected] (8a03fd4)
- release: [email protected] (3888648)
- release: [email protected] (69d9134)
- release: [email protected] (e0a1770)
- release: [email protected] (ac1beae)
- release: [email protected] (62a3ee1)
- release: [email protected] (73f5e12)
- release: [email protected] (7ffd9c0)
- release: [email protected] (8905909)
- release: [email protected] (bab1e4d)
- release: [email protected] (fbc084a)
- release: [email protected] (11af403)
- release: [email protected] (7e94789)
- release: [email protected] (d826ac2)
- docs: add missing binding in asset import example (#10414) (1e44c81), closes #10414
- docs: cleanup changes (#8989) (4439d91), closes #8989
- docs: fix typo (#1371) (0a0350c), closes #1371
- docs: fix typo (#9855) (c6f5556), closes #9855
- docs: migration guide (039e7c3)
- docs(plugin-vue): add custom block transform example (c98a157)
- docs(plugin-vue): add link to plugin-vue-jsx (#10830) (459e27b), closes #10830
- docs(plugin-vue): clarify asset url handling (#8184) (a788f39), closes #8184
- docs(plugin-vue): example for passing compiler options (a55eebc), closes #1312
- docs(plugin-vue): mark
script/template/style
options asPartial
(#1342) [skip ci] (da57335), closes #1342 - docs(plugin-vue): update options in README (#11125) (e3b7e06), closes #11125
- docs(vue): add transformAssetUrls example (#7232) (d4786d1), closes #7232
- fix: adjust vue template sourcemap (#6972) (0ae86fc), closes #6972
- fix: allow overwriting
define
options in vue & vue-jsx plugins (#6072) (f60874c), closes #6072 - fix: avoid eager hmr api access (705bfc3)
- fix: avoid self referencing type in plugin-vue (50ef75e)
- fix: handle HMR for Vue SFC with query parameters (fix #9341) (#10794) (eb719bf), closes #9341 #10794
- fix: hmr doesn't work when modifying the code of jsx in sfc (#4563) (551eaea), closes #4563
- fix: mention that Node.js 13/15 support is dropped (fixes #9113) (#9116) (04267f7), closes #9113 #9116
- fix: plugin-vue
options.compiler
field (#6588) (a698346), closes #6588 #6587 - fix: plugin-vue dev scripts error in ssr-vue (#5607) (c6f957b), closes #5607
- fix: reuse the old preprocessor after changing the lang attr (#4224) (7be5862), closes #4224
- fix: revert update dependency slash to v4 (#4118) (#4519) (78e5474), closes #4118 #4519
- fix: rewrite CJS specific funcs/vars in plugins (#8227) (da0b6de), closes #8227
- fix: update the vue version in the error message (#6252) (a3e06d1), closes #6252
- fix(deps): update all non-major dependencies (#10077) (fb7c239), closes #10077
- fix(deps): update all non-major dependencies (#10316) (c369cde), closes #10316
- fix(deps): update all non-major dependencies (#4545) (874dcc2), closes #4545
- fix(deps): update all non-major dependencies (#6782) (a83ed1b), closes #6782
- fix(deps): update all non-major dependencies (#7392) (f3eb74f), closes #7392
- fix(deps): update all non-major dependencies (#8281) (3d7002a), closes #8281
- fix(deps): update all non-major dependencies (#8391) (87e0141), closes #8391
- fix(deps): update all non-major dependencies (#8802) (7082ccf), closes #8802
- fix(deps): update all non-major dependencies (#9985) (cc26fd3), closes #9985
- fix(deps): update rollup to
^2.79.1
(#10298) (f16e0f0), closes #10298 - fix(esbuild): transpile with esnext in dev (#10207) (f5a3481), closes #10207
- fix(plugin-vue): add newline character before class components, fix #2787 (#2933) (05f88e7), closes #2787 #2933
- fix(plugin-vue): allow overwriting template.transformAssetUrls.includeAbsolute (fix #4836) (#6779) (74bb93c), closes #4836 #6779
- fix(plugin-vue): allow to overwrite feature flags (#2675) (f13ec43), closes #2675
- fix(plugin-vue): avoid applying ref transform to dependencies by default (9a0c54a)
- fix(plugin-vue): avoid duplicate import, fix #2640 (#2897) (aa241e8), closes #2640 #2897
- fix(plugin-vue): avoid throwing on never requested file (0661306)
- fix(plugin-vue): compiler is null on rollup (#6566) (91be66b), closes #6566
- fix(plugin-vue): custom block prev handling (dd80760)
- fix(plugin-vue): default pug doctype (667637f), closes #1383
- fix(plugin-vue): don't inline ts scripts during build (#7909) (77310fc), closes #7909
- fix(plugin-vue): don't use object spread in the config hook (#5155) (c88768b), closes #5155
- fix(plugin-vue): enable ts in template also for lang=tsx (8da60e3)
- fix(plugin-vue): enable ts in template when using tsx in dev mode (#10180) (9897d98), closes #10180
- fix(plugin-vue): ensure descriptor in case main request is cached (5e6f6c9)
- fix(plugin-vue): ensure id on descriptor (fe1848c)
- fix(plugin-vue): error.length is zero (#6106) (8a9cc12), closes #6106
- fix(plugin-vue): exclude direct css request from hmr target (#5422) (16aa887), closes #5422
- fix(plugin-vue): fix hmr issue in vuejs/core#4358 (7a52d98), closes vuejs/vue-next#4358
- fix(plugin-vue): fix hmr when emptying sfc file (#2142) (1153565), closes #2142 #2128
- fix(plugin-vue): fix sourcemap when no script block in sfc (close #8601) (#8604) (66508cc), closes #8601 #8604
- fix(plugin-vue): generate tree-shakable code (07b1ca2)
- fix(plugin-vue): handle block src pointing to dependency files (31863d1), closes #1812
- fix(plugin-vue): handle default rewrite edge case for commented class (551ece9), closes #2277
- fix(plugin-vue): handle rewrite default edge case with TS (5104ee8)
- fix(plugin-vue): handle TS decorators in rewriteDefault fallback (babf67e)
- fix(plugin-vue): import vue file as raw correctly (#1923) (863865e), closes #1923
- fix(plugin-vue): invalidate script module cache when it changed in hot update (#11059) (0b3c22a), closes #11059
- fix(plugin-vue): make cssm code tree shakeable (#6353) (dac8075), closes #6353
- fix(plugin-vue): mark SFC compiler options as
Partial
(#1316) (990f338), closes #1316 - fix(plugin-vue): misleading error thrown after refresh or hmr (#5870) (8bc76eb), closes #5870
- fix(plugin-vue): multiple vue files using the same src file (fix #5925, #5447) (#5994) (41b5d76), closes #5925 #5447 #5994
- fix(plugin-vue): pass on script and style options to compiler-sfc (0ec86cc), closes #1450
- fix(plugin-vue): properly handle in-template TS syntax + tests (e950c6e)
- fix(plugin-vue): regenerate scoped css in build watch, fix #7980 (#7989) (e57af2e), closes #7980 #7989
- fix(plugin-vue): respect VUE_PROD_DEVTOOLS setting (#4984) (01bdac9), closes #4984
- fix(plugin-vue): respect
hmr: false
server config, fix #2790 (#2797) (74b5993), closes #2790 #2797 - fix(plugin-vue): rewrite default after ts compiled (#3591) (b63a7a9), closes #3591
- fix(plugin-vue): setup jsx script no hmr (#6568) (154440e), closes #6568
- fix(plugin-vue): sfc src import respect alias (#1544) (c562500), closes #1544 #1542
- fix(plugin-vue): special handling for class default export in sfc (4b8267d), closes #1476
- fix(plugin-vue): support scss/sass/less... hmr on custom template languages (fix #10677) (#10844) (f2d1d29), closes #10677 #10844
- fix(plugin-vue): template src isn't working when script setup (#5418) (3f4cf82), closes #5418
- fix(plugin-vue): trigger css hmr on custom template languages (#6987) (4980edd), closes #6987
- fix(plugin-vue): use __vccOpts for vue-class-component (#5374) (01a6e4b), closes #5374
- fix(plugin-vue): use server.origin when building base for transformAssetUrls (#8077) (e7b414e), closes #8077
- fix(plugin-vue): user defined transformAssetUrls ignored in production build (#7171) (d07e814), closes #7171
- fix(ssr): normalize manifest filenames (#3706) (64ec27b), closes #3706 #3303
- fix(vue): handle undefined on import.meta.hot.accept (fixes #8625) (#9011) (8de9fa2), closes #8625 #9011
- fix(vue): remove ssr.external config (#9128) (3f80108), closes #9128
- fix(vue): same src file request same key (#8059) (34632b0), closes #8059
- fix(vue): skip url query request (fixes #10863) (#10920) (3e23e6c), closes #10863 #10920
- feat: bump minimum node version to 14.18.0 (#8662) (d956094), closes #8662
- feat: css sourcemap support during dev (#7173) (9c5103a), closes #7173
- feat: custom blocks (03f24f2)
- feat: dedupe the
vue
in client bundle by default (#11032) (33c599d), closes #11032 - feat: experimental.buildAdvancedBaseOptions (#8450) (ab7150f), closes #8450
- feat: expose createFilter util (#8562) (cd6c2a8), closes #8562
- feat: import ts with .js in vue (#7998) (efec835), closes #7998
- feat: rollup 3 (#9870) (c84de99), closes #9870
- feat: ssr manifest for preload inference (1506285)
- feat: support
base
option during dev, deprecatebuild.base
(#1556) (ba4bce2), closes #1556 - feat: support object style hooks (#9634) (c744274), closes #9634
- feat(css): css.devSourcemap option (#7471) (adbaa94), closes #7471
- feat(plugin-vue): add
reactivityTransform
option. (b873333) - feat(plugin-vue): enable :slotted usage detection (8ceac0c)
- feat(plugin-vue): export vue query parse API (#1303) (96d21ce), closes #1303
- feat(plugin-vue): latest ref transform support (326b382)
- feat(plugin-vue): support for vite core new ssr impl (7f7e913)
- feat(plugin-vue): support importing vue files as custom elements (1ba31c4)
- feat(plugin-vue): support optional @vue/compiler-sfc peer dep (d18ab9e)
- feat(plugin-vue): support TS in template expressions (decc925)
- feat(plugin-vue): warn compiler-sfc version mismatch (dce80c6)
- perf: regexp perf issues, refactor regexp stylistic issues (#10905) (086dc36), closes #10905
- perf(plugin-vue): inline main script for build + avoid sourcemap generation when possible (7c26da7)
- refactor: adjust custom element mode behavior (083c9c8)
- refactor: improve vue compiler error reporting (4218fd9)
- refactor: more explicit ssr external control via options (2527a9d)
- refactor: re-organize into monorepo (629302b)
- refactor: remove hooks ssr param support (#8491) (83f3dce), closes #8491
- refactor: simplify array handling (#5734) (c26f6ec), closes #5734
- refactor: source map tweaks (31f5bfe), closes #1677
- refactor: use node hash (#7975) (471cc9e), closes #7975
- refactor(hmr): pass context object to
handleHotUpdate
plugin hook (6c26125) - refactor(plugin-vue): ensure style processing in custom elements mode (8b232a7)
- refactor(plugin-vue): remove querystring import (#7997) (329b844), closes #7997
- refactor(plugin-vue): resolve vue/compiler-sfc from project root (b9171dd)
- refactor(plugin-vue): respect customElment: false (f6a91f0)
- refactor(types): bundle client types (#9966) (619615c), closes #9966
- refactor(vue): limit passable compilerOptions (#8994) (26510c9), closes #8994
- build!: bump targets (#8045) (c5f46d2), closes #8045
- build!: remove node v12 support (#7833) (bc43220), closes #7833
- feat!: migrate to ESM (#8178) (f61d065), closes #8178
- refactor!: plugin hooks ssr param to object (#5253) (7da0563), closes #5253
- v1.0.1 (797da60)
- v1.0.2 (e258d81)
- workflow: adjust release setup (2de3222)
- workflow: separate version bumping and publishing on release (#6879) (8013d90), closes #6879
- workflow: switch to pnpm (#5060) (ad6047d), closes #5060
- build: build for plugin-vue (88571bb)
- build(plugin-vue): fix build script (b3ff091)
- wip: asset resolution and tests (7b1b5a0)
- wip: automatic ssr externals inference (96bce09)
- wip: css asset url rewrite (7680773)
- wip: fix template pre-processor handling (d1def7d)
- wip: more vitepress tweaks (76c21ff)
- wip: optimize vue relative asset reference + handle out of root assets (2a61dd7)
- wip: port rollup-plugin-vue to vite plugin (bb0c105)
- wip: remove debugger, define vue flags in plugin (31a9c90)
- wip: setup basic testing, refactor server api (7335861)
- wip: tweaks for vitepress (49dac87)
- test: vue src imports (7ef0acf)
handleHotUpdate
plugin hook now receives a singleHmrContext
argument instead of multiple args.refTransform
option has been replaced byreactivityTransform
option. Now also requires vue@^3.2.25.- now requires vue@^3.2.13 as peer dep
- 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
- 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
- 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
- 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
- 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)
- chore: fix code typos (#9033) (ed02861), closes #9033
- chore: narrow down rollup version (#9637) (fcf4d98), closes #9637
- 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
- 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
- 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 indirectesno
(#8773) (f018f13), closes #8773 - chore(plugin-vue): mark export helper with null byte (#8792) (8de4319), closes #8792
- 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
- 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 replacets-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
- 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
- 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 replacets-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
- 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
- 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
- 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)
2.2.2 (2022-02-18)
2.2.1 (2022-02-18)
- adjust vue template sourcemap (#6972) (a774303)
- deps: update all non-major dependencies (#6782) (e38be3e)
2.2.0 (2022-02-09)
2.1.0 (2022-01-21)
- 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)
2.0.0 (2021-12-12)
- allow overwriting
define
options in vue & vue-jsx plugins (#6072) (5f3f6b7) - plugin-vue: multiple vue files using the same src file (fix #5925, #5447) (#5994) (df7aec7)
- plugin-vue: resolve vue/compiler-sfc from project root (ce8b0fe)
- plugin-vue: add
reactivityTransform
option. (955d0fe)
- plugin-vue:
refTransform
option has been replaced byreactivityTransform
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)
1.10.1 (2021-11-26)
1.10.0 (2021-11-22)
1.10.0-beta.1 (2021-11-19)
- 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)
1.9.3 (2021-10-05)
1.9.2 (2021-09-24)
- plugin-vue: handle rewrite default edge case with TS (609a342)
- Revert "feat(plugin-vue): define VUE_SSR flag" (3e2c1bf)
1.9.1 (2021-09-23)
plugin-vue: define VUE_SSR flag (49618c1)(Reverted)
1.9.0 (2021-09-21)
- plugin-vue: enable ts in template also for lang=tsx (ed88df3)
- plugin-vue: support optional @vue/compiler-sfc peer dep (b17b5ae)
1.8.1 (2021-09-19)
- plugin-vue: generate tree-shakable code (316d7af)
1.8.0 (2021-09-18)
- plugin-vue: inline main script for build + avoid sourcemap generation when possible (93d9a2d)
1.7.1 (2021-09-18)
- plugin-vue: properly handle in-template TS syntax + tests (0a2a5e1)
1.7.0 (2021-09-18)
- plugin-vue: support TS in template expressions (01fa2ab)
1.6.2 (2021-09-08)
- plugin-vue: ensure descriptor in case main request is cached (85612fe)
1.6.1 (2021-09-06)
- 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)
- 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)
- 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.
1.3.0 (2021-07-27)
- plugin-vue: support importing vue files as custom elements (3a3af6e)
1.2.5 (2021-07-12)
1.2.4 (2021-06-27)
1.2.3 (2021-06-01)
1.2.2 (2021-04-24)
- plugin-vue: add newline character before class components, fix #2787 (#2933) (8fe828e)
- plugin-vue: avoid duplicate import, fix #2640 (#2897) (011438d)
- plugin-vue: respect
hmr: false
server config, fix #2790 (#2797) (27e0c3f)
1.2.1 (2021-03-31)
1.2.0 (2021-03-26)
- plugin-vue: enable :slotted usage detection (c40c49f)
1.1.5 (2021-02-26)
- 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)
1.1.3 (2021-01-29)
1.1.2 (2021-01-24)
1.1.1 (2021-01-23)
- avoid eager hmr api access (fa37456)
1.1.0 (2021-01-19)
- ssr manifest for preload inference (107e79e)
- plugin-vue: support for vite core new ssr impl (a93ab23)
1.0.6 (2021-01-15)
1.0.5 (2021-01-09)
- 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)
1.0.3 (2021-01-02)
- plugin-vue: custom block prev handling (8dbc2b4)
- hmr: pass context object to
handleHotUpdate
plugin hook (b314771)
- hmr:
handleHotUpdate
plugin hook now receives a singleHmrContext
argument instead of multiple args.