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

Breaking: Support TypeScript 2.3 (fixes #232) #233

Merged
merged 1 commit into from
Apr 29, 2017

Conversation

azz
Copy link
Contributor

@azz azz commented Apr 29, 2017

Seems to be a minor fix.

@eslintbot
Copy link

LGTM

@JamesHenry
Copy link
Member

Thanks for the quick digging, @azz!

The fact that this didn't break any existing tests is a clear sign that we should add some as part of this change. Please can you add a relevant JSX test?

Many thanks!

@JamesHenry
Copy link
Member

JamesHenry commented Apr 29, 2017

Also, we would class this a Breaking change, and so the commit message needs to reflect that for our release process to work accordingly.

Reference: http://eslint.org/docs/developer-guide/contributing/pull-requests

@azz
Copy link
Contributor Author

azz commented Apr 29, 2017

I was just about to amend the commit to be backwards compatible. Is that something you want me to do?

@JamesHenry
Copy link
Member

Us changing the officially supported TypeScript version should basically always be a breaking change I think, in order to offer clear indication to our users that they will likely need to make changes to their setups

@JamesHenry
Copy link
Member

We have two other pending breaking changes to make, so this is great timing!

@eslintbot
Copy link

LGTM

@azz azz changed the title New: Support TypeScript 2.3 (fixes #232) Breaking: Support TypeScript 2.3 (fixes #232) Apr 29, 2017
@azz
Copy link
Contributor Author

azz commented Apr 29, 2017

The fact that this didn't break any existing tests is a clear sign that we should add some as part of this change. Please can you add a relevant JSX test?

Not sure what you mean by this. The tests did fail until this change, and the change itself it backwards compatible.

@JamesHenry
Copy link
Member

RE: The tests - Yes, sorry, I misread the type of change we were making at first.

In terms of backwards compatibility, you added that change and comment after I first looked at it. Please can you remove them again?

I really appreciate we you are trying to do with that, but if we added comments and "version bridges" for every TypeScript version upgrade, this project would become very difficult to manage. This upgrade is trivial, but previous ones were not at all. TypeScript does not follow a strict semver policy, and as mentioned before, the AST structure is naturally not respected at all when it comes to version numbers.

By classifying it as a breaking change, we will automatically release a new major version of the parser and the intention to our users is as clear as it can be.

@azz azz force-pushed the feat/typescript-2.3 branch from efa6968 to 78ec87c Compare April 29, 2017 13:19
@eslintbot
Copy link

LGTM

@azz
Copy link
Contributor Author

azz commented Apr 29, 2017

TypeScript does not follow a strict semver policy.

I learnt that the hard way when 2.1 came out...

In terms of backwards compatibility, you added that change and comment after I first looked at it. Please can you remove them again?

Done.

@JamesHenry JamesHenry self-requested a review April 29, 2017 13:36
Copy link
Member

@JamesHenry JamesHenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@JamesHenry
Copy link
Member

We'll get this in with the other breaking changes and release a new major version 🎉

@soda0289 soda0289 merged commit 65c2e0a into eslint:master Apr 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants