Commit graph

31599 commits

Author SHA1 Message Date
Angular Robot
ea5d74bb34 build: update dependency typescript to v5.6.3 (#58458)
See associated pull request for more information.

PR Close #58458
2024-11-22 15:32:51 +00:00
Angular Robot
d69a4e1e15 build: update dependency ngx-progressbar to v13 (#58822)
See associated pull request for more information.

Closes #58696 as a pr takeover

PR Close #58822
2024-11-22 15:32:10 +00:00
Alan Agius
78cf51b12a build: remove unused patch (#58821)
This commit removes an unused patch

PR Close #58821
2024-11-22 14:56:24 +00:00
Alan Agius
600bab4356 build: correct ignore nested node_modules (#58821)
The commit updates both Git and Bazel ignore config to ingore nested node_modules

PR Close #58821
2024-11-22 14:56:24 +00:00
Alan Agius
d7dfd47232 build: fix path of @angular/ssr package (#58821)
The path was incorrect

PR Close #58821
2024-11-22 14:56:24 +00:00
Angular Robot
9fdec75c08 build: lock file maintenance (#58711)
See associated pull request for more information.

PR Close #58711
2024-11-22 14:46:21 +00:00
Melroy van den Berg
a20689dc88 docs: Fix automatically typo (#58808)
PR Close #58808
2024-11-22 14:45:49 +00:00
Melroy van den Berg
46d173d60f docs: Fix more typos. (#58809)
PR Close #58809
2024-11-22 14:44:44 +00:00
ahmadhakeem18
26d75b0315 docs(docs-infra): remove the usage of the deprecated core mixin as it's no-op (#58812)
PR Close #58812
2024-11-22 14:44:11 +00:00
ahmadhakeem18
97625d22c0 docs(docs-infra): fix visually-hidden elements style (#58812)
import visually-hidden styles from CDK as the new version of Angular material no more do that inside the deprecated core mixin

PR Close #58812
2024-11-22 14:44:11 +00:00
Dany Marques
ffbe7635d1 docs: signal has to be called (#58816)
PR Close #58816
2024-11-22 14:43:39 +00:00
Melroy van den Berg
c30ae2d069 docs: Fix typo in standalone section of Anatomy of a component (#58807)
PR Close #58807
2024-11-22 14:43:02 +00:00
Jesús Real Serrano
a0ca7d1513 docs: update resource.md (#58795)
PR Close #58795
2024-11-22 14:42:30 +00:00
mgechev
b2eccad3d6 docs: update front page banner to link to the blog (#58803)
The blog post now has the release event embedded.
Link to the blog for a more comprehensive overview

PR Close #58803
2024-11-22 14:41:53 +00:00
Jessica Janiuk
d3491c7cee fix(core): Prevents race condition of cleanup for incremental hydration (#58722)
When hydrating a tree of blocks, this prevents cleanup from firing more than once per tree. It also ensures the cleanup happens after hydration has finished.

fixes: #58690

PR Close #58722
2024-11-21 21:39:37 +00:00
Younes Jaaidi
5ce10264a4 fix(migrations): fix provide-initializer migration when using useFactory (#58518)
Priori to this commit, initializer functions with dependencies were not migrated correctly.
With this commit, the function is executed in a injection context to allow the usage of `inject`.

PR Close #58518
2024-11-21 20:59:35 +00:00
Ryan Russell
a6d2d2dc10 fix(migrations): Mark hoisted properties as removed in inject migration (#58804)
Before, in a situation like shown in the test, all of the initializers
would be dropped, as the code would try to insert it at the hoisted
property which is going to be deleted.

PR Close #58804
2024-11-21 20:58:26 +00:00
ahmadhakeem18
ab701f4a24 docs(docs-infra): fix the hovering animation of banner text and make the action on the parent (#58775)
PR Close #58775
2024-11-21 20:55:46 +00:00
ahmadhakeem18
9796067515 docs(docs-infra): show the top-level banner on top of all the elements (#58775)
Starting from Tablet-landscape siz display the banner on top of all the
elements, and for smaller sizes display it under the nav to make it
accessible to users

PR Close #58775
2024-11-21 20:55:46 +00:00
ahmadhakeem18
836ed79c89 docs(docs-infra): fix top-level banner styles and make it responsive (#58775)
PR Close #58775
2024-11-21 20:55:46 +00:00
Paweł Maniecki
fe1a771c9a docs: fix 404 link in roadmap (#58791)
https://angular.dev/guide/components/output-fn does not exist, change to https://angular.dev/guide/components/outputs

PR Close #58791
2024-11-21 16:44:10 +00:00
JoostK
99715104a1 fix(core): correctly perform lazy routes migration for components with additional decorators (#58796)
This fixes an issue where the lazy-routes migration would crash for component classes a
decorator without arguments in front of the `@Component` decorator (in particular, it needed
to be the first decorator).

Fixes #58793

PR Close #58796
2024-11-21 16:43:30 +00:00
Kristiyan Kostadinov
6b057bcfdb refactor(forms): work around another TypeScript 5.7 issue (#58782)
Reworks the changes from #58731, because they didn't cover all use cases.

PR Close #58782
2024-11-21 16:36:15 +00:00
Sheik Althaf
52912f064b refactor(devtools): migrate devtools to prettier formatting (#58766)
Added html and scss to ng-dev formatter. This will reduce the formatting changes coming in PRs.

PR Close #58766
2024-11-21 16:35:38 +00:00
Kristiyan Kostadinov
9a01c42214 refactor(core): adjust tracing service (#58771)
Adjusts the tracing service based on internal requirements.

PR Close #58771
2024-11-21 16:34:54 +00:00
Alex Rickabaugh
818659c6ec refactor(core): introduce TracingService for snapshot-based tracing (#58771)
This commit introduces a private API, the `TracingService` DI token. By
providing this token, Angular can be configured to capture tracing snapshots
for certain operations such as change detection notifications, and to run
downstream operations within the context of those snapshots.
`TracingService` abstracts this context propagation and makes it pluggable.

PR Close #58771
2024-11-21 16:34:53 +00:00
Angular Robot
8694f919ad build: update cross-repo angular dependencies (#58778)
See associated pull request for more information.

PR Close #58778
2024-11-21 16:33:44 +00:00
Alan Agius
ab4f81044c docs: minor updates to hybrid rendering docs (#58797)
Fix typos and some minor things

PR Close #58797
2024-11-21 16:31:40 +00:00
Joey Perrott
ec674c6a68 ci: update to latest actions from angular/dev-infra (#58799)
Update to latest commit

PR Close #58799
2024-11-21 15:01:40 +00:00
voi99
a3be5b0f25 docs(compiler): add strictStandalone option to angular compiler options (#58785)
PR Close #58785
2024-11-20 22:07:36 +00:00
Angular Robot
28254ca134 build: update io_bazel_rules_sass digest to 35b1c32 (#58674)
See associated pull request for more information.

PR Close #58674
2024-11-20 21:19:31 +00:00
Joey Perrott
4b7f295e8d ci: set up perf tracking CI job (#58779)
Set up perf tracking CI job to run on each commit to main branch

PR Close #58779
2024-11-20 21:16:23 +00:00
Angular Robot
b767b660b6 build: update github/codeql-action action to v3.27.5 (#58730)
See associated pull request for more information.

PR Close #58730
2024-11-20 21:15:31 +00:00
Angular Robot
273ee7a290 build: update all non-major dependencies (#58729)
See associated pull request for more information.

PR Close #58729
2024-11-20 21:11:33 +00:00
Joey Perrott
7c9f42540b ci: update to latest actions from angular/dev-infra (#58781)
Update to latest commit

PR Close #58781
2024-11-20 11:58:14 -08:00
Angular Robot
678f333956 build: update dependency @types/diff to v6 (#58426)
See associated pull request for more information.

PR Close #58426
2024-11-20 08:54:49 -08:00
Mark Axisa
ac52ce8ae7 docs(core): add descriptive usage line for projectableNodes param in createComponent docs (#58727)
PR Close #58727
2024-11-20 08:12:32 -08:00
Charles Lyding
d87f4830bb refactor(language-service): reuse code fixes map for has fix check (#58759)
The error codes that have fixes are present in a Map instance and
can be directly leveraged to determine if an error code can be fixed.
This avoids multiple levels of iteration that would otherwise be needed.

PR Close #58759
2024-11-20 08:10:16 -08:00
Kristiyan Kostadinov
d4f5c85f60 fix(migrations): handle parameters with initializers in inject migration (#58769)
Adds some logic to the `inject()` migration that allows is to handle parameter declarations with initializers. This was omitted initially, because we don't officially support such cases, but it came up internally.

PR Close #58769
2024-11-20 08:07:39 -08:00
aboudard
baedea7b3f docs: add missing ng update command to v19 update guide (#58762)
This change adds the command to run when updating angular project from v18 to v19

PR Close #58762
2024-11-19 17:36:26 -08:00
Matthieu Riegler
472dd58537 docs(docs-infra): have a redirect for guide/components/anatomy-of-components (#58750)
fixes #58746

PR Close #58750
2024-11-19 16:52:28 -08:00
Angular Robot
69c29639fa build: update cross-repo angular dependencies (#58666)
See associated pull request for more information.

PR Close #58666
2024-11-19 16:51:40 -08:00
Jeremy Elbourn
f4e2777994 docs: add details on how @defer loads deps (#58763)
PR Close #58763
2024-11-19 16:34:37 -08:00
Jeremy Elbourn
4970ebab57 docs: update titles for resource and linkedSignal (#58761)
This change updates the navigation titles for linkedSignal and resource
to follow the pattern of "<accomplish X> with <feature Y>". Also makes a
few minor updates to the body of the resource topic.

PR Close #58761
2024-11-19 16:33:53 -08:00
Charles Lyding
ca032a2289 docs: add note about dev-server startup and styles (#58751)
A note has been added to the application builder documentation regarding
the Vite-based development server and style processing that could
potentially result in initial FOUC due to server processing overhead on startup.

PR Close #58751
2024-11-19 16:33:19 -08:00
Kristiyan Kostadinov
a983865bff fix(language-service): add fix for individual unused imports (#58719)
Fixes that `getCodeActions` wasn't implemented for the unused imports fixer which meant that it wouldn't show up in the most common cases.

PR Close #58719
2024-11-19 12:19:15 -08:00
Kristiyan Kostadinov
e6e7a4e22b fix(language-service): allow fixes to run without template info (#58719)
Currently the code fixes won't run if the template information can't be resolved on the diagnostic node. This is incorrect for diagnostics that are reported within `.ts` files. These changes make the `templateInfo` nullable and leave the early exit up to the individual fixes.

PR Close #58719
2024-11-19 12:19:14 -08:00
Charles Lyding
502ee0e722 fix(core): correctly clear template HMR internal renderer cache (#58724)
The internal renderer cache within the renderer factory was not being
correctly cleared due to a type-casting error. This prevented template
HMR from correctly updating the component. A more explicity cast has
now been used to mitigate this problem.
Component template HMR is currently considered experimental.

PR Close #58724
2024-11-19 12:18:40 -08:00
Kristiyan Kostadinov
4dfe5b6cef fix(forms): work around TypeScript 5.7 issue (#58731)
Adjusts the return type of `FormBuilder.group` to work around https://github.com/Microsoft/TypeScript/issues/60506.

PR Close #58731
2024-11-19 12:18:01 -08:00
Kristiyan Kostadinov
e4dc7f1361 docs: update standalone migration guide (#58703)
Updates the guide for the standalone migration to account for standalone being the default.

PR Close #58703
2024-11-19 09:54:54 -08:00