With 2024 almost upon us, we would like to take this opportunity to remind the Vue community that Vue 2 will reach End of Life (EOL) on December 31st, 2023.
Vue 2.0 was released more than 7 years ago in 2016. It was a major milestone in Vue's journey of becoming a mainstream framework. Many current Vue users started using Vue during the Vue 2 era, and many great things have been built with it.
However, active maintenance of two major versions in parallel isn't sustainable for us. As Vue 3 and its ecosystem have matured, it is time for the team to move on and focus our energy on the latest major version.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
AI 摘要Vue 3.5, codenamed "Tengen Toppa Gurren Lagann," has been released as a minor update with no breaking changes. Key highlights include major reactivity system optimizations (up to 56% memory reduction and faster tracking for large reactive arrays), stabilization of Reactive Props Destructure, and SSR improvements such as lazy hydration, useId(), and data-allow-mismatch. The release also adds new features including useTemplateRef(), Deferred Teleport, onWatcherCleanup(), and various custom element enhancements.
AI 摘要VitePress 1.0 has been released—a static site generator built on Vite and Vue that serves as the modern successor to VuePress, converting Markdown content into themed static HTML pages. It is well-suited for technical documentation (powering docs for Vite, Rollup, Pinia, and the official Vue.js docs) as well as fully customizable blogs, portfolios, and marketing sites. The tool offers strong performance by serving pre-rendered HTML for fast initial loads and optimal SEO, then switching to a single-page application model for near-instant subsequent navigation and interactivity.
AI 摘要Vue 3.4 'Slam Dunk' has been released, featuring a completely rewritten template parser that is twice as fast and a refactored reactivity system that makes effect triggering more accurate and efficient. The release also stabilizes the defineModel macro, introduces a same-name shorthand for v-bind, and improves hydration mismatch error messages. Additionally, several deprecated features have been removed, including the global JSX namespace and the experimental Reactivity Transform.
AI 摘要Volar, the official Vue.js VSCode extension, has extracted its framework-agnostic components into a new standalone project called Volar.js, an embedded language tooling framework that supports not only Vue but also Astro, Svelte, Angular, and regular single-language LSP servers. The original Volar extension and vue-tsc code have moved to the vuejs/language-tools repo, and a new Volar.js Core Team has been formed, with StackBlitz supporting full-time development. Future plans include Monaco support, better support for IDEs beyond VSCode, a Bun-based language server, a monoserver architecture, a Rules API for linting, and a Scripts API for CI usage.