Commit Graph

33792 Commits

Author SHA1 Message Date
Andrew Kushnir 4b614fbb32 release: cut the v20.2.0-next.0 release 20.2.0-next.0 2025-07-09 12:31:53 -07:00
Andrew Kushnir 52c50d43d6 docs: release notes for the v20.1.0 release 2025-07-09 12:27:31 -07:00
Doug Parker 1b895e1805 release: bump DevTools version to 1.0.38 (#62552)
PR Close #62552
2025-07-09 11:37:07 -07:00
Angular Robot 6adaf01899 build: update dependency aspect_rules_ts to v3.6.3 (#62512)
See associated pull request for more information.

PR Close #62512
2025-07-08 16:01:05 -07:00
Joey Perrott 3b0b0d19f1 build: migrate usages of protractor_web_test_suite to use new rules_browser based rule (#62525)
Use the protractor_web_test_suite from rules_browser instead of @bazel/protractor

PR Close #62525
2025-07-08 15:59:12 -07:00
Jessica Janiuk 365ca13b22 test: rename legacy animations integration tests (#62527)
This just prefixes the integration tests associated with the animation packages.

PR Close #62527
2025-07-08 13:28:37 -07:00
Matthieu Riegler 69531668bf refactor(devtools): remove unused imports (#62530)
Import had no purpose and was also invalid.

PR Close #62530
2025-07-08 12:12:22 -07:00
sEver d6765d9958 fix(docs-infra): fix tutorial formatting issues (for v20) (#62457)
Fixes including, but not limited to:
- `visibleLines` values
- all codeblocks normalized to 2 spaces indentation
- lesson 14-http sEverely de-indented
- descriptions and explanations were rewritten to reflect the changes from @Input to input and from ngFor to @for
- missing step added in lesson 11-details-page
- rewritten confusing instructions for adding code that was already added in previous steps

PR Close #62457
2025-07-08 11:30:15 -07:00
Matthieu Riegler 4f25a8a756 fix(devtools): do not emit a route object with functions (#62254)
In the case where a Route has title defined as a function, it eventually throw when it reaches `window.postMessage`

fixes #60595

PR Close #62254
2025-07-08 11:28:27 -07:00
Matthieu Riegler a1f8cc4f3a docs(docs-infra): generate llms-full.txt at build time (#61864)
PR Close #61864
2025-07-08 11:27:54 -07:00
Paul Gschwendtner acdd5d998a refactor(compiler): fix import manager to be closure property renaming-compatible (#62517)
The `generateUniqueIdentifier` helper relies on the internal `identifiers` property of a `ts.SourceFile`.
As this is not a public-facing API, it is not included in the externs provided to Closure Compiler.
Consequently, it is susceptible to being renamed during advanced optimizations, which would lead to runtime failures.

To prevent this, the property is now accessed via a string literal (`sf['identifiers']`). This change ensures that
the property name is preserved through the compilation process. An explanatory comment has been added to clarify the
necessity of this approach for future reference.

PR Close #62517
2025-07-08 11:31:07 +00:00
Joey Perrott 22b8e222bd build: migrate modules to use dependencies from //modules:package.json (#62506)
Migrate to use local package.json deps

PR Close #62506
2025-07-07 20:43:28 +00:00
Angular Robot ce8156a451 build: update cross-repo angular dependencies (#62507)
See associated pull request for more information.

PR Close #62507
2025-07-07 19:55:18 +00:00
Joey Perrott 40e52b911f build: disable firefox tests in devtools (#62504)
Disabling firefox tests in devtools until we can get them working on OS X as expected

PR Close #62504
2025-07-07 18:29:19 +00:00
Angular Robot 136c0511de build: lock file maintenance (#62494)
See associated pull request for more information.

PR Close #62494
2025-07-07 18:17:08 +00:00
Joey Perrott 415833f2ce build: migrate angular-optimization from devinfra to devtools (#62503)
Migrate angular-optimization to devtools instead of loading via npm package

PR Close #62503
2025-07-07 17:05:51 +00:00
Dzhavat Ushev 65b9adf516 docs: update comment (#62482)
PR Close #62482
2025-07-07 16:52:15 +00:00
Paul Gschwendtner 633d01b571 refactor(compiler): ensure compiler passes closure conformance checks (#62500)
This commit adjusts some code of the compiler that currently results in
conformance checks failures with JSCompiler/Closure.

PR Close #62500
2025-07-07 16:14:16 +00:00
Angular Robot 3887dc8ea4 build: update all non-major dependencies (#62476)
See associated pull request for more information.

PR Close #62476
2025-07-07 16:10:20 +00:00
Angular Robot c6a720b982 build: update dependency aspect_rules_ts to v3.6.2 (#62475)
See associated pull request for more information.

PR Close #62475
2025-07-07 15:35:26 +00:00
Kristiyan Kostadinov 238e2ad4f5 fix(compiler-cli): use proper name for diagnostic type (#62479)
Currently when a diagnostic happens in a template, we always say "Error occurs in ...", however we have other types of diagnostics as well.

PR Close #62479
2025-07-07 15:29:38 +00:00
hawkgs 85e387a090 refactor(devtools): unify table styles (#62466)
Make tabular data styles consistent across the app, whether that's a native or Material table.

PR Close #62466
2025-07-07 15:24:24 +00:00
Joey Perrott a89a2cee06 build: update to latest @angular/build-tooling (#62380)
Update to the latest @angular/build-tooling package, which drop dependency on @angular/benchpress

PR Close #62380
2025-07-07 15:23:47 +00:00
Paul Gschwendtner bd6d043767 refactor(compiler-cli): ensure mock file system can be loaded in the browser (#62493)
The mock file system currently relies on some NodeJS logic. This blocks
the convenient use of the mock file system in the browser. The file
system is useful for creating tests to verify e.g. that our transforms
can work in the browser.

PR Close #62493
2025-07-07 12:59:25 +02:00
Paul Gschwendtner c575286812 refactor: fix closure compatibility errors in compiler (#62493)
The static fields may be part of advanced compilations where the
receiver would change as part of the static field collapsing
optimization.

The optimization requires us to use the explicit class name, over
`this` that would change to e.g. `globalThis`.

PR Close #62493
2025-07-07 12:59:25 +02:00
Michael DeRazon f85c72739e docs: fix typo on guidelines file (#62468)
Correct a minor spelling mistake in the documentation to improve clarity.

PR Close #62468
2025-07-04 11:01:06 +00:00
Matthieu Riegler 9ba59033b9 refactor(devtools): remove the standalone demo (#62455)
The default demo is already standalone

PR Close #62455
2025-07-04 08:48:23 +00:00
SkyZeroZx 720717eaed docs: Update documentation http with integrity & referrer (#62462)
PR Close #62462
2025-07-04 07:22:16 +00:00
Angular Robot 17ba5cd857 build: update dependency mermaid to v11.8.0 (#62463)
See associated pull request for more information.

PR Close #62463
2025-07-04 07:20:52 +00:00
Doug Parker 9ed9375803 refactor(devtools): remove version_name from manifest.json (#62351)
This field defaults to `version`, so there's no need to have it when it's exactly the same. This is one less number to bump during release PRs.

PR Close #62351
2025-07-03 14:46:45 +00:00
Matthieu Riegler 5c54cb87a5 docs: improve support for decorator APIs (#60411)
The commit introduce the distinction between

- class like decorators (like Component, Interface, NgModule. They are formatted like classes/interfaces, with each attribute being documents.
- function like decorators (Attribute, Host, Optional...)

PR Close #60411
2025-07-03 11:51:34 +00:00
Paul Gschwendtner 902121ebc0 refactor(migrations): ensure tsurge can properly emit references in g3 (#62447)
Currently when Tsurge runs in g3, it creates a bare bones Angular
compiler plugin. The tsconfigs from compilation units may set options
like "useHostForImportGeneration", but the Ngtsc logic doesn't enable
because the `fileNameToModuleName` method is not defined on the host.

This can break reference emission for Tsurge analyzers/programs and
result in subtle differences to real `ng_module` compilations. This
commit fixes this by making the method available in 1P Tsurge.

Notably, reference emission can occur during analysis— so even if
migrations aren't "emitting TS -> JS" output.

PR Close #62447
2025-07-03 09:36:16 +00:00
Matthieu Riegler 50612e68a2 docs(docs-infra): Load of the typing files from Angular. (#62424)
Following some infra changes, DTS files are now splitted over several files, which aren't referenced in the `package.json` but are directly imported in the root dts.

We chose to not use ATA here because it only pulls the latest version from a CDN whereas we prefer to use the local definitions we have in the `node_modules` of the tutorial.

fixes #62374

PR Close #62424
2025-07-03 09:35:35 +00:00
hawkgs 70e4c3f6a6 refactor(devtools): make tree visualizations accessible (#62396)
Improve the accessibility of the SVG tree visualizations by employing `<title>` and `aria-labelledby`.

PR Close #62396
2025-07-03 09:35:03 +00:00
hawkgs 7eb4a07519 refactor(devtools): remove leftover code from router-tree template (#62396)
Remove some SVG visualization leftover code from the template.

PR Close #62396
2025-07-03 09:35:02 +00:00
Jessica Janiuk aad1e747d6 ci: update pullapprove reviewers (#62448)
This sets some people to be reviewers, but not actively requested to account for availability.

PR Close #62448
2025-07-03 09:15:19 +00:00
Matthieu Riegler 08e6e7bf37 docs: display deprecation message for top most symbol (#62427)
For classes, types, functions, enums etc.

fixes #62365

PR Close #62427
2025-07-03 08:35:01 +00:00
Joey Perrott 50a69dee6c build: only require workspace build packages for web tests when provided (#62443)
Only use the builds from the workspace as for the bootstrap scripts for web testing

PR Close #62443
2025-07-03 08:34:25 +00:00
Shuaib Hasan Akib 99069c2252 refactor(docs-infra): removed unused imports (#62441)
Cleans up instances of unused imports in a few shared docs components.

PR Close #62441
2025-07-03 08:11:45 +00:00
Shuaib Hasan Akib 9fc1383115 refactor(docs-infra): cleanup lines in scss (#62438)
Cleans up some of the scss code.

PR Close #62438
2025-07-03 08:11:09 +00:00
Joey Perrott 73434e366f build: migrate all dependencies for adev into adev/package.json (#62435)
Migrate the dependencies into the adev/package.json instead of importing from the the root package.json

PR Close #62435
2025-07-03 08:09:34 +00:00
Joey Perrott 2050ffa691 build: migrate remaing esbuild and nodejs_binary usages to new toolchain (#62435)
Migrate the remaing usages of esbuild and nodejs_binary in adev to the new toolchain versions.

PR Close #62435
2025-07-03 08:09:33 +00:00
Joey Perrott a024c4af77 build: migrate adev to use rules_angular based cli rules (#62435)
Use the @angular/cli rules from rules_angular instead of the npm package directly

PR Close #62435
2025-07-03 08:09:33 +00:00
SkyZeroZx 44a203916a refactor(platform-browser): use RuntimeError for hydration feature conflicts (#62414)
Replace generic Error with RuntimeError

PR Close #62414
2025-07-03 08:08:07 +00:00
SkyZeroZx 1cf9d9064c feat(http): Add support for fetch referrer & integrity options in HttpClient (#62417)
Enhances Angular HttpClient requests with Fetch API referrer and integrity options to optimize security

PR Close #62417
2025-07-03 08:07:36 +00:00
Angular Robot e39bf3cf98 build: update cross-repo angular dependencies to v20.1.0-rc.0 (#62433)
See associated pull request for more information.

PR Close #62433
2025-07-03 07:47:09 +00:00
Paul Gschwendtner b49f2db814 refactor(compiler-cli): do not rely on url when loading file system logic (#62431)
When executing the compiler-cli in the browser, or some parts of it—
modules like `url` are stubbed out with `{}`. This commit accounts for
this.

PR Close #62431
2025-07-02 17:05:28 +00:00
Paul Gschwendtner 0eff1f0353 refactor(compiler-cli): avoid eager typescript top-level usages (#62431)
For some internal refactorings, we want to avoid any direct top-level
`typescript` runtime usages. Usages that interact with `ts` after
synchronous module loading are fine.

More context in:
https://docs.google.com/document/d/1_h8AQRbM3LJrwIlUfGzGzxuwqFu0QI2-5eUTFI6gWws/edit?tab=t.0#heading=h.nunsebe2s3h0.

PR Close #62431
2025-07-02 17:05:28 +00:00
jstnjs 567597a476 docs: fix formatting (#62400)
PR Close #62400
2025-07-02 16:56:24 +00:00
jstnjs f0bcce71ff docs: fix dynamic form reactivity (#62400)
PR Close #62400
2025-07-02 16:56:24 +00:00