Volar 1.0 "Nika" Released!

2022年10月10日

AI 摘要 AI 生成,可能有误

Volar——Vue 官方的 IDE/TypeScript 工具——在经过由 Vue 创始人尤雨溪(Evan You)赞助的七个月全职开发后,已迎来 1.0 版本“Nika”。此次发布带来了广泛的改进,包括更好的用户体验和性能、更小的打包体积、开箱即用体验的增强、更强的 TypeScript 支持(例如 vue-tsc --watch、内联提示 Inlay Hints 以及更严格的模板类型检查)、全新的 VueLanguagePlugin 和 LanguageServicePlugin API,以及对核心进行的框架无关化重构,使其能够为 Vue 之外的语言服务器提供支持。未来计划包括在 v2.0 中改进核心框架,以惠及其他语言的工具生态,此外还将推出文档网站,并继续进行性能优化工作。

We are happy to announce that we have released v1.0 of Volar, the official IDE/TS tooling support for Vue! 🎉

This major version ships with tons of improvements across the board. In addition to improving UX, performance, and package size, we also released Plugin API v1 and refactored the core code to be framework-agnostic.

注:結尾附有中文版本 (There is Chinese version of this post at the end)。

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 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.

Vue 2 is Approaching End Of Life

AI 摘要Vue 2 will reach End of Life on December 31, 2023, after which it will no longer receive new features, updates, or fixes, though it will remain available through existing distribution channels. The Vue team is shifting its full focus to Vue 3, which offers better performance, enhanced TypeScript support, a Proxy-based reactivity system, and new built-in components. Users still on Vue 2 can update to the final release (2.7.16), purchase extended support through HeroDevs' Never-Ending Support offering, or communicate their post-EOL security plans to stakeholders.

Announcing Vue 3.3

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