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.jsonfiles. Previously the language service would keep walking up looking for every possible project file namedtsconfig.jsonthat 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
BuiltinIteratorto describe every value backed byIterator.prototype. It has been renamedIteratorObject, has a different set of type parameters, and now has several subtypes likeArrayIterator,MapIterator, and more.A new flag called
--stopOnBuildErrorshas been added for--buildmode. 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.
Microsoft has announced the release candidate for TypeScript 5.6.
