Vue 2 is Approaching End Of Life

2023年12月15日

AI 摘要 AI 生成,可能有误

Vue 2 将于 2023 年 12 月 31 日到达生命周期终点(End of Life),此后将不再接收新功能、更新或修复,但仍可通过现有的分发渠道获取。Vue 团队正在将全部精力转向 Vue 3,Vue 3 提供更佳的性能、增强的 TypeScript 支持、基于 Proxy 的响应式系统以及新的内置组件。仍在使用 Vue 2 的用户可以更新至最终版本(2.7.16),通过 HeroDevs 的 Never-Ending Support(永续支持)服务购买延长支持,或向利益相关者传达其 EOL 之后的安全计划。

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 帮忙。

更多来自 The Vue Point

Announcing Vue 3.5

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.

Announcing VitePress 1.0

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.

Announcing Vue 3.4

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.

Announcing Vue 3.3

AI 摘要Vue 3.3 'Rurouni Kenshin' is a release focused on developer experience improvements, particularly for using SFC

Volar: a New Beginning

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.