This release contains no public API breakage. However, there are a few compatibility related notes:
Due to usage of new runtime helpers, code generated by the template compiler in >= 3.2 will not be compatible with runtime < 3.2.
This only affects cases where there is a version mismatch between the compiler and the runtime. The most common case is libraries that ship pre-compiled Vue components. If you are a library author and ship code pre-compiled by Vue >= 3.2, your library will be only compatible Vue >= 3.2.
This release ships TypeScript typings that rely on Template Literal Types and requires TS >= 4.1.
Features
SFC
remove experimental status of <script setup> (27104ea) (Docs) (RFC)
remove experimental status for sfc <style> v-bind (3b38c9a) (Docs) (RFC)
support non-explicit type imports in <script setup> by avoiding exposing unused imports to template during dev (5a3ccfd), closes #3183
support namespaced component tags when using <script setup> (e5a4412)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @vue/compiler-sfc from 3.1.5 to 3.2.1.
Release notes
Sourced from
@vue/compiler-sfc
's releases.Changelog
Sourced from
@vue/compiler-sfc
's changelog.... (truncated)
Commits
2749c15
release: v3.2.11e1682f
fix(compiler-sfc): fix import usage check for last expression5a7a43c
release: v3.2.088a4504
fix(compiler-sfc): fix import usage detection for names containing $4781965
release: v3.2.0-beta.81994f12
test: improve test case for 865b84bffdc9a4d
chore: update link in comments for new ref sugar (#4265) [ci skip]865b84b
fix(compiler-sfc): fix ref sugar rewrite for identifiers in ts casting expres...9bee5cc
chore: update new ref sugar warning linkbf2589b
refactor(compiler-sfc): use shallowRef for ref sugar destructureDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)