Skip to content

Upgrade to TypeScript 2.1 - #13294

Closed
alexeagle wants to merge 4 commits into
angular:masterfrom
alexeagle:ts2.1
Closed

alexeagle wants to merge 4 commits into
angular:masterfrom
alexeagle:ts2.1

Conversation

@alexeagle

Copy link
Copy Markdown
Contributor

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x")

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

What is the new behavior?

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@alexeagle

Copy link
Copy Markdown
Contributor Author

Note, this is currently blocked on a TS 2.1-compatible tsickle.
/cc @evmar

@chuckjaz

chuckjaz commented Dec 8, 2016

Copy link
Copy Markdown
Contributor

The changes to TypeScript broke ts_plugin.ts. Feel free to remove it and the corresponding tests as it is currently not used.

@chuckjaz chuckjaz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fix or remove ts_plugin.ts

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If set minimum dependency to TS v2.1, then these checking does not necessary.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

But Angular 2.x needs to support TypeScript 1.8 because of semver.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh I see, it's devDependencies in package.json, so there could be a test scenario to simulates TS v1.8 as well?

@alexeagle

alexeagle commented Dec 8, 2016 via email

Copy link
Copy Markdown
Contributor Author

@chadbr

chadbr commented Dec 15, 2016

Copy link
Copy Markdown

Everyone go on vacation? 😄

@alexeagle

alexeagle commented Dec 15, 2016 via email

Copy link
Copy Markdown
Contributor Author

@chadbr

chadbr commented Dec 15, 2016

Copy link
Copy Markdown

thanks for the update - angular/tsickle#295

@Martin-Luft

Copy link
Copy Markdown

Any news?

@alexeagle

Copy link
Copy Markdown
Contributor Author

We are making progress on a TS 2.1 branch of tsickle right now.

@mmc41

mmc41 commented Jan 10, 2017

Copy link
Copy Markdown

@alexeagle According to the angular changelog typescript 2.1 support came in 2.4.2 or was that only partial support ?

@googlebot googlebot added cla: yes and removed cla: no labels Feb 8, 2017
Note that the duplication in tsconfig.json files will be fixed in a followup CL now that we have tsconfig inheritance

BREAKING CHANGE: Angular 4 will support only TypeScript 2.1, so we no longer provide backwards compatibility to TS 1.8.
@alexeagle

Copy link
Copy Markdown
Contributor Author

updated to subsume #14287 for ts-api-guardian

mhevery pushed a commit that referenced this pull request Feb 8, 2017
mhevery pushed a commit that referenced this pull request Feb 8, 2017
Note that the duplication in tsconfig.json files will be fixed in a followup CL now that we have tsconfig inheritance

BREAKING CHANGE: Angular 4 will support only TypeScript 2.1, so we no longer provide backwards compatibility to TS 1.8.
mhevery pushed a commit that referenced this pull request Feb 8, 2017
@mhevery mhevery closed this in 7a4c255 Feb 8, 2017
@IgorMinar IgorMinar added test-label area: build & ci Related the build and CI infrastructure of the project labels Feb 8, 2017
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
Note that the duplication in tsconfig.json files will be fixed in a followup CL now that we have tsconfig inheritance

BREAKING CHANGE: Angular 4 will support only TypeScript 2.1, so we no longer provide backwards compatibility to TS 1.8.
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
Note that the duplication in tsconfig.json files will be fixed in a followup CL now that we have tsconfig inheritance

BREAKING CHANGE: Angular 4 will support only TypeScript 2.1, so we no longer provide backwards compatibility to TS 1.8.
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: build & ci Related the build and CI infrastructure of the project area: core Issues related to the framework runtime cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.