Closed
Description
This document outlines our focused tasks for TypeScript 5.4. 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 |
---|---|
2023-11-20 | TypeScript 5.3 Release |
2024-01-19 | Create 5.4 Beta (5.4.0) Build for Testing |
2024-01-23 | TypeScript 5.4 Beta Release |
2024-02-16 | Create 5.4 RC (5.4.1) Build for Testing |
2024-02-20 | TypeScript 5.4 RC Release |
2024-03-01 | Create 5.4 Final (5.4.2) Build for Testing |
2024-03-05 | TypeScript 5.4 Final Release 🚀 |
gantt
dateFormat YYYY-MM-DD
TypeScript 5.3 Stabilization Period : 2023-11-03, 2023-11-20
TypeScript 5.4 Beta Development : 2023-11-03, 2024-01-19
TypeScript 5.4 RC Development : 2024-01-20, 2024-02-16
TypeScript 5.4 Stabilization Period : 2024-02-16, 2024-03-05
todayMarker stroke-width:5px,stroke:#0f0,opacity:0.5
Compiler and Language
- Type Narrowing for Variables in Closures Occurring After Last Assignments
- The
NoInfer
Intrinsic - Isolated Declarations
- Investigate
--module preserve
andrequire()
in--moduleResolution bundler
- Investigate and Review Regex Syntax Validation
- Checks for Never-Initialized Variables
- Champion
throw
Expressions - Investigate Function Implementations Returning Indexed Access and Conditional Types
- Make isTypeAssignableTo public on TypeChecker #56448
- Alleviating Pain-Points around dual-ESM/CJS-published Packages
- Investigate Syntactic Variance Measurement
- Symbol Visibility Walk Optimizations for
.d.ts
Emit - Communicate out Plan for 5.0 Deprecations in Anticipation of 5.5
Editor and Language Service
- Define Initial Sketch of LSP Support
- TSServer File-Watching Events
- Organize Imports Respecting
type
Imports - Investigate AI-powered Refactorings
Performance
- Investigate Running With V8 Snapshots
- Parallelization Experimentation
Website and Docs
Infrastructure
- Expand Performance Suite
- Move DefinitelyTyped to GitHub Actions
- DefinitelyTyped Monorepo Improvements
- arethetypeswrong validation in DefinitelyTyped
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
DanielRosenwasser commentedon Jan 4, 2024
You can see the previous iteration plan for 5.3 here.
JoshuaKGoldberg commentedon Jan 4, 2024
This is one of the most exciting release points for us in typescript-eslint in a long time. Very high benefit here. Very much hoping there's no last-minute issue discovered. Thank you! 🙌
zaguiini commentedon Jan 7, 2024
It's not clear to me what this means. I thought TSC already was LSP-compliant?
jakebailey commentedon Jan 7, 2024
tsserver uses the tsserver protocol, which predates LSP. It does not (yet) implement LSP.
guillaumebrunerie commentedon Jan 7, 2024
I've been using https://github.com/typescript-language-server/typescript-language-server#readme (a LSP implementation for TypeScript wrapping
tsserver
) with Emacs for quite some time and it works perfectly well, but I've never usedtsserver
directly so I'm not sure if there are any features that I'm missing.Would a native implementation of LSP have any user-visible consequences, compared to using a wrapper like this one? Or is it mostly about supporting LSP officially and removing the need for a third-party wrapper?
jakebailey commentedon Jan 7, 2024
The latter, though there are of course other benefits.
jfet97 commentedon Jan 11, 2024
I'll share a link to Reverse mapped types with intersection constraint as well 😛, both for its enabling of type inference and Excess Property Checking together, and for doing some advertising for reverse mapped types, making @Andarist happy.
DanielRosenwasser commentedon Jan 22, 2024
@typescript-bot create release-5.4
typescript-bot commentedon Jan 22, 2024
Heya @DanielRosenwasser, I've started to create the
release-5.4
branch for you. Here's the link to my best guess at the log.DanielRosenwasser commentedon Jan 22, 2024
Jake says he fixed the build.
@typescript-bot create release-5.4
typescript-bot commentedon Jan 22, 2024
Heya @DanielRosenwasser, I've started to create the
release-5.4
branch for you. Here's the link to my best guess at the log.16 remaining items
crisbeto commentedon Feb 27, 2024
The previous comments mention an issue with the build pipeline around the RC release, but I now see a
5.4.1-rc
release on npm. Would it be correct to assume that the 5.4 RC is out now?jakebailey commentedon Feb 27, 2024
Yes: https://devblogs.microsoft.com/typescript/announcing-typescript-5-4-rc/
typescript@rc
to test fortypescript@5.4
inngest/inngest-js#500Add `typescript@rc` to test for `typescript@5.4` (#500)
DanielRosenwasser commentedon Mar 4, 2024
@typescript-bot bump release-5.4
typescript-bot commentedon Mar 4, 2024
Starting jobs; this comment will be updated as builds start and complete.
bump release-5.4
typescript-bot commentedon Mar 4, 2024
Hey, @DanielRosenwasser! I've set the version of release-5.4 to 5.4.2 for you.
RyanCavanaugh commentedon Mar 6, 2024
@Anonymous4078 you ok?
DanielRosenwasser commentedon Mar 15, 2024
@typescript-bot bump release-5.4
typescript-bot commentedon Mar 15, 2024
Starting jobs; this comment will be updated as builds start and complete.
bump release-5.4
typescript-bot commentedon Mar 15, 2024
Hey, @DanielRosenwasser! I've set the version of release-5.4 to 5.4.3 for you.
DanielRosenwasser commentedon Mar 20, 2024
5.4.3 is out! https://github.com/microsoft/TypeScript/releases/tag/v5.4.3