Enterprise-ng: Upgrade to Angular 7

Created on 19 Oct 2018  路  9Comments  路  Source: infor-design/enterprise-ng

Since Angular 7, was released we should upgrade the project.

https://blog.angular.io/version-7-of-angular-cli-prompts-virtual-scroll-drag-and-drop-and-more-c594e22e7b8c

  • [ ] Follow upgrade guide and make needed changes
  • [ ] Confirm tests and examples are still working
[5] type

Most helpful comment

I tried doing this, and it's not a straight forward change as several things are not working, specifically issues with jQuery and the typing.

Things to note are the upgrade to typescript 3.

Also given several teams would need to upgrade at the same time when taking a release using angular 7, should we wait until 4.13?

@pwpatton this does not contain IVY yet.

All 9 comments

Using this issue as a task to upgrade so we can plan. No timeline yet.

Excellent! Thanks Tim,

I tried doing this, and it's not a straight forward change as several things are not working, specifically issues with jQuery and the typing.

Things to note are the upgrade to typescript 3.

Also given several teams would need to upgrade at the same time when taking a release using angular 7, should we wait until 4.13?

@pwpatton this does not contain IVY yet.

Yes, i'd wait for 4.13 (can push on master starting next week).

No problem with that approach. When I upgraded our project to 7 to see what would happen, I saw issues around jquery and typing.

agreed, seems reasonable to wait until 4.13

Typescript is far stricter, so many of the typings in the enterprise-ng project need updating. This will take sometime, I don't expect it to affect the api too much, but may have a knock on affect.

There may also be other issues.

Definitely think we should wait till at least 4.13.

I have the demo app working now, but the unit tests require some more work.

Nothing that difficult to solve yet.

Was this page helpful?
0 / 5 - 0 ratings