https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
f1e350c release: cut the v16.0.6 release 13 June 2023, 14:57:44 UTC
c58bc97 build: update actions/checkout action to v3.5.3 (#50689) See associated pull request for more information. PR Close #50689 13 June 2023, 12:48:02 UTC
05ac086 fix(core): avoid duplicated content during hydration while processing a component with i18n (#50644) This commit updates an internal hydration logic to make sure that the content of components with i18n blocks is cleaned up before we start rendering it. Resolves #50627. PR Close #50644 13 June 2023, 11:12:08 UTC
d154e64 docs: update an example in the RouterEvent description (#50526) PR Close #50526 13 June 2023, 11:08:14 UTC
50e1858 build: update all non-major dependencies (#50583) See associated pull request for more information. PR Close #50583 13 June 2023, 10:45:12 UTC
db84fa5 build: lock file maintenance (#50532) See associated pull request for more information. PR Close #50532 13 June 2023, 09:46:07 UTC
7b5bd77 docs: fix "After you finish" description of first-app-lesson-05.md (#50645) Lesson 5 previously had the same "After you finish" description as Lesson 4. PR Close #50645 13 June 2023, 09:36:45 UTC
c0a2db9 Revert "test(compiler): Prevent back-sliding on already passing template pipeline tests (#50582)" (#50691) This reverts commit 97074b8e01edb1d48002e4b8fa346e02d29b842a. PR Close #50691 13 June 2023, 09:20:07 UTC
20953c5 docs: update schematic authoring guide to use new utilities (#50667) Updates the guide for writing `ng add` schematics to include the new authoring utilities. I've also removed the `NodePackageInstallTask` because it's redundant. PR Close #50667 12 June 2023, 17:15:46 UTC
49ad525 build: update AIO to Angular 16.1 (#50667) Updates AIO to Angular 16.1.0 to allow for some docs to be updated. PR Close #50667 12 June 2023, 17:15:46 UTC
97074b8 test(compiler): Prevent back-sliding on already passing template pipeline tests (#50582) Add a flag to disable specific tests when testing the template pipeline Mark the currently failing tests Add the template pipeline tests to CI Update package.json Co-authored-by: Paul Gschwendtner <paulgschwendtner@gmail.com> PR Close #50582 12 June 2023, 16:25:41 UTC
64b21d6 build: update io_bazel_rules_sass digest to 6e0915e (#50605) See associated pull request for more information. PR Close #50605 12 June 2023, 13:36:32 UTC
a0515bf refactor: removed the unused contructor in lazyModule (#50536) empty constructor removed and reduced the codesmells PR Close #50536 12 June 2023, 13:35:36 UTC
306c42c build: Update Glob to fast-glob to remove Inflight due to memory leak (#50632) Update Glob to fast-glob to remove the dependence of Inflight that contains a memory leak Signed-off-by: Kevin Gay <5970002+GayKevin@users.noreply.github.com> PR Close #50632 12 June 2023, 13:33:47 UTC
47a1d88 build: update dependency build_bazel_rules_nodejs to v5.8.3 (#50666) See associated pull request for more information. PR Close #50666 12 June 2023, 13:28:52 UTC
677c7c9 docs: update first-app (#50663) This commit updates the first-app demo to v16. PR Close #50663 12 June 2023, 13:22:27 UTC
96bfaa3 docs(core): Add note about testing to NG0203 (#50620) When running into NG0203 while testing, a solution can be to wrap the function in the TestBed.runInInjectionContext method. PR Close #50620 12 June 2023, 13:21:10 UTC
f8920df docs: update first-app-lesson-11.md to include info about routerLink (#50348) Add info about importing RouterLink and RouterOutlet. The existing document results in an error. The error indicates that the anchor element doesn't have the binding property for routerLink. The corresponding module (RouterModule) should be imported in the component template. Add description for RouterModule in housing-location component The description is added to fix the issue with the anchor element tag binding. PR Close #50348 12 June 2023, 12:26:04 UTC
89a089b docs: add missing navigation item (#50113) PR Close #50113 12 June 2023, 10:39:02 UTC
8e9f920 docs: added lang attributes in html files (#50588) PR Close #50588 12 June 2023, 10:08:10 UTC
33db5f9 docs: removed duplicated words (#50648) PR Close #50648 12 June 2023, 09:43:43 UTC
080d62a docs: added title attribute to the iframe tag (#50569) PR Close #50569 12 June 2023, 09:24:36 UTC
f1b2353 docs(packaging): Clarify the necessity of dev-dependencies (#50619) Clarify the role of dev-dependencies. Dependencies are required for production ie, execution of an application, whereas devDependencies are required for developing as well as *building* the application (dev and prod build both) PR Close #50619 12 June 2023, 09:19:11 UTC
140c078 docs: add information about usage of innerHTML and outerHTML (#50643) Usage of innerHTML and outerHTML will cause the same problem as using direct DOM manipulation. PR Close #50643 12 June 2023, 09:17:52 UTC
89c6592 docs: removed unused methods (#50631) PR Close #50631 09 June 2023, 15:41:56 UTC
aaebe9e docs: remove repeated word (#50614) PR Close #50614 09 June 2023, 15:39:14 UTC
992ce2d release: cut the v16.0.5 release 08 June 2023, 21:17:09 UTC
c5facb9 refactor(compiler-cli): Remove .d.ts files transformer in local compilation mode. (#50486) In local mode we don't make use of .d.ts files for Angular compilation, so their transformation can be ditched. PR Close #50486 07 June 2023, 19:50:55 UTC
84912e8 refactor(bazel): Circuit out ts semantic check in local mode compilation (#50486) In local mode compilation the TS semantic check issues tons of diagnostics due to the fact that the file dependencies (.d.ts files) are not available in the program. So it needs to be disabled. This commit should not cause any issue for the exsiting projects as it just removes a diagnostic in the local compilation mode. PR Close #50486 07 June 2023, 19:50:55 UTC
9035b88 build: update dependency gulp-conventional-changelog to v3 (#50598) See associated pull request for more information. PR Close #50598 07 June 2023, 19:46:15 UTC
d2b205e build: update dependency get-port to v7 (#50566) See associated pull request for more information. PR Close #50566 07 June 2023, 19:45:33 UTC
eef1cbb docs: fix indentation issue in component lifecycle (#50490) PR Close #50490 07 June 2023, 19:44:44 UTC
c0d4086 fix(platform-server): surface errors during rendering (#50587) Prior to this change in some cases errors tht happen during routing were not being surfaced. This is due to the fact that the router has floating promises, and the platform was being destroyed prior to these being settled. PR Close #50587 07 June 2023, 19:44:08 UTC
4b16884 fix(zone.js): enable monkey patching of the `queueMicrotask()` API in node.js (#50530) Similar to the browser, now we also monkey patch `queueMicrotask` in Node.js. This API was added in Node.js 11. PR Close #50530 07 June 2023, 19:42:33 UTC
2b6da93 fix(core): incorrectly throwing error for self-referencing component (#50559) Components are implied to be self-referencing, but if they explicitly set themselves in the `imports` array, they would throw an error because we weren't filtering them out. Fixes #50525. PR Close #50559 06 June 2023, 21:23:40 UTC
ef35ccd docs: updated the markup elements (#50586) PR Close #50586 06 June 2023, 21:14:26 UTC
af4fa9a build: update github/codeql-action action to v2.3.6 (#50585) See associated pull request for more information. PR Close #50585 06 June 2023, 21:13:39 UTC
6f092c9 build: update eslint dependencies to v5.59.9 (#50584) See associated pull request for more information. PR Close #50584 06 June 2023, 21:13:13 UTC
c992109 fix(core): wait for HTTP in `ngOnInit` correctly before server render (#50573) Previously, with `mergeMap` we did not cancel previous subscriptions to zoneIsStable which caused the application to be stablized before hand. Closes: #50562 PR Close #50573 06 June 2023, 21:12:34 UTC
5cfb6ca docs: Fix punctuation for better consistency (#50560) This is to fix a punctuation issue on the "Tour of Heroes - Introduction" page for better consistency. PR Close #50560 06 June 2023, 21:11:42 UTC
7106b2f fix(docs-infra): replace use of turbo on StackBlitz with npm (#50576) Turbo is being deprecated and can be replaced by npm with some tweaks. In particular, the installation step needs `--legacy-peer-deps` to mimic turbo's behaviour. PR Close #50576 06 June 2023, 12:19:55 UTC
9d7991a fix(zone.js): patch entire promise in node (#50552) In https://github.com/angular/angular/pull/49144 we introduced a change to only path `Promise.prototype.then` due to Node.js `SafePromise` complaining about `Promise.prototype.then` called on incompatible receiver. This however introduced a number of regressions. This commit reverts this change and re-introduces the changes to patch the entire promise on Node. The original `SafePromise` problem is no longer reproducible as of Node.js version 18.13+ as it was addressed as part of https://github.com/nodejs/node/pull/45175. While the Angular CLI does not yet generate ESM server bundles, users using ESM with dynamic imports will require using Node.js 18.13 or later. Closes #50513, closes #50457, closes #50414 and closes #49930 PR Close #50552 02 June 2023, 21:07:19 UTC
703b8fc fix(compiler): do not remove comments in component styles (#50346) Prior to this commit, comments in CSS were being removed. This caused inline sourcemaps to break to the shift in lines. This caused sourcemaps to break in the ESBuild based builder as this always adds comments at the top of the file with the filename. Example ```css /* src/app/app.component.scss */ * { color: red; background: transparent; } /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvYXBwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBOzs7Ozs7Ozs7Q0FBQTtBQVdBO0VBQ0UsVUFBQTtFQUNBLHVCQUFBO0FBREYiLCJzb3VyY2VzQ29udGVudCI6WyIvL01FRElBIFFVRVJZIE1BTkFHRVJcbi8qXG4gIDAgLSA2MDA6IFBob25lXG4gIDYwMCAtIDkwMDogVGFibGV0IHBvcnRyYWl0XG4gIDkwMCAtIDEyMDA6IFRhYmxldCBsYW5kc2NhcGVcbiAgMTIwMCAtIDE4MDA6IE5vcm1hbCBzdHlsZXNcbiAgMTgwMCsgOiBCaWcgRGVza3RvcFxuICAxZW0gPSAxNnB4XG4gIFRoZSBzbWFsbGVyIGRldmljZSBydWxlcyBhbHdheXMgc2hvdWxkIHdyaXRlIGJlbG93IHRoZSBiaWdnZXIgZGV2aWNlIHJ1bGVzXG4gIEZpeGluZyBPcmRlciA9PiBCYXNlICsgVHlwb2dyYXBoeSA+PiBHZW5lcmFsIExheW91dCArIEdyaWQgPj4gUGFnZSBMYXlvdXQgKyBDb21wb25lbnRcbiovXG5cbioge1xuICBjb2xvcjogcmVkO1xuICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= */ ``` Closes #50308 PR Close #50346 01 June 2023, 15:45:12 UTC
79bbf12 build: update dependency eslint-plugin-jsdoc to v46 (#50524) See associated pull request for more information. PR Close #50524 01 June 2023, 15:44:31 UTC
19d6b9a docs: selector precisions (#50534) This commit fixes the layout of the page and adds a precision on what selectors are supported by ng-content See #50511 PR Close #50534 01 June 2023, 15:44:00 UTC
bb05225 release: cut the v16.0.4 release 01 June 2023, 15:30:26 UTC
9e68a62 docs: correct Signals documentation (#50518) Remove "only" word from "Reading without tracking dependencies" effect explanation PR Close #50518 31 May 2023, 19:39:37 UTC
7e1bc51 fix(common): untrack subscription and unsubscription in async pipe (#50522) This commit wraps the actual subscription/unsubscription in the `async` pipe with `untracked`, to ensure that any signal reads/writes which might take place in `Observable` side effects are not attributed to the template. Fixes #50382 PR Close #50522 31 May 2023, 19:38:30 UTC
8ce28db docs(router): correct references to guard services (#50514) PR Close #50514 31 May 2023, 19:37:20 UTC
9750f59 refactor(common): fix variable name (#50521) The PreloadLinkCreator instance was assigned to a variable named preloadLinkChecker, which is confusing because PreloadLinkChecker is also a thing. PR Close #50521 31 May 2023, 19:36:49 UTC
223c353 build: update dependency eslint-plugin-jsdoc to v45 (#50523) See associated pull request for more information. PR Close #50523 31 May 2023, 19:34:27 UTC
55244e6 Revert "fix(zone.js): enable monkey patching of the `queueMicrotask()` API in node.js (#50467)" (#50529) This reverts commit 381cb982264d30e8c79e77e9186acd6da006e718. PR Close #50529 31 May 2023, 16:57:43 UTC
277a473 build: Fix size tracking test (#50531) One of our goldens needed to be bumped. PR Close #50531 31 May 2023, 14:43:52 UTC
f26c9a2 refactor(platform-browser): Remove BrowserDetection (#50411) Our tests should rely on the running browser. PR Close #50411 30 May 2023, 20:06:29 UTC
1c94ed4 docs: Adding myself to the collaborators (#50494) Let's continue building Angular ! =) PR Close #50494 30 May 2023, 20:05:55 UTC
c338791 build: remove console output from locale build action (#50426) Bazel build actions should never print something to the console on success as this would pollute the overall action output. PR Close #50426 30 May 2023, 20:05:18 UTC
ad73aef build: speed up locale file generation to improve DX (#50426) Before this commit, building everything to run `@angular/core` tests: ``` INFO: Elapsed time: 76.496s, Critical Path: 72.92s INFO: 225 processes: 125 internal, 5 linux-sandbox, 2 local, 93 worker. INFO: Build completed successfully, 225 total actions ``` After: ``` Use --sandbox_debug to see verbose messages from the sandbox INFO: Elapsed time: 15.952s, Critical Path: 10.75s INFO: 200 processes: 128 internal, 4 linux-sandbox, 2 local, 66 worker. ``` This being on a specialist Cloudtop. PR Close #50426 30 May 2023, 20:05:18 UTC
6546747 build: update github/codeql-action action to v2.3.5 (#50508) See associated pull request for more information. PR Close #50508 30 May 2023, 20:04:42 UTC
2a6daea docs: add Ady Ngom to GDE resources (#49759) [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit [] Tests for the changes have been added (for bug fixes / features) [] Docs have been added / updated (for bug fixes / features) What kind of change does this PR introduce? [] Bugfix [] Feature [] Code style update (formatting, local variables) [] Refactoring (no functional changes, no api changes) [] Build related changes [] CI related changes [] Documentation content changes [x] angular.io application / infrastructure changes [] Other... Please describe: [] Yes [x] No Based on information provided [here](https://github.com/WebGDEProgram/main/tree/master/Angular) PR Close #49759 30 May 2023, 20:02:23 UTC
b118b75 build: update all non-major dependencies (#50417) See associated pull request for more information. PR Close #50417 30 May 2023, 20:01:51 UTC
27beaa6 docs: improved code quality (#50443) PR Close #50443 30 May 2023, 20:00:39 UTC
f3a965b docs: removed the obsolete frameborder Tag and updated the files with using css (#50480) PR Close #50480 30 May 2023, 19:59:27 UTC
ad9adb3 docs(docs-infra): rimraf requires the globflag. (#50493) On windows rimraf requires since v4 the glob flag to support wildcards in path. fixes #49806 PR Close #50493 30 May 2023, 19:58:52 UTC
9ef305b refactor(http): replace zone.js macrotask creation with `InitialRenderPendingTasks` (#50425) This commits refactors the HTTP client to use `InitialRenderPendingTasks` instead of Zone.js macrotask. This is another approach to https://github.com/angular/angular/pull/50406 which was revert due to a failure in G3. PR Close #50425 30 May 2023, 19:58:23 UTC
9970b29 fix(core): update `ApplicationRef.isStable` to account for rendering pending tasks (#50425) This commit updates the `ApplicationRef.isStable` API to account for pending rendering task. This is needed as once a pending rendering task is done, new macrotask and microtask could be created which previously caused these not to be intercepted and thus ignored when doing SSR. PR Close #50425 30 May 2023, 19:58:23 UTC
5b14821 fix(zone.js): enable monkey patching of the `queueMicrotask()` API in node.js (#50467) Similar to the browser, now we also monkey patch `queueMicrotask` in Node.js. This API was added in Node.js 11. PR Close #50467 30 May 2023, 19:57:45 UTC
f517d18 docs: removed the unused import and update the obsolete tag of width in table tag (#50474) PR Close #50474 30 May 2023, 16:23:07 UTC
04a020a docs: corrected method name for "Tap into the Observable" section (#50479) At this point in the tutorial we are still talking about the `getHeroes()` method. Corrected the method name to reflect that since the final piece of code within this section is for `getHeroes()` PR Close #50479 30 May 2023, 16:22:37 UTC
dabf24d docs: refactored the markup tags (#50481) PR Close #50481 30 May 2023, 16:21:59 UTC
f6db406 docs: updated the deprecated tag of width in table tag (#50487) PR Close #50487 30 May 2023, 16:21:27 UTC
684928a docs: update CLI command to include `--preserve-symlinks-main` (#50512) This is needed to instructs the module loader to preserve symbolic links when resolving and caching the main module. More information about this flag can be found: https://nodejs.org/api/cli.html#--preserve-symlinks-main Closes: #50515 PR Close #50512 30 May 2023, 16:20:54 UTC
a37218d docs: remove outdated command to run Angular CLI when using `ng-dev misc build-and-link` (#50512) Setting `BAZEL_TARGET="1"` is no longer needed as NGCC has been removed. PR Close #50512 30 May 2023, 16:20:54 UTC
1c37a83 Revert "fix(http): create macrotask during request handling instead of load start (#50406)" (#50475) This reverts commit 2cdb4c5911965aa273f11432e04502e52b5e1b9b. PR Close #50475 25 May 2023, 20:24:39 UTC
df65c4f fix(animations): Trigger leave animation when ViewContainerRef is injected (#48705) Injecting `ViewContainerRef` into a component makes it effectively a container. The leave animation wasn't triggered on containers before this fix. fixes angular#48667 PR Close #48705 25 May 2023, 18:40:35 UTC
fc6b10c build: update dependency https-proxy-agent to v7 (#50456) See associated pull request for more information. PR Close #50456 25 May 2023, 14:40:05 UTC
92cc178 docs: remove unused imports and improved the code (#50424) PR Close #50424 25 May 2023, 14:37:55 UTC
1de7420 refactor(core): Remove unused import from the graph.ts (#50372) This commit updates the code to remove unused import of the `throwInvalidWriteToSignalError` symbol. PR Close #50372 25 May 2023, 14:37:05 UTC
c0a8c8f release: cut the v16.0.3 release 24 May 2023, 17:43:30 UTC
080bbd2 fix(http): create macrotask during request handling instead of load start (#50406) This commit schedules the macrotask creation to happen before the XHR `loadStart` event. This is needed as in some cases, Zone.js becomes stable too early. With this commit, we also update the internal `createBackgroundMacroTask` method to use Zone.js `scheduleMacroTask` as otherwise the `setTimeout` would cause `fakeAsync` tests to fail due to pending timers. Closes #50405 PR Close #50406 24 May 2023, 15:33:43 UTC
98e8fdf fix(core): fix `Self` flag inside embedded views with custom injectors (#50270) When an embedded view injector is present anywhere above a node in the tree, the `Self` flag was effectively ignored. With this change, embedded view injectors are not checked at all when the `Self` flag is present, because resolution should stop at the current node before reaching any embedded view injector(s). Fixes #49959 PR Close #50270 24 May 2023, 13:59:20 UTC
f3a13c2 refactor(http): tree-shakable error on JSONP request (#50376) This commit provides a tree shakable error message (+doc) when JSONP request is made without loading the `HttpClientJsonpModule`. PR Close #50376 24 May 2023, 13:58:49 UTC
6e4f582 refactor(devtools): run spellcheck on devtools dir (#50445) Correct typos in devtools dir. PR Close #50445 24 May 2023, 13:56:56 UTC
8f8e3cf refactor(devtools): run spell check on tools dir (#50445) Fix typo found in tools dir. PR Close #50445 24 May 2023, 13:56:56 UTC
334238a refactor(router): run spell check on router package (#50445) Fix typos in router package. PR Close #50445 24 May 2023, 13:56:56 UTC
efb8974 refactor(localize): run spell check on localize package (#50445) Fix typo found in BUILD.bazel PR Close #50445 24 May 2023, 13:56:56 UTC
f245071 refactor(zone.js): run spell check on zone.js package (#50445) Fix typos found in zone.js CHANGELOG.md PR Close #50445 24 May 2023, 13:56:56 UTC
ac0150f docs: fix first-app-lesson-06.md (#50419) fix two grammatical/typographical errors present in the document. Co-authored-by: Usama Nadeem <usamanadeem1991@gmail.com> PR Close #50419 23 May 2023, 19:45:15 UTC
c11041e fix(core): adds missing symbols for animation standalone bundling test (#50434) This adds a few missing symbols into the goldens list that were causing CI to fail PR Close #50434 23 May 2023, 19:01:02 UTC
4da2621 Revert "build: update babel dependencies to v7.21.9 (#50416)" (#50433) This reverts commit 3c093d767e7a7aeef0999c5c15b0c4c23bc2bc79. PR Close #50433 23 May 2023, 18:28:32 UTC
338e63b build: remove unused bash utilities from legacy build (#50427) Removes an unused bash utility file that existed back when we built using a Bash script. PR Close #50427 23 May 2023, 17:19:34 UTC
81eefac build: remove unused gulp helper script (#50428) We still seem to be having Gulp installed for the ZoneJS changelog generation. Arguably this can be replaced with a simpler JS script, but in either case, this commit removes an unused file from the old Gulp task setup. PR Close #50428 23 May 2023, 17:18:56 UTC
9a43f8d build: remove unused script from removed components CI job (#50429) Removes a script that is no longer needed now that we have removed the components repo CI job from the framework repository. PR Close #50429 23 May 2023, 17:18:27 UTC
bcf7edd build: address last bit of review feedback for saucelabs daemon (#50430) Follow-up to https://github.com/angular/angular/pull/50393. PR Close #50430 23 May 2023, 17:17:59 UTC
506db64 docs: fix console command parameters in first-app-lesson-10.md (#50390) Lesson 11 proposes to add styles to the `details.component.css` file, which isn't created with the current command. The change brings the component creation to consistency with the other components in the first app tutorial. PR Close #50390 23 May 2023, 17:17:08 UTC
c33bbfe refactor(core): Improve NG100 (#50391) Improve the NG100 error message by formating the value using `JSON.stringify` See #34454 PR Close #50391 23 May 2023, 15:31:18 UTC
a806a8d docs: fix typo in NG0505 error guide (#50321) PR Close #50321 23 May 2023, 14:23:40 UTC
7e9c7ed docs: fix code-example header path in dependency-injection-in-action-md (#50397) docs: fix typo in dependency-injection-in-action doc docs: fixed code-example header paths in dependency-injection-in-action doc PR Close #50397 23 May 2023, 14:15:00 UTC
0b98553 docs: fix code-example header path in hierarchical-dependency-injection-md file (#50404) PR Close #50404 23 May 2023, 14:14:27 UTC
1bd65e4 docs(docs-infra): remove polyfills.ts (#50409) We can use the angular.json directly. PR Close #50409 23 May 2023, 14:13:40 UTC
9945da5 fix(docs-infra): remove extra slash from JSON-LD data (#50140) Remove double slash from the "@id" field. PR Close #50140 23 May 2023, 14:13:10 UTC
back to top