angular/packages
JoostK 5bd9fbd2c3 fix(compiler-cli): enforce a minimum version to be used when a library uses input transform (#51413)
Angular 16.1 introduced the input transform feature, requiring the partial compilation output to be extended
with a reference to the input transform function. This has resulted in a subtle breaking change, where older
versions of the Angular linker can no longer consume libraries that have started to use this feature.

We do try to support using a 16.1 library from an Angular 16.0 application, but if a library actually
adopts a new feature then this is no longer possible. In such cases, it is desirable to report a message
telling the user that their version of the Angular compiler is too old, as determined by the `"minVersion"`
property that is present in each partial declaration. This version would still indicate that the declaration
required at least Angular 14.0 to be compiled, but this is not accurate once input transforms are being
used. Consequently, this error would not be reported, causing a less informative error once the input transform
was being observed.

Fixes #51411

PR Close #51413
2023-08-18 07:58:53 -07:00
..
animations refactor(animations): remove unecessary interface (#50662) 2023-08-07 09:26:22 -07:00
bazel feat(core): support TypeScript 5.2 (#51334) 2023-08-18 07:55:16 -07:00
benchpress docs: updated the benchpress readme doc (#51110) 2023-07-21 16:43:30 +00:00
common fix(common): Allow safeUrl for ngSrc in NgOptimizedImage (#51351) 2023-08-17 10:20:35 -07:00
compiler fix(compiler-cli): enforce a minimum version to be used when a library uses input transform (#51413) 2023-08-18 07:58:53 -07:00
compiler-cli fix(compiler-cli): enforce a minimum version to be used when a library uses input transform (#51413) 2023-08-18 07:58:53 -07:00
core refactor(core): implement runtime logic to compute component dependencies in local compilation mode (#51377) 2023-08-17 14:01:51 -07:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements fix(elements): support input transform functions (#50713) 2023-06-22 09:47:16 -07:00
examples test(core): unit tests for the injector profiler and injector debugging APIs (#48639) 2023-08-01 11:44:40 -07:00
forms docs: fix see also links. (#51379) 2023-08-17 10:18:33 -07:00
language-service feat(core): support TypeScript 5.2 (#51334) 2023-08-18 07:55:16 -07:00
localize build: update all non-major dependencies (#51161) 2023-08-10 16:28:18 -07:00
misc/angular-in-memory-web-api docs: update invalid links to the new http guides (#49456) 2023-06-22 17:06:59 -07:00
platform-browser docs: fix see also links. (#51379) 2023-08-17 10:18:33 -07:00
platform-browser-dynamic refactor(platform-browser-dynamic): remove reexport of MetadataOverrider (#51412) 2023-08-18 07:57:34 -07:00
platform-server refactor: add readonly to public InjectionToken types (#51125) 2023-08-14 17:17:35 -07:00
private/testing fix(platform-server): bundle @angular/domino in via esbuild (#49229) 2023-02-28 13:34:50 -08:00
router docs: fix see also links. (#51379) 2023-08-17 10:18:33 -07:00
service-worker feat(core): support TypeScript 5.2 (#51334) 2023-08-18 07:55:16 -07:00
upgrade docs: fix links in UpgradeAdapter (#51395) 2023-08-18 07:56:41 -07:00
zone.js feat(core): support TypeScript 5.2 (#51334) 2023-08-18 07:55:16 -07:00
BUILD.bazel build(bazel): list docs entrypoints under packages to simplify docgen 2022-11-22 13:51:16 -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 refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04: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(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04: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