07dd195 | Joey Perrott | 07 February 2024, 18:14:08 UTC | WIP | 14 February 2024, 17:20:18 UTC |
981c28c | Kristiyan Kostadinov | 13 February 2024, 19:33:27 UTC | refactor(compiler-cli): do not emit signal unwrap calls in versions older than 17.2 (#54423) In order to allow both signals and non-signals in two-way bindings, we have to pass the expression through `ɵunwrapWritableSignal`. The problem is that the language service uses a bundled compiler that is fairly new, but it may be compiling an older version of Angular that doesn't expose `ɵunwrapWritableSignal` (see https://github.com/angular/vscode-ng-language-service/issues/2001). These changes add a `_angularCoreVersion` flag to the compiler which the language service can use to pass the parsed Angular version to the compiler which can then decide whether to emit the function. PR Close #54423 | 13 February 2024, 23:53:42 UTC |
74b5a51 | Matthieu Riegler | 11 February 2024, 00:16:49 UTC | fix(http): Use string body to generate transfer cache key. (#54379) This is particularly usefull for GraphQL queries where the string body might be the only discriminator. Fixes #54377 PR Close #54379 | 13 February 2024, 19:53:20 UTC |
a33f09c | Joey Perrott | 12 February 2024, 20:16:06 UTC | fix(docs-infra): don't include prerender flag based on fast/full build in adev (#54400) The serve command for architect does not support the `--prerender` flag PR Close #54400 | 13 February 2024, 19:52:39 UTC |
4789685 | Lukas Matta | 12 February 2024, 23:43:09 UTC | docs: fix typo (#54403) PR Close #54403 | 13 February 2024, 19:51:54 UTC |
5b767d6 | JiaLiPassion | 13 February 2024, 07:19:09 UTC | release: cut the zone.js-0.14.4 release (#54409) PR Close #54409 | 13 February 2024, 19:42:07 UTC |
79001a7 | Kristiyan Kostadinov | 12 February 2024, 22:57:13 UTC | build: update node (#54399) Updates the repo to a newer version of Node to fix errors in the integration tests. PR Close #54399 | 12 February 2024, 23:36:19 UTC |
383e093 | Kristiyan Kostadinov | 12 February 2024, 13:02:47 UTC | fix(core): show placeholder block on the server with immediate trigger (#54394) Currently all triggers are set up to show the placeholder block on the server, except for `on immediate` which is basically a noop. These changes update `on immediate` to match the rest of the triggers. Fixes #54385. PR Close #54394 | 12 February 2024, 19:02:38 UTC |
0b955b8 | Kristiyan Kostadinov | 12 February 2024, 10:00:58 UTC | test(language-service): add tests for model inputs (#54387) Updates the language service tests to cover `model()` inputs. PR Close #54387 | 12 February 2024, 19:01:53 UTC |
6897b76 | Kristiyan Kostadinov | 09 February 2024, 14:16:23 UTC | refactor(compiler-cli): split input and model tests (#54387) Splits up the tests for `input()` and `model()` into separate files. PR Close #54387 | 12 February 2024, 19:01:53 UTC |
b9ba136 | Kristiyan Kostadinov | 09 February 2024, 14:11:19 UTC | refactor(compiler-cli): add diagnostic tests for models (#54387) Sets up type checking diagnostic tests for model() inputs. PR Close #54387 | 12 February 2024, 19:01:52 UTC |
be4620c | Kristiyan Kostadinov | 09 February 2024, 12:22:55 UTC | test(core): add type tests for ɵunwrapWritableSignal (#54387) Getting the typing for `ɵunwrapWritableSignal` just right was tricky so these changes add some tests to ensure that we don't regress. Also reworks the type tester a bit to make it easier to find where to add new test files. PR Close #54387 | 12 February 2024, 19:01:52 UTC |
58666e9 | Kristiyan Kostadinov | 09 February 2024, 12:00:34 UTC | refactor(core): reuse input signal node for models (#54387) Reworks the model so that it reuses `INPUT_SIGNAL_NODE` instead of implementing its own. PR Close #54387 | 12 February 2024, 19:01:52 UTC |
4a7ca50 | Kristiyan Kostadinov | 09 February 2024, 08:47:25 UTC | refactor(core): avoid wrapper around subscribe return value (#54387) Reworks `ModelSignal.subscribe` so it doesn't have to wrap its value to look like a subscription. PR Close #54387 | 12 February 2024, 19:01:52 UTC |
1c990cd | arturovt | 12 June 2023, 21:22:29 UTC | fix(zone.js): patch form-associated custom element callbacks (#50686) This commit updates the implementation of the `customElements` patch and also patches FACE callbacks (`formAssociatedCallback`, `formDisabledCallback`, `formResetCallback` and `formStateRestoreCallback`). This now allows invoking those callbacks in the same zone where the custom element has been defined. PR Close #50686 | 12 February 2024, 16:50:55 UTC |
629a222 | Payam Valadkhan | 09 February 2024, 16:24:04 UTC | refactor(compiler-cli): expose a helper to check if a diagnostic is related to local compilation (#54366) Such helper is needed in 1P in order to be able to add extra google3 specific instruction to local compilation errors. PR Close #54366 | 12 February 2024, 16:49:03 UTC |
27886cc | Payam Valadkhan | 09 February 2024, 16:00:19 UTC | refactor(compiler-cli): use a more generic error for unsupported expressions in local compilation mode (#54366) A new error code `LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION` is added for this purpose, replacing a narrow one. PR Close #54366 | 12 February 2024, 16:49:03 UTC |
ff62244 | Pawel Kozlowski | 09 February 2024, 20:42:58 UTC | fix(core): return the same children query results if there are no changes (#54392) Assure that the same readonly array corresponding to the children query results is returned for cases where a query is marked as dirty but there were no actual changes to the content of the results array (this can happen if a view is added and removed thus marking queries as dirty but not influencing final results). Fixes #54376 PR Close #54392 | 12 February 2024, 16:48:29 UTC |
9bc386e | Joey Perrott | 08 February 2024, 23:44:15 UTC | refactor(docs-infra): create fast mode (#54364) Creates a "fast mode" for building the adev site, currently only disabling prerender during fast build. This is intended to be used for local development. PR Close #54364 | 09 February 2024, 18:59:06 UTC |
abf6371 | JoostK | 08 February 2024, 20:50:19 UTC | fix(core): do not crash for signal query that does not have any matches (#54353) The newly introduced signal queries would error if no match exists, due to an invalid read within the query internals. This commit addresses the crash by allowing there to be no matches. PR Close #54353 | 09 February 2024, 14:59:51 UTC |
5890f05 | Hakeem | 08 February 2024, 13:01:35 UTC | docs(docs-infra): change deprecated modules' headers' style in the hover state (#54337) PR Close #54337 | 09 February 2024, 14:58:55 UTC |
fbaf989 | Joey Perrott | 08 February 2024, 22:31:48 UTC | fix(docs-infra): include manually defined api reference docs in adev (#54356) Include the manual defined api reference docs in adev PR Close #54356 | 09 February 2024, 14:58:28 UTC |
6b34513 | Angular Robot | 09 February 2024, 11:06:08 UTC | build: update cross-repo angular dependencies (#54186) See associated pull request for more information. PR Close #54186 | 09 February 2024, 14:57:46 UTC |
6196a36 | Paul Gschwendtner | 09 February 2024, 10:56:47 UTC | docs: release notes for the v17.2.0-rc.1 release | 09 February 2024, 11:01:19 UTC |
dab5fc3 | Kristiyan Kostadinov | 09 February 2024, 09:41:35 UTC | fix(core): expose model signal subcribe for type checking purposes (#54357) The `@internal` in the comment above `ModelSignal.subscribe` ended up marking the method as internal even though it wasn't meant to be. PR Close #54357 | 09 February 2024, 09:58:55 UTC |
153fc61 | Kristiyan Kostadinov | 08 February 2024, 17:49:40 UTC | build: reuse fake core in type checking tests (#54344) Currently we have two fake copies of `@angular/core` in the compiler tests which can be out of sync and cause inconsistent tests. These changes reuse a single copy instead. PR Close #54344 | 08 February 2024, 19:21:47 UTC |
35c617c | Matthieu Riegler | 07 February 2024, 23:01:53 UTC | refactor(devtools): show tooltip for hydration icon on directive forest (#54326) The MatTooltip was missing after migrating to standalone PR Close #54326 | 08 February 2024, 19:18:37 UTC |
b857aaf | Joey Perrott | 07 February 2024, 16:00:01 UTC | refactor: migrate router to prettier formatting (#54318) Migrate formatting to prettier for router from clang-format PR Close #54318 | 08 February 2024, 19:17:14 UTC |
d02fcb1 | Jessica Janiuk | 08 February 2024, 18:40:48 UTC | docs: release notes for the v17.2.0-rc.0 release | 08 February 2024, 18:43:03 UTC |
00746d8 | Jessica Janiuk | 08 February 2024, 18:40:48 UTC | release: bump the next branch to v17.3.0-next.0 | 08 February 2024, 18:43:03 UTC |
c47bf63 | Jessica Janiuk | 08 February 2024, 18:18:45 UTC | docs: release notes for the v17.1.3 release | 08 February 2024, 18:20:12 UTC |
8dea3b5 | cexbrayat | 08 February 2024, 11:41:41 UTC | test: tidy up signal signal input/query/model signature tests (#54334) This updates some tests to use the public imports from `@angular/core` now that they are available, and cleans up useless imports and inaccurate names. PR Close #54334 | 08 February 2024, 16:49:15 UTC |
898a532 | Andrew Scott | 08 February 2024, 00:30:41 UTC | fix(core): Fix possible infinite loop with `markForCheck` by partially reverting #54074 (#54329) In some situations, calling `markForCheck` can result in an infinite loop in seemingly valid scenarios. When a transplanted view is inserted before its declaration, it gets refreshed in the retry loop of `detectChanges`. At this point, the `Dirty` flag has been cleared from all parents. Calling `markForCheck` marks the insertion tree up to the root `Dirty`. If the declaration is checked again as a result (i.e. because it has default change detection) and is reachable because its parent was marked `Dirty`, this can cause an infinite loop. The declaration is refreshed again, so the insertion is marked for refresh (again). We enter an infinite loop if the insertion tree always calls `markForCheck` for some reason (i.e. `{{createReplayObservable() | async}}`). While the case above does fall into an infinite loop, it also truly is a problem in the application. While it's not an infinite synchronous loop, the declaration and insertion are infinitely dirty and will be refreshed on every change detection round. Usually `markForCheck` does not have this problem because the `Dirty` flag is not cleared until the very end of change detection. However, if the view did not already have the `Dirty` flag set, it is never cleared because we never entered view refresh. One solution to this problem could be to clear the `Dirty` flag even after skipping view refresh but traversing to children. PR Close #54329 | 08 February 2024, 16:45:20 UTC |
adfc3f0 | Kristiyan Kostadinov | 08 February 2024, 15:46:20 UTC | refactor(core): temporarily mark subscribe methods as deprecated (#54342) The `subscribe` methods on `ModelSignal` and `OutputEmitter` were marked as `@internal` which will break when the TCB needs to reference them. These changes make them `@deprecated` temporarily so we can address the properly later. PR Close #54342 | 08 February 2024, 16:33:41 UTC |
38b01a3 | cexbrayat | 08 February 2024, 13:22:01 UTC | fix(compiler-cli): interpolatedSignalNotInvoked diagnostic for model signals (#54338) The new `model()` signal introduces a `ModelSignal` type that needs to be handled by the interpolatedSignalNotInvoked diagnostic to catch issues like: ``` <div>{{ myModel }}</div> ``` PR Close #54338 | 08 February 2024, 16:28:20 UTC |
03c3b3e | ascorbic | 07 February 2024, 08:52:06 UTC | feat(common): add Netlify image loader (#54311) Add an image loader for Netlify Image CDN. It is slightly different in implementation from existing loaders, because it allows absolute URLs Fixes #54303 PR Close #54311 | 08 February 2024, 16:17:57 UTC |
9c2bad9 | Kristiyan Kostadinov | 08 February 2024, 11:37:39 UTC | refactor(compiler-cli): avoid naming conflict with built-in global variable (#54333) The import of `module` can conflict with the native global variable called `module` and can break some internal tests. These switch to only importing the function we need. PR Close #54333 | 08 February 2024, 14:59:54 UTC |
44f65f2 | Kristiyan Kostadinov | 07 February 2024, 23:32:45 UTC | refactor(compiler-cli): work around internal test failure (#54327) Fixes an internal test failure due to `FatalDiagnosticError` extending the native `Error`. PR Close #54327 | 08 February 2024, 14:59:24 UTC |
ca239e8 | Pawel Kozlowski | 07 February 2024, 18:20:55 UTC | refactor(core): share refresh logic for cd and signal queries (#54322) Introducing a tiny utility method to remove some code duplication between the change change detection and signal based queries. PR Close #54322 | 07 February 2024, 22:22:06 UTC |
a3e51d9 | Ben Hong | 07 February 2024, 21:02:12 UTC | docs: enable version picker (#54161) PR Close #54161 | 07 February 2024, 22:21:05 UTC |
38c0084 | Paul Gschwendtner | 06 February 2024, 14:23:00 UTC | test: verify signal-based queries in CLI integration test (#54314) Adds usages of signal-based queries into the signal integration test to verify queries can be used in production, and testing environments as expected (i.e. the transform works as expected). PR Close #54314 | 07 February 2024, 18:56:04 UTC |
a08863e | Paul Gschwendtner | 07 February 2024, 12:40:58 UTC | refactor(compiler-cli): ensure `FatalDiagnosticError` extends `Error` (#54309) This helps with the Angular CLI currently swallowing fatal diagnostic errors in ways that are extremely difficult to debug due to workers executing Angular compiler logic. The worker logic, via piscina, is currently not forwarding such Angular errors because those don't extend `Error.` https://github.com/piscinajs/piscina/blob/a7042ea27d129f3cad75c422f5aa92f0663854ee/src/worker.ts#L175 Even with access to these errors by manually forwarding errors, via patching of the Angular CLI, there is no stack trace due to us not using `Error` as base class for fatal diagnostic errors. This commit improves this for future debugging and also better reporting of such errors to our users- if we would accidentally leak one. PR Close #54309 | 07 February 2024, 16:39:21 UTC |
8e237a0 | Paul Gschwendtner | 07 February 2024, 12:39:00 UTC | fix(compiler-cli): properly catch fatal diagnostics in type checking (#54309) An identical addition to: 760b1f3d0b857288980f2d9929147f331d657f7d. This commit expands the `try/catch`-es: - to properly NOT throw and just convert the diagnostic. - to be in place for all top-level instances. Notably, this logic cannot reside in the template type checker directly as otherwise we would risk multiple duplicate diagnostics. PR Close #54309 | 07 February 2024, 16:39:20 UTC |
e921e10 | Kristiyan Kostadinov | 07 February 2024, 07:53:39 UTC | refactor(core): correctly distinguish getter functions from writable signals (#54252) Fixes that `ɵunwrapWritableSignal` inferring getter functions as not matching the interface of `WritableSignal` instead of preserving them. PR Close #54252 | 07 February 2024, 16:36:15 UTC |
a4a76c3 | Kristiyan Kostadinov | 06 February 2024, 22:55:59 UTC | refactor(core): throw if required model is changed via update too early (#54252) Adds an assertion that will throw if `ModelSignal.update` is accessed before an initial value is set. PR Close #54252 | 07 February 2024, 16:36:14 UTC |
ac9c544 | Kristiyan Kostadinov | 06 February 2024, 22:11:34 UTC | refactor(core): assert writable signal in two-way property instruction (#54252) Asserts that the value is a `WritableSignal`, rather than a `Signal`, in the `twoWayProperty` instruction. PR Close #54252 | 07 February 2024, 16:36:14 UTC |
243b94c | Kristiyan Kostadinov | 06 February 2024, 22:00:30 UTC | refactor(compiler-cli): fix regression in two-way bindings to inputs with different getter/setter types (#54252) In a previous commit the TCB was changed to cast the assignment to an input in order to widen its type to allow `WritableSignal`. This ended up breaking existing inputs whose setter has a wider type than its getter. These changes switch to unwrapping the value on the binding side. PR Close #54252 | 07 February 2024, 16:36:13 UTC |
551c579 | Kristiyan Kostadinov | 06 February 2024, 13:08:04 UTC | refactor(core): address PR feedback (#54252) Addresses the feedback from #54252. PR Close #54252 | 07 February 2024, 16:36:12 UTC |
a17f6cb | Kristiyan Kostadinov | 06 February 2024, 12:28:27 UTC | refactor(compiler-cli): rework TCB for two-way bindings (#54252) Reworks the TCB for two-way bindings to make them simpler and to avoid regressions for two-way bindings to generic inputs. The new TCB looks as follows: ``` var _t1: Dir; var _t2 = _t1.input; (_t1 as typeof _t2 | WritableSignal<typeof _t2>) = expression; ``` PR Close #54252 | 07 February 2024, 16:36:11 UTC |
372e1ff | Kristiyan Kostadinov | 05 February 2024, 18:58:57 UTC | refactor(compiler-cli): account for model inputs in language service (#54252) Updates the code that resolves a node from the TCB to an input in order to fix the language service. PR Close #54252 | 07 February 2024, 16:36:10 UTC |
702ab28 | Kristiyan Kostadinov | 05 February 2024, 18:18:10 UTC | feat(core): add support for model inputs (#54252) Adds support for model inputs in the framework. `model()` returns a writable signal that implicitly defines a input/output pair that can be used either in two-way bindings to keep two values in sync or by binding individually to the input and output. When the value of the `model` changes, it will emit an event with the current value. Furthermore, these changes expand two-way bindings to accept `WritableSignal`. This will make it easier to transition existing code to signals in a backwards-compatible way. Example: ```ts @Directive({ selector: 'counter', standalone: true, host: { '(click)': 'increment()', } }) export class Counter { value = model(0); increment(): void { this.value.update(current => current + 1); } } @Component({ template: `<counter [(value)]="count"/> The current count is: {{count()}}`, }) class App { count = signal(0); } ``` PR Close #54252 | 07 February 2024, 16:36:09 UTC |
d006aa3 | Kristiyan Kostadinov | 05 February 2024, 10:34:17 UTC | refactor(compiler-cli): add tests for model inputs (#54252) Adds tests in the compiler to verify the compiled output and template type checking behavior of model inputs. PR Close #54252 | 07 February 2024, 16:36:08 UTC |
67b977e | Kristiyan Kostadinov | 05 February 2024, 09:41:48 UTC | refactor(compiler-cli): allow writable signals in two-way bindings (#54252) Updates the TCB generation logic to allow for `WritableSignal` to be assigned in two-way bindings. PR Close #54252 | 07 February 2024, 16:36:07 UTC |
8aac3c4 | Kristiyan Kostadinov | 04 February 2024, 21:57:13 UTC | test(core): add runtime acceptance tests for model inputs (#54252) Sets up the runtime tests for model inputs. PR Close #54252 | 07 February 2024, 16:36:06 UTC |
0ea4d70 | Kristiyan Kostadinov | 04 February 2024, 17:23:34 UTC | refactor(compiler-cli): recognize model fields (#54252) Adds the logic that recognizes fields initialized to model as an input/output pair. PR Close #54252 | 07 February 2024, 16:36:05 UTC |
3faf3e2 | Kristiyan Kostadinov | 04 February 2024, 17:08:58 UTC | refactor(core): implement two-way instructions (#54252) Adds the implementations of the `twoWayProperty` and `twoWayListener` instructions. PR Close #54252 | 07 February 2024, 16:36:04 UTC |
06fa029 | Kristiyan Kostadinov | 02 February 2024, 13:57:50 UTC | refactor(compiler-cli): add jit transform for model inputs (#54252) Adds a JIT transform that marks `model` fields as `@Input` and `@Output`. PR Close #54252 | 07 February 2024, 16:36:03 UTC |
ab0c0cb | Kristiyan Kostadinov | 02 February 2024, 12:24:50 UTC | refactor(compiler-cli): add function to identify model fields (#54252) Adds a function to the compiler to help us identify fields initialized to a `model`. PR Close #54252 | 07 February 2024, 16:36:02 UTC |
3e0a20d | Kristiyan Kostadinov | 01 February 2024, 12:41:34 UTC | refactor(core): add model implementation (#54252) Adds the implementation of the `model` primitive that represents a two-way binding signal-based binding. PR Close #54252 | 07 February 2024, 16:36:01 UTC |
c023e8d | Paul Gschwendtner | 06 February 2024, 17:08:37 UTC | refactor(core): improve IDE completion of `read` option for signal queries (#54280) This commit improves IDE completion of the `read` option for signal-based queries. Currently, TS only matches the first overload when starting out with defining a query. TS doesn't build up the combination of possible options from the second overload- so in practice users will only see IDE completions for the `descendants` option. This is not a problem for view queries as the only option is `read`, so TS will always match the overload with the `read` option. ``` class X { query = contentChild('', {^^ <-- here we should completion for `read` an `descendants` } ``` PR Close #54280 | 07 February 2024, 16:35:14 UTC |
1fb0da2 | cexbrayat | 07 February 2024, 14:48:35 UTC | build: simplify husky setup (#54315) husky v9 simplified its setup, see `How to migrate` in https://github.com/typicode/husky/releases/tag/v9.0.1 PR Close #54315 | 07 February 2024, 16:34:13 UTC |
0dfbde9 | Jessica Janiuk | 07 February 2024, 15:35:37 UTC | Revert "fix(router): Clear internal transition when navigation finalizes (#54261)" (#54317) This reverts commit 6681292823277c8b9df002b6658224287b90e954. PR Close #54317 | 07 February 2024, 15:46:38 UTC |
f39cb06 | Payam Valadkhan | 03 February 2024, 09:43:19 UTC | fix(compiler-cli): show specific error for unresolved @Directive.exportAs in local compilation mode (#54230) Currently the error is a generic error "exportAs must be a string ...". This commit makes the error more specific to local compilation and adds some action items. PR Close #54230 | 06 February 2024, 21:33:29 UTC |
f3851b5 | Payam Valadkhan | 03 February 2024, 08:45:53 UTC | fix(compiler-cli): show specific error for unresolved @HostBinding's argument in local compilation mode (#54230) Currently the error is a generic error "selector must be a string ...". This commit makes the error more specific to local compilation and adds some action items. PR Close #54230 | 06 February 2024, 21:33:29 UTC |
39ddd88 | Payam Valadkhan | 03 February 2024, 08:29:00 UTC | fix(compiler-cli): show specific error for unresolved @HostListener's event name in local compilation mode (#54230) Currently the error is a generic error "selector must be a string ...". This commit makes the error more specific to local compilation and adds some action items. PR Close #54230 | 06 February 2024, 21:33:29 UTC |
5d63324 | Payam Valadkhan | 03 February 2024, 07:44:03 UTC | fix(compiler-cli): show the correct message for the error LOCAL_COMPILATION_UNRESOLVED_CONST when an unresolved symbol used for @Component.styles (#54230) Currently the correct error message is shown only if @Component.styles is an array with some unresolved element. This change supports the new case of string type for the @Component.styles field. PR Close #54230 | 06 February 2024, 21:33:29 UTC |
6c8b094 | Payam Valadkhan | 03 February 2024, 07:21:53 UTC | fix(compiler-cli): highlight the unresolved element in the @Component.styles array for the error LOCAL_COMPILATION_UNRESOLVED_CONST (#54230) Currently the whole array is highlighted. PR Close #54230 | 06 February 2024, 21:33:29 UTC |
acc98a1 | Payam Valadkhan | 06 February 2024, 03:18:24 UTC | refactor(compiler-cli): add a helper to generate error `LOCAL_COMPILATION_UNRESOLVED_CONST` in common scenarios (#54230) A helper `validateLocalCompilationUnresolvedConst` is added to encapsulate a common pattern which leads to the error `LOCAL_COMPILATION_UNRESOLVED_CONST`. PR Close #54230 | 06 February 2024, 21:33:29 UTC |
a3de5ba | Payam Valadkhan | 03 February 2024, 06:55:37 UTC | refactor(compiler-cli): remove the trailing error message for LOCAL_COMPILATION_UNRESOLVED_CONST (#54230) The trailing error message comes from tracing the chain of DymaicValue which leads to a mostly useless error that highlights the same symbol as the original message and emits the error message "Unknown reference". This error message is removed in the favour of the original message which suffices. PR Close #54230 | 06 February 2024, 21:33:29 UTC |
df74ed9 | Payam Valadkhan | 03 February 2024, 06:36:19 UTC | refactor(compiler-cli): upgrade error codes and messages for unresolved symbol errors in local compilation mode (#54230) A single error code is created to unify the common error pattern in local compilation mode where an imported const cannot be resolved, but needs to be resolved. This mainly happens for Angular decorator fields such as @Component.template. The error messages are also upgraded to be more centered around this unifying theme. PR Close #54230 | 06 February 2024, 21:33:29 UTC |
b5368eb | Angular Robot | 06 February 2024, 20:05:50 UTC | build: update dependency marked to v12 (#54296) See associated pull request for more information. PR Close #54296 | 06 February 2024, 21:13:49 UTC |
b96c2fe | Angular Robot | 06 February 2024, 20:04:43 UTC | build: update dependency jsdom to v24 (#54291) See associated pull request for more information. PR Close #54291 | 06 February 2024, 21:10:29 UTC |
8efa7cd | Joey Perrott | 06 February 2024, 18:52:50 UTC | docs: remove v17 banner from adev (#54287) PR Close #54287 | 06 February 2024, 21:06:24 UTC |
faf3b45 | Alejandro Cuba Ruiz | 05 February 2024, 19:05:18 UTC | docs: add alejandrocuba.jpg file to images/bios/ (#53842) PR Close #53842 | 06 February 2024, 20:34:01 UTC |
f189dbe | Alejandro Cuba Ruiz | 08 January 2024, 21:46:50 UTC | docs: add alejandrocuba to GDE resources (#53842) PR Close #53842 | 06 February 2024, 20:34:01 UTC |
6681292 | 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 | 06 February 2024, 20:32:34 UTC |
c8a973e | Angular Robot | 06 February 2024, 19:06:41 UTC | build: update dependency husky to v9 (#54289) See associated pull request for more information. PR Close #54289 | 06 February 2024, 19:34:46 UTC |
43de097 | Pawel Kozlowski | 06 February 2024, 04:30:58 UTC | test(core): enable signal queries tests with authoring (#54283) Use signal queries tests with the authoring functions and without decorators. PR Close #54283 | 06 February 2024, 19:31:58 UTC |
e95ef2c | Pawel Kozlowski | 04 February 2024, 21:00:21 UTC | feat(core): expose queries as signals (#54283) This commit exposes authoring functions for queries as signals thus making those generally available. PR Close #54283 | 06 February 2024, 19:31:58 UTC |
0d4e983 | Angular Robot | 06 February 2024, 19:06:35 UTC | build: update dependency @types/jasmine to v5 (#54288) See associated pull request for more information. PR Close #54288 | 06 February 2024, 19:30:33 UTC |
297e73c | Angular Robot | 06 February 2024, 19:06:47 UTC | build: update dependency jasmine-core to v5 (#54290) See associated pull request for more information. PR Close #54290 | 06 February 2024, 19:30:07 UTC |
4d29174 | Joey Perrott | 06 February 2024, 18:20:15 UTC | refactor: address prototype polution concern with better typing (#54286) Update typing to show that a number is being used as index rather than any random string PR Close #54286 | 06 February 2024, 18:38:47 UTC |
4287ca8 | Angular Robot | 06 February 2024, 18:06:26 UTC | build: update dependency @octokit/graphql to v7 (#53554) See associated pull request for more information. PR Close #53554 | 06 February 2024, 18:24:04 UTC |
eeafdb6 | Angular Robot | 03 February 2024, 17:04:44 UTC | build: update dependency firebase-tools to v13 (#54234) See associated pull request for more information. PR Close #54234 | 06 February 2024, 18:11:41 UTC |
e9eba6b | Angular Robot | 05 February 2024, 21:06:20 UTC | build: update dependency eslint-plugin-jsdoc to v48 (#54202) See associated pull request for more information. PR Close #54202 | 06 February 2024, 18:11:12 UTC |
c512987 | Angular Robot | 31 January 2024, 21:04:56 UTC | build: update babel dependencies (#53222) See associated pull request for more information. PR Close #53222 | 06 February 2024, 18:10:40 UTC |
e949422 | Angular Robot | 05 February 2024, 18:05:21 UTC | build: update all non-major dependencies (#53220) See associated pull request for more information. PR Close #53220 | 06 February 2024, 18:10:11 UTC |
2d3fc31 | Angular Robot | 06 February 2024, 16:04:57 UTC | docs: update Angular CLI help [main] (#54276) Updated Angular CLI help contents. PR Close #54276 | 06 February 2024, 18:09:46 UTC |
0763fba | Joey Perrott | 06 February 2024, 17:24:26 UTC | build: update to latest @angular/docs (#54282) Update to the latest version of angular docs from dev-infra PR Close #54282 | 06 February 2024, 17:54:43 UTC |
6ef60c0 | ilir.beqiri | 06 February 2024, 17:16:17 UTC | docs: replace event word with property for binding properties link (#54281) Replace the "event" word with the correct one "property" at the helpful text on event binding section PR Close #54281 | 06 February 2024, 17:45:11 UTC |
bfbb306 | Paul Gschwendtner | 06 February 2024, 14:06:49 UTC | fix(compiler-cli): do not error due to multiple components named equally (#54273) Currently, when two components are named `TestComponent`, and both would use e.g. control flow. Templates would be generated by the compiler and those would conflict at runtime because the names for the template functions are not ensured to be unique. This seems like a more general problem that could be tackled in the future in the template pipeline by always using the `ConstantPool`, but for now, we should be good already, given us ensuring the `baseName`'s are always unique. PR Close #54273 | 06 February 2024, 17:33:23 UTC |
19fae76 | arturovt | 02 February 2024, 01:12:26 UTC | fix(zone.js): patch `fs.realpath.native` as macrotask (#54208) This commit updates the implementation of the zone.js `fs` patch to restore the implementation of `realpath.native` and patches it as a macrotask, along with other functions of the `fs` package. This is the only nested function that must be patched. Closes: #45546 PR Close #54208 | 06 February 2024, 16:04:40 UTC |
f8c02b6 | Paul Gschwendtner | 05 February 2024, 14:09:51 UTC | refactor(compiler-cli): restrict `read` option values for signal-based queries (#54257) The `read` option for queries can rely on lexical variables inside the class. These constructs are fine from a technical perspective in TypeScript, but in practice, when the component/directive definition is being created, the read value is extracted into the definition, **outside** of the class. This breaks `this` references. To fix this, we are restricting the `read` option to literal values. Similar to `descendants`. Literal references are in practice constructs like: - `read: bla.X` - `read: X` where `bla` or `X` is never a `ThisKeywoord`- hence fixing the issue and also simplifying the patterns for easier single file compilation. PR Close #54257 | 06 February 2024, 16:04:10 UTC |
902481b | Paul Gschwendtner | 05 February 2024, 14:08:29 UTC | refactor(compiler-cli): add JIT transform for signal-based queries (#54257) This commit adds a JIT transform for signal-based queries, so that queries are working as expected in JIT environments like `ng test` where decorator metadata is needed as a prerequisite for the component definition creation. This is similar to the JIT transforms for signal inputs etc. PR Close #54257 | 06 February 2024, 16:04:10 UTC |
3514268 | Paul Gschwendtner | 05 February 2024, 14:07:23 UTC | refactor(compiler-cli): extract common JIT transform helper into transform API (#54257) Extracts common JIT transform helper into the transform API, so that those helpers can be re-used for output, model, queries and inputs. PR Close #54257 | 06 February 2024, 16:04:10 UTC |
1d077fc | Paul Gschwendtner | 05 February 2024, 14:06:43 UTC | refactor(compiler-cli): expose query function detection logic for JIT transform (#54257) This commit exposes the query function detection logic so that it can be used in the JIT transform later on. PR Close #54257 | 06 February 2024, 16:04:10 UTC |
4851453 | Paul Gschwendtner | 06 February 2024, 15:09:58 UTC | ci: add debug information for failing firebase deploy (#54275) Adding debug information for failing firebase deploy, hoping to yield information about the missing resource. The next multi-site seems to be failing, but is available. PR Close #54275 | 06 February 2024, 15:23:13 UTC |
99bfbab | Pawel Kozlowski | 06 February 2024, 00:27:23 UTC | refactor(core): break circular dependencies in preparation for queries as signals (#54103) Break circular dependencies by using type imports and code moves. PR Close #54103 | 06 February 2024, 15:04:36 UTC |
84d1fa7 | Pawel Kozlowski | 04 February 2024, 23:02:58 UTC | refactor(core): pull compileNgModuleFactory out of application_ref (#54103) The compileNgModuleFactory dont need to be in the application_ref file (in fact the whole logic has little to do with ApplicationRef and it is not even called from the application_ref). Performing this move to avoid circular dependencies when the new query as signals authoring functions are exported. PR Close #54103 | 06 February 2024, 15:04:36 UTC |
3a2ce9e | Pawel Kozlowski | 04 February 2024, 20:00:06 UTC | refactor(core): add error code for required query results (#54103) This commit introduces a dedicated error code for queries that require results but none are available. PR Close #54103 | 06 February 2024, 15:04:36 UTC |