TypeScript 5.6 Iteration Plan
This document outlines our focused tasks for TypeScript 5.6. It minimally indicates intent to investigate tasks or contribute to an implementation. Nothing is set in stone, but we will strive to complete these tasks in a reasonable timeframe.
| Date | Event |
|---|---|
| 2024-06-18 | TypeScript 5.5 Release |
| 2024-07-19 | Create 5.6 Beta (5.6.0) Build for Testing |
| 2024-07-23 | TypeScript 5.6 Beta Release |
| 2024-08-16 | Create 5.6 RC (5.6.1) Build for Testing |
| 2024-08-20 | TypeScript 5.6 RC Release |
| 2024-08-30 | Create 5.6 Final (5.6.2) Build for Testing |
| 2024-09-03 | TypeScript 5.6 Final Release 🚀 |
gantt
dateFormat YYYY-MM-DD
TypeScript 5.5 Stabilization Period : 2024-06-10, 2024-06-18
TypeScript 5.6 Beta Development : 2024-06-10, 2024-07-20
TypeScript 5.6 RC Development : 2024-07-20, 2024-08-16
TypeScript 5.6 Stabilization Period : 2024-08-16, 2024-09-03
todayMarker stroke-width:5px,stroke:#0f0,opacity:0.5
Compiler and Language
- Investigate Strict Callback Analysis
- Stricter
TReturnandTNextTypes fornext()onIterators - Checks for Never-Initialized Variables
- ECMAScript Arbitrary Module Identifiers
- Consult
typeinnode_modules/**/package.jsonin More Module Modes - Spelling Suggestions for Named Capture Groups
- Investigate
skipCheck/noCheckin API and Batch-Mode Compilation - Build All Projects Under
--buildIrrespective of Errors - Investigate Non-Null Assertions in JSDoc
lib.d.tsUpdates
Editor and Language Service
- Investigate Expandable Quick Info/Hover Verbosity
- Region-Prioritized Error Checking
- Investigate Simpler Quick Fix API
- Investigate LSP Support
- Auto-Import on Paste
- Provide Deprecated Diagnostics on Namespaces Declared with
moduleKeyword
Performance
- Investigate and Experiment with Full Monomorphization
- Investigate Wildcard Matching Performance
- Optimize Path Mapping Lookups
- Investigate Deferring
TransformFlagsCalculation
Website and Docs
- Revisit/Review Handbook and Experiences
- Simplify and Refactor Website for Faster Builds
Infrastructure
- Investigate Provenance or Build Signing
- Experiment with Reduced Repros on Weekly New Error Runs
- Adopt
--isolatedDeclarationsand Parallelize TypeScript's Build
I hope you can consider https://github.com/microsoft/TypeScript/issues/26242 and https://github.com/microsoft/TypeScript/issues/59126. We really hope to be able to use optional generics.
Could this next plan be pinned instead of previous 5.5 which is now closed, it was hard to find. Thanks
I hope #59051 can be fixed in 5.6. Otherwise, many TypeORM or NestJS projects will implicitly have bugs if they use declare keyword.
“Investigate Non-Null Assertions in JSDoc” should link to #57042 instead. And the beta release date has supposedly passed but it has not yet been merged. I guess there’s not much to review?
P.S. A little thank you for listing #58613 here. It’s my pleasure.
@typescript-bot create release-5.6
Starting jobs; this comment will be updated as builds start and complete.
| Command | Status | Results |
|---|---|---|
create release-5.6 |
✅ Started | ✅ Results |
Hey, @DanielRosenwasser! I've created release-5.6 with version 5.6.0-beta for you.
Thanks for all the work on the new upcoming release. If it's not too late, I would like to appeal a suggestion to add support for importing json files as const as described in https://github.com/microsoft/TypeScript/issues/32063.
@typescript-bot sync release-5.6
Starting jobs; this comment will be updated as builds start and complete.
| Command | Status | Results |
|---|---|---|
sync release-5.6 |
✅ Started | ✅ Results |
Hey, @DanielRosenwasser! I've pulled main into release-5.6 for you.
@typescript-bot bump release-5.6
Starting jobs; this comment will be updated as builds start and complete.
| Command | Status | Results |
|---|---|---|
bump release-5.6 |
✅ Started | ✅ Results |
Hey, @DanielRosenwasser! I've set the version of release-5.6 to 5.6.1-rc for you.
@typescript-bot bump release-5.6
Starting jobs; this comment will be updated as builds start and complete.
| Command | Status | Results |
|---|---|---|
bump release-5.6 |
✅ Started | ✅ Results |
Hey, @DanielRosenwasser! I've set the version of release-5.6 to 5.6.2 for you.
Hi, very excited for 5.6 😄 Any ideas of an updated release date?
There are a few hiccups we're having with internal testing. We'll likely have something available early next week if not by tomorrow morning. Thanks for the patience all!
@typescript-bot bump release-5.6
Starting jobs; this comment will be updated as builds start and complete.
| Command | Status | Results |
|---|---|---|
bump release-5.6 |
✅ Started | ✅ Results |
Hey, @DanielRosenwasser! I've set the version of release-5.6 to 5.6.3 for you.
https://github.com/microsoft/TypeScript/issues/59250