31771 Commits
Author SHA1 Message Date
Andrew Kushnir 22aacba5ca release: cut the v19.0.5 release 19.0.5 2024-12-18 10:57:21 -08:00
m-housni e0362b2375 docs: fix typo in code example (#59235)
PR Close #59235
2024-12-18 09:37:23 -08:00
Sandeep Chaurasia bd91f91504 Update defer.md (#59231)
There was an extra Z letter which I think not neccessary.
PR Close #59231
2024-12-18 09:36:21 -08:00
Alan Agius fd968e80eb refactor(core): reduce generated code (#59220)
This commit updates the defer code promises to reduce a couple of bytes.

PR Close #59220
2024-12-17 14:53:49 -08:00
Avcharov dd76f4e2e3 docs: Fix Code of Conduct Readme link (#59217)
PR Close #59217
2024-12-17 12:54:20 -08:00
Doug Parker 1b7b8ad33e release: bump Angular DevTools version to 1.0.19 (#59225)
PR Close #59225
2024-12-17 12:46:40 -08:00
Paul Gschwendtner f1ab35cc36 refactor(compiler-cli): fix instanceof for error not working (#59219)
We recently introduced a custom error to allow us to catch certain types
of errors. Unfortunately it doesn't work as expected in G3 because the
Node execution seems to run with ES5.

PR Close #59219
2024-12-17 09:36:53 -08:00
Angular Robot ba87e219e9 build: update github/codeql-action action to v3.27.9 (#59212)
See associated pull request for more information.

PR Close #59212
2024-12-17 09:31:19 -08:00
Jessica Janiuk 09ee5b5d5d docs: add anti-patterns and notes about 3rd party scripts (#59210)
Some users are confused by the requirements of hydration around DOM manipulation, and this adds some clarity around those requirements.

PR Close #59210
2024-12-17 09:29:32 -08:00
Paul c2927ba94c docs(elements): Add limitations section (#58194)
PR Close #58194
2024-12-17 09:28:45 -08:00
Muhammad Awais c829a1564e docs(animations): update position parameter to be a decimal (#57927)
PR Close #57927
2024-12-17 09:28:03 -08:00
Vlad Boisa f0df010644 docs(docs-infra): replace newline with <br> (#59156)
Replace the "\n" new line operator with <br> for wrap the text.
PR Close #59156
2024-12-16 16:31:08 -08:00
Angular Robot b476537ddd build: lock file maintenance (#59202)
See associated pull request for more information.

PR Close #59202
2024-12-16 15:22:39 -08:00
Lang f582816147 docs: remove unused import from example (#59200)
PR Close #59200
2024-12-16 15:21:24 -08:00
Lang 62703adf13 docs: use arrays in the impure pipe example (#59196)
PR Close #59196
2024-12-16 15:19:47 -08:00
Matthieu Riegler 6807072feb docs(docs-infra): remove costly localeCompare (#59106)
This function wasn't necessary, the items where already sorted.

fixes #59069d

PR Close #59106
2024-12-16 15:18:39 -08:00
Josh Benner b74e06e150 docs: Fix Dependency Injection Readme guide link (#59193)
PR Close #59193
2024-12-16 11:34:46 -08:00
Alan Agius ba9bbd07bf refactor(core): add ENABLE_ROOT_COMPONENT_BOOTSTRAP token (#59205)
Introduced the `ENABLE_ROOT_COMPONENT_BOOTSTRAP` token to control the bootstrapping of components during application initialization. This token is utilized by the Angular CLI in the `@angular/ssr` package, particularly during server-side rendering (SSR) when extracting routes.

When set to `false`, this token prevents the root component from being bootstrapped during SSR's route extraction phase, which is crucial for efficiently extracting routes without triggering component initialization. This mechanism separates the concerns of route extraction and component bootstrapping during SSR rendering, optimizing performance.

If not provided or set to `true`, the default behavior of bootstrapping the root component(s) during initialization is maintained.

Context: https://github.com/angular/angular-cli/issues/29085

PR Close #59205
2024-12-16 11:32:46 -08:00
Jessica Janiuk 4d74f86139 refactor(core): add skipped defer blocks count to ngDevMode (#59188)
This adds the skipped defer blocks to the counts in ngDevMode and the logged hydration information.

PR Close #59188
2024-12-16 10:25:45 -08:00
Andrew Kushnir 3793218e77 fix(core): avoid triggering on timer and on idle on the server (#59177)
This commit updates defer block logic to avoid triggering `on idle` and `on timer` on the server for regular SSR mode (when incremental hydration is not enabled). Triggering the mentioned condition resulted in invoking `setTimeout` calls, which delayed serialization on the server during SSR (the process was waiting for the timeouts to clear).

PR Close #59177
2024-12-13 10:10:28 -08:00
Shayan Ghazali 515a1fb8fe docs: correct typo in description of runTask method (#59119)
PR Close #59119
2024-12-13 10:09:41 -08:00
hawkgs c8b192696e docs(core): remove redundant reference-manifests handwritten entries (#59169)
The handwritten entries are now included as part of `//packages/core:core_docs_extraction` it seems. So, they are no longer needed. On the contrary, they are causing duplicated entries in the generated manifest which are then reflected in the A.dev API reference.

Fixes #59165

PR Close #59169
2024-12-12 17:29:22 -08:00
hawkgs fa4419d2ae docs(docs-infra): make font styles consistent in the API code ToC (#59072)
Since code lines are wrapped in `<button>`-s, the native font styles overrides the parent's one which results in the font-family and font-size (esp. Safari) difference. This change fixes that.

PR Close #59072
2024-12-12 16:19:46 -08:00
Angular Robot 898e77eb23 build: update babel dependencies (#59127)
See associated pull request for more information.

PR Close #59127
2024-12-12 14:58:35 -08:00
Angular Robot cc558269f9 build: update dependency https-proxy-agent to v7.0.6 (#59125)
See associated pull request for more information.

PR Close #59125
2024-12-12 14:57:15 -08:00
Jessica Janiuk cfc96ed82c fix(core): Fix nested timer serialization (#59173)
There were type mismatches and or unintended any types that were preventing nested timers from accessing the delay value during hydration annotation processing.

PR Close #59173
2024-12-12 14:55:29 -08:00
Alan Agius e21e885fc8 perf(docs-infra): improve app firebase configuration (#59170)
- Remove trailing slash redirect (e.g., /overview no longer redirects to /overview/).
- Update static file matching: Resolves an issue where hashed files were being cached for up to 1 hour.

PR Close #59170
2024-12-12 14:54:51 -08:00
Jessica Janiuk 456fe22ad4 refactor(core): replace regexp in incremental hydration (#59158)
This swaps the regular expression for a string split instead.

PR Close #59158
2024-12-12 14:53:59 -08:00
Jamie Rees e3bb6a0bb3 refactor(common): update the NgOptimizedImage message to use @if instead of *ngIf (#59131)
This commit updates an error message to mention `@if` rather than the `*ngIf` directive.
PR Close #59131
2024-12-12 14:51:44 -08:00
Jessica Janiuk c61ad65f64 refactor(core): incremental hydration TODO cleanup (#59032)
This adds a few helper functions and ensures we call complete fns when error state is rendered. It also eliminates serialized views from being copied.

PR Close #59032
2024-12-12 14:48:25 -08:00