Packages

@vue/runtime-core

3.5.45 · 5 Nov 2026MIT24.7M / weekRepositoryHomepagenpmAtom feed

Your version

3.5.0

3 Sep 2024Where it was published

3.5.45 is the newest release of 3.x.

In short

36 new9 fixed1 internal

Release note

Aggregated Features List for 3.5 (alpha to stable)

Reactivity

  • reactivity: Refactor reactivity system to use version counting and doubly-linked list tracking

  • reactivity: Optimize array tracking

  • compiler-sfc: enable reactive props destructure by default

  • reactivity: onEffectCleanup API (2cc5615), closes #10173

  • reactivity: add failSilently argument for onScopeDispose

  • reactivity/watch: base watch, getCurrentWatcher, and onWatcherCleanup

  • reactivity/watch: add pause/resume for ReactiveEffect, EffectScope, and WatchHandle

  • watch: support passing number to deep option to control the watch depth

  • types: export MultiWatchSources type

  • types: allow computed getter and setter types to be unrelated (#11472) (a01675e), closes #7271

SSR

  • runtime-core: useId() and app.config.idPrefix

  • hydration: lazy hydration strategies for async components

  • hydration: support suppressing hydration mismatch via data-allow-mismatch

Custom Element

  • custom-element: useHost() helper

  • custom-element: useShadowRoot() helper (5a1a89b), closes #6113 #8195

  • custom-element: expose this.$host in Options API

  • custom-element: inject child components styles to custom element shadow root (#11517) (56c76a8), closes #4662 #7941 #7942

  • custom-element: support configurable app instance in defineCustomElement (6758c3c), closes #4356 #4635

  • custom-element: support css :host selector by applying css vars on host element (#8830) (03a9ea2), closes #8826

  • custom-element: support emit with options (e181bff), closes #7605

  • custom-element: support expose on customElement (#6256) (af838c1), closes #5540

  • custom-element: support nonce option for injected style tags (bb4a02a), closes #6530

  • custom-element: support passing custom-element-specific options via 2nd argument of defineCustomElement

  • custom-element: support shadowRoot: false in defineCustomElement() (37d2ce5), closes #4314 #4404

Teleport

Misc

  • runtime-core: useTemplateRef()

  • runtime-core: add app.onUnmount() for registering cleanup functions (#4619) (582a3a3), closes #4516

  • runtime-core: add app.config.throwUnhandledErrorInProduction (f476b7f), closes #7876

  • runtime-dom: Trusted Types compatibility

  • compiler-core: support Symbol global in template expressions

  • types: export more emit related types

  • types: add loading prop to iframe

Internals

  • reactivity: store value cache on CustomRefs impls

  • types: provide internal options for directly using user types in language tools

  • types: provide internal options for using refs type in language tools

Bug Fixes

  • compiler-sfc: fix import usage check for kebab-case same name shorthand binding (0f7c0e5), closes #11745 #11754

  • cssVars: correctly escape double quotes in SSR (#11784) (7b5b6e0), closes #11779

  • hydration: escape css var name to avoid mismatch (#11739) (ca12e77), closes #11735

  • hydration: handle text nodes with 0 during hydration (#11772) (c756da2), closes #11771

  • reactivity: correctly handle method calls on user-extended arrays (#11760) (9817c80), closes #11759

  • runtime-dom: avoid unnecessary prop patch for checkbox (#11657) (c3ce9fe), closes #11647

  • runtime-dom: prevent unnecessary DOM update from v-model (#11656) (b1be9bd), closes #11647

  • server-renderer: Fix call to serverPrefetch in server renderer with an async setup

  • server-renderer: render className during SSR

  • types/defineModel: allow getter and setter types to be unrelated (#11699) (fe07f70), closes #11697

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.