The Vue core team has shipped v3.6.0-rc.5, another release candidate in the lead-up to the stable Vue 3.6.0. This pre-release focuses on bug fixes and small refinements, addressing issues reported during the release candidate phase. As with other pre-releases, the details are captured in the CHANGELOG.md of the minor branch, but the key updates are summarized below.
Key changes in this release include:
- Fix for
v-forwith template refs: Resolved an edge case whererefinside av-forloop could be incorrectly handled, ensuring proper cleanup and reactivity. - Improved
defineModelbehavior: Enhanced thedefineModelmacro (introduced in 3.4) to better handledefaultvalues andrequiredoptions, with fixes for TypeScript type inference. - Reactivity edge case fix: Corrected an issue in
reactivewhereMapandSetoperations could trigger unwanted effects when usingschedulerwithflush: 'sync'. - SSR hydration fix: Fixed a hydration mismatch that could occur when using
useIdinside components with dynamic keys. - TypeScript declarations update: Added missing type exports for
onWatcherCleanupanduseTemplateRefto improve DX for TypeScript users. - Devtools compatibility: Addressed a deprecation warning when using Vue Devtools with the new
hydrationoption.
These fixes are part of the ongoing stabilization effort for 3.6.0, which is expected to be the next minor release after 3.5.x. The team has been iterating quickly, with release candidates arriving frequently (rc.4 was just days ago). By focusing on regression fixes and edge cases, the goal is to make the stable release as smooth as possible for the community.
For developers, this means less uncertainty when upgrading to the new minor version. Key new features for 3.6, such as useTemplateRef and improvements to defineModel, are already in place and now receive better hardening for production use. While upgrading to a release candidate is not recommended for production environments, testing your projects against v3.6.0-rc.5 can help surface any remaining issues before the stable release lands.
Source: https://github.com/vuejs/core/releases/tag/v3.6.0-rc.5