-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: bump angular from 12.x to 13 #7050
Conversation
This preview will be available after the AzureCI is passed. |
35345d1
to
b09573c
Compare
Codecov Report
@@ Coverage Diff @@
## master #7050 +/- ##
==========================================
+ Coverage 89.71% 91.67% +1.96%
==========================================
Files 488 486 -2
Lines 15945 15954 +9
Branches 2579 2589 +10
==========================================
+ Hits 14305 14626 +321
- Misses 1007 1014 +7
+ Partials 633 314 -319
Continue to review full report at Codecov.
|
7cebd93
to
df7f8e8
Compare
@simplejason I updated icons in commt eb352ef. |
Just provide some useful links, pls check this related PR and solved issue of Angular CLI. Hope Angular 13 will be supported soon. |
Hi! I can't install Ng Zorro in my angular project. npm ERR! code ERESOLVE |
[email protected] is not released now |
I'm curious about the release with Angular 13 support. Is this PR ready to be merged? @simplejason are you waiting only for approval? Or more work to be done in this PR? |
It's ready to merge now, only wait to review, I think v13 will be coming soon in this week. |
97c4e36
to
9f8bdee
Compare
@hsuanxyz @yangjunhan @wendellhu95 @wenqi73 Hi all, the changes about v13 have been committed, if no request changes are suggested, we can merge this PR to master today. And then we need to prepare the upgrade documentation to ensure that users can successfully upgrade from v12 to v13. |
@@ -36,7 +36,7 @@ export class NzConnectedOverlayDirective { | |||
} | |||
|
|||
private updateArrowPosition(position: ConnectedOverlayPositionChange): void { | |||
const originEl = this.cdkConnectedOverlay.origin.elementRef.nativeElement as HTMLElement; | |||
const originEl = (this.cdkConnectedOverlay.origin as ElementRef).nativeElement as HTMLElement; |
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.
Could this be another types?
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.
@@ -134,7 +134,7 @@ export class NzFormControlComponent implements OnChanges, OnDestroy, OnInit, Aft | |||
this.validateChanges.unsubscribe(); | |||
/** miss detect https://github.com/angular/angular/issues/10887 **/ | |||
if (this.validateControl && this.validateControl.statusChanges) { | |||
this.validateChanges = this.validateControl.statusChanges | |||
this.validateChanges = (this.validateControl.statusChanges as Observable<string>) |
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.
this.validateChanges = (this.validateControl.statusChanges as Observable<string>) | |
this.validateChanges = (this.validateControl.statusChanges as Observable<SafeAny>) |
scripts/site/generate-site.js
Outdated
@@ -41,7 +41,7 @@ function generate(target) { | |||
} | |||
} | |||
const componentDirPath = path.join(rootPath, componentName); | |||
const skips = ['style', 'core', 'locale', 'cdk', 'i18n', 'version', 'experimental']; | |||
const skips = ['style', 'core', 'locale', 'cdk', 'i18n', 'version', 'experimental', 'node_modules']; |
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.
const skips = ['style', 'core', 'locale', 'cdk', 'i18n', 'version', 'experimental', 'node_modules']; | |
const skips = ['style', 'core', 'locale', 'cdk', 'i18n', 'version', 'experimental']; |
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.
LGTM
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.
LGTM
It's fantastic that this is merged, but the latest release on the home page still is version 12.1.1 and references Angular v12. Are you planning on updating the release version number for this? Thanks for the work! |
When will it release after merged? |
close #7044
TODO
Update official documentPR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information