Angular Robot
62c029fdc2
build: update bazel dependencies
...
See associated pull request for more information.
2025-11-05 14:23:28 -08:00
Alan Agius
e1dfe323d7
build: add VSCode extension release script
...
This script orchestrates the release process for the Angular Language Service VSCode extension. It handles versioning, changelog generation, building, and publishing the extension.
2025-11-05 19:55:32 +00:00
Erik Wegner
e18aac88d4
docs: Add the missing function call to use the signal's actual value
2025-11-05 19:47:02 +00:00
Andrew Scott
4f0f29979c
docs: cherrypick release notes for vscode extension
2025-11-05 19:45:48 +00:00
Andrew Scott
a487de8bd4
docs: release notes for the v21.0.0-rc.1 release
2025-11-05 19:37:38 +00:00
Andrew Scott
aa104c9747
docs: release notes for the v20.3.10 release
2025-11-05 18:58:57 +00:00
Matthieu Riegler
7f44345db3
docs(docs-infra): fix heading layout on mobile
...
Long code blocks overflow the headings on narrow screen (like mobiles), this messes up the global layout of the page. With the ellipsis with fix that.
fixes #64845
2025-11-05 17:49:43 +00:00
Kristiyan Kostadinov
748caf9a74
test(compiler-cli): set up TCB tests for signal forms
...
Adds TCB-specific tests for the generated code in signal forms since they tend to be a bit easier to read and follow.
2025-11-05 17:35:43 +00:00
Kristiyan Kostadinov
3c7751020e
refactor(compiler-cli): check that custom control conforms to control interfaces
...
Generates additional type checking code to ensure that custom control conform to either `FormValueControl` or `FormCheckboxControl`.
2025-11-05 17:35:43 +00:00
Kristiyan Kostadinov
04ed91071b
refactor(compiler-cli): flag unsupported static bindings on field directives
...
Expands the diagnostic for unuspported bindings on fields to also capture static attributes.
2025-11-05 17:35:43 +00:00
Kristiyan Kostadinov
a5b596b83d
refactor(compiler-cli): split up form field ops
...
Splits up the custom form field and native form field into two separate `TcbOp`s with a shared base class.
2025-11-05 17:35:43 +00:00
Kristiyan Kostadinov
f20103a1d7
fix(compiler-cli): report invalid bindings on form controls
...
Adds validation that users don't bind to unsupported properties on nodes with the `Field` directive.
2025-11-05 17:35:43 +00:00
Kristiyan Kostadinov
948e2f4f01
fix(compiler-cli): infer type of custom field controls
...
Adds the logic to infer the type of a custom field control that's on the same element as the `Field` directive.
2025-11-05 17:35:43 +00:00
Kristiyan Kostadinov
4b68bddd62
refactor(core): add utility type for extracting the value of a custom control
...
Adds the `ɵExtractFormControlValue` type that we can use during template type checking to extract the type of a custom control.
2025-11-05 17:35:43 +00:00
Kristiyan Kostadinov
6b51fc3e9d
fix(compiler-cli): infer types of signal forms set on native inputs
...
Sets up the logic for inferring the type of the signal form that is set on a native `input`, `textarea` or `select`.
2025-11-05 17:35:43 +00:00
Kristiyan Kostadinov
c5ac77cb32
refactor(compiler-cli): allow the forms module to be loaded in tests
...
Updates the testing utilities to allow for `@angular/forms` to be loaded.
2025-11-05 17:35:43 +00:00
SkyZeroZx
7c49c5338f
refactor(common): remove redundant providedIn: 'root' from injection tokens
...
Removes unnecessary `providedIn: 'root'` declarations from injection tokens
2025-11-05 17:08:39 +00:00
Georgi Serev
cd0e96c1d0
fix(devtools): router tree details table data
...
Introduce layout fixes and use dedicated buttons for the view source and navigate actions.
2025-11-05 17:07:18 +00:00
SkyZeroZx
44435ea97b
refactor(http): simplifies destruction tracking using destroyed property
...
Replaces the manual destroyed state with destroyed property
2025-11-05 17:05:24 +00:00
hawkgs
31d412771b
refactor(devtools): update the looks of hydration overlay switch
...
Move the option under the directive explorer and drop the switch to match the rest of the UI.
2025-11-05 17:04:46 +00:00
Jessica Janiuk
373d263834
fix(core): skip leave animations on view swaps
...
We accounted for skipping leave animations during moves, but not swaps.
This accounts for the swap cases and updates how we deal with swaps and
moves. Now we always queue animations and then essentially dequeue them
if we attach them back in the same render pass.
fixes : #64818
fixes : #64730
2025-11-05 17:04:11 +00:00
Alan Agius
3ef2edc076
build: update typescript dependency for vscode-ng-language-service
...
Updates the typescript dependency to 5.9.3 in vscode-ng-language-service/package.json
and updates pnpm-lock.yaml accordingly.
2025-11-05 17:02:35 +00:00
Alan Agius
1cd5b44f9c
release: bump Angular DevTools version to 1.5.0
2025-11-05 15:52:09 +01:00
Leon Senft
41be02da2f
perf(forms): implement change detection for field control bindings
...
For each field state property, check if it has changed since the last
time it was checked before writing it the corresponding form control
property.
The `pattern` and `required` properties of the field state now return a
default value rather than `undefined` if not defined by metadata.
2025-11-05 00:11:22 +00:00
Lukas Matta
5b210e97af
fix(migrations): Prevent removal of templates referenced with preceding whitespace characters
...
In https://github.com/angular/angular/pull/64745 , a fix was introduced for templates referenced with a trailing semicolon. However, templates are still incorrectly removed when there are whitespace characters before the template name.
This commit updates the control flow migration logic to ensure templates referenced with preceding whitespace are not removed.
Fixes #64854
2025-11-04 23:25:59 +00:00
Joey Perrott
c277214f91
fix(docs-infra): properly expose the prerendered routes for sitemap generation
...
Properly expose the prerendered routes for sitemap generation rather than only copying the browser directory
2025-11-04 23:10:58 +00:00
Joey Perrott
ffbcf0cede
feat(docs-infra): generate the sitemap for angular.dev
...
We automatically generate the sitemap for the angular.dev deployment and include it in the assets pushed
to firebase.
Co-authored-by: Matthieu Riegler <kyro38@gmail.com >
2025-11-04 23:10:58 +00:00
SkyZeroZx
b5e37ffb77
docs(docs-infra): add missing meta tags for author, keywords, and Twitter
2025-11-04 22:58:24 +00:00
Angular Robot
b7839e872f
docs: update cross-repo adev docs
...
Updated Angular adev cross repo docs files.
2025-11-04 18:54:43 +00:00
Andrew Scott
7f16902a72
refactor(router): Update pre/post wildcard matching to retain 0 or more segment match meaning
...
Prior to the change to support defining required segments before and after the wildcard, the meaning of the wildcard
path was '0 or more' so path: foo with a child of ** will still match the ** route when the URL is only 'foo'.
If developers want to _require_ something, they can still use path: foo/:anyRequired/**/bar
2025-11-04 17:56:54 +00:00
SkyZeroZx
058377ed55
refactor(devtools): handle function-based redirectTo and title in router viewer
...
Refactors router viewer logic to properly process and display redirectTo and title when defined as functions
2025-11-04 17:54:07 +00:00
Angular Robot
b8b8bad130
build: lock file maintenance
...
See associated pull request for more information.
2025-11-04 17:52:54 +00:00
Georgi Serev
9fc3873ea3
fix(devtools): SameMessageBus source and destination URIs
...
Fix the URIs by stripping any query parameters and/or fragments from the compound URLs, since they may prevent the extension from successfully establishing a handshake in some instances.
2025-11-04 17:52:07 +00:00
Angular Robot
608421b83f
build: update cross-repo angular dependencies
...
See associated pull request for more information.
2025-11-04 17:50:39 +00:00
Gerome Grignon
8f49af90d0
docs(router): uniformize lazy loading syntax
2025-11-04 17:39:08 +00:00
SkyZeroZx
2ad1b5979f
refactor(core): Removes unused flag for onDestroy
...
Eliminates an unnecessary configuration flag
2025-11-04 04:20:54 +00:00
SkyZeroZx
b61847f877
docs: simplify tutorial signals with self-closing component tags
2025-11-04 00:34:37 +00:00
SkyZeroZx
82a579c7e6
docs: Update highlight inputs & code block formatting in component guides
2025-11-04 00:32:38 +00:00
SkyZeroZx
97169b4689
refactor(platform-browser): remove redundant providedIn: 'root' from injection tokens
...
Removes unnecessary `providedIn: 'root'` declarations from injection tokens
2025-11-04 00:31:52 +00:00
SkyZeroZx
5e4437baf8
refactor(platform-server): remove redundant providedIn: 'root' from injection tokens
...
Removes unnecessary `providedIn: 'root'` declarations from injection tokens
2025-11-04 00:31:52 +00:00
SkyZeroZx
67da4eb04c
refactor(router): remove redundant providedIn: 'root' from injection tokens
...
Removes unnecessary `providedIn: 'root'` declarations from injection tokens
2025-11-04 00:31:52 +00:00
SkyZeroZx
78e6716f40
refactor(forms): remove redundant providedIn: 'root' from injection tokens
...
Removes unnecessary `providedIn: 'root'` declarations from injection tokens
2025-11-04 00:31:52 +00:00
SkyZeroZx
64efbc53aa
refactor(core): remove redundant providedIn: 'root' from injection tokens
...
Removes unnecessary `providedIn: 'root'` declarations from injection tokens
2025-11-04 00:31:52 +00:00
Shuaib Hasan Akib
c4c7fb88ac
docs: remove standalone: true since it's now the default
...
Removes redundant `standalone: true` declarations from code examples.
Standalone components are now the default in Angular, so the flag is
no longer necessary in documentation snippets.
2025-11-04 00:26:54 +00:00
marktechson
7a422c209a
docs: add v21 landing page
...
Adds a new landing page for developer events, starting with the v21 page. It also includes an ICS file link for calendar invites. Also updated the tests for the docs-pill to support two new attributes so developers can add the event to their calendars.
2025-11-03 23:59:20 +00:00
SkyZeroZx
ffa19ddd3f
docs(docs-infra): Improve font loading performance with preconnect
...
Adds preconnect links for Google Fonts domains to establish early
connections, reducing latency and improving font loading speed
2025-11-03 22:30:59 +00:00
SkyZeroZx
429672d6ab
docs(docs-infra): Updates page title strategy to sync meta tags
...
Ensures that page title changes are reflected in relevant meta tags for improved SEO and sharing support
2025-11-03 21:30:09 +00:00
Kristiyan Kostadinov
f233f7420a
fix(compiler-cli): make required inputs diagnostic less noisy
...
Currently when a required input is missing, we produce a diagnostic on the entire start tag. This can be really noisy if there are already some attributes on the element.
This change switch to only highlighting the tag name instead.
2025-11-03 21:27:42 +00:00
Angular Robot
615518d9fd
build: update cross-repo angular dependencies
...
See associated pull request for more information.
2025-11-03 21:27:02 +00:00
Matthieu Riegler
434ddbcfc9
docs(docs-infra): ensure all redirections are absolute
...
fixes #64824
2025-11-03 21:01:45 +00:00