arturovt
964b261a86
refactor(compiler): improve stringify ( #60013 )
...
This is the same change that was made in this commit (cf3a5073ec ). See its description for clarification.
PR Close #60013
2025-04-30 12:40:03 -07:00
arturovt
075145ef93
refactor(core): tree-shake PROPAGATION_STOPPED_SYMBOL ( #61004 )
...
Adds `__PURE__` annotations to `PROPAGATION_STOPPED_SYMBOL` to enable tree-shaking, even if is is not referenced. This variable is not dropped when Angular is imported from a module that has `sideEffects` set to `true`.
PR Close #61004
2025-04-30 12:38:45 -07:00
Alan Agius
400dbc5b89
fix(core): properly handle app stabilization with defer blocks ( #61056 )
...
Previously, the app was marked as stable prematurely. For more details, see https://github.com/angular/angular/issues/61038#issuecomment-2837917180
Closes : #61038
(cherry picked from commit de649c9cfd )
PR Close #61056
2025-04-30 12:02:03 -07:00
Alan Agius
90b3355831
test: disable platform-server tests that do not work with zoneless ( #61056 )
...
A number of cases currently do not work with zoneless.
(cherry picked from commit 58f99a4491 )
PR Close #61056
2025-04-30 12:02:03 -07:00
Alan Agius
794522602d
test: add integration test for platform-server with zoneless ( #61056 )
...
Add an integration test to verify SSR with zoneless
(cherry picked from commit c88b29c506 )
PR Close #61056
2025-04-30 12:02:03 -07:00
Alan Agius
0020fc67bd
test: add integration test for defer with input on SSR with zones ( #61056 )
...
Add an integration test to verify defer block behavior with input handling during server-side rendering (SSR).
(cherry picked from commit 202fb1a8aa )
PR Close #61056
2025-04-30 12:02:03 -07:00
Miles Malerba
a2eaea0426
release: cut the v19.2.9 release
2025-04-30 10:27:37 -07:00
Miles Malerba
d67ced63af
build: update cross-repo angular dependencies ( #61066 )
...
See associated pull request for more information.
PR Close #61066
2025-04-30 09:32:07 -07:00
arturovt
2e140a136a
fix(core): prevent stash listener conflicts [patch] ( #61063 )
...
Patch version of https://github.com/angular/angular/pull/59635 .
PR Close #61063
2025-04-30 09:23:19 -07:00
arturovt
dbb87026ca
fix(core): call DestroyRef on destroy callback if view is destroyed [patch] ( #61061 )
...
Patch version of 5f7f04634f
PR Close #61061
2025-04-30 08:52:25 -07:00
cexbrayat
59050900a0
refactor(core): remove unused APP_EFFECT_SCHEDULER in effect code ( #59679 )
...
The `APP_EFFECT_SCHEDULER` Injection token is never used and not a public API.
PR Close #59679
2025-04-30 08:49:56 -07:00
Matthieu Riegler
a554208651
build: Run browsers tests without platform-browser-dynamic ( #60937 ) ( #61060 )
...
Use the regular `platform-browser` providers instead.
PR Close #61060
2025-04-30 08:21:03 -07:00
vladboisa
0ee1a6e593
docs: add link label & paragraph for correct display ( #60708 )
...
PR Close #60708
2025-04-30 08:18:08 -07:00
Matthieu Riegler
4fb74b00e0
docs(docs-infra): fix alert header inlining ( #60708 )
...
PR Close #60708
2025-04-30 08:18:08 -07:00
vladboisa
770587a755
docs: add Security-DomSanitizer link in ElemnetRef&Renderer2 ( #60708 )
...
Renderer2 and ElementRef didn't mention the Security-DomSanitizer method, this will add clarity for potential user what to expect. Also swap deprecated "callout" class to docs-alert
Fixes #51208 , #46904
PR Close #60708
2025-04-30 08:18:08 -07:00
Jessica Janiuk
6b76bca0f7
Revert "build: Run browsers tests without platform-browser-dynamic ( #60937 )" ( #61059 )
...
This reverts commit b896ca8ed5 .
PR Close #61059
2025-04-30 12:21:02 +02:00
arturovt
946b844e0d
fix(core): async EventEmitter error should not prevent stability ( #61028 )
...
This commit wraps the `fn` invocation with `try-finally`, ensuring that the pending task (added in [this commit](d5c6ee432f )) is always removed.
Prior to this commit, if a subscriber threw an error, it would prevent the application from becoming stable — though this shouldn't happen under normal scenarios because the error should be handled by the RxJS error handler or Angular's error handler.
Errors should not silently prevent the application from being rendered on the server.
PR Close #61028
2025-04-29 22:14:16 -07:00
Matthieu Riegler
222ae18f04
build(devtools): cleanup dependencies ( #60936 )
...
Removing `platform-browser-dynamic` because we don't need it anymore.
PR Close #60936
2025-04-29 12:16:17 -07:00
Ben Hong
3ea4e9d2fa
docs: add relevant link to guides in learn angular tutorial ( #60834 )
...
PR Close #60834
2025-04-29 12:14:20 -07:00
Matthieu Riegler
b2b8566e05
build: Run browsers tests without platform-browser-dynamic ( #60937 )
...
Use the regular `platform-browser` providers instead.
PR Close #60937
2025-04-29 12:10:54 -07:00
Angular Robot
46c1adecf0
build: update cross-repo angular dependencies ( #61033 )
...
See associated pull request for more information.
PR Close #61033
2025-04-29 09:54:03 -07:00
Niclas Gleesborg
b4c853b920
docs: Changed word optimally to optionally ( #61041 )
...
PR Close #61041
2025-04-29 09:52:42 -07:00
Angular Robot
9344f27e36
build: update github/codeql-action action to v3.28.16 ( #61035 )
...
See associated pull request for more information.
PR Close #61035
2025-04-29 09:51:09 -07:00
Andrew Scott
9c4591ce30
refactor(core): Update FakeNavigation to extract some Angular quirks ( #60961 )
...
This change updates the implementation of `FakeNavigation` to extract
some changes that were made due to quirks in Angular testing.
PR Close #60961
2025-04-28 14:36:25 -07:00
Matthieu Riegler
2c9bdc3f96
docs(docs-infra): prevent from resetting the search on navigation ( #60927 )
...
By keeping the search well allow developers to navigate through multiple results without having to re-type the search
PR Close #60927
2025-04-28 10:14:57 -07:00
hawkgs
578041bf3a
docs(docs-infra): fix function api ref header width ( #61022 )
...
Fix the width of the function API reference header when the viewport width is for-desktop-down.
PR Close #61022
2025-04-28 10:01:41 -07:00
nevepura
0203e0bfdd
Update dependency-injection.md ( #61019 )
...
Fixed list of ways to do dependency injection.
PR Close #61019
2025-04-28 08:30:53 -07:00
Kristiyan Kostadinov
54465e890f
fix(docs-infra): use proper API for style overrides ( #61008 )
...
Setting CSS variables directly is fragile and isn't the officially supported way of override Material styles. Instead the `tabs-overrides` mixin should be used which has validation for the token names.
For future reference, these are the docs for the styling API: https://material.angular.io/components/tabs/styling
PR Close #61008
2025-04-28 08:19:18 -07:00
vladboisa
aca1f450d3
docs: fix non-working link ( #61011 )
...
Swap non-working @link to just usual `` link to work
PR Close #61011
2025-04-28 08:07:07 -07:00
hawkgs
7d133c0cc7
docs(docs-infra): fix mat-tab colors ( #61000 )
...
Fix the text color of Material tabs.
PR Close #61000
2025-04-25 08:50:56 -07:00
arturovt
81f655679e
refactor(core): tree-shake NOT_SET and EMPTY_CLEANUP_SET ( #60979 )
...
Adds `__PURE__` annotations to `NOT_SET` and `EMPTY_CLEANUP_SET` to enable tree-shaking, even if they are not referenced. These variables are not dropped when Angular is imported from a module that has `sideEffects` set to `true`.
PR Close #60979
2025-04-25 08:42:13 -07:00
Matthieu Riegler
e27d983402
docs: remove old pipes docs. ( #60996 )
...
They were replaced by pipes entry in the template guides.
PR Close #60996
2025-04-24 09:42:50 -07:00
Matthieu Riegler
9e3665a843
docs(docs-infra): fix github links for for previews ( #60994 )
...
PR Close #60994
2025-04-24 09:30:26 -07:00
Doug Parker
5b0ec4a100
release: bump Angular DevTools version to 1.0.30 ( #60992 )
...
PR Close #60992
2025-04-23 14:36:27 -07:00
Jens Kuehlers
56964513ae
docs: remove gitter reference ( #60970 )
...
PR Close #60970
2025-04-23 17:25:16 +02:00
Jens Kuehlers
9f537b9c62
docs: remove reference to gitter ( #60970 )
...
PR Close #60970
2025-04-23 17:25:16 +02:00
hawkgs
181fd67759
docs(docs-infra): use a custom scrollbar for the examples using HighlightTypeScript ( #60981 )
...
The examples used to render the native scrollbar.
PR Close #60981
2025-04-23 17:24:30 +02:00
Pawel Kozlowski
4d7eb054b6
release: cut the v19.2.8 release
2025-04-23 17:11:57 +02:00
Pawel Kozlowski
11b90319f7
Revert "release: cut the v19.2.8 release" ( #60983 )
...
This reverts commit 94b2a8cee0 .
Reverting due to release process aborting in the middle
PR Close #60983
2025-04-23 16:51:01 +02:00
Pawel Kozlowski
94b2a8cee0
release: cut the v19.2.8 release
2025-04-23 16:29:07 +02:00
arturovt
b55761829e
refactor(router): remove Compiler injectee from RouterPreloader ( #60945 )
...
This commit removes the `Compiler` injectee from the `RouterPreloader` constructor. It's unused but was still being referenced in the factory definition: `static ɵfac = ɵɵngDeclareFactory(...)`.
PR Close #60945
2025-04-23 15:18:23 +02:00
Matthieu Riegler
beba3c7c93
refactor(compiler-cli): Extract type predicates from type guards. ( #60934 )
...
Previously they were extracted as `boolean`.
PR Close #60934
2025-04-23 09:56:45 +02:00
Matthieu Riegler
7d2980982c
docs(docs-infra): Improve doc support for pipes. ( #60926 )
...
This commits adds the pipe usage and the impure pipe mention.
PR Close #60926
2025-04-23 08:46:12 +02:00
Doug Parker
b9c15af651
release: bump Angular DevTools version to 1.0.29 ( #60963 )
...
PR Close #60963
2025-04-23 08:44:18 +02:00
Jeevan Mahesha
3824519a27
docs: replace EventEmitter with output and self-closing tags in templates ( #60910 )
...
Replaced all instances of EventEmitter with the new output() utility.
Updated templates to use self-closing tags for cleaner markup.
PR Close #60910
2025-04-22 21:42:19 +02:00
Matthieu Riegler
adac95c7f9
refactor(core): mark makeEnvironmentProviders as public. ( #60956 )
...
`makeEnvironmentProviders` was already exported but didn't have the `@publicApi` tag.
PR Close #60956
2025-04-22 16:27:24 +02:00
Gabriel Bergoc
ea4a211216
fix(forms): make NgForm emit FormSubmittedEvent and FormResetEvent ( #60887 )
...
Currently, only forms created with `FormGroupDirective` emit events on
form submission and resetting. This commit extends this behavior to
Template-driven forms also.
Related to #58894
PR Close #60887
2025-04-22 13:04:41 +02:00
Matthieu Riegler
9d08525567
docs: format RouterUpgradeInitializer usage notes ( #60930 )
...
This commit also adds a standalone example
PR Close #60930
2025-04-22 12:01:00 +02:00
Matthieu Riegler
5f0e0abbb8
refactor(compiler-cli): Don't extract constructors with no parameters ( #60928 )
...
This will prevent usesless paramters in the docs, ex: https://angular.dev/api/core/ApplicationInitStatus#constructor
This improves #60302
PR Close #60928
2025-04-22 11:59:45 +02:00
Matthieu Riegler
455809858f
docs: Update creating libraries to the current recommendations ( #60931 )
...
PR Close #60931
2025-04-22 11:57:53 +02:00