35690fd | Jessica Janiuk | 19 April 2023, 19:09:49 UTC | release: cut the v15.2.8 release | 19 April 2023, 19:13:35 UTC |
3d7b8cd | lonikadze | 12 April 2023, 14:45:06 UTC | docs: add information on how to use index option in configuration (#49813) #49780 PR Close #49813 | 19 April 2023, 18:46:10 UTC |
2fff8fa | Kristiyan Kostadinov | 19 April 2023, 08:06:56 UTC | fix(core): handle invalid classes in class array bindings (#49924) When binding an array to `class` like `[class]="['foo', 'bar']"`, the runtime treats it the same as a literal binding with all the values being `true`, e.g. `{foo: true, bar: true}`. While object literals can only have string keys, arrays can have any value which can lead to errors if the array contains non-string values. These changes add some logic to stringify the keys and ignore invalid ones. Fixes #48473. PR Close #49924 | 19 April 2023, 16:28:26 UTC |
0454158 | Lars Gyrup Brink Nielsen | 19 April 2023, 08:15:23 UTC | docs(core): add version ranges for Angular 14.3 (#48753) PR Close #48753 | 19 April 2023, 14:07:31 UTC |
1575f9d | Lars Gyrup Brink Nielsen | 17 April 2023, 07:02:20 UTC | docs: change section heading (#48753) Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com> PR Close #48753 | 19 April 2023, 14:07:31 UTC |
fc428f0 | Lars Gyrup Brink Nielsen | 01 April 2023, 17:48:59 UTC | docs(core): add version ranges for Angular 15.2 (#48753) PR Close #48753 | 19 April 2023, 14:07:31 UTC |
9fa0ab5 | Lars Gyrup Brink Nielsen | 20 January 2023, 22:57:06 UTC | docs(core): split versions table into LTS and non-LTS tables (#48753) PR Close #48753 | 19 April 2023, 14:07:31 UTC |
2a59e19 | Lars Gyrup Brink Nielsen | 18 January 2023, 19:45:09 UTC | docs(docs-infra): add versions document to code owners (#48753) PR Close #48753 | 19 April 2023, 14:07:31 UTC |
4d8b164 | Lars Gyrup Brink Nielsen | 18 January 2023, 19:43:19 UTC | docs(docs-infra): add versions document to the navigation (#48753) PR Close #48753 | 19 April 2023, 14:07:31 UTC |
b13587c | Lars Gyrup Brink Nielsen | 18 January 2023, 19:24:41 UTC | docs(core): include introductory text about version compatibility (#48753) PR Close #48753 | 19 April 2023, 14:07:31 UTC |
2f64981 | Lars Gyrup Brink Nielsen | 16 January 2023, 21:57:50 UTC | docs(core): add Angular, Node.js, TypeScript, and RxJS version compatibility matrix (#48753) PR Close #48753 | 19 April 2023, 14:07:31 UTC |
f02812d | Angular Robot | 23 March 2023, 15:03:58 UTC | docs: update events (#49569) Generated `events.json` with the latest events retrieved from the Firebase DB. Closes #49545 PR Close #49569 | 19 April 2023, 14:05:45 UTC |
f3907e1 | Angular Robot | 18 April 2023, 21:05:40 UTC | build: update angular/dev-infra digest to 1564c4e patch (#49917) See associated pull request for more information. PR Close #49917 | 19 April 2023, 14:04:57 UTC |
296459a | arturovt | 16 December 2022, 21:55:54 UTC | docs: add Artur Androsovych to GDE resources (#48520) PR Close #48520 | 18 April 2023, 21:35:45 UTC |
279e9e7 | Angular Robot | 10 March 2023, 14:07:12 UTC | build: update dependency build_bazel_rules_nodejs to v5.8.2 (#49910) See associated pull request for more information. PR Close #49910 | 18 April 2023, 20:45:24 UTC |
6a93956 | Angular Robot | 18 April 2023, 17:05:54 UTC | build: update cross-repo angular dependencies (#49891) patch PR (#49913) See associated pull request for more information. Patch of #49891 PR Close #49913 | 18 April 2023, 20:15:42 UTC |
b9e1e7e | Angular Robot | 18 April 2023, 17:05:44 UTC | build: update actions/cache digest to 88522ab (#49437) See associated pull request for more information. PR Close #49437 | 18 April 2023, 19:46:16 UTC |
77eb4d8 | Angular Robot | 17 April 2023, 16:07:49 UTC | build: update dependency google-closure-compiler to v20230411 (#49892) (#49912) See associated pull request for more information. PR Close #49892 PR Close #49912 | 18 April 2023, 19:45:23 UTC |
48c946f | Douglas Diniz Carvalho | 15 December 2022, 22:45:50 UTC | docs: type clearTimer function as VoidFunction or undefined (#48480) PR Close #48480 | 18 April 2023, 19:03:58 UTC |
81ad3c6 | Douglas Diniz Carvalho | 13 December 2022, 21:34:44 UTC | docs: standardize examples using timers for SSR compatibility (#48480) PR Close #48480 | 18 April 2023, 19:03:57 UTC |
cab701d | CodeMaster7000 | 09 December 2022, 20:02:58 UTC | docs: update README.md (#48423) PR Close #48423 | 18 April 2023, 16:59:38 UTC |
70ef08f | Vasil Chimev | 27 December 2022, 21:14:37 UTC | docs: typos and wording (#48597) PR Close #48597 | 18 April 2023, 16:58:31 UTC |
5a13eb8 | Vladyslav Makarenko | 15 March 2023, 10:59:19 UTC | docs: add a dot (#49434) The first sentence misses a dot in the end, however other sentences have it PR Close #49434 | 18 April 2023, 16:22:51 UTC |
3dc43e3 | Ikko Eltociear Ashimine | 03 April 2023, 06:08:00 UTC | refactor: fix typo in windows-chromium-path.js (#49676) preceeding -> preceding PR Close #49676 | 18 April 2023, 16:22:10 UTC |
9abe0d6 | John Manners | 17 February 2023, 19:30:44 UTC | docs: fix errors in toh-pt6.md (#49129) Line 182 and line 185 - grammatical and typo errors. PR Close #49129 | 18 April 2023, 16:21:35 UTC |
c75fe04 | Angular Robot | 11 April 2023, 23:06:43 UTC | build: update io_bazel_rules_sass digest to 898e4dd (#49575) See associated pull request for more information. PR Close #49575 | 18 April 2023, 16:20:54 UTC |
bce7f6b | Matthieu Riegler | 16 April 2023, 15:20:48 UTC | refactor(core): Remove ununsed Zone mock from testing internals. (#49873) The last time it was used in was on the v10 branch. PR Close #49873 | 18 April 2023, 14:00:16 UTC |
edfc087 | Angular Robot | 18 April 2023, 05:08:35 UTC | build: update scorecard action dependencies (#49897) See associated pull request for more information. PR Close #49897 | 18 April 2023, 13:58:54 UTC |
1d4cf95 | Lara Newsom | 29 March 2023, 02:09:58 UTC | docs(docs-infra): add lara newsom to GDE resources (#49620) PR Close #49620 | 17 April 2023, 18:31:14 UTC |
79a8b3c | Matthieu Riegler | 06 February 2023, 14:38:59 UTC | docs: Specify when an app is debuggable by the DevTools. (#48970) DevMode is when the ng debug object is available. `Optimization:true` is responsible for treeshaking everything behind `ngDevMode`. Fixes #48968 PR Close #48970 | 17 April 2023, 17:32:42 UTC |
fe20496 | Matthieu Riegler | 06 February 2023, 14:38:14 UTC | fix(devtools): Specify when an app is considered in dev mode. (#48970) DevMode is when the ng debug object is available. `Optimization:true` is responsible for treeshaking everything behind `ngDevMode`. PR Close #48970 | 17 April 2023, 17:32:42 UTC |
461503b | Matthieu Riegler | 15 April 2023, 18:51:07 UTC | refactor(compiler-cli): cleanup inferences (#49863) With the ts compiler updates these inferences have been fixed. PR Close #49863 | 17 April 2023, 17:23:30 UTC |
628c520 | Angular Robot | 17 April 2023, 14:08:30 UTC | build: update dependency eslint-plugin-jsdoc to v41 (#49885) See associated pull request for more information. PR Close #49885 | 17 April 2023, 15:48:24 UTC |
0a9d106 | Andrew Scott | 14 April 2023, 17:33:31 UTC | refactor(router): Do not access browserPageId if not computed resolution (#49850) This commit avoids accessing the routerPageId if the canceldNavigationResolution is not computed. PR Close #49850 | 17 April 2023, 14:47:16 UTC |
1017630 | Matthieu Riegler | 02 April 2023, 12:19:15 UTC | refactor(docs-infra): cleanup deprecated code (#49671) This commit replaces (non material-related) deprecated code present in the aio app. * `pageYOffset` can be replaced by `scrollY` * RxJs' `mapTo()` is just a `map()` * `createNgModuleRef` can be replaced by `createNgModule` * HttpEmits `ProgressEvent` not `ErrorEvent` (see #34748) * `SwUpdate.available` is replaced by `versionUpdates` with a `filter` * `SwUpdate.activated` is replaced by the returned promised of `SwUpdate.activateUpdate`. PR Close #49671 | 17 April 2023, 14:04:26 UTC |
08ba492 | Matthieu Riegler | 15 April 2023, 22:16:36 UTC | refactor(core): improve styling coverage (#49868) The test was waiting for #34202 to be merged. PR Close #49868 | 17 April 2023, 14:02:41 UTC |
aad9db2 | Matthieu Riegler | 15 April 2023, 09:44:01 UTC | docs: remove outdated/unsupported webworker doc (#49856) The webworker platform has been removed in v11 by #38846 PR Close #49856 | 17 April 2023, 14:01:41 UTC |
b6f119e | Qiuran Hu | 15 April 2023, 03:06:13 UTC | docs: fix typo in Hierarchical injectors doc (#49824) PR Close #49824 | 17 April 2023, 13:59:09 UTC |
a6f2c03 | ChrTall | 08 April 2023, 20:50:41 UTC | docs: Fixed Typo (#49753) Fixed Typo PR Close #49753 | 17 April 2023, 13:58:16 UTC |
a63d9a3 | Angular Robot | 14 April 2023, 20:06:05 UTC | build: update actions/checkout digest to 8e5e7e5 (#49815) See associated pull request for more information. PR Close #49815 | 17 April 2023, 13:31:20 UTC |
09a42d9 | Andrew Scott | 11 April 2023, 20:27:10 UTC | fix(router): canceledNavigationResolution: 'computed' with redirects to the current URL (#49793) The `canceledNavigationResolution: 'computed'` option does not correctly assign page IDs or restore them when redirects result in navigating to the current URL. This change ensures that the page IDs are still incremented and restored correctly in this scenario. PR Close #49793 | 14 April 2023, 14:55:06 UTC |
8235bc9 | Matthieu Riegler | 07 April 2023, 23:12:33 UTC | ci: Remove environment files and EnableProdMode on integration tests (#49746) Since v15, prod mode is handled by the CLI with the `optimization` flag. We can remove the environement files and `enableProdMode` when the tests use the CLI. PR Close #49746 | 14 April 2023, 14:13:33 UTC |
f266a05 | Matthieu Riegler | 11 April 2023, 18:00:08 UTC | refactor(core): drop IE workarounds (#49763) Angular doesn't support IE anymore. We can remove the workarounds related to IE. Some workarounds are keep because of the support of domino but the comments related to IE are removed. PR Close #49763 | 13 April 2023, 14:01:45 UTC |
05a0225 | Danilo Bassi | 09 March 2023, 13:03:24 UTC | fix(http): prevent headers from throwing an error when initializing numerical values (#49379) Some libraries could use numbers in headers. this fix prevents Angular from throwing an error by casting those numerical values into strings. Fixes #49353 PR Close #49379 | 13 April 2023, 14:00:17 UTC |
1d761bd | Andrew Kushnir | 12 April 2023, 19:04:13 UTC | release: cut the v15.2.7 release | 12 April 2023, 19:06:05 UTC |
2c140f4 | Angular Robot | 11 April 2023, 22:06:51 UTC | build: update github/codeql-action action to v2.2.11 (#49775) See associated pull request for more information. PR Close #49775 | 12 April 2023, 16:26:03 UTC |
a3de0c3 | Alan Agius | 12 April 2023, 11:52:10 UTC | docs: remove preboot reference from universal doc (#49808) This package is no longer actively maintained and in general is not needed. PR Close #49808 | 12 April 2023, 16:24:05 UTC |
b0c1a90 | Andrew Scott | 31 March 2023, 17:38:13 UTC | fix(compiler): Produce diagnositc if directive used in host binding is not exported (#49792) The compiler currently does not check to make sure that directives in the host bindings are exported. These directives are part of the public API of the component so they do have to be. PR Close #49792 | 11 April 2023, 21:39:03 UTC |
a40529a | Andrew Scott | 21 March 2023, 21:04:21 UTC | fix(compiler-cli): Catch FatalDiagnosticError during template type checking (#49792) This commit updates the type checking operation to catch `FatalDiagnosticError` and surface them as diagnostics rather than crashing. Fixes https://github.com/angular/vscode-ng-language-service/issues/1881 PR Close #49792 | 11 April 2023, 21:39:03 UTC |
ebd14e7 | Andrew Kushnir | 11 April 2023, 18:35:34 UTC | build: update minimum supported Node version from 16.13.0 -> 16.14.0 for CI and AIO (#49790) This commit updates the minimum supported Node version for CI and AIO from 16.13.0 -> 16.14.0 to ensure compatibility with dependencies. PR Close #49790 | 11 April 2023, 20:03:11 UTC |
d1c83cc | Andrew Kushnir | 11 April 2023, 17:31:48 UTC | ci: disable size tracking CI job in favor of integration tests size checks (#49788) Currently we have multiple integration apps which are instrumented with the payload size checks. In addition to that, there is a separate CI job that performs similar checks. The checks in CI job are redundant, thus this commit disables a separate CI job. PR Close #49788 | 11 April 2023, 17:48:01 UTC |
1081450 | Nikola Kološnjaji | 11 April 2023, 11:34:15 UTC | docs: Typo (#49781) PR Close #49781 | 11 April 2023, 17:27:53 UTC |
702ec90 | Andrew Scott | 05 April 2023, 01:20:25 UTC | fix(core): When using setInput, mark view dirty in same way as `markForCheck` (#49747) `ComponentRef.setInput` internally calls `markDirtyIfOnPush` which only marks the given view as dirty but does not mark parents dirty like `ChangeDetectorRef.markForCheck` would. https://github.com/angular/angular/blob/f071224720f8affb97fd32fb5aeaa13155b13693/packages/core/src/render3/instructions/shared.ts#L1018-L1024 `markDirtyIfOnPush` has an assumption that it’s being called from the parent’s template. That is, we don’t need to mark dirty to the root, because we’ve already traversed down to it. The function used to only be called during template execution for input bindings but was added to `setInput` later. It's not a good fit because it means that if you are responding to events such as an emit from an `Observable` and call `setInput`, the view of your `ComponentRef` won't necessarily get checked when change detection runs next. If this lives inside some `OnPush` component tree that's not already dirty, it only gets refreshed if you also call `ChangeDetectorRef.markForCheck` in the host component (because it will be "shielded" be a non-dirty parent). PR Close #49747 | 10 April 2023, 20:29:11 UTC |
ffdfdc2 | Kristiyan Kostadinov | 22 March 2023, 10:05:08 UTC | refactor(migrations): log a link to the standalone migration (#49752) Resolves an old TODO about adding a link to the standalone migration guide. PR Close #49752 | 10 April 2023, 16:04:03 UTC |
e7dd72c | Matthieu Riegler | 07 April 2023, 22:57:50 UTC | docs: update docs about prodMode. (#49745) Following angular#49723, this commit updates the doc to reflect the actual message prompted in the console. PR Close #49745 | 10 April 2023, 16:02:30 UTC |
9c07a42 | Matthieu Riegler | 14 February 2023, 20:50:43 UTC | docs: Improve previous version navigation (#49063) In archive mode the link to the current doc will now point to same page. If the page doesn't exist anymore, it will show a contextualized warning message. See #46850 PR Close #49063 | 06 April 2023, 18:07:01 UTC |
9a37a77 | Dylan Hunn | 06 April 2023, 02:37:01 UTC | release: cut the v15.2.6 release | 06 April 2023, 02:44:18 UTC |
da5f316 | Matthieu Riegler | 04 April 2023, 09:27:46 UTC | refactor(core): Use the nullish coalescing assignment in render3 functions (#49698) The usage of `??=` make the code more clear & concise. PR Close #49698 | 05 April 2023, 16:45:55 UTC |
cad7274 | Andrew Scott | 03 April 2023, 20:49:45 UTC | fix(router): create correct URL relative to path with empty child (#49691) The previous fix for squashing empty children didn't quite work when the existing route had segments. The result would be that the segments from the existing route were dropped from the final URL. PR Close #49691 | 04 April 2023, 22:05:42 UTC |
d9efa1b | Guillaume Weghsteen | 31 March 2023, 10:09:28 UTC | feat(core): change the URL sanitization to only block javascript: URLs (#49659) In modern browsers, the 'javascript:' URL scheme is the only scheme that can execute JavaScript when passed in a navigation URL context (e.g. `a.href` value). Validate URL shemes to only contain characters allowed in the URL specification ([a-zA-Z-+.]), and that are not javascript (case insensitive). This is not a breaking change. The URL sanitization is loosen. PR Close #49659 | 04 April 2023, 22:01:14 UTC |
c26e4be | Robin Richtsfeld | 04 April 2023, 18:05:42 UTC | docs: fix typo (#49704) PR Close #49704 | 04 April 2023, 22:00:39 UTC |
bd82fbe | Sandra Limacher | 01 April 2023, 20:44:53 UTC | docs: fix typo (#49669) PR Close #49669 | 04 April 2023, 02:18:41 UTC |
1d32253 | Matthieu Riegler | 02 April 2023, 21:50:32 UTC | refactor(core): remove unnecessary `reflect-metadata` import. (#49673) The import is not needed for the tests to run. PR Close #49673 | 04 April 2023, 02:17:03 UTC |
6e1b3ad | vikram menon | 30 March 2023, 22:04:49 UTC | docs: fix typo in quick reference (#49655) Change indicatedr5t to indicated PR Close #49655 | 04 April 2023, 02:13:16 UTC |
a6def64 | Johnny Gérard | 31 March 2023, 19:36:26 UTC | docs: fix typo (#49664) PR Close #49664 | 03 April 2023, 05:10:13 UTC |
9b61379 | Andrew Scott | 23 March 2023, 18:18:20 UTC | fix(router): Ensure initial navigation clears current navigation when blocking (#49572) The navigation transition clears the current navigation in the finalize operator of the current navigation Observer. This commit both completes the `bootstrapDone` observable and updates the transition to only take 1 emit from the completed navigation. Either of these changes on their own would fix the issue. The latter is a preventative measure in case a mistake like the former is made again. fixes #49567 PR Close #49572 | 01 April 2023, 00:04:02 UTC |
08979e4 | John Manners | 20 February 2023, 12:29:14 UTC | docs: fix typo in toh-pg6.md (#49141) Line 425. Change burning to burn. PR Close #49141 | 31 March 2023, 19:00:44 UTC |
233f33e | Angular Robot | 31 March 2023, 00:10:42 UTC | build: update scorecard action dependencies (#49609) See associated pull request for more information. PR Close #49609 | 31 March 2023, 18:49:47 UTC |
35f4918 | Vinit Neogi | 29 March 2023, 12:43:14 UTC | docs(core): fix view hierarchy links (#49629) fixes incorrect links to view-hierarchy (currently view-tree) Fixes #49623 PR Close #49629 | 30 March 2023, 16:39:39 UTC |
43e89bd | Sarthak Thakkar | 29 March 2023, 19:44:25 UTC | docs: fixed typo error (#49637) PR Close #49637 | 30 March 2023, 16:38:43 UTC |
07e78bb | Matthieu Riegler | 29 March 2023, 21:22:32 UTC | docs: Update Popup.service example to remove `ComponentFactoryResolver` (#49638) `ComponentFactoryResolver` has been deprecated and can be replaced by `createComponent()`. PR Close #49638 | 30 March 2023, 16:38:16 UTC |
e78a2a4 | Andrew Scott | 29 March 2023, 19:37:48 UTC | release: cut the v15.2.5 release (#49635) | 29 March 2023, 19:37:48 UTC |
077f6b4 | Alan Agius | 17 March 2023, 12:15:03 UTC | fix(compiler): do not unquote CSS values (#49460) Currently we are unsafely unquoting CSS values which in some cases causes valid values to become invalid and invalid values to become valid. Example: ```html <div style="width:"1px;""></div> ``` In the above case, `width` has an invalid value of `"1px"`, however the compiler will transform it to `1px` which makes it valid. On the other hand, in the below case ```html <div style="content:"foo""></div> ``` `content` has a valid value of `"foo"`, but since the compiler unwraps it to `foo` it becomes invalid. For correctness, we should not remove quotes. ```js const div = document.createElement('div'); div.style.width='"1px"'; div.style.content='foo'; div.style.width; // '' div.style.content; // '' div.style.width='1px'; div.style.content='"foo"'; div.style.width; // '1px' div.style.content; // '"foo"' ``` More information about values can be found https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier PR Close #49460 | 28 March 2023, 18:35:39 UTC |
d201fc2 | Alan Agius | 17 March 2023, 10:53:16 UTC | fix(core): set style property value to empty string instead of an invalid value (#49460) Currently when the value of a styling property that has a unit is empty string a invalid value is generated. Example: `[style.width.px] = ""` will generate a value of `"px"`, when instead it should be `""`. This causes browser to reset the value to an empty string. This is however not the case in Domino with changes in https://github.com/angular/domino/commit/bfc9114d1eb5b7591c43a7c6aef6ad50d24e369f. This commit fixes the issues and generate correct values. PR Close #49460 | 28 March 2023, 18:35:39 UTC |
6d6fc12 | Matthieu Riegler | 26 March 2023, 19:27:49 UTC | refactor(core): Remove usage of deprecated `Injector.create()` (#49606) This commit removes all usages of the deprecated `Injector.create` method but does not remove the deprecated signature itself. PR Close #49606 | 28 March 2023, 17:15:36 UTC |
8ed4083 | Asaf Malin | 23 March 2023, 07:11:20 UTC | docs: fixed grammar (#49560) PR Close #49560 | 28 March 2023, 17:14:45 UTC |
4c89a24 | Matthieu Riegler | 26 March 2023, 14:32:15 UTC | refactor(common): add missing `override` to satisfy the linter (#49599) Linter was complaining of missing `override` despite being OK on the CI. this commits add them. PR Close #49599 | 28 March 2023, 17:12:36 UTC |
0fecbab | Paul Gschwendtner | 25 March 2023, 14:32:08 UTC | ci: update pullapprove config to reflect current availability (#49592) Updating PullApprove to reflect current availability. Looks like it cannot be set via UI anymore... PR Close #49592 | 27 March 2023, 15:43:06 UTC |
ca5acad | Tano Abeleyra | 24 February 2023, 21:42:24 UTC | fix(common): invalid ImageKit transformation (#49201) q-auto is an invalid/unsupported transformation and should not be used PR Close #49201 | 27 March 2023, 15:33:22 UTC |
978d37f | Andrew Scott | 23 March 2023, 17:24:17 UTC | fix(router): Ensure Router preloading works with lazy component and static children (#49571) The preloading strategy did not handle a `loadComponent` on a route with a static `children`. It only preloaded children if they were also `loadChildren` or both were not lazy loaded. fixes #49558 PR Close #49571 | 24 March 2023, 17:41:11 UTC |
656a388 | Angular Robot | 24 March 2023, 13:09:42 UTC | build: update actions/checkout digest to 8f4b7f8 (#49577) See associated pull request for more information. PR Close #49577 | 24 March 2023, 17:27:35 UTC |
29c682c | Paul Gschwendtner | 24 March 2023, 12:21:06 UTC | ci: update github.com known host given recent RSA update (#49580) See: https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/ PR Close #49580 | 24 March 2023, 12:54:11 UTC |
3f8e4fb | Sid | 23 March 2023, 12:31:50 UTC | docs: add missing word (#49565) I have added a word to make the sentence more meaningful. PR Close #49565 | 23 March 2023, 18:44:04 UTC |
c3cff35 | Kristiyan Kostadinov | 22 March 2023, 09:49:32 UTC | fix(compiler): handle trailing comma in object literal (#49535) Fixes that the compiler wasn't parsing an object literal with a trailing comma correctly. Fixes #49534. PR Close #49535 | 23 March 2023, 18:35:45 UTC |
a844435 | Jan Cabadaj | 17 March 2023, 09:43:12 UTC | fix(router): fix #49457 outlet activating with old info (#49459) Avoid activating outlet with old info if route was changed before outlet activated PR Close #49459 | 22 March 2023, 21:41:43 UTC |
901353e | Andrew Scott | 22 March 2023, 20:04:07 UTC | release: cut the v15.2.4 release | 22 March 2023, 20:15:53 UTC |
288156b | Kristiyan Kostadinov | 22 March 2023, 17:06:40 UTC | Revert "fix(migrations): preserve trailing commas in code generated by standalone migration (#49533)" (#49547) This reverts commit bf4d8568341a6ac432059903eb66c3c7509c1b9a. PR Close #49547 | 22 March 2023, 17:21:27 UTC |
bf4d856 | Kristiyan Kostadinov | 22 March 2023, 08:41:23 UTC | fix(migrations): preserve trailing commas in code generated by standalone migration (#49533) This is based on some internal feedback. Adds logic to the standalone migration that attempts to preserve trailing commas when updating existing AST nodes. When creating new ones, it tries to infer whether to generate the trailing comma based on the surrounding code. PR Close #49533 | 22 March 2023, 15:41:53 UTC |
3bb7676 | Peter Götz | 21 March 2023, 20:44:03 UTC | docs: remove ticks in code sample to generate components (#49525) These ticks appear in the actual documentation and when copied verbatim while following the tutorial, running this command in the terminal simply does nothing. PR Close #49525 | 22 March 2023, 15:02:48 UTC |
be2db59 | Andrew Scott | 20 March 2023, 22:47:24 UTC | refactor(router): Remove deprecated loadChildren file (#49504) This file was used while migrations were happening internally. All code is now updated to the callback PR Close #49504 | 21 March 2023, 21:09:23 UTC |
9c57b65 | Andrew Scott | 20 March 2023, 22:44:19 UTC | refactor(router): Update router export location for deprecated interfaces (#49504) Moving these exports to a separate file will allow easier local patches internally. PR Close #49504 | 21 March 2023, 21:09:22 UTC |
b293c6a | Andrew Scott | 20 March 2023, 20:28:27 UTC | refactor(core): Remove VE/Render3 aliases from ViewRef code (#49499) These aliases were used while we needed to maintain compatibility with ViewEngine PR Close #49499 | 21 March 2023, 21:08:30 UTC |
951a347 | Alex Rickabaugh | 21 March 2023, 18:10:54 UTC | test: increase size tracking threshold to 5K / 5% (#49520) This commit increases the threshold of payload size tracking tests from 500 bytes to 5,000 bytes, and from 1% to 5%. This is done to minimize merge conflicts while still catching real regressions. PR Close #49520 | 21 March 2023, 19:30:05 UTC |
b5e68e4 | Paul Gschwendtner | 21 March 2023, 13:19:29 UTC | build: exclude draft PRs from triage queue (#49515) Excludes draft PRs from triage queue. Note that we cannot use `draft:false` as otherwise all issues would be filtered. Rather we need to negate `draft:true` which matches non-draft PRs and normal issues. PR Close #49515 | 21 March 2023, 15:40:48 UTC |
a404587 | Angular Robot | 21 March 2023, 15:08:29 UTC | build: update scorecard action dependencies (#49508) See associated pull request for more information. PR Close #49508 | 21 March 2023, 15:39:10 UTC |
6c9886b | Angular Robot | 21 March 2023, 07:07:03 UTC | build: update cross-repo angular dependencies (#49517) See associated pull request for more information. PR Close #49517 | 21 March 2023, 14:30:37 UTC |
3c75f98 | Thomas Pischke | 20 March 2023, 17:01:44 UTC | docs: remove pipe in exponential backoff (#49494) PR Close #49494 | 21 March 2023, 06:58:06 UTC |
cd5d7b6 | Thomas Pischke | 20 March 2023, 15:23:13 UTC | docs: update deprecated exponential backoff example (#49494) PR Close #49494 | 21 March 2023, 06:58:06 UTC |
97d58ec | Aditya Srinivasan | 19 March 2023, 23:08:07 UTC | docs: fix link ngFor documentation link (#49479) Fix the `ngFor` API link under the "Structural directive shorthand" section PR Close #49479 | 21 March 2023, 06:56:38 UTC |
087f441 | Masaoki Kobayashi | 31 January 2023, 00:21:23 UTC | fix(core): more accurate matching of classes during content projection (#48888) Showing a minimum app to reproduce the bug. 1. Create the app and add angular material. ``` ng new project cd project ng add @angular/material ``` 1. Overwrite the src/app/app.component.html with minimal content. ``` <button mat-button *ngIf="true"><span *ngIf="true" class="{{'a'}}"></span></button> ``` 1. Run the app. The button is not shown because of an exception. ``` main.ts:6 ERROR TypeError: item.toLowerCase is not a function at isCssClassMatching (core.mjs:8726:35) at isNodeMatchingSelector (core.mjs:8814:22) at isNodeMatchingSelectorList (core.mjs:8931:13) at matchingProjectionSlotIndex (core.mjs:14179:13) at Module.ɵɵprojectionDef (core.mjs:14222:49) at MatButton_Template (button.mjs:113:99) at executeTemplate (core.mjs:10534:9) at renderView (core.mjs:10356:13) at renderComponent (core.mjs:11529:5) at renderChildComponents (core.mjs:10216:9) ``` Because isCssClassMatching() function does not take care if the value is not string, while attrs[] may contain AttributeMarker which is actually numbers, item.toLowerCase() throws the exception. Just inserted a check if the item is string. Created a testcase for the original fix. It causes an exception without the fix. fix(core): add a check code to avoid an exception inside isCssClassMatching Showing a minimum app to reproduce the bug. 1. Create the app and add angular material. ``` ng new project cd project ng add @angular/material ``` 1. Add `import { MatButtonModule } from '@angular/material/button'`, and also MatButtonModule inside @NgModule imports in src/app/app.module.ts to use MatButtonModule. 1. Overwrite the src/app/app.component.html with minimal content. ``` <button mat-button *ngIf="true"><span *ngIf="true" class="{{'a'}}"></span></button> ``` 1. Run the app. The button is not shown because of an exception. ``` main.ts:6 ERROR TypeError: item.toLowerCase is not a function at isCssClassMatching (core.mjs:8726:35) at isNodeMatchingSelector (core.mjs:8814:22) at isNodeMatchingSelectorList (core.mjs:8931:13) at matchingProjectionSlotIndex (core.mjs:14179:13) at Module.ɵɵprojectionDef (core.mjs:14222:49) at MatButton_Template (button.mjs:113:99) at executeTemplate (core.mjs:10534:9) at renderView (core.mjs:10356:13) at renderComponent (core.mjs:11529:5) at renderChildComponents (core.mjs:10216:9) ``` Because isCssClassMatching() function does not take care if the value is not string, while attrs[] may contain AttributeMarker which is actually numbers, item.toLowerCase() throws the exception. Just inserted a check if the item is string. PR Close #48888 | 20 March 2023, 15:07:14 UTC |