Stable Release in branch 3.2
3.2.46
Released 02 Feb 2023
(3 years ago)
SoftwareVue.js
Version3.2
Status
End of life
Initial release3.2.0
09 Aug 2021
(4 years ago)
Latest release3.2.46
02 Feb 2023
(3 years ago)
End of support (OSS)11 May 2023
(Ended 3 years ago)
Commercial support
(HeroDevs-NES)
Unavailable
Release noteshttps://github.com/vuejs/core/releases/tag/v3.2.46
Source codehttps://github.com/vuejs/core/tree/v3.2.46
Documentationhttps://v3.vuejs.org
Migration guidehttps://v3-migration.vuejs.org
Vue.js 3.2 ReleasesView full list

What Is New in Vue.js 3.2

Category Key Updates
New Features Single-File Component (SFC) <script setup>, <style> v-bind, Web Components
Performance Faster reactivity, efficient virtual DOM, improved memory usage
Server-Side Rendering New @vue/server-renderer package, stream rendering API
Effect Scope API New effectScope and onScopeDispose APIs
Custom Elements Define custom elements via new defineCustomElement method

How does <script setup> improve component authoring?

The <script setup> syntax is a compile-time sugar that dramatically reduces boilerplate in Single-File Components. You no longer need to explicitly return variables and methods from the setup() function - everything declared at the top level is automatically available in the template.

This makes components more concise and easier to read. In practice, it feels similar to writing a normal script but with the full power of Composition API.

<script setup>
import { ref } from 'vue'
const msg = ref('Hello World!')
</script>

What are the performance enhancements in Vue 3.2?

Vue 3.2 delivers significant performance gains across multiple areas. The reactivity system has been optimized with faster dependency tracking and effect invalidation, resulting in up to 130% faster rendering in some scenarios.

Memory usage has been reduced through more efficient virtual DOM patching and component instance creation. These improvements are most noticeable in complex applications with many reactive objects and components.

How does v-bind in CSS work?

The new v-bind() function in <style> tags allows you to reference component state directly in CSS. This enables dynamic styling based on reactive data without needing to manually update class names or style attributes.

It's particularly useful for creating theme systems and dynamic UI elements. The binding is reactive, so changes to the referenced value automatically update the styles.

<script setup>
import { ref } from 'vue'
const color = ref('red')
</script>

<style scoped>
.text {
  color: v-bind(color);
}
</style>

What server-side rendering improvements were introduced?

Vue 3.2 includes a new @vue/server-renderer package that provides a streamlined API for server-side rendering. The new streaming API allows you to pipe rendered content to the response stream as it's generated, improving time-to-first-byte.

This is particularly valuable for Node.js servers where streaming responses can significantly improve perceived performance. The API also provides better error handling and integration patterns.

How does the Effect Scope API help with composition?

The new effectScope() and onScopeDispose() APIs provide better control over reactive effects. effectScope allows you to group multiple effects together and dispose them all at once, which is especially useful in programmatic scenarios and testing.

This solves the problem of manually tracking effects when creating reusable composition functions. It makes cleanup more predictable and prevents memory leaks in complex applications.

FAQ

Is <script setup> stable for production use?
Yes, <script setup> is now stable and recommended for production. It's compile-time syntax that transforms to standard Composition API code, so there's no runtime overhead or compatibility issues.

Do I need to rewrite my existing components to use new features?
No, all existing APIs remain fully supported. The new features are additive and can be adopted incrementally as you see fit for your project.

Can I use v-bind in CSS with preprocessors like SCSS?
Yes, v-bind() works with style preprocessors. The binding is resolved during Vue's compilation phase before passing to the preprocessor, so you can use it alongside other preprocessor features.

How does the Web Components support work?
Vue 3.2 introduces defineCustomElement(), which allows you to create native custom elements from Vue components. These can be used in any HTML environment, even without Vue.js loaded on the page.

Are there any breaking changes in 3.2?
Vue 3.2 maintains full backward compatibility with 3.0. The only changes that might affect existing code are rare edge cases in TypeScript type inference, which are documented in the release notes.

Releases In Branch 3.2

VersionRelease date
3.2.4602 Feb 2023
(3 years ago)
3.2.4702 Feb 2023
(3 years ago)
3.2.4511 Nov 2022
(3 years ago)
3.2.4209 Nov 2022
(3 years ago)
3.2.4309 Nov 2022
(3 years ago)
3.2.4409 Nov 2022
(3 years ago)
3.2.4114 Oct 2022
(3 years ago)
3.2.4028 Sep 2022
(3 years ago)
3.2.3908 Sep 2022
(3 years ago)
3.2.3830 Aug 2022
(3 years ago)
3.2.3706 Jun 2022
(4 years ago)
3.2.3623 May 2022
(4 years ago)
3.2.3520 May 2022
(4 years ago)
3.2.3419 May 2022
(4 years ago)
3.2.34-beta.117 May 2022
(4 years ago)
3.2.3314 Apr 2022
(4 years ago)
3.2.3212 Apr 2022
(4 years ago)
3.2.3112 Feb 2022
(4 years ago)
3.2.3007 Feb 2022
(4 years ago)
3.2.2923 Jan 2022
(4 years ago)
3.2.2821 Jan 2022
(4 years ago)
3.2.2716 Jan 2022
(4 years ago)
3.2.2512 Dec 2021
(4 years ago)
3.2.2612 Dec 2021
(4 years ago)
3.2.2406 Dec 2021
(4 years ago)
3.2.2326 Nov 2021
(4 years ago)
3.2.2215 Nov 2021
(4 years ago)
3.2.2102 Nov 2021
(4 years ago)
3.2.2008 Oct 2021
(4 years ago)
3.2.1925 Sep 2021
(4 years ago)
3.2.1724 Sep 2021
(4 years ago)
3.2.1824 Sep 2021
(4 years ago)
3.2.1523 Sep 2021
(4 years ago)
3.2.1623 Sep 2021
(4 years ago)
3.2.1422 Sep 2021
(4 years ago)
3.2.1321 Sep 2021
(4 years ago)
3.2.1217 Sep 2021
(4 years ago)
3.2.1108 Sep 2021
(4 years ago)
3.2.1007 Sep 2021
(4 years ago)
3.2.905 Sep 2021
(4 years ago)
3.2.802 Sep 2021
(4 years ago)
3.2.701 Sep 2021
(4 years ago)
3.2.524 Aug 2021
(4 years ago)
3.2.624 Aug 2021
(4 years ago)
3.2.417 Aug 2021
(4 years ago)
3.2.316 Aug 2021
(4 years ago)
3.2.211 Aug 2021
(4 years ago)
3.2.009 Aug 2021
(4 years ago)
3.2.109 Aug 2021
(4 years ago)
3.2.0-beta.807 Aug 2021
(5 years ago)
3.2.0-beta.729 Jul 2021
(5 years ago)
3.2.0-beta.627 Jul 2021
(5 years ago)
3.2.0-beta.523 Jul 2021
(5 years ago)
3.2.0-beta.421 Jul 2021
(5 years ago)
3.2.0-beta.320 Jul 2021
(5 years ago)
3.2.0-beta.219 Jul 2021
(5 years ago)
3.2.0-beta.116 Jul 2021
(5 years ago)