Andrew Kushnir
4282488195
release: cut the v19.2.10 release
19.2.10
2025-05-07 09:22:38 -07:00
Vlad Boisa
c081e040f6
docs: fix non-working link ( #61131 )
...
Swap non-working @link to just usual `` link to work
Same like #61011
PR Close #61131
2025-05-06 14:11:26 -07:00
Miles Malerba
974b2462a8
docs: update rendering to use generated repo link ( #61143 )
...
PR Close #61143
2025-05-06 14:09:46 -07:00
Miles Malerba
5765905b81
docs: update API generation to include repo name ( #61143 )
...
PR Close #61143
2025-05-06 14:09:46 -07:00
Kristiyan Kostadinov
4623b61448
fix(core): missing useExisting providers throwing for optional calls ( #61152 )
...
Fixes that the runtime was throwing a DI error when attempting to inject a missing `useExisting` provider, despite the call being optional.
The problem was that when the provider has `useExisting`, we do a second `inject` call under the hood which didn't include the inject flags from the original call.
Fixes #61121 .
PR Close #61152
2025-05-06 14:06:24 -07:00
Joey Perrott
e9e1c4328e
build: update tslint configuration ( #61146 )
...
Update the configuration for tslint
PR Close #61146
2025-05-06 13:35:26 -07:00
Joey Perrott
a9e31eb284
ci: migrate node target version for deploy script to node20 ( #61103 )
...
Migrate the generated script to target node20 which is already the environment we run the action in.
PR Close #61103
2025-05-06 13:34:22 -07:00
Joey Perrott
0f7e5de556
build: migrate documentation site deploy script to use ts_project ( #61103 )
...
Migrate to the new toolchain
PR Close #61103
2025-05-06 13:34:22 -07:00
Andrew Kushnir
93e2735d35
Revert "docs(docs-infra): fix first-app intro example ( #61042 )" ( #61145 )
...
This reverts commit ab91a355f8 .
Revert reason: the change causes CI to fail (the `lint` CI job).
PR Close #61145
2025-05-06 11:06:23 -07:00
Tom Adler
267bc0ee91
docs: fix whitespace after a link ( #61136 )
...
PR Close #61136
2025-05-06 10:25:50 -07:00
Angular Robot
453b1d9864
build: update github/codeql-action action to v3.28.17 ( #61134 )
...
See associated pull request for more information.
PR Close #61134
2025-05-06 09:09:57 -07:00
Jan Martin
a6f0d5bc20
fix(platform-server): less aggressive ngServerMode cleanup ( #61106 )
...
Other code may depend on `ngServerMode` and it might have been set
globally / via a bundler. Forcing it to `undefined` in those situations
can lead to hard debug issues where the only symptom is that "suddenly"
browser-specific code paths run on the server and (obviously) break.
PR Close #61106
2025-05-06 09:08:48 -07:00
Matthieu Riegler
11d9dc6fad
docs(docs-infra): fix first-app intro example ( #61042 )
...
fixes #60844
PR Close #61042
2025-05-06 09:07:27 -07:00
Angular Robot
8772236708
build: update rules_angular digest to 42d4791 ( #61126 )
...
See associated pull request for more information.
PR Close #61126
2025-05-05 15:36:38 -07:00
Angular Robot
ba5a3c04ab
build: update rules_angular digest to 3ba9d67 ( #61124 )
...
See associated pull request for more information.
PR Close #61124
2025-05-05 09:24:34 -07:00
Jessica Janiuk
cc48424a57
docs: add guide for using native CSS animations ( #61118 )
...
This adds a guide for how to switch from the
angular animations package over to native CSS
animations.
PR Close #61118
2025-05-05 08:45:41 -07:00
oliv37
6f4c209493
docs(docs-infra): update use production configuration ( #61112 )
...
PR Close #61112
2025-05-05 08:45:01 -07:00
Miles Malerba
6ce2672e65
docs: hide entries that are marked @docs-private ( #61105 )
...
PR Close #61105
2025-05-05 08:44:05 -07:00
Joey Perrott
238441a343
build: enable rules_js interop mode in ng-dev release ( #61088 )
...
This will result in the release tool automatically updating the Aspect
lock files when necessary.
PR Close #61088
2025-05-02 09:14:18 -07:00
Joey Perrott
45afac3bde
build: update renovate config for rules_js hybrid mode ( #61088 )
...
This will automatically result in Renovate updating the Aspect lock
files.
PR Close #61088
2025-05-02 09:14:18 -07:00
Joey Perrott
437023b022
build: set up ts_project interop for rules_js migration ( #61088 )
...
The `ts_project` interop rule that we've built was also used in the
Angular CLI migration, and it allows us to mix `ts_project` and
`ts_library` targets; enabling an incremental migration. Additionally
set up the `ng_project` to replace `ng_module`.
PR Close #61088
2025-05-02 09:14:17 -07:00
Joey Perrott
e117d0f4eb
build: setup rules_ts for compiling TypeScript sources ( #61088 )
...
This commit sets up `rules_ts`, providing the `ts_library` equivalent
for the `rules_js` migration.
PR Close #61088
2025-05-02 09:14:17 -07:00
Joey Perrott
a3300fa31b
build: setup rules_js and link dependencies ( #61088 )
...
Sets up `rules_js` and links dependencies into the bazel-bin.
PR Close #61088
2025-05-02 09:14:17 -07:00
Joey Perrott
efd6c1e054
build: update to bazel 6 ( #61088 )
...
This is necessary for an incremental migration to `rules_js` which
requires Bazel v6. Bazel v6 removed the managed directories feature,
which means we no longer can rely on symlinked node modules as the Bazel
repository; but rather need to duplicate dependencies. This is
okay/acceptable to enable the incremental migration.
PR Close #61088
2025-05-02 09:14:17 -07:00
Joey Perrott
79c68b4587
build: add .prettierignore configuration file ( #61088 )
...
Add a configuration file to prevent autogenerated files from being formatted.
PR Close #61088
2025-05-02 09:14:17 -07:00
Foysol Ahmed
968546976d
docs: ViewContainerRef.createComponent jsdoc update ( #61097 )
...
Co-authored-by: Jessica Janiuk <1596273+thePunderWoman@users.noreply.github.com >
PR Close #61097
2025-05-02 07:57:11 -07:00
KryptonBD
8c6e101a61
docs: ViewContainerRef.createComponent jsdoc update to reflect actual behavior ( #61097 )
...
Fixes #59918
PR Close #61097
2025-05-02 07:57:11 -07:00
Angular Robot
c522e9fd90
build: update angular/dev-infra digest to a4538b2 ( #61096 )
...
See associated pull request for more information.
PR Close #61096
2025-05-02 07:56:26 -07:00
Angular Robot
4d24254e59
docs: update Angular CDK apis [19.2.x] ( #61093 )
...
Updated Angular CDK api files.
PR Close #61093
2025-05-02 07:55:02 -07:00
Miles Malerba
a4512ae8ca
ci: add a script to copy cdk api files to adev ( #61081 )
...
Refactors the update-cli-help script into a generic script to copy json
assets, and uses the shared code to also copy the CDK apis
PR Close #61081
2025-05-01 15:00:42 -07:00
Matthieu Riegler
6c430d7881
fix(devtools): fix profiler support with @defer blocks ( #61080 )
...
Prior to this change, the devtools profile logged warnings "Unable to find parent node for ...".
PR Close #61080
2025-05-01 14:58:22 -07:00
arturovt
89056a0356
fix(common): cleanup updateLatestValue if view is destroyed before promise resolves ( #61064 )
...
Patch version of https://github.com/angular/angular/pull/58041 .
PR Close #61064
2025-05-01 14:57:04 -07:00
Andrew Miller
e11ded1b3c
docs: Add docs for CoC plugin with neovim ( #61005 )
...
When docs were moved from aio to adev, the directions for the CoC plugin
were mistakenly dropped.
This brings back the documentation from prior versions:
https://v17.angular.io/guide/language-service#neovim
PR Close #61005
2025-05-01 08:41:47 -07:00
arturovt
5b77f93267
refactor(common): drop platform checks in HttpXsrfCookieExtractor ( #59810 )
...
Replaces `PLATFORM_ID` checks with `ngServerMode` within the `HttpXsrfCookieExtractor`. It is not part of the public API, and thus this change should not affect consumers who may have called the constructor directly.
PR Close #59810
2025-05-01 08:41:11 -07:00
arturovt
c6148bd4f0
refactor(service-worker): drop error messages in production ( #59702 )
...
This commit provides tree-shakable error messages for the `service-worker` package.
PR Close #59702
2025-04-30 12:41:37 -07:00
arturovt
964b261a86
refactor(compiler): improve stringify ( #60013 )
...
This is the same change that was made in this commit (https://github.com/angular/angular/commit/cf3a5073ece9eb313bb4832b3f78aa1bfeca09c6 ). 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
19.2.9
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 https://github.com/angular/angular/commit/5f7f04634f57c0fb669e2b81c85a0dff972868d8
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