Aristeidis Bampakos
bb7422a01d
docs: fix minor typos in styleguide ( #62706 )
...
PR Close #62706
2025-07-21 13:38:39 -04:00
Angular Robot
6780d16118
build: update cross-repo angular dependencies ( #62728 )
...
See associated pull request for more information.
PR Close #62728
2025-07-21 13:16:30 -04:00
Joey Perrott
8bf97d1370
build: remove all usages of the interop_deps attr for ts_project and ng_project ( #62732 )
...
Remove all of the usages of interop_deps as attributes in the repo
PR Close #62732
2025-07-21 13:03:09 -04:00
hawkgs
cc468efc74
refactor(devtools): introduce docs-ref-button ( #62685 )
...
Used for external Angular docs links.
PR Close #62685
2025-07-21 12:21:55 -04:00
hawkgs
009a27df3f
refactor(devtools): make the component metadata menu more prominent ( #62685 )
...
Add an arrow icon to indicate that this is an expansion panel. Reduce the active area (which toggles the menu) to the text only.
PR Close #62685
2025-07-21 12:21:55 -04:00
AleksanderBodurri
08d37649af
fix(devtools): stop reseting currentlyMatchedIndex when a node is selected in the component explorer ( #62727 )
...
This was causing some unintended behaviour when paired with our new zoneless configuration. I'm not sure why currentlyMatchedIndex was getting set to -1 here. With this removed it seems like things are working as expected. Previously a select call would reset this index *after* a search filter was applied, which would cause weird behaviour with the "next" and "prev" buttons.
PR Close #62727
2025-07-21 12:15:02 -04:00
Angular Robot
f8c8ff266f
docs: update Angular CLI help ( #62729 )
...
Updated Angular CLI help contents.
PR Close #62729
2025-07-21 12:05:25 -04:00
Angular Robot
8b5f814ed6
build: update all non-major dependencies ( #62701 )
...
See associated pull request for more information.
PR Close #62701
2025-07-21 10:47:49 -04:00
Matthieu Riegler
a6b2d7dd10
fix(devtools): add event tagging to prevent DDOS ( #62645 )
...
One common problem encountered by the devtools content script is that it accepted almost any message send over the message bus. Some websites like `auth.openai.com` were spamming the bus and DDOS the devtools app.
By introducing event tagging and skipping non-devtools events we prevent DDOS of the Angular devtools content script by on forward tagged events.
PR Close #62645
2025-07-21 10:09:03 -04:00
Johnny Huang
97b1bd19d1
docs: fix code snippet ( #62720 )
...
changes code snippet on first-app tutorials (https://angular.dev/tutorials/first-app/09-services ) for the step "Add a new file level import for the HousingService:" from
imports: [HousingLocation],
to
import {HousingService} from '../housing.service';
PR Close #62720
2025-07-21 09:37:45 -04:00
hawkgs
d441ac4533
fix(devtools): make some containers scrollable ( #62703 )
...
Add scrolling to some containers in the app.
PR Close #62703
2025-07-21 09:32:58 -04:00
Matthieu Riegler
7eb9fcd6a0
docs: split devtools doc to prepare for upcomming updates ( #62597 )
...
PR Close #62597
2025-07-18 10:07:46 -04:00
Elizabeth
b8e415a717
fix(core): fix change tracking for Resource#hasValue ( #62595 )
...
When using `hasValue()` I would expect it to behave like any other
reactive value such that changes to the internal `value()` that do not
cause `hasValue()` to return anything different do not trigger change
detection, but this was not the case. This change wraps the value
checking in a `computed` such that it behaves as expected again while
still preserving the type narrowing.
PR Close #62595
2025-07-18 10:01:43 -04:00
Angular Robot
891444d48b
build: update cross-repo angular dependencies ( #62557 )
...
See associated pull request for more information.
PR Close #62557
2025-07-18 09:47:19 -04:00
Andrew Scott
448a7f7e8f
refactor(core): Use promise.finally for task removal ( #62674 )
...
Updates the approach from https://github.com/angular/angular/pull/62631 to
use Promise.finally for task removal. This is a bit cleaner and also handles
rejections from the donePromise
PR Close #62674
2025-07-18 07:19:49 -04:00
hawkgs
d3b770d636
refactor(devtools): restyle the signal details panel ( #62681 )
...
Restyle the details panel to match and be inline with the existing UI/style.
PR Close #62681
2025-07-18 07:00:57 -04:00
Joey Perrott
23d58777b4
build: migrate to new toolchain usage for api goldens ( #62688 )
...
Migrate api golden usage to be based on rules_js toolchain implementation
PR Close #62688
2025-07-17 18:13:42 -04:00
Kirill Cherkashin
6f52e97d5f
docs: release notes for the v20.1.2 release
2025-07-17 17:49:06 -04:00
Jonathan Pribesh
16a9bea466
docs: fixes binding box typo in httpResource.value() template example ( #62661 )
...
PR Close #62661
2025-07-17 14:31:07 -04:00
Matthieu Riegler
ea2339e1e4
refactor(devtools): replace/remove animations from the animation package ( #62633 )
...
Animations can be handled by the styling directly
PR Close #62633
2025-07-17 14:24:37 -04:00
Matthieu Riegler
3171d01452
fix(compiler): fix detection of directive deps in JIT ( #62666 )
...
This fix also matches the implementation to the jsdoc for `hasDirectiveDependencies` "Whether any of the component's dependencies are directives"
fixes #62573
PR Close #62666
2025-07-17 14:20:31 -04:00
Angular Robot
50515fb167
build: update dependency node to v22.17.1 ( #62676 )
...
See associated pull request for more information.
PR Close #62676
2025-07-17 14:18:19 -04:00
hawkgs
2f7f9569f7
refactor(devtools): rearrange main toolbar menu buttons ( #62684 )
...
Place the version in the info menu and move both the info and gear buttons to the right-hand side of the toolbar.
PR Close #62684
2025-07-17 14:06:31 -04:00
Joey Perrott
a959e5a5db
build: remove ts_library definition ( #62673 )
...
Remove the ts_library macro from our defaults.bzl file
PR Close #62673
2025-07-17 13:59:37 -04:00
Joey Perrott
dd02bfe743
build: migrate zone.js to use ts_project instead of ts_library ( #62673 )
...
Use ts_project instead of ts_library for building zone.js
PR Close #62673
2025-07-17 13:59:37 -04:00
Joey Perrott
0f4bf56266
build: migrate ts_library usages to ts_project ( #62673 )
...
Migrate new ts_library usages to ts_project
PR Close #62673
2025-07-17 13:59:37 -04:00
Joey Perrott
b0effa1cc3
ci: use new size tracking in integration tests ( #62650 )
...
Use the new size tracking within integration tests
PR Close #62650
2025-07-17 13:56:22 -04:00
Matthieu Riegler
8caaf5ed22
refactor(devtools): Migrate the devtools app to zoneless. ( #62454 )
...
This commit also removed the useless ngZone invocations
PR Close #62454
2025-07-17 13:55:36 -04:00
Milo
2e6c2ff52c
refactor(devtools): disable view source button if source function is not available ( #62678 )
...
if there is no debuggableFn, we shouldn't allow users to click the view source button
PR Close #62678
2025-07-17 13:28:35 -04:00
Tony Conway
36dcd0ee63
docs: Update versions.md to use canonical Baseline site ( #62680 )
...
replace `tonypconway` fork URL with canonical `web-platform-dx` URL
PR Close #62680
2025-07-17 13:26:41 -04:00
Jessica Janiuk
fc8247de95
refactor(core): add compiler support for animation instructions ( #62528 )
...
this adds the compiler code to support the animate instructions.
PR Close #62528
2025-07-16 16:44:16 -04:00
Joey Perrott
e25e6342f2
build: remove rules_nodejs based protractor tooling ( #62649 )
...
Remove the protractor setup based on rules_nodejs
PR Close #62649
2025-07-16 16:39:49 -04:00
Joey Perrott
b5486184d0
build: remove extra toolchain registration ( #62649 )
...
Remove extra toolchain registration that is redundant as we already add the toolchains elsewhere
PR Close #62649
2025-07-16 16:39:49 -04:00
Joey Perrott
cf40162083
build: migrate protractor test to new toolchain ( #62649 )
...
Migrate to new toolchain for protractor test in packages/examples/upgrade
PR Close #62649
2025-07-16 16:39:49 -04:00
Rafael Camara
5abfe4a899
feat(compiler-cli): add diagnostic for uninvoked functions in text interpolation ( #59191 )
...
This commit adds a new extended diagnostic to detect uninvoked functions in text interpolation.
PR Close #59191
2025-07-16 16:30:37 -04:00
Angular Robot
dc952943ab
build: update all non-major dependencies ( #62662 )
...
See associated pull request for more information.
PR Close #62662
2025-07-16 16:26:38 -04:00
Jan Martin
f5f8f7689f
release: bump Angular DevTools version to 1.0.39 ( #62670 )
...
PR Close #62670
2025-07-16 16:13:12 -04:00
Andrew Kushnir
a484a11b67
release: cut the v20.2.0-next.1 release
20.2.0-next.1
2025-07-16 11:10:24 -07:00
Andrew Kushnir
193257b3fa
docs: release notes for the v20.1.1 release
2025-07-16 11:01:09 -07:00
Kristiyan Kostadinov
527bd778a7
fix(compiler-cli): infer type of event target for void elements ( #62648 )
...
Currently we infer the target of DOM events to be `EventTarget | null` which is consistent with the built-in types for `addEventListener`. This is due to the fact that users can dispatch custom events, or the event might've bubbled. However, this typing is also inconvenient for some other common use cases like `<input (input)="query($event.target.value)">`, because we don't have the ability to type cast in a template.
These changes aim to make some of the cases simpler by inferring the type of `$event.target` if the event is bound on a void element which guarantees that it couldn't have bubbled.
PR Close #62648
2025-07-16 12:40:25 +02:00
Kristiyan Kostadinov
6dc29b3bf7
refactor(core): expose function to assert type of variables ( #62648 )
...
Adds the `ɵassertType` function that will be used during type checking to assert the type of a value.
PR Close #62648
2025-07-16 12:40:25 +02:00
Kristiyan Kostadinov
acdb8d673d
refactor(compiler): indicate whether element is void at AST level ( #62648 )
...
Updates the HTML AST to indicate whether a specific element is a void element.
PR Close #62648
2025-07-16 12:40:25 +02:00
Kristiyan Kostadinov
18a675081f
fix(compiler): more permissive parsing of @ characters ( #62644 )
...
When we introduced blocks, we made a deliberate decision to treat the `@` character as a reserved character in case we need to use it for other syntax in the future. This meant that some common cases, like writing out an email address in the template, can be broken.
After some recent discussions we decided to relax the requirement and only treat `@` as a reserve character if it's followed by a character sequence that matches a known block.
PR Close #62644
2025-07-15 13:24:47 -07:00
Kristiyan Kostadinov
56fbb3299a
test(compiler): remove duplicated lexer tests ( #62644 )
...
There were 26 duplicated block tests in `lexer_spec.ts`, likely due to merge conflicts. These changes remove the duplicates while keeping the 6 tests that were different.
PR Close #62644
2025-07-15 13:24:47 -07:00
Angular Robot
4574095a9e
build: update all non-major dependencies ( #62642 )
...
See associated pull request for more information.
PR Close #62642
2025-07-15 09:34:00 -07:00
SkyZeroZx
e6d2d788c1
docs: Update documentation httpResource with referrer & integrity options ( #62637 )
...
PR Close #62637
2025-07-15 09:33:14 -07:00
muhammadali1658
80da0731a3
docs: fix missing 'of' in Style Guide sentence ( #62628 )
...
PR Close #62628
2025-07-15 07:59:19 -07:00
hawkgs
33f3193fe2
refactor(devtools): show profiler progress bar during recording ( #62547 )
...
Show the profiler progress bar during the full recording instead of only when there are no frames.
PR Close #62547
2025-07-15 07:58:33 -07:00
Kristiyan Kostadinov
a1e3f2bcd1
fix(compiler): incorrect spans for left side of binary operation ( #62641 )
...
Fixes that the span for the `left` side of a `Binary` AST included the range up to and including the operator.
Fixes #62617 .
PR Close #62641
2025-07-15 07:57:32 -07:00
Kristiyan Kostadinov
eef258f641
docs: update best practices prompt ( #62640 )
...
Updates the `best-practices.md` with results from recent testing.
PR Close #62640
2025-07-15 07:56:05 -07:00