-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document TypeScript version lifetime and EOL #49088
Comments
With another release of TypeScript coming around the corner, I'm curious if there's been some official thought on this? |
To my knowledge, we don't have an official policy beyond the one implied by the fact that we ship our components in Visual Studio. Security fixes are backported I believe for the last year of releases; non-security fixes are not backported. If there's a more concrete definition of "support" provided, or a specific hypothetical you had in mind, I can speak to that specifically. |
There is also this paragraph in the documentation on https://github.com/microsoft/TypeScript/wiki/TypeScript%27s-Release-Process#what-gets-done-for-patch-releases :
|
If the concept of |
If that's the case, then are bugfixes going to be backported and language features backported to older versions of the typescript compiler? That is the expectation of a "supported" version of such a piece of software. |
Jumping in as I've been bit by the unclear lifecycle for TypeScript before: this is inconsistent with other Microsoft languages and software distributions. .net (core and otherwise) has a very clear lifecycle document which sets expectations well for users. From a quick look through the release history, it doesn't appear to me that there are many updates made to prior major versions once a new major version (or even generally minor version) has hit stable; I had to search all the way back to June 2021, where 3.9, 4.0, and 4.1 got patches for Node 16, when 4.3 was the current stable version. That dotnet policy document states, "Every Microsoft product has a lifecycle. The lifecycle begins when a product is released and ends when it's no longer supported." Does typescript abide by the Modern Policy Lifecycle? If not, why not? |
Any progress on this? |
We've now published a clarification of support at https://github.com/microsoft/TypeScript/blob/main/SUPPORT.md, and have closed this issue. |
Can we reopen this, please? I'm one of the maintainers of the While trying to answer the question, "What is the Typescript release and support lifecycle?", I've landed here. The Regarding @RyanCavanaugh's comment about TS being implicitely tied to VS's release lifecycle, that's maybe a bit more helpful, but I see no mention of TS version on the VS 2022 release page. I suppose I could go google-golfing a bit further to see what versions of TS ship with each of those releases, but that's more work than I'm willing to put into this question. It'd be great if there were a graphic for TS like this one that showed up at the top of my Google results when seeking an answer... except, you know, from an official source with some credibility. See also the previously mentioned Node.js Releases page for other inspiration. |
"Support" is a hard term to define; do you mean fixes to behavior? Crash fixes? Security fixes? Stability guarantees? We release quarterly. Only the previous version is supported for bugfixes only (mainly bad regressions, crashes). We may patch older versions for security fixes (very very rare, there really isn't much that can be CVE'd such that that's required). If you use this pattern to determine your support window, you'd only be supporting one TS version. That doesn't seem right; all we're saying is that we aren't going to go futz with the behavior of old TS releases, which would imply more stability if anything. Definitely Typed maintains compatibility with the last two years of TS releases (https://github.com/DefinitelyTyped/DefinitelyTyped#support-window). This is also the general window Many projects determine that to be too large of a range too and support less. You can also use projects like |
@jakebailey Thanks for this update. The "two years" cutoff concept is helpful. It sounds like we should just take a similar stance then. |
Bug Report: Documentation.
There is no documented lifecycle time for a particular version of TypeScript.
Python, Go, and Node all have defined lifetimes for releases.
🔎 Search Terms
🙁 Actual behavior
No documentation exists.
🙂 Expected behavior
Having a list or guideline of how long versions of the TypeScript library/compiler/etc are supported for so that I can make informed decisions on security and SDLC inquiries.
The text was updated successfully, but these errors were encountered: