angular/packages
Alex Rickabaugh e40a4fa3c7 fix(upgrade): support input signal bindings (#57020)
`@angular/upgrade` writes to inputs when downgrading an Angular 2+ component
into an Angular.JS adapter. Previously, it wrote directly to the input
property, which isn't compatible with input signals. It also handles
`ngOnChanges` directly.

The correct way to support input signals would be to refactor upgrade to use
`ComponentRef.setInput`, which also handles `ngOnChanges` internally.
However, this refactoring might be more breaking since it would change the
timing of certain operations. Instead, this commit updates the code to
recognize `InputSignal` and write it through the `InputSignalNode`. This
avoids the above breaking changes for now, until a bigger refactoring can be
tested.

Fixes #56860.

PR Close #57020
2024-09-26 14:14:15 -07:00
..
animations refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
bazel refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
benchpress refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
common fix(common): execute checks and remove placeholder when image is already loaded (#55444) 2024-09-26 14:12:01 -07:00
compiler refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
compiler-cli fix(compiler-cli): correctly get the type of nested function call expressions (#57010) 2024-09-26 14:13:04 -07:00
core fix(upgrade): support input signal bindings (#57020) 2024-09-26 14:14:15 -07:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
examples refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
forms refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
language-service fix(compiler-cli): correctly get the type of nested function call expressions (#57010) 2024-09-26 14:13:04 -07:00
localize refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
misc/angular-in-memory-web-api refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
platform-browser refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
platform-browser-dynamic refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
platform-server refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
private/testing refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
router refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
service-worker refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
upgrade fix(upgrade): support input signal bindings (#57020) 2024-09-26 14:14:15 -07:00
zone.js refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
BUILD.bazel refactor(docs-infra): migrate api-gen from dev-infra into the repo (#57241) 2024-08-05 17:06:29 +00:00
circular-deps-test.conf.js refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
empty.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +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:16 -07:00
system.d.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
tsconfig-build.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -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 refactor(router): Update integration tests to cover navigation and history API (#53799) 2024-01-30 15:04:02 +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 refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +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