Commit graph

34039 commits

Author SHA1 Message Date
Joey Perrott
5802f8009e build: no longer rely on archive packages for integration tests (#62996)
Now that the packages are avaiable at the base node_modules we can treat local packages as normal packages and not leverage the archive package versions

PR Close #62996
2025-08-05 10:12:06 +02:00
Paul Gschwendtner
648bbb097e fix(core): properly recognize failed fetch responses when loading external resources in JIT (#62992)
Currently when loading external resources in JIT, when `fetch` fails,
the `text` is empty and the component is loading. This hides the actual
underlying fetch error. We should properly detect this and error out.

PR Close #62992
2025-08-05 10:10:56 +02:00
Joey Perrott
2960722951 build: drop usage of pkg_web (#62990)
Drop usages of pkg_web as it comes from our previous toolchain

PR Close #62990
2025-08-05 10:08:47 +02:00
Matthieu Riegler
d9035b199c docs: Update best-practices (#62988)
From the latest version we have on the CLI repo.

PR Close #62988
2025-08-05 10:08:07 +02:00
hawkgs
3d9fc3e09c fix(devtools): injector tree root refocus on CD (#62987)
Fixes the unwanted root node refocus on change detection in the Injector Tree visualizations.

PR Close #62987
2025-08-05 10:07:29 +02:00
muhammadali1658
0305dcdfc6 docs: Fix typos in zoneless documentation (#62985)
PR Close #62985
2025-08-05 10:07:00 +02:00
Jessica Janiuk
de3a0c5cf3 fix(core): Fix animate.enter class removal when composing classes (#62981)
In the case when composing animation classes with `animate.enter` on the
element itself and also with host bindings, the removal would only
have context for one of the classes added: the last one added. This
allows for tracking of the classes added by `animate.enter` via a
WeakMap so we know the exact classes added and which to remove.

Also shores up the tests to make sure we are fully testing animate.enter.

PR Close #62981
2025-08-05 10:06:28 +02:00
Matthieu Riegler
d00b3fed58 feat(router): add a currentNavigation signal to the Router service. (#62971)
This new signal property is convenient to derive a `isNavigating` state.

`isNavigating = computed(() => !!this.router.currentNavigation())`

DEPRECATED: The Router.getCurrentNavigation method is deprecated. Use the Router.currentNavigation signal instead.

fixes #62958

PR Close #62971
2025-08-05 10:05:49 +02:00
Kristiyan Kostadinov
fb1fc823c4 fix(compiler-cli): correctly type check host listeners to own outputs (#62965)
Currently the code that type checks host bindings assumes that all listeners are bound to the DOM, however that's not the case since host bindings can also bind to own outputs.

These changes update the TCB to generate the proper code for type checking such outputs.

Fixes #62783.

PR Close #62965
2025-08-05 10:04:25 +02:00
Kristiyan Kostadinov
0950524ed7 refactor(compiler): allow directives to be resolved on host element (#62965)
Allows the target binder to resolve directives set on the host element.

PR Close #62965
2025-08-05 10:04:25 +02:00
Andrew Scott
141bb75ff2 feat(core): Promote zoneless to stable (#62699)
This commit moves zoneless from developer preview to stable and updates the roadmap to indicate it is ready for production use.

PR Close #62699
2025-08-05 10:03:31 +02:00
Jessica Janiuk
6597ac0af7 fix(core): fix support for space separated strings in leave animations (#62979)
Space separated strings, e.g. `class-1 class-2`, should work with both enter and leave animations. `animate.leave` lost that functionality in a refactor. Tests are now added to catch this.

fixes: #62964

PR Close #62979
2025-08-04 12:24:11 +02:00
SkyZeroZx
cbd300d9e1 docs: Adds docs on handling redirect info in interceptors (#62968)
PR Close #62968
2025-08-04 11:41:24 +02:00
Matthieu Riegler
9da26addfa docs: disable stackblitz examples (#62972)
This isn't supported ATM.

PR Close #62972
2025-08-04 11:39:38 +02:00
Joey Perrott
7158c23e34 ci: use new version of pnpm-lock.yaml file during renovate (#62957)
Use the newly updated pnpm_lock.yaml file during renovate post upgrade runs

PR Close #62957
2025-08-04 11:39:06 +02:00
Doug Parker
9db1179e21 docs(devtools): fix pnpm install command (#62956)
`--immutable` only works for `yarn`, `pnpm` needs `--frozen-lockfile`.

PR Close #62956
2025-08-04 11:38:38 +02:00
Jessica Janiuk
3e6e1c1f44 docs: Add MAX_ANIMATION_TIMEOUT to the animate docs (#62949)
This adds information about the new `MAX_ANIMATION_TIMEOUT` token used
for configuration the maximum amount of milliseconds Angular will wait
for animations to complete before removing the element.

PR Close #62949
2025-08-01 14:23:49 +00:00
Joey Perrott
8de8dc80e4 build: move to pnpm version 9.15.9 (#62950)
Use pnpm version 9.15.9 to match the rest of the organization

PR Close #62950
2025-08-01 14:22:03 +00:00
Jessica Janiuk
857675fedb refactor(core): this delays removal of stylesheets when the element registry is present (#62943)
When animate.leave is used, stylesheet pruning causes issues. Stylesheets with the appropriate animations get pruned before the animations can run. This will delay the removal in the case that the registry is present.

fixes: #62942

PR Close #62943
2025-08-01 12:54:22 +00:00
Matthieu Riegler
a2b498849c build: replace docs script with adev (#62944)
`pnpm docs` is a dedicated command to open a package docs.

PR Close #62944
2025-08-01 12:39:37 +00:00
Matthieu Riegler
c34fdd9d8d ci: remove lockfile sync (#62948)
This is no longer necessary

PR Close #62948
2025-08-01 12:36:34 +00:00
Angular Robot
17b6a5be69 build: update pnpm to v10.14.0 (#62938)
See associated pull request for more information.

PR Close #62938
2025-08-01 12:38:43 +02:00
Angular Robot
8c9d0c1078 build: update dependency node to v22.18.0 (#62937)
See associated pull request for more information.

PR Close #62937
2025-08-01 12:37:43 +02:00
Matthieu Riegler
65f587bc5d fix(devtools): Display falsy signal values correctly (#62919)
falsy value would display their preview because of the logical or.

fixes #55727

PR Close #62919
2025-08-01 12:36:45 +02:00
Milo
b0f0b6d836 refactor(devtools): update graph effect colors, fix graph animations (#62912)
make effects purple instead of invisible, fix epoch animations for new nodes, and remove graph transitions when switching between two components in the component tree

PR Close #62912
2025-08-01 12:36:09 +02:00
Vincent
e5d6fb5825 fix(http): Reset headers, progress, and statusCode when using set() in HttpResource (#62873)
Currently, those values aren't reset, which means they are out of sync with the new value

PR Close #62873
2025-08-01 08:08:52 +00:00
Kristiyan Kostadinov
7836f79d4a build: update to TypeScript 5.9 final (#62939)
Updates the repo to the latest stable version of TypeScript.

PR Close #62939
2025-08-01 08:08:21 +00:00
Jessica Janiuk
455b147488 fix(core): fixes timing issues with enter animations (#62925)
In some patterns, `element.getAnimations()` will be an empty array despite the animation class being present during animation start and the style sheet showing a keyframe animation.
Moving the longest animation check to the end resolves this problem.

fixes: #62923

PR Close #62925
2025-08-01 08:06:34 +00:00
Doug Parker
d05138a975 release: bump Angular DevTools version to 1.0.41 (#62932)
PR Close #62932
2025-07-31 15:52:37 -07:00
Joey Perrott
82cc576e6f build: use pnpm as the package manager instead of yarn (#62924)
Use pnpm instead of yarn as the package manager and interaction tool for the repo

PR Close #62924
2025-07-31 22:06:27 +00:00
Angular Robot
892c2d1556 build: update dependency shiki to v3.9.0 (#62920)
See associated pull request for more information.

PR Close #62920
2025-07-31 10:35:44 +00:00
Angular Robot
216caaf5ab build: update cross-repo angular dependencies (#62902)
See associated pull request for more information.

PR Close #62902
2025-07-31 09:52:50 +00:00
SkyZeroZx
8255e0cf15 feat(service-worker): add messageerror event handling and logging (#62834)
Add messageerror event handling and logging to Driver class

PR Close #62834
2025-07-31 09:17:43 +00:00
hawkgs
b5fc949840 fix(devtools): MessageBus.on return type (#62898)
It appears that the intent is to return an unlisten function when `on` is called. The message bus implementations indicate that. However, the `MessageBus` abstract class returns `void` instead.

Change to `on: () => void`.

PR Close #62898
2025-07-31 09:16:15 +00:00
Kristiyan Kostadinov
b1514d512e fix(migrations): incorrect filtering in inject migration (#62913)
The inject migration wasn't implementing file filtering properly which resulted in it passing an invalid tsconfig path to TypeScript.

Fixes #62866.

PR Close #62913
2025-07-31 09:15:42 +00:00
Joey Perrott
cbc258eec8 build: remove ts_project_interop infrastructure (#62908)
Remove the interop macros and final usages

PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
008ed216d3 build: remove usages of runtime_rnjs_interop (#62908)
Remove all usages of the runtime_rnjs_interop feature

PR Close #62908
2025-07-31 09:12:58 +00:00
Raphaël Balet
e0ea8b6089 docs: remove the trailing comma (#62914)
This removes an unnecessary trailing comma in docs

PR Close #62914
2025-07-31 09:12:26 +00:00
Jessica Janiuk
78a6b68578 release: cut the v20.2.0-next.3 release 2025-07-31 11:06:01 +02:00
Jessica Janiuk
d08f9cee06 docs: release notes for the v20.1.4 release 2025-07-31 10:40:21 +02:00
Joey Perrott
e7d748ebbd build: remove @bazel/esbuild (#62906)
Remove @bazel/esbuild as its no longer used

PR Close #62906
2025-07-30 17:36:43 +00:00
Joey Perrott
9ae1803acf build: migrate @angular/upgrade examples tests to new esbuild (#62906)
Migrate to the new esbuild

PR Close #62906
2025-07-30 17:36:43 +00:00
Joey Perrott
335cdc7b37 build: update to latest devinfra in workspace (#62901)
Update to the latest devinfra in workspace to correct goldens update error

PR Close #62901
2025-07-30 16:19:36 +00:00
Joey Perrott
ecb50ad7ed test(language-service): update language-service legacy tests (#62900)
Update the language-service legacy tests to use new toolchain as basis for tests

PR Close #62900
2025-07-30 15:54:59 +00:00
SkyZeroZx
245494ad29 fix(http): add missing http options allowed in fetch API (#62881)
The addBody function was not preserving all fetch API options like integrity and referrer when creating request options for POST/PUT/PATCH requests. This caused these options to be stripped out during request construction.

PR Close #62881
2025-07-30 14:07:41 +00:00
Jessica Janiuk
d23c5e4670 refactor(core): Tiny animation optimization (#62896)
This removes one redundant check to reduce code size.

PR Close #62896
2025-07-30 13:56:46 +00:00
Jessica Janiuk
320de4e96d refactor(core): deprecate animations field on component interface (#62895)
This deprecates the animations field on the component decorator in favor of animate.enter and leave.

DEPRECATED: @angular/animations

PR Close #62895
2025-07-30 10:35:29 +00:00
Matthieu Riegler
9d05a8a095 docs(docs-infra): increase until timeout (#62894)
Those tests have been flaky recently, let's try increasing the timeout

PR Close #62894
2025-07-30 10:01:04 +00:00
Jessica Janiuk
7f5d7c9558 docs: add updated label to animations (#62893)
This just adds the updated status flag to the left nav for animations.

PR Close #62893
2025-07-30 09:41:54 +00:00
Angular Robot
6ad01e6224 build: update all non-major dependencies (#62890)
See associated pull request for more information.

PR Close #62890
2025-07-30 09:24:49 +00:00