angular/packages
Paul Gschwendtner e6db288ffd refactor(compiler-cli): ensure proper TS incremental program re-use w/ signal inputs (#53521)
Whenever a signal input is captured in a type check block, we will
insert an import. This will change the import graph so that the full
TypeScript program cannot be structurally re-used.

We can fix this trivially by ensuring the import graph remains stable,
by always generating an import to e.g. `@angular/core`. This fixes the
issue nicely for type-check block files. A test verifies this.

For inline code, such as TCB inline or the type constructors inline,
this fix is not applicable because we would change user-input source files,
adding new edges that would not exist for subsequent builds- causing the
program to be not re-used completely. One idea was to rely on the
existing edge that can be assumed to exist for directive code files.
This is true technically, but in practice TS does not deduplicate
imports- so our new namespace import when referencing our symbols will
invalidate the re-use. We will address this in a follow-up. There are a
couple of options, such as working with the TS team, updating the
existing edge, or inlining our helpers as well.

PR Close #53521
2023-12-13 15:44:00 -08:00
..
animations fix(animations): prevent the AsyncAnimationRenderer from calling the delegate when there is no element. (#52570) 2023-11-13 16:29:18 +00:00
bazel feat(core): support TypeScript 5.3 (#52572) 2023-11-09 22:56:41 +00:00
benchpress build: update cross-repo angular dependencies (#52422) 2023-12-13 09:15:42 -08:00
common build: convert build/test scripts to use fast-glob (#53397) 2023-12-08 14:37:07 -08:00
compiler feat(compiler-cli): support type-checking for generic signal inputs (#53521) 2023-12-13 15:44:00 -08:00
compiler-cli refactor(compiler-cli): ensure proper TS incremental program re-use w/ signal inputs (#53521) 2023-12-13 15:44:00 -08:00
core feat(compiler-cli): support type-checking for generic signal inputs (#53521) 2023-12-13 15:44:00 -08:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements build: update node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
examples docs(forms): replace fb with formBuilder (#52261) 2023-10-19 09:24:39 -07:00
forms build: update node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
language-service feat(core): support TypeScript 5.3 (#52572) 2023-11-09 22:56:41 +00:00
localize refactor: reduce direct babel dependencies (#53441) 2023-12-08 14:33:59 -08:00
misc/angular-in-memory-web-api fix(http): Don't override the backend when using the InMemoryWebAPI (#52425) 2023-11-08 18:42:20 +00:00
platform-browser fix(platform-browser): Get correct base path when using "." as base href when serving from the file:// protocol. (#53547) 2023-12-13 09:26:56 -08:00
platform-browser-dynamic build: update node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
platform-server refactor(core): skip disconnected nodes while computing node path for hydration (#53317) 2023-12-04 21:44:08 -08:00
private/testing fix(platform-server): bundle @angular/domino in via esbuild (#49229) 2023-02-28 13:34:50 -08:00
router fix(router): provide more actionable error message when route is not matched in production mode (#53523) 2023-12-12 14:31:25 -08:00
service-worker build: update node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
upgrade build: update node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
zone.js feat(zone.js): implement Promise.withResolvers() (#53514) 2023-12-12 09:04:44 -08:00
BUILD.bazel build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
circular-deps-test.conf.js build: ignore type only imports/exports for circular dependency checks (#47017) 2022-08-18 12:06:09 -07:00
empty.ts
goog.d.ts refactor(core): replace references to goog.LOCALE with goog.getLocale() (#43089) 2021-08-10 10:35:26 -07:00
license-banner.txt build: bump license year (#44590) 2022-01-04 12:05:25 -08:00
README.md
system.d.ts
tsconfig-build.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
tsconfig-legacy-saucelabs.json refactor(compiler): drop obsolete NgFactory and NgSummary config options (#48268) 2023-02-21 13:03:59 -08:00
tsconfig-test.json build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
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 refactor(common): Add a new platform_navigation that provides the Navigation API. (#52363) 2023-11-09 18:01:33 +00:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
types.d.ts build: update to jasmine 4.0 (#45558) 2022-04-11 16:25:28 +00: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