Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

New: Support TypeScript 2.4 (fixes #321) (#322) #326

Merged
merged 7 commits into from
Aug 6, 2017
Merged

Conversation

JamesHenry
Copy link
Member

We will only merge this once 2.4 is stable.

I have opened this PR purely for visibility and documenting issues.

@JamesHenry
Copy link
Member Author

JamesHenry commented Jun 14, 2017

Now that we are appropriately snapshotting tokens, it has surfaced a change in JSDoc behaviour between 2.3 and 2.4

microsoft/TypeScript#15856

JSDocComments will no longer return their contents as tokens when calling getChildren() (as we do during token conversion).

I have added a commit which updates the relevant snapshot accordingly.

@eslintbot
Copy link

LGTM

@JamesHenry
Copy link
Member Author

@soda0289 and anyone else it is relevant to, just so you know, this PR should not be rebased as the commit hashes are important version numbers for prettier, which is already using TS 2.4 on master.

Unfortunately, I was on automatic pilot and rebased the latest changes and so broke the build over there.

We should use merge commits from now on.

@SimenB
Copy link
Contributor

SimenB commented Jun 15, 2017

You can protect the branch on github ensuring you're not able to force push to it

@JamesHenry
Copy link
Member Author

Good point, @SimenB, we will set that up

@JamesHenry
Copy link
Member Author

This branch is now protected
screen shot 2017-06-15 at 18 44 59

@eslintbot
Copy link

LGTM

@soda0289
Copy link
Member

typescript 2.4 is released now should be good to merge

@JamesHenry
Copy link
Member Author

TypeScript 2.4 is now the latest stable release: https://blogs.msdn.microsoft.com/typescript/2017/06/27/announcing-typescript-2-4/

We can look to merge this once the PR for type annotation location data is in

@JamesHenry
Copy link
Member Author

@soda0289 Haha that is insane - less than 10 seconds apart 😄

@corbinu
Copy link

corbinu commented Jun 27, 2017

@soda0289 as we discussed I released eslint-plugin-typescript as eslint-plugin-ts so we can start releasing fixes!

@eslintbot
Copy link

LGTM

@eslintbot
Copy link

LGTM

@eslintbot
Copy link

LGTM

@eslintbot
Copy link

LGTM

@corbinu
Copy link

corbinu commented Jul 25, 2017

Anything I can do to help?

@JamesHenry
Copy link
Member Author

@corbinu There is nothing actually blocking this, we were just letting TypeScript 2.4 bed in a bit more, as there were some early issues with it breaking people's code (high profile cases like RxJS, for example).

TypeScript added an extra compiler flag to work around that particular issue, and I am not aware of any others so I think we are good to go for a release of this.

@corbinu
Copy link

corbinu commented Jul 26, 2017

Ok just was checking since I had some time. I am so happy this project is flourishing has been super useful to me!

@fruchtose
Copy link

@JamesHenry has anything popped up that would prevent releasing this? I'm really excited for this fix.

@JamesHenry
Copy link
Member Author

@fruchtose I'll be releasing it next week, once I am back from vacation. In the meantime, installing it using the GitHub commit should work fine

@fruchtose
Copy link

Awesome, thanks.

@JamesHenry JamesHenry merged commit 271b4f1 into master Aug 6, 2017
@JamesHenry
Copy link
Member Author

Just released as 5.0.0

@fruchtose
Copy link

Awesome, can't wait to try it.

@JamesHenry JamesHenry deleted the ts-2.4 branch August 18, 2017 13:25
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants