angular/packages
Kristiyan Kostadinov 9e847fc60d fix(compiler): handle tracking expressions requiring temporary variables (#58520)
Currently when we generate the tracking expression for a `@for` block, we process its expression in the context of the creation block. This is incorrect, because the expression may require ops of its own for cases like nullish coalescing or safe reads. The result is that while we do generate the correct variable, they're added to the creation block rather than the tracking function which causes an error at runtime.

These changes address the issue by keeping track of a separate set of ops for the `track` expression that are prepended to the generated function, similarly to how we handle event listeners.

Fixes #56256.

PR Close #58520
2025-02-12 09:56:08 -08:00
..
animations fix(core): animation sometimes renderer not being destroyed during HMR (#59574) 2025-01-16 11:36:43 -08:00
bazel feat(core): support TypeScript 5.8 (#59830) 2025-02-03 14:00:41 -08:00
benchpress build: update cross-repo angular dependencies (#58666) 2024-11-19 16:51:40 -08:00
common refactor(common): drop error messages in production (#59545) 2025-01-28 09:39:42 +01:00
compiler fix(compiler): handle tracking expressions requiring temporary variables (#58520) 2025-02-12 09:56:08 -08:00
compiler-cli fix(compiler): handle tracking expressions requiring temporary variables (#58520) 2025-02-12 09:56:08 -08:00
core fix(migrations): account for let declarations in control flow migration (#59861) 2025-02-12 09:45:14 -08:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements fix(elements): not setting initial value on signal-based input (#59773) 2025-01-29 08:50:25 -08:00
examples refactor: remove unnecessary TSLint rule flags (#59365) 2025-01-07 16:06:21 +00:00
forms feat(forms): support type set in form validators (#45793) 2025-02-05 08:59:55 -08:00
language-service feat(compiler): support untagged template literals in expressions (#59230) 2025-01-21 12:04:53 -08:00
localize docs: set syntax highlighting to the remaining Markdown code examples blocks (#59088) 2025-01-14 15:14:02 -05:00
misc/angular-in-memory-web-api docs: fix spelling of "set up" (#58362) 2025-02-03 13:50:49 -08:00
platform-browser refactor(platform-browser): remove redundant DomEventsPlugin dependencies (#59811) 2025-02-03 13:57:45 -08:00
platform-browser-dynamic refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
platform-server test(core): update tests that were relying on implicit animations module (#59762) 2025-01-29 10:52:18 -08:00
private/testing docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
router refactor(router): remove unused code (#59704) 2025-01-28 09:38:34 +01:00
service-worker fix(service-worker): add missing rxjs peer dependency (#59747) 2025-01-28 13:09:50 +01:00
ssr refactor(core): add REQUEST, RESPONSE_INIT and REQUEST_CONTEXT tokens (#58669) 2024-11-14 14:21:21 -08:00
upgrade docs: set syntax highlighting to the remaining Markdown code examples blocks (#59088) 2025-01-14 15:14:02 -05:00
zone.js build: lock file maintenance (#59763) 2025-01-29 08:49:47 -08:00
BUILD.bazel docs(core): remove redundant reference-manifests handwritten entries (#59169) 2024-12-12 17:29:22 -08:00
circular-deps-test.conf.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md docs: fix links to docs (#57391) 2024-08-19 09:20:15 -07:00
system.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json feat(language-service): add code reactoring action to migrate @Input to signal-input (#57214) 2024-08-29 07:50:41 -07:00
tsec-exemption.json
types.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT