Current in Beta
Latest version: 9.0.0-beta.3
https://next.ng.ant.design/
plz update the list after the PR sync MERGED
[nzTargetKeys] #4360[x] add strictTemplate https://next.angular.io/guide/angular-compiler-options#stricttemplates
[x] unexpected transition: https://github.com/angular/angular/issues/34718 https://github.com/NG-ZORRO/ng-zorro-antd/pull/4648/commits/a094c44e4f62f4db8225bca01e048446fd1f5a34
TemplateRef<void> -> TemplateRef<any>简单整理了一下重构原则,如果有疑问欢迎一起讨论
entryComponents 不再需要,全部删除cc @cipchk @CK110 @simplejason @hsuanxyz @Ricbet @danranVm @NearZXH @wendellhu95 @wenqi73
Can anyone provide an estimate for when Angular 9.x support will be stable? I see lots of progress recently 🎉
Hi @adamlaz
we will try our best to release a v9 version before March
Is Ng-Zorro 8.5.2 expected to work properly in Angular 9 _with Ivy disabled_?
@krokofant angular annouce that ngcc keep the backward compatible, you could have a try
Hi all, sorry for the delay, 90% components are ready, but we may still need one or two weeks to do the test and docs work
Thank you for the update. Keep up the good work. I know I look forward to the release whenever it is ready and stable.
取消模板文件移到ts 是基于什么样的考虑?
取消模板文件移到ts 是基于什么样的考虑?
由template文件移动到ts文件的主要目的是为了强制组件开发者缩减模板文件长度,鼓励拆分组件
@vthinkxie tslint 可以考虑迁移到 eslint,目前 angular-eslint 已经初步可用了。我们已经在我们的项目中试验了迁移到 eslint。
@vthinkxie date-fns 有升级到 v2 到计划吗?
@vthinkxie tslint 可以考虑迁移到 eslint,目前 angular-eslint 已经初步可用了。我们已经在我们的项目中试验了迁移到 eslint。
eslint部分会在angular cli官方迁移之后进行,有兴趣可以到时候帮我们提一个pr
template binding 部分禁止使用 getter 方式,无论组件内部还是demo
这个是基于什么的考虑呢?
template binding 部分禁止使用 getter 方式,无论组件内部还是demo
这个是基于什么的考虑呢?
getter在非OnPush环境下使用时,非常容易出现副作用和复杂计算过程,从而影响组件性能,在demo中出现容易误导用户
容易出现副作用和复杂计算过程是什么意思?(一般 getter 不会去赋值吧)。
如果需要类似 computed 的写法,除了 getter 还有什么等价写法吗?
Long waiting.... @vthinkxie
@ponsakthianand have some patience because people like @hsuanxyz are working hard for this release. They're not robots, they're human beings.
@timadevelop People don't get angry on me, I'm not blaming them... My words intended to express a curious and eager for waiting to get the latest version.. Cheers mate!
I'm seeing the detectChanges issue when using Jest to test a simple Angular component:
<nz-timeline>
<nz-timeline-item *ngFor="let event of feedbackEvents">
<strong>{{event.type | titlecase}}</strong> - {{event.date | date}}
<br/>
<small>{{event.summary}}</small>
</nz-timeline-item>
</nz-timeline>
The same component works in production without throwing errors.
The error is as follows:
Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges
My test is as follows:
it('should show all the events', () => {
const eventCount = 10;
spectator.setInput('feedbackEvents', new FeedbackEventTestDataFactory().generateTestData(eventCount));
spectator.detectChanges();
expect(spectator.queryAll('nz-timeline-item').length).toEqual(eventCount);
});
It's not a show-stopper as it works in production, but would be useful to be able to test the above.
@RichardBosworth Could you please open an issue for that?
@wendellhu95
Yeah sure. Figured it might be related to:
message & notification breaks in angular 9, detection change issue perhaps
Will open a new issue.
Hi all
ng-zorro-antd 9.0.0-beta.1 is released
the document is here
https://next.ng.ant.design
Note: this is still a beta version, not recommended to use in production env
Hi @RichardBosworth
message and notification issue was fixed in 9.0.0-beta.1
it was caused by this issue
Most helpful comment
Hi @adamlaz
we will try our best to release a v9 version before March