Ng-zorro-antd: Angular 8 support

Created on 29 May 2019  ·  20Comments  ·  Source: NG-ZORRO/ng-zorro-antd

What problem does this feature solve?

Align the library with latest Angular release

What does the proposed API look like?

[Not applicable]

🖨 Build

Most helpful comment

we will support angular 8 in next month

All 20 comments

we will support angular 8 in next month

我升级了版本号,ng-zorro还是能跑起来。
不知道哪些地方会出兼容性问题?

@ElderJames ivy 打包失败

发现ssr方式打包异常

升级了ng8,普通打包能正常通过;
启用ivy时,打包失败

experimental support for Ivy, not yet ready for production

So besides the experimental Ivy support Angular 8 works well with NgZorro?

升级后,打包正常,运行会报错,null值操作,没找到原因,感觉应该是这个组件的原因,退回去了

Hi, all
[email protected] is not fully tested with angular 8 yet.
we will support angular 8 in late June, but ng-zorro-antd 8.0 may not support ivy because there are still some ivy issues blocked now
you can track them below
https://github.com/angular/angular-cli/issues/14594
https://github.com/angular/angular/issues/30080
https://github.com/angular/angular/issues/29361

@vthinkxie this is quite okay with me since Ivy is still experimental and breaks my app anyway 😄

We have released the 8.0.0-rc.0 version, anyone who has interest could test it now.
This version is not recommended to use in production env.

@vthinkxie It seems that the rc releases are out on npm but not tagged or released on GitHub 😕 Could they be added to GitHub like the old rc's?

@krokofant we will release stable version this week, and 8.0.0-rc.2 has been released yesterday.

Some APIs will be deprecated in 8.0.0, but the old ones will still be supported before version 9.0.0.
It means that you may get some warning under dev environment, but it is compatible between 7.x and 8.x version.

angular 8 supported
check the changelog here https://ng.ant.design/docs/changelog/en

@vthinkxie what is the ETA on 8.1.0?

@Svetomechc will release 8.0.2 today

@vthinkxie will it be targeting Angular 8.1.0? There are a lot of fixes there, especially Ivy.

About Ivy:

@vthinkxie @hsuanxyz
https://github.com/angular/angular-cli/issues/14594 seems to be fixed now
https://github.com/angular/angular/issues/29361 can be worked around https://github.com/angular/angular/issues/29361#issuecomment-511094039
https://github.com/angular/angular/issues/30080 is the only real showstopper now I guess

P.S. On an unrelated note, I think @angular/cdk version should be changed from ^8.0.0 to ~8.0.0 - ng-zorro-antd _crashes_ at runtime on 8.1.x

@vthinkxie, is 8.2.0 supported? Lots and lots of minor visual glitches on production build (debug is fine though, guess TypeScript there is less strict - so my guess the problem lies in TypeScript 3.5).

@Svetomechc We just upgraded to TypeScript 3.5.3 yesterday (UTC+8). Check #3913.

Was this page helpful?
0 / 5 - 0 ratings