-
-
Notifications
You must be signed in to change notification settings - Fork 75
Breaking: Support TypeScript 2.3 (fixes #232) #233
Conversation
LGTM |
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! |
Also, we would class this a Reference: http://eslint.org/docs/developer-guide/contributing/pull-requests |
I was just about to amend the commit to be backwards compatible. Is that something you want me to do? |
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 |
We have two other pending breaking changes to make, so this is great timing! |
108233a
to
efa6968
Compare
LGTM |
Not sure what you mean by this. The tests did fail until this change, and the change itself it backwards compatible. |
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. |
efa6968
to
78ec87c
Compare
LGTM |
I learnt that the hard way when 2.1 came out...
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
We'll get this in with the other breaking changes and release a new major version 🎉 |
Seems to be a minor fix.