@vue/compiler-sfc
3.5.46 · 20 Nov 2026MIT36.7M / weekRepositoryHomepagenpmAtom feed
3.5.46 is the newest release of 3.x.
In short
1 new25 fixed
Release note
Bug Fixes
compat: correct deprecation message for v-bind.sync usage (#13137) (466b30f), closes #13133
compiler-core: remove slot cache from parent renderCache during unmounting
compiler-sfc: fix scope handling for props destructure in function parameters and catch clauses (8e34357), closes #12790
compiler-sfc: treat the return value of
useTemplateRefas a definite refcompiler: fix spelling error in domTagConfig
customFormatter: properly accessing ref value during debugger
hmr/teleport: adjust static children traversal for HMR in dev mode (#12819) (5e37dd0), closes #12816
hmr: avoid hydration for hmr root reload (#12450) (1f98a9c), closes vitejs/vite-plugin-vue#146 vitejs/vite-plugin-vue#477
hmr: avoid hydration for hmr updating (#12262) (9c4dbbc), closes #7706 #8170
reactivity: ensure markRaw objects are not reactive (#12824) (295b5ec), closes #12807
reactivity: ensure multiple effectScope on() and off() calls maintains correct active scope (22dcbf3), closes #12631 #12632 #12641
reactivity: should not recompute if computed does not track reactive data (#12341) (0b23fd2), closes #12337
runtime-core: stop tracking deps in setRef during unmount
runtime-core: update __vnode of static nodes when patching along the optimized path
runtime-core: inherit comment nodes during block patch in production build (#10748) (6264505), closes #10747 #12650
runtime-core: prevent unmounted vnode from being inserted during transition leave (#12862) (d6a6ec1), closes #12860
runtime-core: respect immutability for readonly reactive arrays in
v-for(#13091) (3f27c58), closes #13087runtime-dom: always treat autocorrect as attribute (#13001) (1499135), closes #5705
slots: properly warn if slot invoked in setup (#12195) (9196222), closes #12194
ssr: properly init slots during ssr rendering (#12441) (2206cd2), closes #12438
transition: fix KeepAlive with transition out-in mode behavior in production (#12468) (343c891), closes #12465
TransitionGroup: reset prevChildren to prevent memory leak (#13183) (8b848cb), closes #13181
types: allow return any for Options API lifecycle hooks
types: the directive's modifiers should be optional
typos: fix comments referencing transformElement.ts (#12551)[ci-skip]
Features
types: add type TemplateRef
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.