Commit Graph
26975 Commits
Author SHA1 Message Date
Andrew Kushnirandalan-agius4 d686d15c4e refactor(platform-server): import xhr2 dynamically in the ServerXhr class (#50095)
This commit updates the `@angular/common/http` and `@angular/platform-server` packages to allow dynamic import of the `xhr2` dependency. The `xhr2` dependency has side-effects that rely on a global scope and as a result in some environments those side-effectful calls fail. With the changes from this PR, the import is delayed until it's actually needed, which gives a chance for the underlying platform to setup global scope (via shims) as needed.

Co-authored-by: alan-agius4 <[email protected]>

PR Close #50095
2023-05-08 14:32:43 -07:00
Matthieu Riegler a9c6015557 refactor(core): remove webworker related checks on assertDomNode (#50061)
Since the drop of the webworker platform the node can't be a `WebWorkerRenderNode`.

PR Close #50061
2023-05-08 14:30:40 -07:00
Alex Rickabaugh da7ff37dc9 Revert "docs(docs-infra): Remove unused annotation template (#50114)" (#50206)
This reverts commit a1ca162fd6.

This commit causes failures in g3, because `@Annotation` is load-bearing for
tsickle's decorator downleveling transformation.

PR Close #50206
2023-05-08 09:45:36 -07:00
Matthieu Riegler 2f03eefd5c refactor(platform-browser): Throw tree-shakable errors. (#49341)
In a effort to have more tree-shakable errors, this commit transforms every `Error` into a tree-shakable `RuntimeError`

PR Close #49341
2023-05-04 12:21:20 +02:00
Matthieu Riegler f28580a42b build: remove the webworker platform. (#50059)
The webworker platform was droped in v11.

PR Close #50059
2023-05-04 09:06:55 +02:00
Matthieu Riegler 0d8d62fa92 docs(docs-infra): remove remainings of the webworker platform. (#50059)
The webworker platform was droped in v11.

PR Close #50059
2023-05-04 09:06:55 +02:00
Matthieu Riegler 9f332b5c87 docs: remove mentions of the WebWorker platform (#50059)
The webworker platform was dropped in v11.

PR Close #50059
2023-05-04 09:06:55 +02:00
Walid Bouguima 68e6704d25 docs: fix takeUntilDestroyed description's typo (#50134)
PR Close #50134
2023-05-04 09:03:34 +02:00
Matthieu Riegler 834fe5c45f refactor(animations): remove circular deps (#50049)
`AnimationDriver` was not used in shared.ts.

PR Close #50049
2023-05-04 08:58:25 +02:00
Kristiyan Kostadinov 97d56f85a3 refactor(compiler): reflect arrow function definition (#50084)
Adds some logic to reflect an arrow function to `ReflectionHost.getDefinitionOfFunction`. This will be useful for some upcoming work.

PR Close #50084
2023-05-04 08:56:24 +02:00
Andrew Kushnir 431b922bd8 refactor(core): minor updates to TestBed error messages (#50072)
This commit updates TestBed error messages to avoid using `R3TestBed` reference and just use `TestBed` instead.

PR Close #50072
2023-05-04 08:53:05 +02:00
Angular Robot a822b8021c build: update dependency puppeteer-core to v20 (#50112)
See associated pull request for more information.

PR Close #50112
2023-05-04 08:50:35 +02:00
Angular Robot e0a2cfc46b build: update eslint dependencies to v5.59.2 (#50101)
See associated pull request for more information.

PR Close #50101
2023-05-04 08:46:37 +02:00
Sumit Parakh e45e78a9f6 docs: improve cli docs (#50119)
Closes #50078

PR Close #50119
2023-05-04 08:42:29 +02:00
Jens Kuehlers eb7af6115e docs: add jens to contributors (#50122)
PR Close #50122
2023-05-04 08:40:35 +02:00
mgechev 9f696b8bb2 docs: fix roadmap structure and remove redundant title (#50137)
PR Close #50137
2023-05-04 08:38:32 +02:00
Alex Rickabaugh f3bb68034e docs: add the v16 blog post link to the changelog (#50132)
This commit adds the short link 'http://goo.gle/angular-v15' to the project
changelog.

PR Close #50132
2023-05-03 13:05:29 -07:00
Alex Rickabaugh 51fff0b964 build: update aio to 16.0.0 (#50131)
This commit updates the Angular version for AIO and its examples to 16.0.0.

PR Close #50131
2023-05-03 12:56:41 -07:00
mgechev a326609957 docs: update the roadmap to reflect v16 progress (#50016)
PR Close #50016
2023-05-03 12:54:26 -07:00
Alex Rickabaugh 03c9bf2353 release: cut the v16.0.0 release 16.0.0 2023-05-03 09:46:13 -07:00
Matthieu Riegler b381ad7d8a docs(docs-infra): Remove unused annotation template (#50114)
This page is unused since v7.

PR Close #50114
2023-05-03 10:39:50 +02:00
Angular Robot 0fba3ad16a build: update dependency jsdom to v22 (#50103)
See associated pull request for more information.

PR Close #50103
2023-05-03 10:39:11 +02:00
Angular Robot 2832f0b0b8 build: update all non-major dependencies (#50100)
See associated pull request for more information.

PR Close #50100
2023-05-03 10:37:57 +02:00
Angular Robot 796273d0d0 build: update cross-repo angular dependencies (#50105)
See associated pull request for more information.

PR Close #50105
2023-05-02 18:26:46 +02:00
Paul Gschwendtner 37443d8680 test: update payload golden for AIO to reflect reduction in size (#50107)
The `main` bundle fell below the threshold. No actual investigation
was done here because it's a reduction in size, and the AIO size
matches the `AIO-local` size now. This is expected because the latest
RC closely matches the `main` branch (or even is equivalent at this
point).

PR Close #50107
2023-05-02 16:10:50 +02:00
Angular Robot 1f1485120c build: update cross-repo angular dependencies (#50107)
See associated pull request for more information.

PR Close #50107
2023-05-02 16:10:50 +02:00
Matthieu Riegler 8080bf0076 docs: Make links out of @see tags (#50098)
This commit is part of the work for #50097 to improve the linking on the online documentation.

PR Close #50098
2023-05-02 13:14:27 +02:00
Angular Robot c9d4a6965c build: update github/codeql-action action to v2.3.2 (#50102)
See associated pull request for more information.

PR Close #50102
2023-05-02 12:29:04 +02:00
Matthieu Riegler 2f5ac11c69 docs: fix non-relative links. (#50080)
Relative links have 2 advantages :
* They're not marked as external links
* When on a specific doc version, the link point to the same version.

PR Close #50080
2023-05-02 12:27:24 +02:00
Angular Robot bee7c1514b build: update cross-repo angular dependencies (#50069)
See associated pull request for more information.

PR Close #50069
2023-05-02 12:17:34 +02:00