https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
5928c87 ci: add ben to reviewers for adev files For ADEV changes going forward, Ben will be helping the team to review all PRs associated with this project. 25 January 2024, 17:26:46 UTC
656bc28 fix(core): add toString implementation to signals (#54002) Since signals are function, currently stringifying them reveals the implementation of the function. This can lead to confusion since it contains internal implementation details. These changes add static `toString` function to address the issue. **Note:** it's tempting to have `toString` output the actual value of the signal, but that would encourage users not to call the function which will be problematic in the long run. That's why these changes are using a static string instead. PR Close #54002 25 January 2024, 17:11:30 UTC
75aeae4 fix(animations): cleanup DOM elements when root view is removed with async animations (#53033) Currently, when using `provideAnimationsAsync`, Angular uses `AnimationRenderer` as the renderer. When the root view is removed, the `AnimationRenderer` defers the actual work to the `TransitionAnimationEngine` to do this, and the `TransitionAnimationEngine` doesn't actually remove the DOM node, but just calls `markElementAsRemoved()`. The actual DOM node is not removed until `TransitionAnimationEngine` "flushes". Unfortunately, though, that "flush" will never happen, since the root view is being destroyed and there will be no more flushes. This commit adds `flush()` call when the root view is being destroyed. PR Close #53033 25 January 2024, 16:32:57 UTC
93188cb refactor(compiler): distinguish two-way bindings in the AST (#54065) During the template parsing stage two-way bindings are split up into a property and event binding. All the downstream code treats these binding the same as their one-way equivalents. For some future work we'll have to distinguish between the two so these changes update the `BoundElementProperty.type` and `ParsedEvent.type` to include a `TwoWay` type. All existing call-sites have been updated to treat `TwoWay` the same as `Property`/`Regular`, but more specialized logic will be added in the future. PR Close #54065 25 January 2024, 16:31:57 UTC
c3bb00a refactor(compiler): Fix defer deps fn duplicate names in Template Pipeline (#54060) Previously, defer deps fns names were only prefixed with the component name, meaning that distinct deps fns in the same component would produce a name collision. Now, we take into account the entire template function name when naming inner deps fns. PR Close #54060 25 January 2024, 16:31:01 UTC
bd9c2c5 docs: remove ngx-deploy-npm from deployers table (#53999) PR Close #53999 25 January 2024, 16:07:40 UTC
c043128 refactor(core): introduce instructions for view queries as signals (#54017) This commit adds new instructions to support view queries as signals. PR Close #54017 24 January 2024, 23:39:51 UTC
3e67b27 refactor(core): introduce onDirty notification on QueryList (#54017) This refactoring expands the QueryList such that we can add onDirty callback to be invoked when a given query gets marked as dirty during view insertion / removal. This mechanism is needed for signal-based queries. PR Close #54017 24 January 2024, 23:39:51 UTC
73fec9d refactor(core): extract more query logic from instructions (#54017) This is a refactor commit that moves more query construction / refresh logic from the body of instructions into dedicated functions. This is in preparation for the signal-based query instructions. PR Close #54017 24 January 2024, 23:39:51 UTC
308d83c refactor(core): race rAF and setTimeout in zoneless scheduler (#54023) Update zoneless scheduler to run change detection after the first of either `requestAnimationFrame` or `setTimeout` callbacks execute. PR Close #54023 24 January 2024, 23:39:15 UTC
c7df61f refactor(core): Allow mutation instead of reassignment of ngDevMode (#53862) In some bundling scenarios, there may be local references to `ngDevMode` that need to be kept in sync with the global variable. This becomes hard to impossible if the global is reassigned. This allows setting the global to an empty object instead of `true` and preserve identity during `initNgDevMode`. PR Close #53862 24 January 2024, 23:38:50 UTC
eddf5da fix(compiler): Update type check block to fix control flow source mappings (#53980) The source mappings and types for various pieces of the control flow were not quite right and prevented the language service from providing accurate information. fixes https://github.com/angular/vscode-ng-language-service/issues/1988 PR Close #53980 24 January 2024, 23:37:58 UTC
47e6e84 feat(compiler): Add a TSConfig option `useTemplatePipeline` (#54057) The Template Pipeline is a brand new backend for the Angular compiler, replacing `TemplateDefinitionBuilder`. It generates the Ivy instructions corresponding to an input template (or host binding). The Template Pipeline has an all-new design based on an intermediate representation compiled over many phases, which will allow us to experiment with compiler changes more easily in the future. With this commit, the template pipeline can now be enabled in any project via the `useTemplatePipeline` TSConfig option. However, it is still disabled by default. PR Close #54057 24 January 2024, 23:36:23 UTC
0f5f45c refactor(compiler): Support externally provided defer deps fns (#54043) In #53591, Andrew added local compliation support for defer blocks. However, this requires the ability to emit pre-generated static defer deps functions. We now also support that feature in Template Pipeline. PR Close #54043 24 January 2024, 23:35:24 UTC
fad1354 release: cut the v17.2.0-next.0 release 24 January 2024, 21:00:51 UTC
9e10af4 docs: typo Chat to chart fix (#53892) PR Close #53892 24 January 2024, 20:23:51 UTC
a2a0b33 docs: release notes for the v17.1.1 release (#54056) PR Close #54056 24 January 2024, 19:35:15 UTC
7751645 refactor(compiler): support JIT for signal-based queries (#54019) Similar to signal-based inputs, we support signal-based queries in JIT by expecting a decorator to be added. This is a consequence of the design, given that JIT requires query declaration information before the class is initialized- but ironically there is no way to collect this information without instantiating the class. A JIT transform in the Angular CLI will automatically generate these decorators for testing. PR Close #54019 24 January 2024, 15:13:31 UTC
17a47c4 refactor(compiler-cli): additional diagnostics for signal-based queries (#54019) This commit introduces three additional diagnostics for queries: - If a query (either using decorator or signal-based) is declared on a static class member, a diagnostic is raised. - If a signal-based query is mixed with a query decorator, a diagnostic is raised. Similar to signal inputs. - If a singal-based query is also declared in the directive/component class decorator metadata, a diagnostic is raised. PR Close #54019 24 January 2024, 15:13:31 UTC
a7017a0 refactor(core): improve safety of input/query initializer API detection (#54019) Due to some refactorings, we were only checking the function name and whether it originates from an import. We should also verify the module. This seems like logic we lost in the refactorings. PR Close #54019 24 January 2024, 15:13:31 UTC
3b6f636 refactor(compiler-cli): collapse multiple query advance statements (#54019) Collapses multiple sibling query advance statements into single query advance invocations. This will help reducing generated code for directives/components with many queries. PR Close #54019 24 January 2024, 15:13:31 UTC
998af32 refactor(compiler-cli): move more query generation logic to dedicated file (#54019) Without any modifications, this commit moves more of the the query generation logic into its dedicated file. PR Close #54019 24 January 2024, 15:13:31 UTC
09f9423 docs: fix typo in Custom directives section (#54044) There was a grammatically incorrect sentence in the What is Angular page, Custom directives section. This change makes it more correct. PR Close #54044 24 January 2024, 14:32:22 UTC
25f91e3 build: ensure zone.js typing test is hermetic (#54048) Currently the ZoneJS typing tests executes outside of Bazel, as a legacy artifact of the monorepo merging (as it seems - not ideal at all). Looks like this test relies on its own node modules, that were NOT locked using a yarn lock file. This commit adds one, and specifically locks it to a `@types/node` version that does not include the most recent patch release (which seemingly introduced a breaking change) that causes issues with TypeScript's lib checking. Whenever we perform lock file maintenance in the future, we have the following options: - Consider disabling lib checking via `skipLibCheck` for this test. This may be acceptable. - Continue locking the node version, - Waiting for chokidar to comply with the new signature - Waiting for the breaking change to be rolled back. Culprit change: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/68300 PR Close #54048 24 January 2024, 13:57:05 UTC
bc85551 fix(router): revert commit that replaced `last` helper with native `Array.at(-1)` (#54021) While `Array.at` is technically supported in all browsers we officially support, the change was needlessly breaking without any real benefit. PR Close #54021 24 January 2024, 09:54:52 UTC
aeaec86 refactor(compiler-cli): rephrase an error message related to `@defer` and local compilation (#54030) This commit updates the error message to cover cases when imported symbols have eager references inside of a file. PR Close #54030 24 January 2024, 09:08:50 UTC
a3787bd docs: update docs to reflect changes in Angular CLI version 17.1 (#53949) This changes include mentioning the experimental application builder migration and changes to the `outputPath` and `optimization` option. PR Close #53949 23 January 2024, 17:56:18 UTC
454d5e9 test(core): fix test with false-negative risk (#54025) change assertion to handle the case where the function doesn't throw PR Close #54025 23 January 2024, 15:58:56 UTC
d99bc8a refactor(compiler): ICUs should roll up to the root i18n block for application (#54026) Previously, if an ICU was inside a nested i18n root, it would use the nested root to calculate whether it should be applied. Now, we use the root i18n block. PR Close #54026 23 January 2024, 14:09:36 UTC
f81a436 test: add compliance tests for signal-based queries (#53978) This commit adds compliance tests to ensure that the generated output of signal-based queries matches our expectation. Note: collapsing query advance instructions is not implemented yet. PR Close #53978 23 January 2024, 09:24:37 UTC
d4c84a9 refactor(compiler-cli): generate partial compilation output for signal-based queries (#53978) This commit ensures that libraries can use signal-based queries, and the partial compilation output will capture their metadata. The linker is updated to support parsing this. Two notes: 1. Older linker versions are not capable of parsing this, so the minimum version for signal-based queries is adjusted when such are used. 2. We only emit `isSignal` metadata for queries when signal queries are used. This enables libraries to continue supporting older linker versions, if signal-based queries are not used. PR Close #53978 23 January 2024, 09:24:36 UTC
df828e9 test: add compiler integration test for signal-based queries (#53978) Adds a compiler integration test for recognizing signal-based queries, and emitting the expected output. Concrete output will be verified via the compliance tests. PR Close #53978 23 January 2024, 09:24:36 UTC
d57c1f5 refactor(core): correct types for queries where locator was not split at compile time (#53978) Currently, Angular tries to recognize string locators/predicates for queries at compile time, and attempts to split multi-selector predicates into an array as generated output. This is a a performance optimization. In practice, this works most of the time because the compiler can detect string locactors/predicates through static analysis. Though, there are cases where it's not possible. That is when advanced constructs are used, identifier references etc. that ultimately evaluate to a string. Currently this breaks with queries and also surfaces now with signal-based queries. PR Close #53978 23 January 2024, 09:24:36 UTC
8f936a4 refactor(compiler-cli): recognize signal-based queries in class initializers (#53978) This commit uses the initializer API recognition that we built for signal-based inputs, and teaches the compiler to recognize class members that refer to `viewChild`, `viewChildren`, `contentChild` or `contentChildren`. Those will declare signal-based view or content queries. PR Close #53978 23 January 2024, 09:24:36 UTC
35ee10e refactor(compiler-cli): support generation of signal-based queries (#53978) This commit introduces the compiler output generation for signal-based queries. Signal-based queries will have new creation-mode instructions and update instructions to advance the current query indices in the global shared context. An output like the following is the expected output for signal-based queries: ``` i0.ɵɵdefineComponent({ viewQuery: function App_Query(rf, ctx) { if (rf & 1) { i0.ɵɵviewQuery(ctx.d, _c0, 5); i0.ɵɵviewQuerySignal(ctx.ds1, _c0, 5); i0.ɵɵviewQuerySignal(ctx.ds2, _c0, 5); } if (rf & 2) { let _t; // only change-detected queries need explicit refresh i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.d = _t.first); // we bump up current query index by 2 positions since there are 2 signal-based queries i0.ɵɵqueryAdvance(2); } … }, … }); ``` Note: For now, the collapsing of multiple advance instructions is not implemented. This will be a follow-up. Note 2: A couple of query helpers are now in their own file. This makes it easier to focus on query-specific compiler code. The new function is called `createQueryCreateCall`, which is a modified variant of the existing function that previously only generated query parameters. PR Close #53978 23 January 2024, 09:24:36 UTC
7ed3927 refactor(compiler-cli): expose helper for recognizing initializer APIs (#53978) The new `input` API is recognized using class member initializers. We want to support similar APIs for queries, using e.g. `viewChild` or `viewChild.required`. This commit extracts the input recognition API and makes it reusable, so that the same logic can be used to detect queries on a class member. Additional changes: - replacing `coreModule` with the simpler `isCore` parameter. This is more readable. - support for detecting a list of API names on a single class member. This allows us to detect possible query functions on the same class member without having to check X times. We simply check for the initializer API pattern and check if one API function name matches. PR Close #53978 23 January 2024, 09:24:36 UTC
9e22d60 docs: update Aristeidis Bampakos bio (#51779) PR Close #51779 23 January 2024, 09:22:23 UTC
9384537 refactor(devtools): migrate to standalone (#53998) Migrated with the schematics and cleanup by hand. PR Close #53998 23 January 2024, 08:53:24 UTC
ff5575a refactor(devtools): remove date utility. (#53997) We can use the `toIsoString()` function instead ! PR Close #53997 23 January 2024, 08:52:14 UTC
3e35f74 docs: fixed req.method in http client testing (#53395) PR Close #53395 23 January 2024, 08:50:59 UTC
24290bc docs: fix typo at component template metadata property (#54015) Rename the component metadata property, templateUrl to template in the reactive forms tutorial step PR Close #54015 23 January 2024, 08:47:43 UTC
5c1bbf2 docs: update version compatibility table for aio & adev (#54008) PR Close #54008 23 January 2024, 08:46:56 UTC
6186e52 docs: move import statement of ngmodule from standalone component to module code #53952 (#54016) PR Close #54016 22 January 2024, 18:43:37 UTC
3e13840 feat(compiler-cli): support host directives for local compilation mode (#53877) At the moment local compilation breaks for host directives because the current logic relies on global static analysis. This change creates a local version by cutting the diagnostics and copying the directive identifier as it is to the generated code without attempting to statically resolve it. PR Close #53877 22 January 2024, 13:44:24 UTC
b774e22 feat(compiler-cli): make it configurable to generate alias reexports (#53937) At the moment when unified host is selected (through option `_useHostForImportGeneration`) the compiler always generates alias reexports. Such reexports are mainly generated to satisfy strict dependency condition for generated files. Such condition is no longer the case for G3. At the same time, these alias reexports make it impossible to mix locally compiled targets with globally compiled targets. More precisely, a globally compiled target may not be able to consume a locally compiled target as its dependency since the former may import from the alias reexports which do not exist in the latter due to local compilation mode. So, to make global-local compilation interop possible, it is required to be able to turn off alias reexport generation. PR Close #53937 22 January 2024, 13:20:26 UTC
ec03e46 refactor: migrate bazel, benchpress, elements and misc to prettier formatting (#53995) Migrate formatting to prettier for bazel, benchpress, elements and misc from clang-format PR Close #53995 22 January 2024, 08:07:15 UTC
bbbe477 refactor: migrate animations to prettier formatting (#53977) Migrate formatting to prettier for animations from clang-format PR Close #53977 19 January 2024, 19:08:57 UTC
711cb41 refactor(devtools): migrate devtools to prettier formatting (#53945) Migrate formatting to prettier for devtools from clang-format PR Close #53945 19 January 2024, 18:09:54 UTC
4be2534 refactor(devtools): improving type safety (#53436) This PR reduces the number of unnecessary `any` occurrences in devtools packages. PR Close #53436 19 January 2024, 16:35:25 UTC
30f00d8 docs: update start-data.md (#52577) PR Close #52577 19 January 2024, 16:34:45 UTC
3aea2e6 build: Adding myself for devtools approval (#53989) This to help Alex with the reviewing of devtools PRs. PR Close #53989 19 January 2024, 16:33:21 UTC
c8ee528 build: update g3 sync config to match internal one (#53987) There were some changes to the Copybara config that should be reflected here as well. PR Close #53987 19 January 2024, 16:18:11 UTC
5ae85e4 refactor(core): node removal notifies scheduler only when animations are enabled (#53857) Node removal is immediate and does not require change detection to run when animations are not provided. This refactor makes the animation engine notify the scheduler rather than doing it on all node removals. PR Close #53857 19 January 2024, 09:28:24 UTC
cc34e5f refactor: migrate scripts to prettier formatting (#53976) Migrate formatting to prettier for scripts from clang-format PR Close #53976 19 January 2024, 09:22:06 UTC
1d1c413 docs: updates defer guide to reflect updated default defer block test behavior (#53975) This updates the deferrable view guide to specify playthrough as the default with examples of configuring to manual. PR Close #53975 19 January 2024, 09:16:35 UTC
ee68df9 build: update all non-major dependencies (#53979) See associated pull request for more information. PR Close #53979 19 January 2024, 09:11:29 UTC
a057b61 ci: provide proper location for artifacts to allow for firebase to find the artifacts for deployment (#53960) Move the artifacts during deployment into adev/ so that its at the same level as the firebase.json file. PR Close #53960 18 January 2024, 17:08:30 UTC
c67647b build: update cross-repo angular dependencies (#53970) See associated pull request for more information. PR Close #53970 18 January 2024, 16:16:34 UTC
3d9e8b2 docs: add ankita (#52319) add Ankita as GDE in contributors.json PR Close #52319 18 January 2024, 13:28:35 UTC
8737544 build(devtools): prevent underscores from being added at build time (#53921) Add the keepNames config property to esbuild in order to prevent prepending of underscores to the class names. PR Close #53921 18 January 2024, 09:22:12 UTC
a566c5c docs: fix broken code example (#53531) PR Close #53531 18 January 2024, 09:16:19 UTC
65ff0f8 docs: fix spelling errors in tutorials steps (#53840) PR Close #53840 18 January 2024, 09:14:47 UTC
e227275 refactor(devtools): Add support for signals. (#53269) The devtools now support signals. Writable signals of primitives are editable. Object Signal and other non-writable signals (like computed) are not editable. Co-authored-by: Tomasz Ducin <tomasz.ducin@gmail.com> PR Close #53269 18 January 2024, 00:47:17 UTC
7dd5673 refactor(compiler): remove mentions of unused compiler options. (#53746) Those options where removed in #49672. PR Close #53746 18 January 2024, 00:41:35 UTC
ff51e09 docs: fix broken hyperlink in tutorials first app search (#53816) PR Close #53816 18 January 2024, 00:40:06 UTC
b4c7167 docs: release notes for the v17.1.0 release 17 January 2024, 22:47:35 UTC
4fd78a9 revert: no longer depend on `forwardRef` changes (#53961) Revert only the part of the signal queries PRs that depends on the forward ref changes, which were reverted. PR Close #53961 17 January 2024, 21:56:07 UTC
d0ce011 Revert "refactor(core): improve forwardRef typings (#53880)" (#53961) This reverts commit af6f6e6448edffcd644b0bb6ce155c3ca4270971. PR Close #53961 17 January 2024, 21:56:07 UTC
a7f8d9d refactor(compiler-cli): interpolatedSignalNotInvoked diagnostic for input signals (#53883) This updates the extended diagnotic to handle input signals as well. PR Close #53883 17 January 2024, 19:36:43 UTC
f80fabb refactor(router): Use Nullish coalescing assignment when possible. (#53930) Inspired by #53923, lets simplify code when possible. PR Close #53930 17 January 2024, 19:36:11 UTC
455b645 ci: use ng-dev-previews project for previews (#53958) Rather than use the actual adev site, we should be using the ng-dev-preview site PR Close #53958 17 January 2024, 19:19:27 UTC
b0e0f00 refactor(compiler): extra diagnostics for `@defer` in local compilation mode (#53899) This commit adds extra logic to produce a diagnostic in case `@Component.deferredImports` contain types from imports that also bring eager symbols. This would result in retaining a regular import and generating a dynamic import, which would not allow to defer-load dependencies. PR Close #53899 17 January 2024, 18:46:15 UTC
df6c205 fix(core): Change defer block fixture default behavior to playthrough (#53956) This inverts the default behavior of test bed to use playthrough for defer blocks instead of manual. fixes: #53686 PR Close #53956 17 January 2024, 18:45:42 UTC
f9781f9 refactor: migrate modules to prettier formatting (#53954) Migrate formatting to prettier for modules directory from clang-format PR Close #53954 17 January 2024, 17:41:59 UTC
616df43 test(core): support type tests for different authoring functions (#53829) The new type testing infrastructure was introduced for the input-as-signals authoring functions. This commit modifies this infrastructure to make it more generic and support queries-as-signals. PR Close #53829 17 January 2024, 17:15:14 UTC
e1ac52a refactor(core): introduce query-as-signal authoring functions (#53829) This commit adds signatures of the quer-as-signal authoring functions and their respective type tests. PR Close #53829 17 January 2024, 17:15:14 UTC
6007af9 docs: add `platform-browser/animations/async` entry to AIO (#53914) fixes #53912 PR Close #53914 17 January 2024, 17:14:42 UTC
66e940a feat(compiler): scope selectors in @starting-style (#53943) make sure selectors inside @starting-style queries are correctly scoped PR Close #53943 17 January 2024, 17:14:11 UTC
0accc64 ci: use the config from adev for adev previews (#53955) Properly use the adev firebase config. PR Close #53955 17 January 2024, 17:13:42 UTC
08233b8 refactor(compiler): enable `register` and `resolve` phases for local compilation (#53901) This commit update the logic to enable `register` and `resolve` phases for local compilation. Those phases will be useful for local compilation in certain cases (will be used in followup PRs). PR Close #53901 17 January 2024, 17:03:55 UTC
e1b9b66 ci: set up previews of adev (#53941) Set up preview actions to allow for a preview of the adev site to be deployed for a PR with the `adev: preview` label. PR Close #53941 17 January 2024, 03:18:30 UTC
d04f98d ci: run adev tests on CI (#53941) Run tests in adev for CI PR Close #53941 17 January 2024, 03:18:30 UTC
dc62446 refactor: migrate tools to prettier formatting (#53947) Migrate formatting to prettier for tools directory from clang-format PR Close #53947 17 January 2024, 03:17:49 UTC
4ca81b0 docs(devtools): update development docs (#53948) These docs are out of date with how we currently build devtools in dev mode and as a browser extension. This commit brings these docs up to date. PR Close #53948 17 January 2024, 03:17:18 UTC
426bcb9 docs(devtools): remove devtools/CONTRIBUTING.md (#53948) This is an artifact left over form the repo merge. There is already an existing CONTRIBUTING.md for this repo PR Close #53948 17 January 2024, 03:17:17 UTC
6581ac9 refactor(core): re-organize queries code (#53922) This commit splits the query implementation and instructions into a separate files. This is a pattern frequently used by other functional areas of the framework and is a preparation for introducing queries-as-signals where we are going to see more instructions delegating to the same core functionality. PR Close #53922 17 January 2024, 00:00:34 UTC
e9c659a docs: fix-build-path-in-http-server-command (#53226) PR Close #53226 16 January 2024, 17:37:10 UTC
760b1f3 fix(compiler-cli): do not throw fatal error if extended type check fails (#53896) Currently when the extended type check fails due to an import reference that cannot be generated, the fatal diagnostic is not caught and not properly exposed as a `ts.Diagnostic` that can be gracefully handled. This is inconsistent to non-extended type checking diagnostics. This is problematic because Angular CLI applications currently fail in obscure ways because: - the CLI does not expect `getDiagnosticsForFile` to actually throw runtime errors. - the CLI does not seem to properly print these errors given the parallel workers and build excection, and those errors are especially hard to debug because there is no `stack` for `FatalDiagnosticError`'s. Example: `MyDir` is not exported and the type check block cannot reference it. PR Close #53896 16 January 2024, 17:36:36 UTC
02b8e11 build(docs-infra): enable prerendering for adev (#53871) Enable the prerender option for adev's angular.json file. PR Close #53871 16 January 2024, 17:35:44 UTC
a2087a1 build: update cross-repo angular dependencies (#53606) See associated pull request for more information. PR Close #53606 12 January 2024, 18:27:01 UTC
1af3ae3 docs: remove repeated sentence (#53853) PR Close #53853 12 January 2024, 18:26:32 UTC
af6f6e6 refactor(core): improve forwardRef typings (#53880) This commit improves the forwardRef typings for better type safety and inference. PR Close #53880 12 January 2024, 18:26:01 UTC
1f8c53c fix(core): TestBed should still use the microtask queue to schedule effects (#53843) Prior to this commit, `TestBed` would require tests call `flushEffects` or `fixture.detectChanges` in order to execute effects. In general, we want to discourage authoring tests like this because it makes the timing of change detection and effects differ from what happens in the application. Instead, developers should perform actions and `await` (or `flush`/`tick` when using `fakeAsync`) some `Promise` so that Angular can react to the changes in the same way that it does in the application. Note that this still _allows_ developers to flush effects synchronously with `flushEffects` and `detectChanges` but also enables the <action>, `await` pattern described above. PR Close #53843 11 January 2024, 20:05:57 UTC
79fbc4e refactor(compiler-cli): add tests for defer blocks and local compilation (#53591) This commit adds tests to cover local compilation support for `@defer` blocks. PR Close #53591 10 January 2024, 23:28:59 UTC
8ca0b05 refactor(compiler): update TemplateDefinitionBuilder to support local compilation (#53591) This commit updates the logic of the `TemplateDefinitionBuilder` to support local compilation and generate a single dependency function for all explicitly deferred deps within a component. PR Close #53591 10 January 2024, 23:28:58 UTC
df685ed refactor(compiler-cli): add checks to prevent same deps in `imports` and `deferredImports` (#53591) This commit updates the typechecker logic to prevent same deps in `imports` and `deferredImports`. PR Close #53591 10 January 2024, 23:28:58 UTC
a2aa23d refactor(compiler): add support for internal `deferredImports` field (#53591) This commit updates the logic to add support for internal `deferredImports` field in compiler. PR Close #53591 10 January 2024, 23:28:58 UTC
b780d39 refactor(compiler-cli): update DeferredSymbolTracker to use explicit deps config (#53591) This commit updates the `DeferredSymbolTracker` class to take info account the `onlyExplicitDeferDependencyImports` flag. The `DeferredSymbolTracker` class also exposes a new API to register import declarations as explicitly deferred, which will be used in followup commits. PR Close #53591 10 January 2024, 23:28:58 UTC
d28cf00 refactor(compiler-cli): add an internal config to enforce explicit deps in `@defer` for local compilation mode (#53591) This commit adds an internal config option to enforce explicit deps in `@defer` for local compilation mode. PR Close #53591 10 January 2024, 23:28:58 UTC
6eb5e37 refactor(compiler): add an internal API to check is an element is inside a defer block (#53591) This commit updates the logic to expose an internal API on the `R3BoundTarget` to check if an element belongs to any defer block. PR Close #53591 10 January 2024, 23:28:58 UTC
back to top