Packages

@vue/compiler-sfc

3.5.46 · 20 Nov 2026MIT36.7M / weekRepositoryHomepagenpmAtom feed

Upgrading @vue/compiler-sfc From 2.7.0 to 3.5.46

182 releases in betweennotes for 47

Other targets from 2.7.0Newest 2.x2.7.16
  1. 2.7.0yours
  2. 16 releases
  3. 3.0.0major
  4. 11 releases
  5. 3.1.0breaking
  6. 151 releases
  7. 3.5.45breaking
  8. 3.5.46target
  9. 30 pre
8+
changes to make
0
advisories fixed
77+
new
494+
fixes

Counted from 47 of 182 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking3.5.46
  • Breaking3.5.45
  • Breaking3.5.45
  • Breaking3.1.0
  • Breaking3.1.0
  • Deprecated3.1.0
  • Deprecated3.1.0
  • Deprecated3.1.0

Release by release

  1. 3.5.46

    Migration needed20 Nov 202615 fixes
    • Breaking

      suspense: drop async setup errors from unmounted components (#16350) (da101a4), closes #16349

    • Fixed

      compiler-sfc: honour user onWarn + surface inline template tips

    • Fixed

      compiler-sfc: match tsconfig include/exclude relative to the config file

    • Fixed

      compiler-sfc: preserve generic type argument scopes (#16253) (cbd9595), closes #16248

  2. 3.5.45

    Migration needed5 Nov 20265 new · 28 fixes
    • Breaking

      runtime-core: remove the placeholder of an unmounted pending async component

    • Breaking

      suspense: drop the unmount hooks of a pending branch when the boundary is unmounted

    • New

      types: add dialog closedby attribute

    • New

      compiler-sfc: skip unused tsconfig include enumeration (#15899) (1612403), closes #15898

  3. 3.5.44

    13 Oct 202625 fixes
    • Fixed

      compat: expose _setupProxy for Vue 2.7 compiled script setup (fix #11164)

    • Fixed

      compiler-core: parenthesise v-for key in v-memo cache guard (#15724) (d084b90), closes #15723

    • Fixed

      compiler-dom: correctly stringify 0 and false in v-html

    • Fixed

      compiler-dom: inject transition persisted for v-show in production

  4. 3.5.43

    17 Sep 202614 fixes
    • Fixed

      compiler-sfc: ignore comment delimiters inside strings and url() when parsing css vars

    • Fixed

      compiler-sfc: prepend semicolon for await in switch case (#15498) (9a1df69), closes #15495

    • Fixed

      compiler-sfc: restore await scope when leaving nested blocks (5409708), closes #15465

    • Fixed

      compiler-sfc: reuse parsed parent configs across tsconfig walks (fix #15478)

  5. 3.5.42

    27 Aug 202610 fixes
    • Fixed

      hydration: handle async component unmount before lazy hydration

    • Fixed

      hydration: handle moving unresolved async fragment

    • Fixed

      runtime-core: avoid caching unmounted suspense children (#15291) (b535917), closes #15288

    • Fixed

      runtime-core: keep .trim result when combined with .number v-model modifier

  6. 3.5.41

    5 Aug 202612 fixes
  7. 3.5.40

    16 Jul 202610 fixes
  8. 3.5.39

    25 Jun 202614 fixes
    • Fixed

      compiler-core: correct filter rewrite recursion

    • Fixed

      hydration: force patch dynamic props when hydrating (#9083) (024cf06), closes #9033

    • Fixed

      hydration: respect data-allow-mismatch on conditional branches (#12801) (164af63), closes #12782

    • Fixed

      reactivity: avoid triggering effects when set fails

15 other lines we could not sort, mostly version bumps
  • Revert "fix(server-renderer): cleanup component effect scopes after SSR render" (#14674) (219d83b), closes #14674 #14669

    3.5.32
  • Revert "fix(compiler-core): correctly handle ts type assertions in expression…" (#14062) (11ec51a), closes #14062 #14060

    3.5.24
  • Revert "fix(hmr): prevent VUE_HMR_RUNTIME from being overwritten by vue runtime in 3rd-party libraries" (#13925) (6b68f72), closes #13925

    3.5.22
  • Revert "fix(compiler-sfc): add scoping tag to trailing universal selector" (#13406) (19f23b1), closes #13406

    3.5.16
  • Revert "fix(compiler-sfc): add error handling for defineModel() without variable" (#13390) (42f879f), closes #13390

    3.5.16
  • Revert "fix: Revert "fix(reactivity): self-referencing computed should refresh""

    3.5.4
  • Revert "fix(reactivity): self-referencing computed should refresh"

    3.5.3
  • The compiler supports custom AST transforms for build-time customizations (e.g. build-time i18n)

    3.0.0
  • The core runtime provides first-class API for creating custom renderers targeting different render targets (e.g. native mobile, WebGL or terminals). The default DOM renderer is built using the same API.

    3.0.0
  • The @vue/reactivity module exports functions that provide direct access to Vue's reactivity system, and can be used as a standalone package. It can be used to pair with other templating solutions (e.g. lit-html) or even in non-UI scenarios.

    3.0.0

6 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.