X Tutup
The Wayback Machine - https://web.archive.org/web/20201031141955/https://github.com/microsoft/TypeScript/issues/40124
Skip to content
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

TypeScript 4.1 Iteration Plan #40124

Open
DanielRosenwasser opened this issue Aug 18, 2020 · 23 comments
Open

TypeScript 4.1 Iteration Plan #40124

DanielRosenwasser opened this issue Aug 18, 2020 · 23 comments
Labels

Comments

@DanielRosenwasser
Copy link
Member

@DanielRosenwasser DanielRosenwasser commented Aug 18, 2020

This document outlines our focused tasks for TypeScript 4.1. Nothing is set in stone, but we will strive to complete them in a reasonable timeframe.

Date Event
August 20th TypeScript 4.0 Release
September 11th Create 4.1 Beta (4.1.0) Build for Testing
September 15th TypeScript 4.1 Beta Release
October 30th Create 4.1 RC (4.1.1) Build for Testing
November 3rd TypeScript 4.1 RC Release
November 13th Create 4.1 Final (4.1.2) Build for Testing
November 17th TypeScript 4.1 Final Release 🚀

Language Features

Editor Productivity

Performance

Infrastructure

  • Improve Workflow for External Code Tests
  • Breaking Change Detection Scripts
@Kingwl
Copy link
Member

@Kingwl Kingwl commented Aug 19, 2020

NIT:
undefined in index signatures --noImplicitOverride referenced same issue.

@DanielRosenwasser
Copy link
Member Author

@DanielRosenwasser DanielRosenwasser commented Aug 19, 2020

Fixed, thanks!

@ifiokjr
Copy link

@ifiokjr ifiokjr commented Aug 21, 2020

I want to give a huge shout out to the TypeScript team. You've just released an amazing 4.0.2 and you're already getting us excited for the next thing around the corner. As a burgeoning open-source developer it's inspiring, and you deserve all the success and praise.

I'm most excited about the potential introductions of /// comments and the override keyword.

@Kingwl
Copy link
Member

@Kingwl Kingwl commented Aug 21, 2020

@ifiokjr
Hey. How about get a preview and perhaps sends some feedback for the override?

You can see It here: #39669 (comment)

@MathiasKandelborg
Copy link

@MathiasKandelborg MathiasKandelborg commented Aug 21, 2020

How about some basics?

#19573

@Xample
Copy link

@Xample Xample commented Aug 25, 2020

Hi, another missing feature I have been awaiting for a long time is the typed errors.

As I wrote in a comment

This is the only feature I envy the java language

The issue is still labeled "Awaiting More Feedback", in my opinion there is not need to reinvent the wheel, if we can get some interest from the TS team I would with pleasure clarify possible use case scenario.

@ghiscoding
Copy link

@ghiscoding ghiscoding commented Aug 27, 2020

Can someone add the Iteration link to the Roadmap?
That would avoid me couple clicks each time I want to check the plan 😉

Thank You.... TypeScript is getting more awesome every iteration 😃

@DanielRosenwasser
Copy link
Member Author

@DanielRosenwasser DanielRosenwasser commented Aug 27, 2020

@ghiscoding done!

@dbartholomae
Copy link

@dbartholomae dbartholomae commented Aug 28, 2020

Would love to see some progress on nominal types (#202) for 4.1. I'm happy to help, but unsure how to do this. I posted some more details in #202 to keep this thread clean.

@DanielRosenwasser
Copy link
Member Author

@DanielRosenwasser DanielRosenwasser commented Sep 13, 2020

@typescript-bot create release-4.1

@typescript-bot
Copy link
Collaborator

@typescript-bot typescript-bot commented Sep 13, 2020

Heya @DanielRosenwasser, I've started to create the release-4.1 branch for you. Here's the link to my best guess at the log.

@DanielRosenwasser
Copy link
Member Author

@DanielRosenwasser DanielRosenwasser commented Sep 15, 2020

@typescript-bot sync release-4.1

@typescript-bot
Copy link
Collaborator

@typescript-bot typescript-bot commented Sep 15, 2020

Heya @DanielRosenwasser, I've started to sync release-4.1 with master for you. Here's the link to my best guess at the log.

@weswigham
Copy link
Member

@weswigham weswigham commented Sep 15, 2020

@typescript-bot sync release-4.1

@typescript-bot
Copy link
Collaborator

@typescript-bot typescript-bot commented Sep 15, 2020

Heya @weswigham, I've started to sync release-4.1 with master for you. Here's the link to my best guess at the log.

@weswigham
Copy link
Member

@weswigham weswigham commented Sep 15, 2020

@typescript-bot sync release-4.1

@typescript-bot
Copy link
Collaborator

@typescript-bot typescript-bot commented Sep 15, 2020

Heya @weswigham, I've started to sync release-4.1 with master for you. Here's the link to my best guess at the log.

@DanielRosenwasser
Copy link
Member Author

@DanielRosenwasser DanielRosenwasser commented Sep 17, 2020

@typescript-bot sync release-4.1

@typescript-bot
Copy link
Collaborator

@typescript-bot typescript-bot commented Sep 17, 2020

Heya @DanielRosenwasser, I've started to sync release-4.1 with master for you. Here's the link to my best guess at the log.

@xiaoxiangmoe
Copy link

@xiaoxiangmoe xiaoxiangmoe commented Sep 18, 2020

When will TypeScript 4.1 Beta Release ?

@Bessonov
Copy link

@Bessonov Bessonov commented Sep 19, 2020

@xiaoxiangmoe you can use nightly or in meanwhile:

4.1.0-beta 13 hours ago

See Versions from https://www.npmjs.com/package/typescript to get more information about builds.

@Skillz4Killz
Copy link

@Skillz4Killz Skillz4Killz commented Sep 27, 2020

@DanielRosenwasser Hello 👋 sorry to bother you but I was hoping to request that future blog posts for this release the wording on the --noUncheckedIndexedAccess could be redone.

https://devblogs.microsoft.com/typescript/announcing-typescript-4-1-beta/#no-unchecked-indexed-access

  • Using Pedantic in the blogpost goes against the discussions we've already had about not using pedantic.
    image

image

There have been entire issues on this repo dedicated to picking a name that did not imply pedantic. Having this in the blogpost after all this is not really nice.

  • The explanation of this property does not really do it justice in my opinion.
    Every other feature on the changelog "Use this immediately, will help fix stuff! It's amazing"
    Index: "This causes too much noise and doesnt really fix much"

For example, the post mentions nothing of how impactful this change is to array destructuring. Numerous issues have been created on this repo for this problem such as #38287 #40749 #36635 #37045 which shows that this is quite a useful change to many TS users.

The major downsides that have been seen for those that have tested this is only in older legacy code where people use for loops. A lot of more recent code will not be using for loops like this except when every millisecond of performance matters and so therefore the biggest issue of this config isn't even that big an issue for majority of relevant code.

The post mentions nothing of how this option has been shown already to be improving performance and preventing runtime bugs which cause hours of debugging because the typings will not show any errors so you are forced to go line by line to figure out some bug in production. Nor does it mention that this is quite possibly one of if not the most request feature to TS and has been requested for years now. IMO the blog post should be encouraging the use of this option not discouraging it such as mentioning that the slightly extra noise created by this option is WELL worth the benefits gained from it.

@DanielRosenwasser
Copy link
Member Author

@DanielRosenwasser DanielRosenwasser commented Sep 29, 2020

I'll reconsider how it's phrased in the 4.1 RC/Final blog posts - you might be right that the tone deserves more optimism. But I'll reiterate that the feature is currently (currently) not one that the core team can definitely recommend that everyone uses. While we're open to changing our minds about this, and while the feature might improve in functionality over time, we're being intentionally being cautious in our tone to set expectations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
13 participants
You can’t perform that action at this time.
X Tutup