Evan You
a60ad9180d
refactor: swap to new template parser
...
- get rid of SourceLocation.source for memory efficiency
- move source location generation logic transform phase into the parser
itself so that SourceLocation.source is no longer needed
- move v-for expression parsing into the parser itself
- added nameLoc on AttributeNode for use in transformElement
Tests are not passing yet.
2023-11-25 16:18:29 +08:00
三咲智子 Kevin Deng
79b8a0905b
feat!: remove reactivity transform ( #9321 )
...
BREAKING CHANGE: Reactivity Transform was marked deprecated in 3.3 and is now removed in 3.4. This change does not require a major due to the feature being experimental. Users who wish to continue using the feature can do so via the external plugin at https://vue-macros.dev/features/reactivity-transform.html
2023-11-21 18:06:42 +08:00
Evan You
1ea775633d
chore: Merge branch 'main' into minor
2023-11-21 09:48:26 +08:00
Evan You
8fddb19c3a
workflow: use workspace deps
2023-11-21 09:22:12 +08:00
renovate[bot]
32fb79df41
chore(deps): update all non-major dependencies ( #9636 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 17:38:13 +08:00
renovate[bot]
16a6438236
chore(deps): update lint ( #9627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
三咲智子 Kevin Deng
83e618f316
docs: replace rollup-plugin-vue with vite version
2023-11-15 21:43:18 +08:00
Bogdan Kolesnyk
f18a174979
fix(compiler-sfc): malformed filename on windows using path.posix.join() ( #9478 )
...
Closes : #8671 , #9583
Not fixed with: #9446
Related: #9473
2023-11-13 15:48:25 +08:00
renovate[bot]
e422023686
chore(deps): update compiler to ^7.23.3 ( #9590 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 15:45:51 +08:00
renovate[bot]
2b00fd9ad2
chore(deps): update all non-major dependencies ( #9589 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 15:45:29 +08:00
Cong
3227e50b32
fix(compiler-sfc): support `:is` and `:where` selector in scoped css rewrite ( #8929 )
2023-11-10 16:44:53 +08:00
Cong
c6083dcad3
fix(compiler-sfc): support `:is` and `:where` selector in scoped css rewrite ( #8929 )
2023-11-10 16:44:08 +08:00
auvred
3e08d246df
fix(compiler-sfc): consistently escape type-only prop names ( #8654 )
...
close #8635
close #8910
close vitejs/vite-plugin-vue#184
2023-11-10 16:23:47 +08:00
edison
9e1b74bcd5
fix(compiler-sfc): support resolve extends interface for defineEmits ( #8470 )
...
close #8465
2023-11-10 16:00:04 +08:00
Tycho
d5fd343555
refactor(compiler-sfc): reuse `forAliasRE` regex from compiler-core ( #9568 )
2023-11-10 14:22:00 +08:00
丶远方
9d0eba916f
fix(compiler-core): fix `resolveParserPlugins` decorators check ( #9566 )
...
close #9560
2023-11-09 14:32:08 +08:00
Evan You
bc5846939c
release: v3.3.8
2023-11-06 18:54:26 +08:00
edison
b39fa1f815
fix(compiler-sfc): fix dynamic directive arguments usage check for slots ( #9495 )
...
close #9493
2023-11-06 17:46:48 +08:00
Evan You
462aeb3b60
fix(types): avoid exposing lru-cache types in generated dts
...
close #9521
2023-11-06 17:36:02 +08:00
zhiyuanzmj
26399aa6fa
feat(compiler-core): support v-bind shorthand for key and value with the same name ( #9451 )
2023-11-02 17:48:11 +08:00
renovate[bot]
d261ad73ae
chore(deps): update all non-major dependencies ( #9501 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 22:07:38 +08:00
木杉
a9893458ec
fix(compile-sfc): support `Error` type in `defineProps` ( #5955 )
2023-10-30 15:45:58 +08:00
Evan You
3c828f3cfb
release: v3.4.0-alpha.1
2023-10-28 11:33:46 +09:00
三咲智子 Kevin Deng
9e77580c0c
feat(compiler-sfc): expose resolve type-based props and emits ( #8874 )
2023-10-27 23:28:40 +09:00
Evan You
1789c1caac
release: v3.3.7
2023-10-25 07:35:08 +08:00
Evan You
733437691f
fix(hmr): fix hmr error for hoisted children array in v-for
...
fix #6978
close #7114
2023-10-21 21:08:49 +08:00
edison
c568778ea3
fix(compiler-sfc): avoid gen useCssVars when targeting SSR ( #6979 )
...
close #6926
2023-10-21 12:11:41 +08:00
Haoqun Jiang
089d36d167
fix: correctly resolve types from relative paths on Windows ( #9446 )
...
close #8671
close https://github.com/vuejs/vue-loader/issues/2048
2023-10-21 10:35:16 +08:00
Evan You
a09ed44446
release: v3.3.6
2023-10-20 21:04:11 +08:00
三咲智子 Kevin Deng
df81da8be9
fix(compiler-sfc): model name conflict ( #8798 )
2023-10-20 17:36:36 +08:00
Jeff Tian
36c99a9c6b
fix(compiler-sfc): support asset paths containing spaces ( #8752 )
...
By decoding them before generating them as JavaScript import paths
fix https://github.com/vuejs/vitepress/issues/2596
fix https://github.com/vuejs/vitepress/issues/573
2023-10-20 15:49:58 +08:00
三咲智子 Kevin Deng
f0ef0425b8
chore: remove @types/estree ( #9158 )
2023-10-20 15:40:32 +08:00
Evan You
5ebb459fc7
release: v3.3.5
2023-10-20 11:50:49 +08:00
dependabot[bot]
13d8b060c1
chore: bump postcss from 8.4.30 to 8.4.31 ( #9354 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.30 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.30...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 10:56:44 +08:00
renovate[bot]
93b79e6314
chore(deps): update compiler ( #9322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 10:46:13 +08:00
renovate[bot]
2ac90512ac
chore(deps): update all non-major dependencies ( #9286 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 10:45:54 +08:00
Evan You
f5a253f69f
chore(deps): update lru-cache to v10
...
ref #9267
2023-10-20 10:38:41 +08:00
renovate[bot]
021a47ac02
chore(deps): update compiler ( #9157 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-09-20 11:16:58 -05:00
renovate[bot]
8b44316118
chore(deps): update all non-major dependencies ( #9180 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 15:33:33 +08:00
三咲智子 Kevin Deng
623ba514ec
chore: format code
2023-08-11 17:30:04 +08:00
三咲智子 Kevin Deng
70c3ac746d
dx(compiler-sfc): warn when disabled defineModel ( #8534 )
2023-07-12 11:05:43 +08:00
三咲智子 Kevin Deng
24db9516d8
fix(compiler-sfc): don't hoist props and emit ( #8535 )
...
fix #7805
close #7812
2023-07-12 11:03:14 +08:00
Artyom Tuchkov
e404a699f4
fix(compiler-sfc): handle dynamic directive arguments in template usage check ( #8538 )
...
close #8537
2023-07-11 18:38:27 +08:00
白雾三语
701fa735fc
dx(compiler-sfc): enhance `:deep` warnings ( #8328 )
...
close #8313
2023-07-11 17:36:54 +08:00
vaakian X
776ebf25b2
fix(compiler-sfc): fix using imported ref as template ref during dev ( #7593 )
...
close #7567
2023-07-11 17:26:31 +08:00
Eavan
381b4977af
fix(compiler-sfc): ignore style v-bind in double slash comments ( #5409 )
2023-07-10 17:56:26 +08:00
zouhang
d6446a6d40
fix(compiler-sfc): pass options directly to stylus ( #3848 )
2023-07-10 17:52:56 +08:00
Evan You
ae7453f0f1
chore: use moduleResolution: bundler + shim estree-walker
2023-06-23 08:54:25 +08:00
Evan You
d2c3d8b70b
perf(compiler-sfc): lazy require typescript
2023-06-15 16:38:44 +08:00
Cédric Exbrayat
fd1a3f9599
fix(compiler-sfc): typo in experimental feature warnings ( #8513 )
2023-06-10 17:17:21 +08:00