c1c7384 | Andrew Scott | 18 October 2021, 21:19:21 UTC | feat(router): Add reusable types for router guards (#54580) This refactor makes it easier to update the return types of guards. Rather than having to track what types guards can return, which may change with new features over time, `MaybeAsync<GuardResult>` can be used instead. PR Close #54580 | 28 February 2024, 17:09:33 UTC |
fb540e1 | Kristiyan Kostadinov | 28 February 2024, 13:45:09 UTC | feat(core): add migration for invalid two-way bindings (#54630) As a part of #54154, an old parser behavior came up where two-way bindings were parsed by appending `= $event` to the event side. This was problematic, because it allowed some non-writable expressions to be passed into two-way bindings. These changes introduce a migration that will change the two-way bindings into two separate input/output bindings that represent the old behavior so that in a future version we can throw a parser error for the invalid expressions. ```ts // Before @Component({ template: `<input [(ngModel)]="a && b"/>` }) export class MyComp {} // After @Component({ template: `<input [ngModel]="a && b" (ngModelChange)="a && (b = $event)"/>` }) export class MyComp {} ``` PR Close #54630 | 28 February 2024, 17:06:23 UTC |
ae7dbe4 | Kristiyan Kostadinov | 28 February 2024, 12:45:33 UTC | fix(compiler-cli): unwrap expressions with type parameters in query read property (#54647) Fixes that a query like `viewChild('locator', {read: ElementRef<HTMLElement>})` would throw because we didn't account for expressions with type parameters. I've also included support for parenthesized expressions and `as` expressions since it's pretty easy to support them. Fixes #54645. PR Close #54647 | 28 February 2024, 17:05:13 UTC |
d7c6865 | Kristiyan Kostadinov | 28 February 2024, 09:26:11 UTC | build: update to the TypeScript 5.4 RC (#54643) Updates the repor to the release candidate of the TypeScript 5.4. PR Close #54643 | 28 February 2024, 16:43:17 UTC |
06ffe9a | Tommy Gaessler | 26 October 2023, 22:48:08 UTC | docs: updated setting up Zone.js instructions (#52409) Updated the "Setting up Zone.js" instructions to the latest convention from how the Angular CLI configures it. Include adding zone-flats.ts to the tsconfig.app.json file step. Added src/ to zone-flag.ts in the code example. PR Close #52409 | 28 February 2024, 16:35:10 UTC |
c1590e7 | Kristiyan Kostadinov | 28 February 2024, 16:04:03 UTC | docs: fix broken link in AIO (#54649) Fixes a broken link that is currently breaking the CI. PR Close #54649 | 28 February 2024, 16:15:06 UTC |
1519b5b | Nikita Barsukov | 14 December 2023, 08:37:44 UTC | docs: fix broken markdown syntax (#53567) PR Close #53567 | 28 February 2024, 14:16:14 UTC |
2f875d0 | mgechev | 18 August 2023, 21:56:20 UTC | docs: update versioning and deprecation policies (#51423) Add more details around: - What we consider a breaking change - What is a deprecation - How do we guarantee Angular stays stable - Update invalid links PR Close #51423 | 28 February 2024, 13:38:36 UTC |
52970e3 | mgechev | 27 October 2023, 00:50:41 UTC | docs: add updating to v17 guide (#52410) PR Close #52410 | 28 February 2024, 13:19:45 UTC |
2e401c7 | Joey Perrott | 23 February 2024, 18:12:21 UTC | fix(docs-infra): include CLI reference docs in adev (#54591) include the reference docs in the adev application PR Close #54591 | 28 February 2024, 11:48:09 UTC |
e923545 | Dylan Hunn | 28 February 2024, 00:27:56 UTC | docs: release notes for the v17.2.3 release | 28 February 2024, 00:28:23 UTC |
ccda258 | Dylan Hunn | 28 February 2024, 00:06:20 UTC | release: cut the v17.3.0-next.1 release | 28 February 2024, 00:12:02 UTC |
df0e69b | Paul Gschwendtner | 20 February 2024, 09:39:28 UTC | build: handle commonjs dependencies when bundling language service (#54429) Fixes that the language service bundling would throw if a CommonJS dependency is used. PR Close #54429 | 27 February 2024, 23:24:24 UTC |
7da4591 | Kristiyan Kostadinov | 20 February 2024, 09:35:38 UTC | refactor(compiler-cli): use semver for version parsing (#54429) Follow-up to #54423 which uses `semver` to parse the version instead of doing it ourselves. PR Close #54429 | 27 February 2024, 23:24:23 UTC |
3d6552c | Matthieu Riegler | 22 February 2024, 00:34:04 UTC | docs(docs-infra): update angular/build-tooling and angular/docs (#54555) Fixes #54476, #52603, #52734 PR Close #54555 | 27 February 2024, 23:22:18 UTC |
ff40c9f | Sumit Parakh | 24 February 2024, 05:33:26 UTC | fix(core): fix typo in injectors.svg file (#54596) this commit fixes the unnecessary single quote in injectors.svg file Closes #54592 PR Close #54596 | 27 February 2024, 23:21:05 UTC |
331b16e | Kristiyan Kostadinov | 27 February 2024, 20:46:35 UTC | feat(core): add API to inject attributes on the host node (#54604) Angular has the `@Attribute` decorator that allows for attributes to be injected from the host node, but we don't have an equivalent for the `inject` function. These changes introduce the new `HostAttributeToken` class that can be used to inject attributes similarly to `@Attribute`. It can be used as follows: ```typescript import {HostAttributeToken, inject} from '@angular/core'; class MyDir { someAttr = inject(new HostAttributeToken('some-attr')); } ``` The new API works similarly to `@Attribute` with one key exception: it will throw a DI error when the attribute doesn't exist, instead of returning `null` like `@Attribute`. We made this change to align its behavior closer to other injection tokens. PR Close #54604 | 27 February 2024, 23:18:41 UTC |
4066e62 | Joey Perrott | 26 February 2024, 18:02:03 UTC | ci: use angular/team Github team for minimum review set (#54611) Use the angular/team Github team to define the list of eligible minimum reviewer set so that it can be reused accross the organization PR Close #54611 | 27 February 2024, 23:17:07 UTC |
6470e33 | Angular Robot | 27 February 2024, 03:04:43 UTC | build: update io_bazel_rules_sass digest to 888dd9c (#54615) See associated pull request for more information. PR Close #54615 | 27 February 2024, 22:06:29 UTC |
8f0c27f | Joey Perrott | 27 February 2024, 15:28:00 UTC | refactor(docs-infra): apply prettier formatting to adev (#54625) Apply prettier formatting to adev code PR Close #54625 | 27 February 2024, 22:04:49 UTC |
83d8c68 | Doug Parker | 27 February 2024, 17:51:11 UTC | release: bump Angular DevTools version to 1.0.11 (#54631) PR Close #54631 | 27 February 2024, 22:02:15 UTC |
dd9f9d7 | Doug Parker | 27 February 2024, 17:12:53 UTC | Revert "refactor(devtools): implement iframe support for Angular DevTools' browser code (#53934)" (#54629) This reverts commit dd3dac9cc99ac7988e6bff5a3df30786ad0f1155. PR Close #54629 | 27 February 2024, 22:00:13 UTC |
133319e | Doug Parker | 27 February 2024, 17:12:43 UTC | Revert "refactor(devtools): implement multiframe support in devtools page (#53934)" (#54629) This reverts commit ebcdc8dc96e971f68e30cfe4acda5eba87417d77. PR Close #54629 | 27 February 2024, 22:00:12 UTC |
3e0b3a1 | Doug Parker | 30 January 2024, 23:03:02 UTC | refactor: add `--spawn_strategy local` to `--config debug` (#54167) This seems to be necessary to debug Node tests. PR Close #54167 | 27 February 2024, 02:36:38 UTC |
53820dd | Andrew Scott | 02 February 2024, 18:19:02 UTC | refactor(core): Internal render hooks trigger view refresh before executing user hooks (#54224) This commit ensures that any internal render hooks that cause views to become dirty again first refresh those dirty views before running user render hooks. This ensures that user render hooks have the most complete render state possible and stops them from needlessly executing multiple times. This is important to maintain the goal of the public render hooks, which is to provide the safest place to place code that depends on DOM state, especially in ways that may force a browser paint. PR Close #54224 | 27 February 2024, 02:31:13 UTC |
46617ce | Andrew Scott | 02 February 2024, 16:41:34 UTC | refactor(core): Add helper function for queuing state updates (#54224) This adds a helper function to defer application state updates to the first possible "safe" moment. If application-wide change detection (ApplicationRef.tick) is currently executing when this function is used, the callback will execute as soon as all views attached to the `ApplicationRef` have been refreshed. Refreshing the application views will happen again before `checkNoChanges` executes. When a change detection is _not_ running, this state update will execute in the microtask queue. This function is necessary as a replacement for current `Promise.resolve().then(() => stateUpdate())` to be zoneless compatible while ensuring those state updates are synchronized to the DOM before the browser repaint. Without this, updates done in `Promise.resolve(...)` would queue another round of change detection in zoneless applications, and this change detection could happen in the next browser frame, and cause noticeable flicker for the user. Additionally, this function provides a way to perform state updates that will run on the server as well as in the browser. Last, current applications using `ngZone: 'noop'` may not be calling `ApplicationRef.tick` at all so this function provides a mechanism to ensure the state update still happens by racing a microtask with `afterNextRender` (which might never execute). PR Close #54224 | 27 February 2024, 02:31:13 UTC |
f578889 | cexbrayat | 07 February 2024, 21:23:26 UTC | fix(compiler-cli): catch function instance properties in interpolated signal diagnostic (#54325) Currently, the following template compiles without error, even if the signal is not properly called: ``` <div>{{ mySignal.name }}</div> ``` This is because `name` is one of the instance properties of Function (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function#instance_properties). The interpolated signal diagnostic is now extended to catch such issues. PR Close #54325 | 27 February 2024, 02:30:05 UTC |
6842909 | Angular Robot | 23 February 2024, 10:04:38 UTC | build: update scorecard action dependencies (#54407) See associated pull request for more information. PR Close #54407 | 27 February 2024, 02:29:36 UTC |
12dc4d0 | Kristiyan Kostadinov | 22 February 2024, 07:47:47 UTC | fix(compiler-cli): account for as expression in docs extraction (#54414) Fixes that the extraction for `object-literal-as-enum` didn't account for constants initialized to an `as` expression. PR Close #54414 | 27 February 2024, 02:29:09 UTC |
9749589 | Kristiyan Kostadinov | 22 February 2024, 06:16:20 UTC | feat(core): support TypeScript 5.4 (#54414) Adds support for TypeScript 5.4 to the project. PR Close #54414 | 27 February 2024, 02:29:09 UTC |
a2a0067 | Angular Robot | 23 February 2024, 21:05:08 UTC | build: update all non-major dependencies (#54510) See associated pull request for more information. PR Close #54510 | 27 February 2024, 02:28:44 UTC |
1de9e19 | cexbrayat | 26 February 2024, 15:59:04 UTC | docs: use components in model inputs guide (#54606) The code example showcases a `@Directive` with a template instead of a `@Component`. PR Close #54606 | 27 February 2024, 02:28:10 UTC |
f5c566c | Kristiyan Kostadinov | 26 February 2024, 17:28:21 UTC | fix(compiler-cli): identify aliased initializer functions (#54609) Fixes that initializer functions weren't being recognized if they are aliased (e.g. `import {model as alias} from '@angular/core';`). To do this efficiently, I had to introduce the `ImportedSymbolsTracker` which scans the top-level imports of a file and allows them to be checked quickly, without having to go through the type checker. It will be useful in the future when verifying that that initializer APIs aren't used in unexpected places. I've also introduced tests specifically for the `tryParseInitializerApiMember` function so that we can test it in isolation instead of going through the various functions that call into it. PR Close #54609 | 27 February 2024, 02:27:15 UTC |
54b5a2f | Joey Perrott | 26 February 2024, 17:50:43 UTC | ci: correct @jeanmeche to @JeanMeche in pullapprove (#54610) Correct the casing so that it works as expected. PR Close #54610 | 26 February 2024, 18:25:08 UTC |
69948e1 | Dylan Hunn | 26 February 2024, 16:48:50 UTC | refactor(dev-infra): Import angular LS package in g3 (#54608) Import `angular/packages/language-service` in g3. We will still need to write BUILD files to get it building. PR Close #54608 | 26 February 2024, 17:04:33 UTC |
d4343b5 | Dylan Hunn | 23 February 2024, 23:28:54 UTC | Revert "fix(compiler-cli): identify aliased initializer functions (#54480)" (#54595) This reverts commit f04ecc0cdaeb3a292a748b1ccc94ce70a573fc79. PR Close #54595 | 26 February 2024, 16:36:49 UTC |
dcb9deb | Andrew Kushnir | 14 November 2023, 06:08:26 UTC | fix(core): collect providers from NgModules while rendering `@defer` block (#52881) Currently, when a `@defer` block contains standalone components that import NgModules with providers, those providers are not available to components declared within the same NgModule. The problem is that the standalone injector is not created for the host component (that hosts this `@defer` block), since dependencies become defer-loaded, thus no information is available at host component creation time. This commit updates the logic to collect all providers from all NgModules used as a dependency for standalone components used within a `@defer` block. When an instance of a defer block is created, a new environment injector instance with those providers is created. Resolves #52876. PR Close #52881 | 23 February 2024, 20:30:05 UTC |
0d95ae5 | Pawel Kozlowski | 20 February 2024, 15:29:27 UTC | refactor(core): use performance API for signals (#54521) This commit adds a standard performance marker that can be viewed in Chrome dev tools and other tooling. See more info at https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark PR Close #54521 | 23 February 2024, 20:18:30 UTC |
4efcc74 | Kristiyan Kostadinov | 22 February 2024, 07:54:55 UTC | docs: add a guide for model inputs (#54514) Adds a guide for `model()` inputs for angular.io. Will port this over to angular.dev once it's finalized. PR Close #54514 | 23 February 2024, 19:47:03 UTC |
a3d5f7a | Felix Geißler | 22 February 2024, 14:05:16 UTC | docs: syntax error in signal input transform example (#54567) PR Close #54567 | 23 February 2024, 19:46:10 UTC |
835c3a1 | loka shafeek | 22 February 2024, 16:58:41 UTC | docs: Update wildcard route component to PageNotFoundComponent (#54570) This PR enhances the Angular documentation by replacing the placeholder `<component-name>` with the actual `PageNotFoundComponent` in the wildcard route configuration. This update ensures that the documentation accurately reflects the recommended practice for handling page-not-found scenarios. Additionally, it addresses the issue where HTML entities like `<` were being displayed instead of the desired `<` symbol, resulting in clearer and more readable documentation for users. PR Close #54570 | 23 February 2024, 19:45:38 UTC |
f04ecc0 | Kristiyan Kostadinov | 16 February 2024, 12:33:06 UTC | fix(compiler-cli): identify aliased initializer functions (#54480) Fixes that initializer functions weren't being recognized if they are aliased (e.g. `import {model as alias} from '@angular/core';`). To do this efficiently, I had to introduce the `ImportedSymbolsTracker` which scans the top-level imports of a file and allows them to be checked quickly, without having to go through the type checker. It will be useful in the future when verifying that that initializer APIs aren't used in unexpected places. I've also introduced tests specifically for the `tryParseInitializerApiMember` function so that we can test it in isolation instead of going through the various functions that call into it. PR Close #54480 | 23 February 2024, 19:44:36 UTC |
52924c5 | Lukas Matta | 22 February 2024, 16:44:53 UTC | docs: remove mutate function mention (#54569) PR Close #54569 | 23 February 2024, 19:43:24 UTC |
35e5ba0 | Matthieu Riegler | 22 February 2024, 18:21:56 UTC | ci: adding Matthieu as approver for ADEV (#54575) This is to help the team approve changes on the new doc site. PR Close #54575 | 23 February 2024, 19:42:44 UTC |
c5a7661 | Kristiyan Kostadinov | 23 February 2024, 09:52:00 UTC | refactor(compiler-cli): changes to get signal diagnostic working internally (#54585) The diagnostic for signals that haven't been invoked wasn't working internally, because the path to `@angular/core` is different. These changes resolve the issue and do some general cleanup. PR Close #54585 | 23 February 2024, 19:42:04 UTC |
71e0c7d | Kristiyan Kostadinov | 23 February 2024, 13:51:17 UTC | fix(migrations): resolve infinite loop for a single line element with a long tag name and angle bracket on a new line (#54588) Fixes an edge case where a single-line elemnt with a long tag name a closing bracket on a new line was putting the control flow migration into an infinite loop. Fixes #54587. PR Close #54588 | 23 February 2024, 19:40:27 UTC |
1a6beae | Dylan Hunn | 22 February 2024, 17:28:10 UTC | feat(compiler): Enable template pipeline by default. (#54571) Template pipeline is now the default template compiler. A pair of source map tests is failing, related to DI in JIT mode; I will fix and re-enable these during the preview period. PR Close #54571 | 23 February 2024, 19:15:36 UTC |
812a972 | Matthieu Riegler | 22 February 2024, 17:54:01 UTC | docs(docs-infra): revert font-inlining (#54573) To fix the CI/Build for ADEV. PR Close #54573 | 23 February 2024, 18:30:04 UTC |
3f95829 | Andrew Scott | 22 February 2024, 17:28:35 UTC | refactor(core): Allow dirty views to be refreshed in a loop internally (#54572) ApplicationRef.tick has a loop that will refresh views again that have an updated signal. This change ensures views marked with the `Dirty` flag are also considered in this loop, but only inside g3 for now because this may be considered a breaking change and we need to wait for v18 to land externally. PR Close #54572 | 23 February 2024, 17:59:11 UTC |
707bfc9 | Andrew Scott | 22 February 2024, 00:26:42 UTC | perf(common): `AsyncPipe` should not call `markForCheck` on subscription (#54554) This commit prevents `AsyncPipe` from calling `markForCheck` when values are synchronously emit during subscription to an observable. This prevents subscriptions to `Replay` observables from needlessly walking up to the root of the view tree during template execution for each new replay observable in the template. PR Close #54554 | 23 February 2024, 17:20:02 UTC |
8e65bdc | Alex Rickabaugh | 22 February 2024, 01:58:54 UTC | release: cut the v17.3.0-next.0 release | 22 February 2024, 02:02:51 UTC |
0971029 | Alex Rickabaugh | 22 February 2024, 01:57:15 UTC | docs: release notes for the v17.2.2 release | 22 February 2024, 01:57:34 UTC |
f5f73fd | Matthieu Riegler | 21 February 2024, 20:52:37 UTC | docs(docs-infra): enable webcontainers for Firefox (#54550) PR Close #54550 | 21 February 2024, 23:27:36 UTC |
e7b6be5 | Joey Perrott | 21 February 2024, 18:32:27 UTC | build: perform build/serve of adev locally (#54549) Use no-remote-exec to allow for building and serving to occur locally but still allow remote caching. Because of the number of files involved in being passed to and from the RBE server, it is actually a bit faster to perform these actions locally. PR Close #54549 | 21 February 2024, 23:27:02 UTC |
42d3ddd | Jessica Janiuk | 20 February 2024, 22:49:31 UTC | fix(migrations): Fix cf migration regular expression to include underscores (#54533) In rare cases people may use an underscore in their component names, which was not accounted for in the formatting portion of the migration. fixes: #54532 PR Close #54533 | 21 February 2024, 23:25:05 UTC |
9ec2224 | Doug Parker | 20 February 2024, 19:00:20 UTC | docs(devtools): expand release docs (#54525) This provides some more information on how to release and notably includes commands for zipping extension code and source code, which can otherwise be tricky to get exactly right. PR Close #54525 | 21 February 2024, 23:24:26 UTC |
e9e5e25 | Doug Parker | 20 February 2024, 18:34:27 UTC | release: bump Angular DevTools version to 1.0.10 (#54523) PR Close #54523 | 21 February 2024, 23:23:36 UTC |
a9f563f | Kristiyan Kostadinov | 19 February 2024, 09:40:39 UTC | refactor(compiler-cli): move defer block tests into separate file (#54499) Splits the tests for `@defer` blocks out into a separate file since the `ngtsc_spec.ts` is getting quite large. PR Close #54499 | 21 February 2024, 23:22:36 UTC |
badda0c | Kristiyan Kostadinov | 19 February 2024, 09:39:59 UTC | fix(compiler-cli): correctly detect deferred dependencies across scoped nodes (#54499) This is based on an internal issue report. An earlier change introduced a diagnostic to report cases where a symbol is in the `deferredImports` array, but is used eagerly. The check worked by looking through the deferred blocks in a scope, resolving the scope for each and checking if the element is within the scope. The problem is that resolving the scope won't work across scoped node boundaries. For example, if there's a control flow statement around the block or within the block but around the deferred dependency, it won't be able to resolve the scope since it isn't a direct child, e.g. ``` @if (true) { @defer { <deferred-dep/> } } ``` To fix this the case where the deferred block is inside a scoped node, I've changed the `R3BoundTarget.deferBlocks` to be a `Map` holding both the deferred block and its corresponding scope. Then to resolve the case where the dependency is within a scoped node inside the deferred block, I've added a depth-first traversal through the scopes within the deferred block. PR Close #54499 | 21 February 2024, 23:22:36 UTC |
1d14e52 | Kristiyan Kostadinov | 17 February 2024, 11:18:53 UTC | refactor(compiler-cli): add the ability to treat object literals as enums in docs (#54487) We have a couple of cases now (#53753 and #54414) where we're forced to redefine enums as object literals. These literals aren't rendered in the best way in the docs so these changes introduce a new `object-literal-as-enum` tag that we can use to mark them so they're treated for documentation purposes. PR Close #54487 | 21 February 2024, 23:21:58 UTC |
5a13c18 | Dean Davidson | 16 February 2024, 18:58:27 UTC | docs: add closing tags to code examples (#54485) There were two minor issues in the code examples that this addresses. PR Close #54485 | 21 February 2024, 23:20:12 UTC |
2760399 | Lukas Matta | 16 February 2024, 00:38:27 UTC | docs: fix typos (#54475) PR Close #54475 | 21 February 2024, 23:19:39 UTC |
024c14f | vladboisa | 11 February 2024, 10:30:48 UTC | docs(docs-infra): fix tab shrinking (#54380) Fix a behavior when block shrinks on Usage notes tab Fixes #52818 PR Close #54380 | 21 February 2024, 23:19:13 UTC |
efdc50a | cexbrayat | 09 February 2024, 21:36:55 UTC | docs: view child static query differences formatting (#54370) The docs were broken as the first line is the only one to be displayed in the table. PR Close #54370 | 21 February 2024, 23:18:43 UTC |
dba3e0b | Dmitry Ivanitskiy | 14 December 2023, 00:24:15 UTC | fix(compiler): adding the inert property to the "SCHEMA" array (#53148) This change allows template binding "inert" attribute with the following syntax: [inert]="isInert" Fixes #51879 fixup! fix(compiler): adding the inert property to the "SCHEMA" array revert: "fixup! fix(compiler): adding the inert property to the "SCHEMA" array" This reverts commit b637b7ce646e8bab2f585339028a84018e8ea982. This commit is being reverted because the inert property is safe as a boolean attribute PR Close #53148 | 21 February 2024, 23:13:48 UTC |
23119c5 | Matthieu Riegler | 17 January 2024, 21:37:37 UTC | refactor(platform-browser): use performance API for async animations (#53963) This commit adds a standard performance marker PR Close #53963 | 21 February 2024, 23:12:04 UTC |
d3b273a | Andrew Scott | 05 February 2024, 16:46:58 UTC | fix(router): Clear internal transition when navigation finalizes (#54261) This commit fixes a small memory issue in the router where a destroyed component instance would be retained. fixes #54241 PR Close #54261 | 21 February 2024, 22:09:52 UTC |
e9246f7 | Joey Perrott | 21 February 2024, 15:45:22 UTC | refactor(docs-infra): correct location of hosted images (#54547) Properly include hosted images in the generated application PR Close #54547 | 21 February 2024, 16:52:01 UTC |
554628e | Matthieu Riegler | 20 February 2024, 21:17:26 UTC | docs(docs-infra): Add missing API entries to ADEV (#54530) * `localize`: `MessageId` & `MessageId` * `core/global` * `upgrade/static` : `downgradeComponent`, `downgradeInjectable`, `getAngularJSGlobal`, `getAngularLib`, `setAngularJSGlobal` & `setAngularLib` PR Close #54530 | 21 February 2024, 16:41:33 UTC |
d49558d | Matthieu Riegler | 19 February 2024, 23:03:45 UTC | docs: fix brokens links (#54507) PR Close #54507 | 21 February 2024, 16:05:30 UTC |
0644072 | Matthieu Riegler | 19 February 2024, 16:00:17 UTC | docs: fix links in ngModule API guide (#54507) fixes #54506 PR Close #54507 | 21 February 2024, 16:05:30 UTC |
7220c89 | Joey Perrott | 20 February 2024, 18:43:31 UTC | fix(docs-infra): enable font inlining for adev (#54524) Enable font inlining for adev PR Close #54524 | 21 February 2024, 16:02:00 UTC |
6501d9b | Joey Perrott | 20 February 2024, 20:06:16 UTC | build: update to the latest @angular/docs version (#54528) Update @angular/docs to latest PR Close #54528 | 21 February 2024, 16:00:35 UTC |
36afd89 | cexbrayat | 21 February 2024, 09:25:33 UTC | docs: typos in signal queries guide (#54540) PR Close #54540 | 21 February 2024, 15:59:00 UTC |
dd413eb | Matthieu Riegler | 20 February 2024, 16:28:59 UTC | docs(docs-infra): fix error page. (#54522) Display the not found page on 404. fixes #54506 PR Close #54522 | 21 February 2024, 15:58:01 UTC |
55fd7b3 | Matthieu Riegler | 20 February 2024, 13:35:42 UTC | docs(docs-infra): Add missing api entries (#54517) This commit adds `common/http/testing` and `platform-browser/animations/async`. PR Close #54517 | 20 February 2024, 17:50:36 UTC |
219445c | Kristiyan Kostadinov | 20 February 2024, 12:07:17 UTC | fix(common): image placeholder not removed in OnPush component (#54515) Fixes that the placeholder wasn't being removed when an optimized image is placed in an `OnPush` component. Fixes #54478. PR Close #54515 | 20 February 2024, 17:49:58 UTC |
69daa37 | Pawel Kozlowski | 19 February 2024, 17:02:57 UTC | test(core): more tests for queries as signals (#54508) A couple of tests that illustrate combination of signal and decorator queries in once component. PR Close #54508 | 20 February 2024, 17:49:19 UTC |
0c8744c | JoostK | 18 February 2024, 19:48:17 UTC | fix(compiler-cli): use correct symbol name for default imported symbols in defer blocks (#54495) This commit addresses a problem with PR #53695 that introduced support for default imports, where the actual dynamic import used in the defer loading function continued to use the symbol name, instead of `.default` for the dynamic import. This issue went unnoticed in the testcase because a proper instance was being generated for the `ɵsetClassMetadataAsync` function, but not the generated dependency loader function. Fixes #54491 PR Close #54495 | 20 February 2024, 17:45:32 UTC |
960fe15 | Jamie Couperwhite | 18 February 2024, 11:01:25 UTC | docs: fix developer preview link in signal queries (#54492) PR Close #54492 | 20 February 2024, 17:44:42 UTC |
a14d139 | Alex Castle | 15 February 2024, 19:03:43 UTC | docs(common): add new faq entry to NgOptimizedImage docs (#54469) add new FAQ entry explaining that we're not adding new loaders to the angular repo PR Close #54469 | 20 February 2024, 17:43:46 UTC |
a9741e6 | Andrew Scott | 15 February 2024, 19:29:51 UTC | docs(router): deprecate RouterTestingModule (#54466) Deprecate `RouterTestingModule` as it is no longer needed or useful and is not actively maintained. fixes #54461 PR Close #54466 | 20 February 2024, 17:33:16 UTC |
fcfef52 | Ahmed Hakeem | 15 February 2024, 18:58:07 UTC | docs: enhance Dependency injection description (#54464) PR Close #54464 | 20 February 2024, 17:29:53 UTC |
70345b1 | Matthieu Riegler | 18 February 2024, 17:51:15 UTC | docs: override piscina dependency for webcontainers projects in adev (#54494) PR Close #54494 | 20 February 2024, 17:21:04 UTC |
d9a1a7d | Pawel Kozlowski | 15 February 2024, 10:26:33 UTC | fix(core): properly execute content queries for root components (#54457) Prior to this fix an incorrect view instance (a dynamically created component one instead of the root view) was passed to the content query function. Having incorrect view instance meant that a component instance could not be found. This is a pre-existing bug, introduction of signal-based queries just surfaced it. Fixes #54450 PR Close #54457 | 15 February 2024, 20:21:29 UTC |
62be680 | Joey Perrott | 15 February 2024, 19:21:04 UTC | build: no longer include the unnecessary `--config=aio_local_deps` flag (#54465) With the correction of how local build linker interaction works the `aio_local_deps` flag is no longer needed. PR Close #54465 | 15 February 2024, 20:20:40 UTC |
ee9c272 | Pawel Kozlowski | 12 February 2024, 14:57:59 UTC | docs: add guide for signal queries (#54395) Adding new guide for the signal-based queries. PR Close #54395 | 15 February 2024, 20:17:01 UTC |
d181a36 | Fabio Heer | 12 February 2024, 08:33:35 UTC | docs: correct default application builder for new apps (#54386) The documentation on angular.dev mentions build-angular:browser as default application builder. This is not correct. Recent applications are setup with build-angular:application by default. PR Close #54386 | 15 February 2024, 18:54:17 UTC |
96e9dbe | Joey Perrott | 14 February 2024, 17:27:56 UTC | ci: automatically deploy to angular.dev on every push to the main branch (#54436) Automatically deploy adev on each commit to the main branch PR Close #54436 | 15 February 2024, 18:50:03 UTC |
03acdbe | Joey Perrott | 15 February 2024, 18:01:33 UTC | fix(docs-infra): process mermaid code blocks (#54462) Render mermaid code blocks as SVGs in adev PR Close #54462 | 15 February 2024, 18:33:34 UTC |
6c2d4b6 | Dylan Hunn | 14 February 2024, 17:14:14 UTC | refactor(compiler): Enable Template Pipeline globally in 1P. (#54435) The switch/index.ts file only affects g3; externally, it is replaced with a Blaze genrule. PR Close #54435 | 15 February 2024, 17:24:18 UTC |
ebcdc8d | AleksanderBodurri | 26 January 2024, 00:35:36 UTC | refactor(devtools): implement multiframe support in devtools page (#53934) In the Angular DevTools Chrome DevTools page: - Angular DevTools is able to ask the background script to list each frame that has been registered on a page. - Angular Devtools is able to ask the background script to "enable" the connection on a particular frame. This enables the messaging between the content script <-> background script <-> devtools page - Implements detection of non unique urls on the inspected page Limitations: - The `inspectedWindow.eval` API is only able to target frames by frameURL. This means some features that integrate with Chrome DevTools like inspect element and open source will not be available when inspecting frames that do not have a unique url on the page. PR Close #53934 | 15 February 2024, 01:15:25 UTC |
dd3dac9 | AleksanderBodurri | 26 January 2024, 00:31:57 UTC | refactor(devtools): implement iframe support for Angular DevTools' browser code (#53934) Modifies the messaging layer of devtools to allow for switching communication between frames on a page. When served as a browser extension. Design: - When a page renders, DevTools installs a content script onto it through it's manifest file. The all_frames option is used here to install this script onto every frame in a page. - When Angular is detected, the content script will install a backend script into it's frame. - Each content script / backend script pairing is kept track of in the background script. This pairing represents an angular devtools context in a particular frame. - Angular DevTools is able to ask the background script to list each frame that has been registered on a page. - Angular Devtools is able to ask the background script to "enable" the connection on a particular frame. This enables the messaging between the content script <-> background script <-> devtools page Limitations: - The `inspectedWindow.eval` API is only able to target frames by frameURL. This means some features that integrate with Chrome DevTools like inspect element and open source will not be available when inspecting frames that do not have a unique url on the page. PR Close #53934 | 15 February 2024, 01:15:25 UTC |
e0d59f7 | Andrew Kushnir | 15 February 2024, 00:04:40 UTC | Revert "fix(docs-infra): process mermaid code blocks (#54434)" (#54448) This reverts commit 925c86a76e94e9061a810a3eaa6010e6532277a6. Reason for revert: broken CI after merging to main, see https://github.com/angular/angular/actions/runs/7908845750/job/21588824548. PR Close #54448 | 15 February 2024, 00:18:57 UTC |
da7fbb4 | Joey Perrott | 14 February 2024, 17:57:28 UTC | fix(compiler-cli): detect when the linker is working in unpublished angular and widen supported versions (#54439) When the linker is running using an unpublished version of angular, locally built, the version will be `0.0.0`. When encountering this situation, the range that for the linker map support is considered to be `*.*.*` allowing for the linker to work at build time with packages built with versioned angular. Most notably this allows for us to properly use the linker in building our documentation site with the locally built version of angular. PR Close #54439 | 14 February 2024, 23:43:22 UTC |
36bd7d3 | Angular Robot | 13 February 2024, 06:06:15 UTC | build: update all non-major dependencies (#54406) See associated pull request for more information. PR Close #54406 | 14 February 2024, 23:39:36 UTC |
2bf0ccc | Joey Perrott | 14 February 2024, 21:52:29 UTC | docs: remove unnecessary usages of aio in adev (#54445) Remove usages of aio in adev. PR Close #54445 | 14 February 2024, 23:38:45 UTC |
925c86a | Joey Perrott | 14 February 2024, 16:15:25 UTC | fix(docs-infra): process mermaid code blocks (#54434) Render mermaid code blocks as SVGs in adev PR Close #54434 | 14 February 2024, 23:36:16 UTC |
aefbe32 | Joey Perrott | 14 February 2024, 19:47:48 UTC | ci: remove feature-request bot (#54442) Remove feature request bot from usage. PR Close #54442 | 14 February 2024, 23:33:54 UTC |
20c4739 | Kisters-BS | 14 February 2024, 08:16:57 UTC | docs: fix typo (#54427) PR Close #54427 | 14 February 2024, 23:29:21 UTC |