-
Notifications
You must be signed in to change notification settings - Fork 26.6k
docs: fix/improve the v11.0.0 release info in CHANGELOG.md
#39704
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
Conversation
e7514f2
to
2226431
Compare
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.
A few nits. Thanks for the tidy up!
CHANGELOG.md
Outdated
* **router:** create schematic for preserveQueryParams ([#38762](https://github.com/angular/angular/issues/38762)) ([93ee05d](https://github.com/angular/angular/commit/93ee05d)) | ||
* **router:** remove preserveQueryParams symbol ([#38762](https://github.com/angular/angular/issues/38762)) ([783a5bd](https://github.com/angular/angular/commit/783a5bd)) | ||
* **core:** use Trusted Types policy in `createNamedArrayType()` ([#39209](https://github.com/angular/angular/issues/39209)) ([f6d5cdf](https://github.com/angular/angular/commit/f6d5cdf)) | ||
* **router:** Allow undefined inputs on `routerLink` ([#39151](https://github.com/angular/angular/issues/39151)) ([b0b4953](https://github.com/angular/angular/commit/b0b4953)) |
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.
* **router:** Allow undefined inputs on `routerLink` ([#39151](https://github.com/angular/angular/issues/39151)) ([b0b4953](https://github.com/angular/angular/commit/b0b4953)) | |
* **router:** allow undefined inputs on `routerLink` ([#39151](https://github.com/angular/angular/issues/39151)) ([b0b4953](https://github.com/angular/angular/commit/b0b4953)) |
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.
😱
CHANGELOG.md
Outdated
`RouterModule.forRoot` no longer supports `legacy_disabled`, | ||
`legacy_enabled`, `true`, or `false` as valid values. | ||
`legacy_enabled` (the old default) is instead `enabledNonBlocking`. | ||
* **router:** `enabled` is deprecated as a valid value for the |
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.
What happened here? Why did the generator miss the **router:**
?
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.
The commit actually contains two breaking changes (as two bullet-points): c4becca
This showed up funny in the changelog, so I thought I''d list them as separate entries (mapped to the same commit), since they are two distinct changes.
CHANGELOG.md
Outdated
operator where necessary. In an unlikely case your code was testing the parent against `undefined` with strict equality, | ||
you'll need to change this to `=== null` instead, since the parent is now explicitly initialized | ||
with `null` instead of being left `undefined`. | ||
* **packaging:** In v10, IE 9, 10, and IE mobile support was deprecated. In v11, Angular framework removes IE 9, |
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.
Perhaps this should be called "browser-support", or perhaps "core", rather than "packaging"?
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.
Reviewed-for: public-api
2226431
to
3d951e6
Compare
This commit includes several minor fixes in the v11.0.0 release info in `CHANGELOG.md`, such as: - Fixing typos/punctuation. - Making capitalization consistent. - Wrapping code in backticks (for better readability).
Commit 4ca1c73 (part of PR angular#38931) was incorrectly marked with scope `packaging`, while it is an internal-only change (i.e. it does not affect packaging). As such is should have been marked with a different scope (for example, `ci`/`build`/`refactoring`) and should not appear in `CHANGELOG.md`. This commit removes the entry from `CHANGELOG.md` to avoid confusing developers trying to understand how this change may affect their apps. NOTE: The commit contains a breaking change notice (about dropping support for IE<11) which _is_ relevant to app developers. This breaking change notice is preserved in the "BREAKING CHANGES" section, but the scope is changes from `packaging` to `core` to avoid confusion.
Currently, the script that is used to generate the `CHANGELOG.md` content uses the first 7 characters of a commit SHA in the generated links. This is problematic when there are multiple commits in the repo (or forks of the repo?) that start with the same 7 characters (which is rare but possible), since GitHub shows a 404 page. This was the case with commit 736e064 that is included in the v11.0.0 release notes and happens to start with the same characters as commit 736e064ac80f5e0ed84711694c2ba68809222ffd. This commit fixes the issue by using the full commit SHA in the link for this particular commit. NOTE: The underlying issue should be more generically addressed in the changelog generation tooling. This is being tracked in angular#39698.
… info in `CHANGELOG.md` It seems that the script used to generate the `CHANGELOG.md` content incorrectly treats any link or issue/PR reference in the commit message as a link to an issue fixed/closed by the commit. However, there are cases where such links/references do not refer to issues fixed/closed by the commit (or not refer to issues at all). This commit fixes such bogus links in the v11.0.0 release info. NOTE: The underlying issue should be more generically addressed in the changelog generation tooling. This is being tracked in angular#39698.
…G.md` Usually, entries in the release notes for a version in `CHANGELOG.md` are grouped by scope (i.e. all `compiler` changes together, all `router` changes together, etc.). Currently, the notes for a non-patch release are created manually, by contatenating the release notes for all corresponding next/RC versions. As a result, the entries for v11.0.0 are not grouped together. This commit fixes it by grouping all entries for the v11.0.0 release by scope, making it easier to identify all changes that affect a specific package/scope.
…in `CHANGELOG.md` This commit makes the breaking changes section of the v11.0.0 release info in `CHANGELOG.md` easier to follow by: 1. Adding links to the corresponding commit for each breaking change (to make it easier to find the full context of the change). 2. Turning breaking changes of each scope into a bulleted list (to make it clearer that they affect the same package/scope). NOTE: It would be better if the changelog generation tooling handled this automatically. This potential improvement is being tracked in angular#39698.
3d951e6
to
a733fd6
Compare
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.
Reviewed-for: public-api
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.
Reviewed-for: public-api
…39704) Commit 4ca1c73 (part of PR #38931) was incorrectly marked with scope `packaging`, while it is an internal-only change (i.e. it does not affect packaging). As such is should have been marked with a different scope (for example, `ci`/`build`/`refactoring`) and should not appear in `CHANGELOG.md`. This commit removes the entry from `CHANGELOG.md` to avoid confusing developers trying to understand how this change may affect their apps. NOTE: The commit contains a breaking change notice (about dropping support for IE<11) which _is_ relevant to app developers. This breaking change notice is preserved in the "BREAKING CHANGES" section, but the scope is changes from `packaging` to `core` to avoid confusion. PR Close #39704
Currently, the script that is used to generate the `CHANGELOG.md` content uses the first 7 characters of a commit SHA in the generated links. This is problematic when there are multiple commits in the repo (or forks of the repo?) that start with the same 7 characters (which is rare but possible), since GitHub shows a 404 page. This was the case with commit 736e064 that is included in the v11.0.0 release notes and happens to start with the same characters as commit 736e064ac80f5e0ed84711694c2ba68809222ffd. This commit fixes the issue by using the full commit SHA in the link for this particular commit. NOTE: The underlying issue should be more generically addressed in the changelog generation tooling. This is being tracked in #39698. PR Close #39704
… info in `CHANGELOG.md` (#39704) It seems that the script used to generate the `CHANGELOG.md` content incorrectly treats any link or issue/PR reference in the commit message as a link to an issue fixed/closed by the commit. However, there are cases where such links/references do not refer to issues fixed/closed by the commit (or not refer to issues at all). This commit fixes such bogus links in the v11.0.0 release info. NOTE: The underlying issue should be more generically addressed in the changelog generation tooling. This is being tracked in #39698. PR Close #39704
…G.md` (#39704) Usually, entries in the release notes for a version in `CHANGELOG.md` are grouped by scope (i.e. all `compiler` changes together, all `router` changes together, etc.). Currently, the notes for a non-patch release are created manually, by contatenating the release notes for all corresponding next/RC versions. As a result, the entries for v11.0.0 are not grouped together. This commit fixes it by grouping all entries for the v11.0.0 release by scope, making it easier to identify all changes that affect a specific package/scope. PR Close #39704
…in `CHANGELOG.md` (#39704) This commit makes the breaking changes section of the v11.0.0 release info in `CHANGELOG.md` easier to follow by: 1. Adding links to the corresponding commit for each breaking change (to make it easier to find the full context of the change). 2. Turning breaking changes of each scope into a bulleted list (to make it clearer that they affect the same package/scope). NOTE: It would be better if the changelog generation tooling handled this automatically. This potential improvement is being tracked in #39698. PR Close #39704
This commit includes several minor fixes in the v11.0.0 release info in `CHANGELOG.md`, such as: - Fixing typos/punctuation. - Making capitalization consistent. - Wrapping code in backticks (for better readability). PR Close #39704
…39704) Commit 4ca1c73 (part of PR #38931) was incorrectly marked with scope `packaging`, while it is an internal-only change (i.e. it does not affect packaging). As such is should have been marked with a different scope (for example, `ci`/`build`/`refactoring`) and should not appear in `CHANGELOG.md`. This commit removes the entry from `CHANGELOG.md` to avoid confusing developers trying to understand how this change may affect their apps. NOTE: The commit contains a breaking change notice (about dropping support for IE<11) which _is_ relevant to app developers. This breaking change notice is preserved in the "BREAKING CHANGES" section, but the scope is changes from `packaging` to `core` to avoid confusion. PR Close #39704
Currently, the script that is used to generate the `CHANGELOG.md` content uses the first 7 characters of a commit SHA in the generated links. This is problematic when there are multiple commits in the repo (or forks of the repo?) that start with the same 7 characters (which is rare but possible), since GitHub shows a 404 page. This was the case with commit 736e064 that is included in the v11.0.0 release notes and happens to start with the same characters as commit 736e064ac80f5e0ed84711694c2ba68809222ffd. This commit fixes the issue by using the full commit SHA in the link for this particular commit. NOTE: The underlying issue should be more generically addressed in the changelog generation tooling. This is being tracked in #39698. PR Close #39704
… info in `CHANGELOG.md` (#39704) It seems that the script used to generate the `CHANGELOG.md` content incorrectly treats any link or issue/PR reference in the commit message as a link to an issue fixed/closed by the commit. However, there are cases where such links/references do not refer to issues fixed/closed by the commit (or not refer to issues at all). This commit fixes such bogus links in the v11.0.0 release info. NOTE: The underlying issue should be more generically addressed in the changelog generation tooling. This is being tracked in #39698. PR Close #39704
…G.md` (#39704) Usually, entries in the release notes for a version in `CHANGELOG.md` are grouped by scope (i.e. all `compiler` changes together, all `router` changes together, etc.). Currently, the notes for a non-patch release are created manually, by contatenating the release notes for all corresponding next/RC versions. As a result, the entries for v11.0.0 are not grouped together. This commit fixes it by grouping all entries for the v11.0.0 release by scope, making it easier to identify all changes that affect a specific package/scope. PR Close #39704
…in `CHANGELOG.md` (#39704) This commit makes the breaking changes section of the v11.0.0 release info in `CHANGELOG.md` easier to follow by: 1. Adding links to the corresponding commit for each breaking change (to make it easier to find the full context of the change). 2. Turning breaking changes of each scope into a bulleted list (to make it clearer that they affect the same package/scope). NOTE: It would be better if the changelog generation tooling handled this automatically. This potential improvement is being tracked in #39698. PR Close #39704
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. |
This PR includes several fixes/improvements to the v11.0.0 releade info in
CHANGELOG.md
. See the individual commits for more details.While this PR manually fixes/improves the v11.0.0 release info, many of the fixes/improvements could be incorporated to our changelog generation tooling. This is being tracked in #39698.