What will happen to the existing TypeScript/JavaScript codebase? #454
Replies: 6 comments 18 replies
-
Will you be porting over legacy and lesser used (I would assume) features of current tsc too? Thinking of the ability to output ES5+downlevelIteration+AMD, for instance. |
Beta Was this translation helpful? Give feedback.
-
Any changes to how external contribution should proceed in the meantime? |
Beta Was this translation helpful? Give feedback.
-
What will happen to TypeScript applications that were transpiled to JavaScript and ran in the browser, and will older browsers support all of this? |
Beta Was this translation helpful? Give feedback.
-
What will happen to Monaco Editor with TypeScript 7? In terms of TypeScript Intellisense. |
Beta Was this translation helpful? Give feedback.
-
I understand that Strada (5.x, 6.x) will reach end-of-life when Corsa (7.0) is fully adopted. Given that TypeScript has been reimplemented in Go, would the team consider supporting JavaScript environments through Go-to-JavaScript compilation tools like GopherJS? |
Beta Was this translation helpful? Give feedback.
-
Will everyone have to upgrade to the native version of the compiler and language service? What if there's a huge problem with the new codebase, or tools and projects need to continue using the JavaScript-based codebase?
We expect that many users will need to continue using the existing stable TypeScript codebase (versions 5.x and 6.x, a.k.a. Strada) for pragmatic reasons, even as adoption of the new native codebase (eventually version 7.x, a.k.a. Corsa) picks up. There are a few reasons for this.
First, the new codebase is not yet at complete parity, and there may be cases where developer feedback tells us about some gap between the two implementations. Some of these omissions may be intentional, and others may not, and we will be listening to feedback to understand what gaps are blocking adoption of Corsa. Beyond that, many programs depend on TypeScript's APIs (e.g. the compiler and language service APIs, the TSServer protocol, or language service plugins). Even if there was perfect compatibility in the parser, checker, CLI, etc., any missing integration might pose challenges for existing TypeScript users to upgrade.
For these reasons, we expect to maintain the existing TypeScript codebase for the foreseeable future. We will continue to release new versions of TypeScript 5.x and 6.x, and we will continue to support the existing APIs in the Strada codebase (though note that we will not port all APIs to Corsa as we are rethinking API compatibility). We will also continue to accept pull requests and issues against the Strada codebase, and we will strive to keep the two codebases in sync and compatible in type-checking and other behaviors. Eventually, the intent is to develop only the Corsa codebase, but this will be decided based on adoption and the state of the community.
Beta Was this translation helpful? Give feedback.
All reactions