$ the-wire · showcase
v-show survives hydration; defineModel defaults break type checking
By RepoJournal · Filed · About Vue.js · Composed from the cited sources · methodology
A runtime-dom fix restores v-show's authored display style after hydration, while a language-tools patch repairs defineModel default factories that TypeScript has been rejecting since core 3.5.39.
fix(runtime-dom): restore v-show display after hydration vuejs/core
Elements hidden during hydration used to keep the hydration-time display value when shown again; they now return to the style you authored, including string, object, and array forms and values marked !important.
fix(language-core): keep `defineModel` default factories valid with a model type or bare parameter vuejs/language-tools
Since Vue 3.5.39's core change, a default factory on defineModel<T>() or a runtime type must accept (props: Record<string, unknown>) => T, and the generated (props: __VLS_Props) => signature raised TS2769 in real projects such as zammad's CommonSimpleTable.vue. The plugin now emits a signature that is assignable again, and bare-parameter factories keep working.
fix: prefer the searched component over one sharing its name in findComponent vuejs/test-utils
When a wrapper component shares a name with the component it renders, findComponent(LibButton) returned the wrapper; it now prefers the requested component, at the mount point and deeper in the tree. One test-utils behavior change, so re-run suites that assert on findComponent results.
fix: allow read-only event properties like detail in trigger options vuejs/test-utils
wrapper.trigger('click', { detail: 2 }) used to throw "Cannot set property detail of [object UIEvent] which has only a getter" and skip the handler, because only the closest prototype was checked for read-only properties. The fix uses Reflect.set to respect getters on UIEvent.prototype and Event.prototype.
fix(language-plugin-pug): type-check a mixin body where it is called vuejs/language-tools
The Pug plugin emitted each mixin body at its definition, so v-for and slot scope variables from the call site produced false "Property does not exist" errors. Bodies now expand at each call, mapped to the definition's source, with recursive calls left unexpanded.