-
Notifications
You must be signed in to change notification settings - Fork 26.2k
docs: deprecations usage improvements and one tech change #30400
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
docs: deprecations usage improvements and one tech change #30400
Conversation
You can preview 7212366 at https://pr30400-7212366.ngbuilds.io/. |
In nav, see Release Information > Deprecations |
@IgorMinar : Fixed heading levels and "in the next major version"(from your previous comments) Note: Many of the items listed as candidates for removal in v9 were actually candidates for removal in v7 and v8, but v9 is the next opportunity for removal. See comments in markup for details. |
aio/content/guide/deprecations.md
Outdated
| `@angular/upgrade` | [`@angular/upgrade`](#upgrade) | <!--v8--> v9 | | ||
| `@angular/upgrade` | [`getAngularLib`](#upgrade-static) | <!--v8--> v9 | | ||
| `@angular/upgrade` | [`setAngularLib`](#upgrade-static) | <!--v8--> v9 | | ||
| template syntax | [`/deep/`, `>>>`, and `::ng-deep`](#component-styles) | <!--v7--> v9 | |
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.
::ng-deep
was only deprecated but never planed to be removed in future.
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.
@IgorMinar : Need engineering confirmation. The docs say that it is going to be removed: https://angular.io/guide/component-styles#deprecated-deep--and-ng-deep
"The shadow-piercing descendant combinator is deprecated and support is being removed from major browsers and tools. As such we plan to drop support in Angular (for all 3 of /deep/, >>> and ::ng-deep). Until then ::ng-deep should be preferred for a broader compatibility with the tools."
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.
Ref #17867 (comment)
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.
Related #25160
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.
Yeah, I don't think that we should mark this as scheduled for removal in Angular version 9. We need to get the alternative feature shipped first and work has not started on it.
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.
@StephenFluin thoughts?
226235d
to
9b64f47
Compare
You can preview 9fd3ee7 at https://pr30400-9fd3ee7.ngbuilds.io/. |
You can preview 226235d at https://pr30400-226235d.ngbuilds.io/. |
You can preview 9b64f47 at https://pr30400-9b64f47.ngbuilds.io/. |
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 in general. I think that the h4
to h3
change helped, but I still feel like the general structure of the page needs some improvements. Perhaps just some better white space would help, but it also feels a little odd having a huge list of deprecated APIs come first and then the latest removed APIs (which are likely the most frequently updated and interesting) left to the end.
@Splaktar Thanks for looking at this, and so quickly! I'll try to look at the white space tonight. Re the overall structure, we also have release notes for each release, which are intended to highlight exactly what is announced as deprecated or being removed in that particular release happening right now. So, I went with an org that focuses on the idea that "you need to migrate off all of these things in the next 18 months." As deprecated features are removed, they fall to the bottom of the page...or perhaps even off the page. We're not sure how far back we want this list of removals to go, but we had to have a place in AIO (not in the release note on the blog) that helped with redirects for @angular/http api pages. Pondering your comments more. Maybe we can slack when I'm online next week. Thanks again! |
9b64f47
to
92d290a
Compare
You can preview 92d290a at https://pr30400-92d290a.ngbuilds.io/. |
Then any reason for calling it "candidate for removal at version X" if it's never designed to be removed at version X?
"Removal delayed" and "removal not planed" are different scenarios, the former is ready to be removed and the latter is not. |
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
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.
I pushed a few more commits with changes I made. quick summary:
- I renamed the heading and anchor for deep selectors
- I removed trailing whitespace
- I remove deprecatedOverrideProvider from the list to avoid a conflict with fix(core): remove TestBed.deprecatedOverrideProvider #30576
- I added reflect-metadata polyfill to the list of deprecated apis to match the changes being made in fix(@ngtools/webpack): downlevel constructor parameter type information angular-cli#14473
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
37572b4
to
c86c63e
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
c86c63e
to
372dc7a
Compare
You can preview 372dc7a at https://pr30400-372dc7a.ngbuilds.io/. |
this now conflicts. I'm going to rebase it. |
372dc7a
to
1b38235
Compare
rebased + forcepushed |
You can preview 1b38235 at https://pr30400-1b38235.ngbuilds.io/. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR 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