Kristiyan Kostadinov
ef0ff78de2
refactor(compiler): expose member decorator identifiers ( #63904 )
...
Adds the member decorators to the map of exposed compiler symbols.
PR Close #63904
2025-09-18 21:30:15 +00:00
Kristiyan Kostadinov
ffe94b3a89
refactor(compiler-cli): track member metadata using output AST ( #63904 )
...
Reworks the logic that tracks the decorator metadata for members to do so using the output AST, rather than wrapping the TypeScript AST. This makes it easier to programmatically generate new members that weren't part of the TypeScript AST before.
PR Close #63904
2025-09-18 21:30:15 +00:00
aparziale
307e4eafef
refactor(migrations): remove common module if there are no references ( #63892 )
...
ngclass-to-class migration removes commonModule if there are no references that use it
PR Close #63892
2025-09-18 20:18:43 +00:00
Matthieu Riegler
f6548adf8f
docs: re-add ai event banner on homepage ( #63922 )
...
PR Close #63922
2025-09-18 20:15:31 +00:00
SkyZeroZx
e426302cca
refactor(core): Remove duplicate code getSelectedTNode ( #63897 )
...
clean up duplicate functions
PR Close #63897
2025-09-18 16:04:25 +00:00
Angular Robot
2951e85e99
build: update cross-repo angular dependencies ( #63917 )
...
See associated pull request for more information.
PR Close #63917
2025-09-18 16:02:17 +00:00
Kristiyan Kostadinov
e1ae765672
docs: add regular expressions to table of supported literals ( #63887 )
...
Updates the docs to mention that regular expressions are supported.
PR Close #63887
2025-09-18 15:08:56 +00:00
Kristiyan Kostadinov
bb381b707e
refactor(compiler): integrate regular expression literals into pipeline ( #63887 )
...
Adds support for regular expression literals in the template pipeline and adds some logic to optimize non-global ones.
PR Close #63887
2025-09-18 15:08:56 +00:00
Kristiyan Kostadinov
f57b104ccd
refactor(compiler-cli): support regular expression literals in AOT compiler ( #63887 )
...
Handles regular expression literals across the template type checker and the various translators.
PR Close #63887
2025-09-18 15:08:56 +00:00
Kristiyan Kostadinov
2971a001c6
refactor(compiler): add output AST node for regular expressions ( #63887 )
...
Adds the `RegularExpressionLiteral` node to the output AST.
PR Close #63887
2025-09-18 15:08:56 +00:00
Kristiyan Kostadinov
539717f58a
feat(core): support regular expressions in templates ( #63887 )
...
Updates the template syntax to support inline regular expressions.
PR Close #63887
2025-09-18 15:08:56 +00:00
Kristiyan Kostadinov
c1559ece52
refactor(compiler): tokenize regular expression literals ( #63887 )
...
Updates the expression lexer to produce tokens for regular expression literals.
PR Close #63887
2025-09-18 15:08:56 +00:00
Damian Sire
2da0fef2a5
docs: apply grammar fixes to ai/overview.md ( #63896 )
...
PR Close #63896
2025-09-18 15:08:19 +00:00
Angular Robot
5cb1bbb96e
build: update rules_sass digest to 4a54e0e ( #63898 )
...
See associated pull request for more information.
PR Close #63898
2025-09-18 14:59:07 +00:00
AleksanderBodurri
4fa3b2673e
feat(devtools): display provider count on injector tree nodes ( #63632 )
...
Allows the tree visualizer to display a sublabel for each node.
Used by the injector tree to display provider count for each injector.
PR Close #63632
2025-09-18 14:56:47 +00:00
Alan Agius
950ffd001e
build: remove yarn from integration tests, switch to pnpm ( #63902 )
...
This commit removes Yarn as a package manager for integration tests and migrates to pnpm. This change aims to standardize package management across the project, leveraging pnpm's efficiency and consistent behavior for dependency resolution and installation.
PR Close #63902
2025-09-18 14:39:51 +00:00
Angular Robot
5c74339dfc
build: update cross-repo angular dependencies ( #63902 )
...
See associated pull request for more information.
Closes #63890 as a pr takeover
PR Close #63902
2025-09-18 14:39:51 +00:00
Andrew Scott
8ad26edb72
refactor(platform-browser): Remove zone provideres from BrowserTestingModule ( #63872 )
...
This removes the Zone providers from the `BrowserTestingModule`. These
already exist by default in all other entrypoints to Angular
environments (TestBed compiler, bootstrapModule, and createApplication).
PR Close #63872
2025-09-17 21:17:59 +00:00
Devin Chasanoff
52b614ce55
docs: add web codegen scorer to docs ( #63886 )
...
PR Close #63886
2025-09-17 21:15:41 +00:00
Jessica Janiuk
b018c9a481
release: cut the v21.0.0-next.4 release
21.0.0-next.4
2025-09-17 14:13:22 -07:00
Jessica Janiuk
95207b6b52
docs: release notes for the v20.3.1 release
2025-09-17 13:56:39 -07:00
Andrew Kushnir
a53ef1d69a
Revert "refactor(compiler): tokenize regular expression literals ( #63857 )" ( #63883 )
...
This reverts commit 8a69c0629b .
PR Close #63883
2025-09-17 19:36:17 +00:00
Andrew Kushnir
ae55578b92
Revert "feat(core): support regular expressions in templates ( #63857 )" ( #63883 )
...
This reverts commit 328a2bf719 .
PR Close #63883
2025-09-17 19:36:17 +00:00
Andrew Kushnir
c7e0c8b06a
Revert "refactor(compiler): add output AST node for regular expressions ( #63857 )" ( #63883 )
...
This reverts commit a1288f8d66 .
PR Close #63883
2025-09-17 19:36:17 +00:00
Andrew Kushnir
f53c6543db
Revert "refactor(compiler-cli): support regular expression literals in AOT compiler ( #63857 )" ( #63883 )
...
This reverts commit f2ef838c06 .
PR Close #63883
2025-09-17 19:36:17 +00:00
Andrew Kushnir
0a81784de2
Revert "refactor(compiler): integrate regular expression literals into pipeline ( #63857 )" ( #63883 )
...
This reverts commit dd77233cdf .
PR Close #63883
2025-09-17 19:36:17 +00:00
Andrew Kushnir
f0883e5eb9
Revert "docs: add regular expressions to table of supported literals ( #63857 )" ( #63883 )
...
This reverts commit 32c98e08a1 .
PR Close #63883
2025-09-17 19:36:17 +00:00
Jan Martin
7d3919ed11
release: bump Angular DevTools version to 1.2.1 ( #63879 )
...
PR Close #63879
2025-09-17 10:57:05 -07:00
arturovt
dee6ef89c7
refactor(core): tree-shake HOST_TAG_NAME in prod ( #63861 )
...
Previously, HOST_TAG_NAME had its __NG_ELEMENT_ID__ set at the top level. This
prevented tree-shaking, since the bundler had to keep the assignment as a
potential side effect even when the token was never used.
This change moves the token creation and __NG_ELEMENT_ID__ assignment into a
@__PURE__ IIFE. If HOST_TAG_NAME is not injected anywhere, the IIFE result is
unused and can be dropped entirely by the optimizer. If it is used, the token
still behaves the same at runtime.
PR Close #63861
2025-09-17 17:40:35 +00:00
Jessica Janiuk
36b542d365
Revert "build: update dependency @types/node to v24.5.1 ( #63853 )" ( #63878 )
...
This reverts commit f354f0a3af .
PR Close #63878
2025-09-17 17:36:59 +00:00
Kristiyan Kostadinov
32c98e08a1
docs: add regular expressions to table of supported literals ( #63857 )
...
Updates the docs to mention that regular expressions are supported.
PR Close #63857
2025-09-17 16:06:51 +00:00
Kristiyan Kostadinov
dd77233cdf
refactor(compiler): integrate regular expression literals into pipeline ( #63857 )
...
Adds support for regular expression literals in the template pipeline and adds some logic to optimize non-global ones.
PR Close #63857
2025-09-17 16:06:51 +00:00
Kristiyan Kostadinov
f2ef838c06
refactor(compiler-cli): support regular expression literals in AOT compiler ( #63857 )
...
Handles regular expression literals across the template type checker and the various translators.
PR Close #63857
2025-09-17 16:06:51 +00:00
Kristiyan Kostadinov
a1288f8d66
refactor(compiler): add output AST node for regular expressions ( #63857 )
...
Adds the `RegularExpressionLiteral` node to the output AST.
PR Close #63857
2025-09-17 16:06:51 +00:00
Kristiyan Kostadinov
328a2bf719
feat(core): support regular expressions in templates ( #63857 )
...
Updates the template syntax to support inline regular expressions.
PR Close #63857
2025-09-17 16:06:51 +00:00
Kristiyan Kostadinov
8a69c0629b
refactor(compiler): tokenize regular expression literals ( #63857 )
...
Updates the expression lexer to produce tokens for regular expression literals.
PR Close #63857
2025-09-17 16:06:50 +00:00
JoostK
89cf62f907
fix(compiler-cli): only bind inputs that are part of microsyntax to a structural directive ( #52453 )
...
Prior to this change the template type-check generator would incorrectly apply inputs
and attributes to a structural directive, where only the bindings as present in microsyntax
are actually bound to the directive. This introduced a problem where usages of template
variables could not be resolved, because the template variables are out-of-scope of the
template element itself.
Closes #49931
PR Close #52453
2025-09-17 16:05:04 +00:00
Alan Agius
420af0bcc0
build: update pnpm to v10.17.0 ( #63870 )
...
pnpm v10.17.0 adds support for wildcards in 'minimumReleaseAgeExclude'. This simplifies the configuration by allowing the use of '@angular-devkit/*' and '@angular/*' instead of listing each package individually.
PR Close #63870
2025-09-17 16:04:18 +00:00
Matthieu Riegler
af33647145
refactor(core): remove usages of Promise.withResolvers ( #63856 )
...
Promise.withResolvers is Baseline 2024. Our policy is to support browsers in the scope of Basline widely available.
Fixes #63855
PR Close #63856
2025-09-17 15:21:51 +00:00
Matthieu Riegler
e52338466f
refactor(common): trim undefined from locale data. ( #63520 )
...
This is an optimization to shave of unecessary data.
fixes #42315
PR Close #63520
2025-09-17 14:57:16 +00:00
hawkgs
b4960da4f1
docs(docs-infra): store search result fragment in search history ( #63866 )
...
Store the search result page fragment/sub-label in the search history and render it in the history items.
PR Close #63866
2025-09-17 14:56:31 +00:00
hawkgs
39cbb97dfc
docs(docs-infra): always include fragment in search results ( #63866 )
...
Always include page fragment/sub-title in the search dialog results.
PR Close #63866
2025-09-17 14:56:31 +00:00
Walter Breakell
5f41f141ee
docs: fix pluralization error in templates guide ( #63854 )
...
PR Close #63854
2025-09-17 14:52:32 +00:00
Angular Robot
f354f0a3af
build: update dependency @types/node to v24.5.1 ( #63853 )
...
See associated pull request for more information.
PR Close #63853
2025-09-17 14:51:59 +00:00
Angular Robot
5fa2c05f60
build: update cross-repo angular dependencies ( #63864 )
...
See associated pull request for more information.
PR Close #63864
2025-09-17 14:32:27 +00:00
Matthieu Riegler
400536fd12
docs: fix homepage typos ( #63868 )
...
fixes #63867
PR Close #63868
2025-09-17 14:31:54 +00:00
Paul Gschwendtner
4b2cc12bc4
ci: remove myself from unavailability ( #63863 )
...
Removes myself from unavailability.
PR Close #63863
2025-09-17 14:27:42 +00:00
Alan Agius
944768a601
build: enable minimumReleaseAge to mitigate dependency chain attacks ( #63862 )
...
This change configures pnpm's `minimumReleaseAge` setting to 1 day (1440 minutes). This is a security measure to mitigate dependency chain attacks, where malicious actors publish a new version of a dependency with malicious code and then trick users into updating to it before it can be discovered and reported.
By delaying the adoption of new releases, we reduce the window of opportunity for such attacks. The list of excluded packages contains trusted and frequently updated dependencies from the Angular team, which are considered safe to use without this delay.
PR Close #63862
2025-09-17 14:27:10 +00:00
Andrew Scott
0d028e0f77
refactor(platform-browser): Remove zonejs compatibility detector ( #63847 )
...
The zoneless scheduler is always enabled, so if hydration works with zoneless, it works
for all Angular apps. There is no need for detection of custom zone implementations
PR Close #63847
2025-09-16 22:16:49 +00:00
Joey Perrott
1fec2a2cb0
build: remove bazel flag usage for adev ( #63845 )
...
Previously we used a configuration flag for adev, instead we now separate into two different targets since our flag didn't
need to cause a full reanalysis to run since everything before the final target should be a cache hit.
PR Close #63845
2025-09-16 20:49:04 +00:00