Matthieu Riegler
241c0004e9
docs: fix mermaid DI diagram. ( #59105 )
...
We need to use `<br>` for linebreakes.
fixes #59104
PR Close #59105
2024-12-10 13:42:04 -08:00
Ahmad Shabeer K
5b841fde1d
docs(docs-infra): removed confusing extra single quote ( #59101 )
...
PR Close #59101
2024-12-10 13:40:39 -08:00
Kristiyan Kostadinov
af3d6c7d19
refactor(docs-infra): fix build-time warnings ( #59100 )
...
Fixes a bunch of warnings around an upcoming Sass breaking change https://sass-lang.com/documentation/breaking-changes/mixed-decls/ . Also fixes one unused standalone import.
PR Close #59100
2024-12-10 13:40:11 -08:00
Angular Robot
ff03fc8ac0
build: update actions/cache digest to 1bd1e32 ( #59077 )
...
See associated pull request for more information.
PR Close #59077
2024-12-06 14:38:28 -08:00
arielbackenroth
34ded10fa6
fix(core): Fix a bug where snapshotted functions are being run twice if they return a nullish/falsey value. ( #59073 )
...
Snapshots can return nullish values; don't run the snapshotted function if the snapshotted function returns a nullish/falsey value.
PR Close #59073
2024-12-05 16:16:49 -08:00
Kristiyan Kostadinov
7e61217170
fix(compiler-cli): consider pre-release versions when detecting feature support ( #59061 )
...
Fixes that the logic which checks whether a feature is supported didn't account for pre-releases.
Fixes https://github.com/angular/vscode-ng-language-service/issues/2123 .
PR Close #59061
2024-12-05 16:15:12 -08:00
Kristiyan Kostadinov
cd764a3115
fix(compiler-cli): error in unused standalone imports diagnostic ( #59064 )
...
Fixes a null pointer error in the unused standalone imports diagnostic. It was caused by an inconsistency in TypeScript's built-in types.
Fixes #58872 .
PR Close #59064
2024-12-05 16:14:02 -08:00
Matthieu Riegler
ffae7df6e8
refactor(http): Don't log fetch warning in tests. ( #59049 )
...
Prior to this commit, we were logging the `NOT_USING_FETCH_BACKEND_IN_SSR` error when `provideHttpTestingClient` and `PLATFORM_ID` were provided.
fixes #59028
PR Close #59049
2024-12-05 16:12:55 -08:00
Charles Lyding
ae0802d63c
fix(platform-browser): collect external component styles from server rendering ( #59031 )
...
SSR generated component styles used in development environments will add
external styles via link elements to the HTML. However, the runtime would
previously not collect these link elements for reuse with rendered components.
This would result in two copies of the link elements present in the DOM. In
isolation this is not problematic as it is only present in development mode.
Unfortunately, the Vite-based CSS HMR functionality used by the Angular CLI
only updates the first stylesheet it finds and leaves other instances of the
stylesheet in place. This behavior causes the styles to be left in an
inconsistent state. This could be considered a defect within Vite as it should
update all relevant styles to maintain consistency but ideally there should
not be two instances in the Angular SSR case. To avoid the Vite issue, the
runtime will now collect SSR generated external styles and reuse them.
PR Close #59031
2024-12-05 16:12:22 -08:00
Matthieu Riegler
c521ce133f
docs: remove inline docs-code in table ( #58992 )
...
Having a code block yields the correct result.
Fixes #58989
PR Close #58992
2024-12-05 16:10:28 -08:00
Matthieu Riegler
3af585b98e
docs(docs-infra): enable tslint ( #58961 )
...
PR Close #58961
2024-12-05 16:03:36 -08:00
Sheik Althaf
044e1d8007
refactor(router): remove standalone true ( #58950 )
...
removed the standalone true from router package.
PR Close #58950
2024-12-05 16:02:37 -08:00
Matthieu Riegler
6d56dc332c
docs: fix formating for NG0913 ( #58869 )
...
fixes #58868
PR Close #58869
2024-12-05 16:01:55 -08:00
Alex Rickabaugh
1cd0eb83d2
refactor(router): remove circular dep in router navigation code ( #59083 )
...
Use `import type` to break phantom circular imports for the router
navigation implementation.
PR Close #59083
2024-12-05 16:01:16 -08:00
Alex Rickabaugh
9d73fe605e
refactor(router): remove circular dep in router model definitions ( #59083 )
...
Use `import type` to break phantom circular imports for router model
definitions.
PR Close #59083
2024-12-05 16:01:16 -08:00
Alex Rickabaugh
f87cdd9280
refactor(router): remove circular dep in RouterOutletContext ( #59083 )
...
Use `import type` to break phantom circular imports for
`RouterOutletContext`.
PR Close #59083
2024-12-05 16:01:16 -08:00
Alex Rickabaugh
308950dafa
refactor(core): remove circular dep in LView & LContainer definitions ( #59083 )
...
Use `import type` to break phantom circular imports in the runtime
definitions of `LView` and `LContainer`.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
8bc3693f7a
refactor(core): remove circular dep in JIT decorator definitions ( #59083 )
...
Use `import type` to break phantom circular imports in the runtime
definitions of JIT decorators.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
98471dfc08
refactor(core): remove circular dep in ComponentFactoryResolver ( #59083 )
...
Use `import type` to break a phantom circular import in the runtime
definition of `ComponentFactory` and `ComponentFactoryResolver`.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
850a2ad899
refactor(core): remove circular dep in DI code ( #59083 )
...
Use `import type` to break a phantom circular import in the DI code.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
c9ce08a7ea
refactor(core): remove circular dep in iterable differs. ( #59083 )
...
Use `import type` to break a phantom circular import in iterable differs.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
d0e0446149
refactor(core): remove circular dep in ViewRef definition ( #59083 )
...
Use `import type` to break a phantom circular import in the runtime
definition of `ViewRef`.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
b58123bfd8
refactor(compiler): remove circular dep in the output ast ( #59083 )
...
Use `import type` to break a phantom circular import in the output AST in
the compiler.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
3e8e9483db
refactor(compiler-cli): remove circular dep in the partial evaluator ( #59083 )
...
Use `import type` to break a phantom import cycle.
PR Close #59083
2024-12-05 16:01:15 -08:00
Tom Wilkinson
e2c8c6f269
refactor(core): Remove event_contract_multi_container ( #59059 )
...
This code has been moved internally.
PR Close #59059
2024-12-05 15:24:43 -08:00
Joey Perrott
47e314f418
ci: update to latest version of dev-infra actions ( #59070 )
...
Update to latest version of the actions
PR Close #59070
2024-12-05 08:17:29 -07:00
Pawel Kozlowski
4dfe7f1cce
release: cut the v19.0.3 release
19.0.3
2024-12-04 20:20:18 +01:00
Matthieu Riegler
a7fb45fba2
Revert "fix(platform-server): remove peer dependency on animations ( #58997 )" ( #59051 )
...
This reverts commit 1cfbfc66d3 .
PR Close #59051
2024-12-04 19:11:12 +01:00
Alan Agius
28c00cbc8b
build: update cross-repo angular dependencies ( #59048 )
...
This is a cherry-pick of #59011
PR Close #59048
2024-12-04 18:21:59 +01:00
hawkgs
7ad1f27d83
feat(docs-infra): use angular-ts and angular-html shiki highlighting ( #59004 )
...
Use `angular-ts` instead of `typescript` and `angular-html` instead of `html`.
PR Close #59004
2024-12-04 18:06:00 +01:00