27784 Commits

Author SHA1 Message Date
Alex Rickabaugh ace0a683f6 release: cut the v16.2.12 release 16.2.12 2023-11-02 14:41:54 -07:00
Alex Castle e092184a5c fix(common): apply fixed_srcset_width values only to fixed srcsets (#52486)
fix fixed_srcseet_width being incorrectly applied to responsive srcsets

PR Close #52486
2023-11-02 11:04:25 -07:00
Angular Robot 64e4835f56 build: update peter-evans/create-or-update-comment digest to 23ff157 (#52279)
See associated pull request for more information.

PR Close #52279
2023-11-02 10:43:21 -07:00
arturovt 03f4050636 fix(animations): remove finish listener once player is destroyed (#51136)
This commit removes the `finish` listener from the Animation object once
the animation is finished, effectively resolving a memory leak. Previously,
the `finish` listener captured `this`, which prevented `this` from being garbage collected.

PR Close #51136
2023-11-02 10:29:41 -07:00
Mayuresh Dharwadkar 07efb49bcf docs: Fix typos (#52442)
PR Close #52442
2023-10-31 13:44:08 -07:00
JoostK 873c4f2454 fix(compiler-cli): use originally used module specifier for transform functions (#52437)
Prior to this change, the transform function would be referenced with a potentially
relative import into an external declaration file. Such imports are not portable
and should not be created in this context. This commit addresses the issue by threading
though the originally used module specifier by means of the `Reference` type.

Fixes #52324

PR Close #52437
2023-10-31 13:42:52 -07:00
JoostK b3b4ae4c3a fix(compiler-cli): properly emit literal types in input coercion function arguments (#52437)
This commit fixes an issue where using literal types in the arguments of an input coercion
function could result in emitting invalid output, due to an assumption that TypeScript makes
when emitting literal types. Specifically, it takes the literal's text from its containing
source file, but this breaks when the literal type node has been transplanted into a
different source file. This issue has surfaced in the type-check code generator and is
already being addressed there, so this commit moves the relevant `TypeEmitter` class
from the `typecheck` module to the `translator` module, such that it can be reused for
emitting types in the type translator.

Fixes #51672

PR Close #52437
2023-10-31 13:42:51 -07:00
Joey Perrott a6dd8fa480 build: update lockfile (#52271)
Update lockfiles throughout

PR Close #52271
2023-10-31 12:45:52 -07:00
marktechson df0902d212 docs: update home page for live stream event (#52456)
PR Close #52456
2023-10-31 11:58:17 -07:00
Emma Twersky ba499d5019 docs: make banner persist until 11/8 (#52432)
PR Close #52432
2023-10-31 11:57:07 -07:00
Ivad a51bb6927d docs(docs-infra): fix typo in tap into the observable tutorial example (#52359)
PR Close #52359
2023-10-27 12:49:38 -07:00
Evan Kleiner 5ff99f2f9e docs: add warning for localhost proxy (#51948)
PR Close #51948
2023-10-27 12:32:20 -07:00
Susheel Thapa 38b4602f03 docs: fixed typos (#52297)
PR Close #52297
2023-10-25 16:39:06 -07:00
Dylan Hunn ee5b1cf076 release: cut the v16.2.11 release 16.2.11 2023-10-25 14:26:10 -07:00
Andrew Scott b79b4aca91 fix(router): RouterTestingHarness should throw if a component is expected but navigation fails (#52357)
The `RouterTestingHarness` should throw an error if the call to `navigateByUrl`
expects a component to be activated but the navigation failed.

fixes #52344

PR Close #52357
2023-10-25 11:04:24 -07:00
AleksanderBodurri 019a0f4c22 fix(core): load global utils before creating platform injector in the standalone case (#52365)
This is needed so that the providers configured on platform creation are picked up by the injector profiler.

PR Close #52365
2023-10-25 10:51:21 -07:00
AleksanderBodurri 78533324dc fix(core): get root and platform injector providers in special cases (#52365)
Previously, because the platform injector does not have a provider container, this API would fail. Now, we account for this case specifically by returning the found providers immediately, without trying to calculate their importpaths.

Also previously, in the case where a boostrapped standalone component did not import any feature modules, the environment injector connected to that bootstrapped component would be the root injector configured by `bootstrapApplication`. This injector is configured through a `providers` array instead of an `imports` array, and also does not have a provider container. Similarly to the platform case, we account this for this by returning the found providers immediately if there is no provider container for our standalone component.

PR Close #52365
2023-10-25 10:51:21 -07:00
AleksanderBodurri 54ea3b65c3 fix(core): emit provider configured event when a service is configured with providedIn (#52365)
Previously this case was missed by the default framework injector profiler. Now in ngDevMode this event emits correctly when a service is configured with `providedIn`. This includes the case where injection tokens are configured with a `providedIn`.

This commit also includes unit tests for this new case in the injector profiler.

PR Close #52365
2023-10-25 10:51:21 -07:00
Alvaro Junqueira 372dd0ab7d docs: the Component import is not being used (#52323)
PR Close #52323
2023-10-25 09:35:22 -07:00
Naaajii 3afee8716d docs(docs-infra): fix codeblock snippet for APP_INITIALIZER (#52354)
fixes broken code snippet for standalone application using APP_INITIALIZER

PR Close #52354
2023-10-25 09:34:47 -07:00
Matthieu Riegler 56c93d02b5 docs(core): fix the language code (#52352)
PR Close #52352
2023-10-25 09:32:18 -07:00
Angular Robot fd88d6a7aa docs: update Angular CLI help [16.2.x] (#52335)
Updated Angular CLI help contents.

PR Close #52335
2023-10-24 09:30:17 -07:00
cexbrayat 36873596be docs: remove test.ts file in aio (#52327)
Same as 7ba5dc87ed, but for aio
This file is not necessary since CLI v15+

PR Close #52327
2023-10-24 09:23:00 -07:00
Andrew Scott 1693846a9b test(core): fix test observing broken OnPush checkNoChanges (#52337)
The test is actually observing that OnPush results in a view not being checked
when checkNoChanges runs.

PR Close #52337
2023-10-24 09:21:52 -07:00
Emma Twersky 8239a8f19e docs: add event banner (#52334)
PR Close #52334
2023-10-23 13:40:00 -07:00
Angular Robot fbf49b5e9c build: update all non-major dependencies (#52259)
See associated pull request for more information.

PR Close #52259
2023-10-19 09:25:42 -07:00
Pawel Kozlowski bf70bf6d4f release: cut the v16.2.10 release 16.2.10 2023-10-18 18:46:27 +02:00
vivekkoya b4c4b42222 docs: Update BAZEL.md with correct bazelrc documentation link (#52090)
PR Close #52090
2023-10-18 18:15:02 +02:00
Quentin 2643d0a45d docs: fix typo (#52258)
Fix typo in aio/content/errors/NG05104.md file

PR Close #52258
2023-10-18 18:13:43 +02:00
Angular Robot 55e41d876d build: update scorecard action dependencies (#52126)
See associated pull request for more information.

PR Close #52126
2023-10-18 17:45:29 +02:00
Angular Robot 1a09d3e44b build: update io_bazel_rules_sass digest to 425ecaf (#52173)
See associated pull request for more information.

PR Close #52173
2023-10-18 17:37:08 +02:00
Pawel Kozlowski 2820425e38 build: update babel dependencies to v7.23.2 (#52255)
16.2.x version of #52236

PR Close #52255
2023-10-18 15:56:47 +02:00
Quentin 06ce49aeeb docs: fix typo (#52247)
Fix word: corresponding

PR Close #52247
2023-10-18 11:29:38 +02:00
Quentin d6070afdc2 docs: fix typo (#52219)
Fix word: incompatibilities

PR Close #52219
2023-10-16 18:30:45 +02:00
Andrew Miller 37e7f2d933 docs(language-service): add neovim setup to angular language service docs (#52212)
PR Close #52212
2023-10-16 18:19:11 +02:00
Osama Heykal 81018d7562 docs: add missing next steps section (#52220)
Added missing 'next steps' section in the tutorial.

PR Close #52220
2023-10-16 16:27:14 +02:00
thomas 6997c525b5 docs: add thomas laforge to GDE resources and add angularchallenges to resources (#52075)
PR Close #52075
2023-10-16 11:12:59 +02:00
Paul Gschwendtner d75eaa7375 refactor(core): remove unused helper for setting LView for reactive consumer (#52192)
This code path is never hit because the assignment of the lview happens
in `commitLViewConsumerIfHasProducers`.

PR Close #52192
2023-10-13 14:08:34 +02:00
Miroslav Foltýn 630e906747 docs(router): add clarification for behavior of paramsInheritanceStrategy: 'emptyOnly' (#52170)
Follows up to the https://github.com/angular/angular/issues/52108 which was opened due to the confusion surrounding paramsInheritanceStrategy: 'emptyOnly'.

PR Close #52170
2023-10-13 11:14:22 +02:00
Nicolas Frizzarin 25788b2919 docs: add Nicolas Frizzarin to GDE resources (#52003)
This PR add Nicolas Frizzarin to the GDE resources

docs: fix typo on description

PR Close #52003
2023-10-12 17:44:47 +02:00
Pawel Kozlowski f52eee8eb2 Revert "refactor(compiler-cli): remove MethodIdentifier type (#49611)" (#52174)
This reverts commit c2b1a242e8.

PR Close #52174
2023-10-12 12:35:49 +02:00
Matthieu Riegler 5f2a33ac58 refactor(compiler-cli): remove MethodIdentifier type (#49611)
`MethodIdentifier` is unused as is `IdentifierKind.Method`. They both can be removed.

PR Close #49611
2023-10-11 12:34:50 -07:00
Angular Robot 753792856d docs: update Angular CLI help [16.2.x] (#52169)
Updated Angular CLI help contents.

PR Close #52169
2023-10-11 12:33:29 -07:00
Angular Robot c8f87c8eff docs: update events (#52053)
Generated `events.json` with the latest events retrieved from the Firebase DB.

PR Close #52053
2023-10-11 12:18:05 -07:00
Andrew Scott fb10abcf3e release: cut the v16.2.9 release 16.2.9 2023-10-11 09:56:14 -07:00
Angular Robot a3136e00f5 build: update io_bazel_rules_sass digest to 9a327e5 (#52119)
See associated pull request for more information.

PR Close #52119
2023-10-11 09:23:07 -07:00
Linus Wieland fcdae578fe docs(animations): fix typo in state name of keyframes example (#52155)
PR Close #52155
2023-10-11 09:15:04 -07:00
Matthieu Riegler 51a5baace3 fix(forms): reset() call with null values on nested group (#48830)
Non typed forms allow to pass null to nested groups when calling `formGroup.reset()`, this commit prevent an undefined access.

fixes #20509

PR Close #48830
2023-10-10 15:34:32 -07:00
Andrew Scott 7d8b3f4968 build: update payload sizes to fix pre-existing failures (#52149)
The payload sizes are failing on CI. This commit updates them to the current values.

PR Close #52149
2023-10-10 14:00:26 -07:00
mgechev 427705e6c4 docs: remove the developer survey 2023 banner (#52148)
PR Close #52148
2023-10-10 12:35:23 -07:00