AI 摘要TypeScript 7.1 Beta introduces support for import attributes in ambient module declarations, allowing developers to type imports based on attributes like type: "css" or type: "text" rather than file extensions. It also adds support for source phase imports (useful for WebAssembly), the es2026 target and lib with stabilized ECMAScript declarations, new proposed library methods such as Promise.allKeyed and Iterator.zip. Additionally, TypeScript 7.1 ships a new modular API organized into entry points like typescript/sync and typescript/ast, enabling tools to perform compilation and analysis, with explicit resource disposal required for API and Program instances.
AI 摘要TypeScript 7.0 has been announced as a native port of the compiler written in Go, delivering 8x–12x faster builds through native code speed, shared-memory multithreading, and new optimizations. The release has been battle-tested with major companies like Slack, Canva, Vercel, and Microsoft teams, with dramatically improved editor responsiveness and reduced language server crashes, though it lacks an API so it can run side-by-side with TypeScript 6.0 via the new @typescript/typescript6 package. New flags such as --checkers, --builders, and --singleThreaded let developers fine-tune parallelization behavior for their codebases and hardware.
AI 摘要Microsoft has announced the Release Candidate of TypeScript 7.0, which was ported from the original TypeScript/JavaScript codebase to Go, delivering roughly 10x faster performance while maintaining full type-checking compatibility with TypeScript 6.0. The RC is installable via npm (typescript@rc) and includes new parallelization controls (--checkers, --builders, --singleThreaded), a rebuilt --watch mode based on a Go port of Parcel's file watcher, and side-by-side compatibility with TypeScript 6.0 through the new @typescript/typescript6 package. Having been tested against a decade's worth of test suites and used by major companies like Google, Figma, and Slack, the release candidate is considered highly stable and ready for production workflows and CI pipelines.
AI 摘要TypeScript 7.0 Beta has been announced, marking a major milestone as the compiler has been ported to Go, making it roughly 10 times faster than TypeScript 6.0 while preserving identical type-checking semantics through a methodical port rather than a rewrite. The beta can be installed via npm as @typescript/native-preview (using the tsgo entry point), runs side-by-side with TypeScript 6.0 via the new @typescript/typescript6 package, and has already been validated in large production codebases at Microsoft and partner companies. The release also introduces configurable parallelization options (--checkers, --builders, --singleThreaded), adopts TypeScript 6.0's new defaults and hard errors for deprecated features, and revamps JavaScript support for more consistent analysis.
AI 摘要TypeScript 6.0 has been announced as a bridge release between TypeScript 5.9 and the upcoming TypeScript 7.0, and it will be the last release built on the current JavaScript codebase before the Go-based native port takes over. New features include less context-sensitivity for this-less functions during type inference, support for subpath imports starting with #/, the ability to combine --moduleResolution bundler with --module commonjs, and a new --stableTypeOrdering flag that aligns 6.0's type ordering behavior with 7.0 to ease migration.
AI 摘要Microsoft announced the Release Candidate of TypeScript 6.0, which will be the final release built on the current JavaScript codebase and serves as a bridge to TypeScript 7.0, which will be based on a native Go port. The release includes improvements such as reduced context-sensitivity for functions that don't use 'this', support for subpath imports starting with '#/', the ability to combine '--moduleResolution bundler' with '--module commonjs', and a new '--stableTypeOrdering' flag to align type ordering behavior with TypeScript 7.0. These changes are largely intended to ease migration and prepare developers for adopting TypeScript 7.0.
AI 摘要Microsoft has announced the beta of TypeScript 6.0, which will be the final release built on the current JavaScript codebase and serves as a bridge to TypeScript 7.0, which will be based on a new, faster native compiler written in Go. The release includes improvements such as reduced context-sensitivity for functions that don't use 'this' (enabling better type inference), support for subpath imports starting with '#/', permission to combine '--moduleResolution bundler' with '--module commonjs', a new '--stableTypeOrdering' flag to align type ordering with 7.0, and a new 'es2025' option for 'target' and 'lib'.
AI 摘要The TypeScript team reports major progress on its native-code compiler and language service port (Project Corsa, becoming TypeScript 7.0), with type-checking nearly at full parity and full builds achieving roughly 8-10x speedups over TypeScript 6.0. Developers can try the native previews today via the daily-updated VS Code extension or the @typescript/native-preview npm package (tsgo), though some gaps remain, including incomplete downlevel emit, reworked JavaScript/JSDoc checking, and no support for the legacy Strada API. Going forward, TypeScript 6.0 will be the final JavaScript-based release, as the team shifts focus to completing TypeScript 7.0.
AI 摘要TypeScript 5.9 has been released, bringing a minimal and updated tsc --init with more prescriptive default settings, support for ECMAScript's import defer syntax for deferred module evaluation, and a stable --module node20 option modeling Node.js v20. The release also improves the developer experience with summary descriptions in DOM API tooltips, previewed expandable hovers, a configurable maximum hover length, and performance optimizations like caching type instantiations. Notable behavioral changes include updates to lib.d.ts, where ArrayBuffer is no longer a supertype of several TypedArray types such as Node.js Buffer.
AI 摘要TypeScript 5.9's Release Candidate has been announced, introducing features such as a streamlined and more prescriptive tsc --init output, support for ECMAScript's import defer syntax for deferred module evaluation, and a stable --module node20 option. The release also adds summary descriptions for DOM APIs, previews expandable hover tooltips with configurable maximum length in editors, and includes performance optimizations like caching type instantiations on mappers. Notable behavioral changes include updated ArrayBuffer handling that affects TypedArray subtypes like Node.js Buffer, along with type argument inference changes that may introduce new errors in some codebases.