Microsoft 11787 Published by

Microsoft has announced the release candidate for TypeScript 5.6.



Announcing TypeScript 5.6 RC

Today we are excited to announce the availability of the release candidate of TypeScript 5.6. 

What’s New Since the Beta?

Since TypeScript 5.6 beta, we reverted  a change around how TypeScript’s language service searched for tsconfig.json files. Previously the language service would keep walking up looking for every possible project file named tsconfig.json that might contain a file. Because this could lead to opening many referenced projects,  we reverted the behavior and are  investigating ways to bring back the behavior mitigate these worst-case scenarios in TypeScript 5.7.

Additionally, several new types have been renamed since the beta. Previously, TypeScript provided a single type called BuiltinIterator to describe every value backed by Iterator.prototype. It has been renamed IteratorObject, has a different set of type parameters, and now has several subtypes like ArrayIteratorMapIterator, and more.

A new flag called --stopOnBuildErrors has been added for --build mode. When a project builds with any errors, no other projects will continue to be built. This provides something close to the behavior of previous versions of TypeScript  since TypeScript 5.6 always builds in the face of errors.

New editor functionality has been added such as  direct support for commit characters and  exclude patterns for auto-imports.

Announcing TypeScript 5.6 RC - TypeScript