38441 Commits

Author SHA1 Message Date
kirjs 985d828f12 refactor(forms): hide adapter in public options
Moves adapter to internal options to prevent exposure but keep compatibility.
2026-03-02 08:46:43 -08:00
Jessica Janiuk 0b59cba85d fix(core): Prevent removal of elements during drag and drop
This addresses a reported issue where elements were being fully removed from the DOM during drag and drop operations.

fixes: #67257
2026-03-02 08:46:09 -08:00
Angular Robot ab1c13fa1e build: update cross-repo angular dependencies to 90e509f
See associated pull request for more information.
2026-03-02 08:42:36 -08:00
Angular Robot 35175b0a8a build: update pnpm to v10.30.3
See associated pull request for more information.
2026-03-02 08:38:47 -08:00
Angular Robot 73b6135bf5 build: update cross-repo angular dependencies to 9cc4778
See associated pull request for more information.
2026-02-27 09:10:48 -08:00
Angular Robot a8cba4f4fd build: update dependency bazel to v8.6.0
See associated pull request for more information.
2026-02-27 09:09:51 -08:00
Jessica Janiuk 88685cb3b6 fix(core): adds transfer cache to httpResource to fix hydration
This should prevent the microtask problem with hydration and httpResource.

fixes: #62897
2026-02-27 09:09:23 -08:00
Jessica Janiuk e1bc342856 refactor(core): Ensure idle scheduler batching accounts for change detection
This updates the deadline check in requestIdleCallback to ensure change detection properly dirties the views.
2026-02-27 09:08:59 -08:00
Matthieu Riegler 9bb4f02bef build: use different default port for dev-app
Same as ADEV, currently the CLI prompts for another port if 4200 is busy but the toolchain doesn't support prompts.

By defaulting to 4201 we avoid regular CLI apps from preventing to run the dev-app
2026-02-27 09:04:15 -08:00
Angular Robot cda3e8963a build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-26 14:33:24 -08:00
Matthieu Riegler 03db2aefaa fix(compiler): throw on duplicate input/outputs
inputs & outputs cannot be binded to 2 different directives/components properties

Eg
```
data = model();
dataChange = output(); // throws because model already emits on the `dataChange` output

userSomething = input({alias 'user'});
user = input(); // throws because userSomething already binds to the `user` input
````

fixes #65844

BREAKING CHANGE: The compiler will throw when there a when inputs, outputs or model are binding to the same input/outputs.
2026-02-26 13:47:37 -08:00
Matthieu Riegler 3bc095d508 feat(core): Add a schematics to migrate provideHttpClient to keep using the HttpXhrBackend implementation.
Exisiting applications will be migrated to keep using the XHR backend to prevent any breaking changes. `withXhr()` is to the `provideHttpClient` provider function.
2026-02-26 13:47:02 -08:00
Matthieu Riegler 5c432fb8bb feat(http): Use FetchBackend as default for the HttpBackend implementation
This commit replaces the `XhrHttpBackend` with the `FetchBackend` as the default implementation of the `HttpBackend`.
This introduces a breaking change a the `FetchBackend` does not support the report progress for uploads.

The previous behavior (`HttpXhrBackend`) can be restored by setting `withXhr()` in the `provideHttpClient()` provider function.

DEPRECATED: `withFetch` is now deprecated, it can be safely removed.
BREAKING CHANGE: Use the `HttpXhrBackend` with `provideHttpClient(withXhr)` if you want to keep supporting upload progress reports.
2026-02-26 13:47:02 -08:00
Angular Robot f022530df4 build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-26 13:42:06 -08:00
Joey Perrott d1ebbbe9bc build: update to latest sha of dev-infra repo
Update to the latest sha of the dev-infra repo
2026-02-26 12:42:14 -08:00
Joey Perrott 385b9485c4 build: update to latest sha of dev-infra repo
Update to the latest sha of the dev-infra repo
2026-02-26 12:22:21 -08:00
Joey Perrott 37b4d16357 ci: set up automated issue labeling
Sets up automated issue labeling action
2026-02-26 12:22:21 -08:00
Angular Robot 6585e4fc4c build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-26 10:33:01 -08:00
Joey Perrott 078da3cbda ci: set up linting for upcoming agent skills
Add validation/linting on CI for agent skills files
2026-02-26 10:04:26 -08:00
Joey Perrott b4f68acaa1 build: update repository locations for bazel rules
The repositories for `rules_sass`, `rules_angular`, and `rules_browsers`
were recently transferred from devversion to the angular organization.
This commit updates the internal bazel module rules to rely on
the new repository locations.
2026-02-26 09:57:12 -08:00
Angular Robot d0afeba2cb build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-26 09:43:28 -08:00
Matthieu Riegler 95f12c87aa docs: add info around route level services
fixes #67313
2026-02-26 08:19:59 -08:00
Alan Agius 4c4a3db86a refactor: move several schematics from migrations to ng-generate directories
This are not true migrations
2026-02-26 07:54:04 -08:00
Alan Agius 1102ad74f8 refactor(migrations): remove old schematics migrations
These migrations are not needed for v22.
2026-02-26 07:54:04 -08:00
Matthieu Riegler 7d92d4454b docs: add mention of identity tracking for field iterations
related to #66711
2026-02-26 07:52:55 -08:00
Angular Robot e25b775627 build: update all non-major dependencies
See associated pull request for more information.
2026-02-26 07:52:19 -08:00
Angular Robot 4243e4addc build: update all github actions
See associated pull request for more information.
2026-02-26 07:51:30 -08:00
Angular Robot 2d64e04c76 build: update bazel dependencies
See associated pull request for more information.
2026-02-26 07:49:53 -08:00
Doug Parker 01eadde28e release: bump Angular DevTools version to 1.12.0 2026-02-25 17:44:52 -08:00
Joey Perrott a57ebc9ec1 docs: release notes for the vscode extension 21.2.1 release 2026-02-25 15:39:26 -08:00
Hien de0cc817cd docs(forms): fix casing of 'FormField' to 'formField' in templates 2026-02-25 12:46:02 -08:00
Jessica Janiuk 60f7a76616 docs: release notes for the v19.2.19 release 2026-02-25 12:44:35 -08:00
Jessica Janiuk f9a92bfe4f docs: release notes for the v20.3.17 release 2026-02-25 12:07:15 -08:00
Jessica Janiuk b7f03a9298 docs: release notes for the v21.2.0 release 2026-02-25 11:30:51 -08:00
Jessica Janiuk 0b6ac7f096 docs: release notes for the v21.1.6 release 2026-02-25 11:22:33 -08:00
Angular Robot 0af53fbb12 build: update cross-repo angular dependencies
See associated pull request for more information.

Closes #67274 as a pr takeover
2026-02-25 10:17:51 -08:00
Angular Robot b68228e89d build: lock file maintenance
See associated pull request for more information.
2026-02-25 09:13:10 -08:00
Alan Agius 6d07890d63 build: update all non-major dependencies
See associated pull request for more information.

Closes #67035 as a pr takeover
2026-02-25 08:31:32 -08:00
hawkgs f9d8da6924 fix(core): bind global context to idle callback shims in @defer's idle service
Fix a Safari regression caused by `a5981b8` where the browser is unable to properly assign the `window` context to idle callback shims in `@defer` 'on idle' configuration service.
2026-02-25 08:17:57 -08:00
Sonu Kapoor 547ed65b6f docs(forms): transformedValue parse error wiring 2026-02-25 08:13:12 -08:00
Matthieu Riegler 1416eceeea refactor(http): ensure HttpClientModule always uses the xhr backend
This is a follow-up of #67231, in preparation of making the `FetchBackend` the default
2026-02-25 08:12:14 -08:00
SkyZeroZx 97ed3d9e85 refactor(common): log a warning when a KeyValuePipe receives a signal
Add signal warning for `KeyValuePipe` and consolidates the `invalidPipeArgumentError` function into a `utils`
2026-02-25 08:11:29 -08:00
hawkgs 957466d02a docs(docs-infra): scroll home features section into view on tab change
A small UX improvement where the Features section on the home page is scrolled into view when you change the feature tab.
2026-02-25 08:03:48 -08:00
Matthieu Riegler 01a179577b refactor(upgrade): remove getAngularLib/setAngularLib
Both functions were deprecated in v5 and are replaced by `getAngularJSGlobal`/`setAngularJSGlobal`

BREAKING CHANGE: Deprecated `getAngularLib`/`setAngularLib` have been removed use `getAngularJSGlobal`/`setAngularJSGlobal` instead.
2026-02-25 07:58:24 -08:00
Alan Agius d550bf713a build: update minimum supported Node.js versions
This commit updates the minimum supported Node.js versions. Node.js v20 support is dropped, and the minimum version for Node.js v22 is bumped to v22.22.0, and for v24 it is bumped to v24.13.1.

BREAKING CHANGE: Node.js v20 is no longer supported. The minimum supported Node.js versions are now v22.22.0 and v24.13.1.
2026-02-25 07:57:18 -08:00
Angular Robot 761a08c3d8 build: update dependency @types/jsdom to v28
See associated pull request for more information.
2026-02-25 07:56:10 -08:00
Angular Robot 6bfec96d41 build: update pnpm to v10.30.2
See associated pull request for more information.
2026-02-25 07:54:24 -08:00
Jessica Janiuk a5981b83a6 feat(core): support customization of @defer's on idle behavior
This commit makes the behavior of `on idle` in `@defer` configurable via DI.
It defines an `IdleService` interface that an application can implement and
provide to Angular:

```ts
@Injectable({providedIn: 'root'})
export class CustomIdleService implements IdleService {
  requestOnIdle(callback: () => void): number {...}
  cancelOnIdle(id: number): void {...}
}
```

Then the idle service can be used by providing the IDLE_SERVICE token with the custom implementation.
2026-02-24 17:19:09 -08:00
Matthieu Riegler 0cd00b91ef ci: update pullapprove for manual_api docs
The markdown files shouldn't require dev-infra approval.
2026-02-24 15:23:30 -08:00
Anushka Geeta Singh bdbb7cc7af docs: update README to clarify app setup confirmation
Improved wording to clarify how beginners can verify their environment and IDE are correctly set up after running the app.
2026-02-24 14:22:28 -08:00