37070 Commits

Author SHA1 Message Date
Angular Robot 11e271ca6a build: update cross-repo angular dependencies
See associated pull request for more information.
2025-12-15 14:19:07 -08:00
Alan Agius d4111eebc6 refactor(compiler): remove unnecessary sanitization for safe attributes
Remove sanitization for attributes that cannot execute code (e.g. `javascript: URIs`).
2025-12-15 14:13:38 -08:00
Kirill Cherkashin 193aa332fc docs(forms): improve JSDoc for Signal Forms Schema types
Improved documentation for Schema, SchemaFn, and SchemaOrSchemaFn types
with clearer descriptions and usage examples.
2025-12-15 14:02:35 -08:00
Angular Robot 356092a24d docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2025-12-15 13:27:23 -08:00
Matthieu Riegler 44d4439bc4 refactor(forms): add signal forms to the type tests
This will ensure that signal forms emit valid typings.
Also this commits moves `@standard-schema/spec` from peer-dep to regular dep
2025-12-15 11:44:54 -08:00
kirjs 3a01d72850 refactor(forms): convert Signal Forms errors to use RuntimeError
- Added 13 new error codes to forms/src/errors.ts (1900-1999)
- use RuntimeError
2025-12-15 11:44:02 -08:00
Angular Robot 915eee3abd build: update all github actions to v6
See associated pull request for more information.
2025-12-15 11:43:06 -08:00
Angular Robot aabf719a6d build: update dependency bazel to v8.5.0
See associated pull request for more information.

Closes #66067 as a pr takeover
2025-12-15 11:41:43 -08:00
Alan Agius 2a5c6919d0 build: remove API doc generation for localize/init and add mnemonic to API rendering rule.
The removed target was not used and was generating an empty output which causes `java.io.IOException: mandatory output packages/localize/init/localize_docs_html was not created`
2025-12-15 11:41:43 -08:00
Andrew Scott a1eb2cef16 docs: update link to releases for vscode extension 2025-12-15 11:41:14 -08:00
Shuaib Hasan Akib a2aa8fef05 docs: format CLI builder JSON examples using fenced blocks
Replaces custom docs-code components with fenced ```json``` blocks for
CLI builder examples, improving readability, consistency, and copy
support across the documentation.

Fixes #66060
2025-12-15 11:34:57 -08:00
aparziale a29a3988d6 docs(docs-infra): Fix broken link
Fix broken link side effects

Fix #66051
2025-12-15 11:33:56 -08:00
SkyZeroZx b043c7490f docs: update code block syntax highlighting in documentation & fixed identation 2025-12-15 11:33:30 -08:00
SkyZeroZx 23fbe5cf9f docs: replace @debugging tag with proper Markdown syntax 2025-12-15 10:00:59 -08:00
Axel Jäger a1f5f52880 docs(forms): include update() in example for updating form value 2025-12-15 10:00:28 -08:00
Angular Robot 4c1d229771 build: update all non-major dependencies
See associated pull request for more information.
2025-12-15 09:55:59 -08:00
Angular Robot 48c4082c59 build: update all github actions
See associated pull request for more information.
2025-12-15 09:55:25 -08:00
Matthieu Riegler f530b777b9 ci: enable embeddedLanguageFormatting for prettier
This allows to format inline templates
2025-12-15 09:54:48 -08:00
hawkgs 83691704b7 refactor(devtools): slightly optimize extension initialization messaging
- Stop indefinite `detectAngular` messages after the backend is installed.
- Do not attempt handshake with the BE (from content scripts) until it's installed.
2025-12-15 09:52:52 -08:00
SkyZeroZx bb65520991 docs: Adds documentation for the NG0919 error
Adds a new documentation page for the NG0919 error, which indicates a circular dependency in Angular applications.

fixes  #65968
2025-12-15 09:52:16 -08:00
Joey Perrott 5f01f121df ci: update google sync configuration to not include package.json
We don't use the package.json files within google3 and they don't need to be marked for sync
2025-12-15 09:51:19 -08:00
Matthieu Riegler b5205c7c42 docs(docs-infra): throw when rendering absolute links to adev in our guides
This is to prevent any further regressions in the future
2025-12-15 09:45:04 -08:00
Andrew Kushnir 8243bb3064 Revert "refactor(compiler): remove unnecessary sanitization for safe attributes"
This reverts commit 128aef0ede.
2025-12-12 12:59:47 -08:00
Angular Robot ff4fa14463 build: update cross-repo angular dependencies
See associated pull request for more information.
2025-12-12 11:40:50 -08:00
Matthieu Riegler be5dbf45ba docs: update guidelines.md to match best-practices.md
fixes #65953
2025-12-12 10:10:33 -08:00
Angular Robot 480c4dc263 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2025-12-12 10:05:23 -08:00
Angular Robot 16ab98fcf4 build: update dependency @actions/core to v2
See associated pull request for more information.
2025-12-12 09:52:01 -08:00
Miles Malerba 348f149e8b feat(forms): pass field directive to class config
Updates signal forms to pass the full `Field` directive to the class
configuration functions, rather than just the state. This allows
developers to take the element as well as the state into consideration
when deciding classes to apply.

Closes #65762

BREAKING CHANGE: The shape of `SignalFormsConfig.classes` has changed

Previously each function in the `classes` map took a `FieldState`. Now
it takes a `Field` directive.

For example if you previously had:
```
provideSignalFormsConfig({
  classes: {
    'my-valid': (state) => state.valid()
  }
})
```

You would need to update to:
```
provideSignalFormsConfig({
  classes: {
    'my-valid': ({state}) => state().valid()
  }
})
```
2025-12-12 08:07:53 -08:00
Kristiyan Kostadinov 7be4ddef1c fix(core): throw better errors for potential circular references
Currently circular references in user code manifest themselves with an error like `Cannot read properties of undefined (reading 'ɵcmp')`. This is a bit cryptic so these changes add an assertion mentioning circular references.

Relates to #65917.
2025-12-12 08:06:26 -08:00
Alan Agius 128aef0ede refactor(compiler): remove unnecessary sanitization for safe attributes
Remove sanitization for attributes that cannot execute code (e.g. `javascript: URIs`).
2025-12-12 08:05:58 -08:00
SkyZeroZx 8485579649 refactor(common): remove redundant providedIn: 'root' from injection tokens
Removes unnecessary declarations from injection tokens
2025-12-12 08:05:30 -08:00
hawkgs 1a9bfa8542 fix(devtools): last supported version
Bump to 12, as the message suggests.
2025-12-12 08:04:50 -08:00
hawkgs aee536c8ca refactor(devtools): improve the look of app state screens
Improve the look of "app not detected", "unsupported version" and "prod app not supported" screens.
2025-12-12 08:04:50 -08:00
Angular Robot 06fb97abf9 build: update dependency firebase-tools to v15
See associated pull request for more information.
2025-12-12 08:03:11 -08:00
Angular Robot c8a46650a3 build: update bazel dependencies
See associated pull request for more information.
2025-12-12 08:02:24 -08:00
Angular Robot ae6bbe9c43 build: update all non-major dependencies
See associated pull request for more information.
2025-12-12 08:01:56 -08:00
Angular Robot 8ef0009ffe docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2025-12-12 08:00:41 -08:00
Angular Robot 23547f04e9 build: update cross-repo angular dependencies
See associated pull request for more information.
2025-12-11 17:18:17 -08:00
Shuaib Hasan Akib 63538524bc docs: simplify example headers by showing only the file name
Removed redundant `src/app/` prefixes from <docs-code> headers to make
examples cleaner and easier to read. The full path remains available via
the `path` attribute, so the shortened headers improve clarity without
losing context.
2025-12-11 17:17:05 -08:00
Andrew Xue ff68806c67 docs(docs-infra): add primary color vars for tutorial button 2025-12-11 17:11:27 -08:00
Leon Senft f0ad30cce6 docs(forms): fix broken example
As written, the example rewrote the input value as the user edited it,
causing all kinds of confusing behavior which rendered the input nearly
unusable. While such implementations are possible, they require great
care to manage the cursor position while editing. For the sake of
brevity, this example now only updates the model on `blur` events; once
the user is done editing.
2025-12-11 17:10:51 -08:00
SkyZeroZx c4e7ac1b81 docs: fixed tutorial steps with identation formatting 2025-12-11 17:10:14 -08:00
SkyZeroZx a8fac4ce3b docs(docs-infra): Fix prefer/avoid rule matching with word boundaries
Improve code block rule detection by adding word-boundary anchors.
Also update indentation for consistency.
2025-12-11 17:08:50 -08:00
Angular Robot 567172b5bc build: update peter-evans/create-pull-request action to v8
See associated pull request for more information.
2025-12-11 17:07:42 -08:00
SkyZeroZx ef45637ca8 docs(language-service): add link to hydration guide in built-in names documentation
Adds link to hydration guide for `hydrate` keyword
2025-12-11 17:06:35 -08:00
Charles 97c7025d7d docs: overhaul unit testing overview guide
This commit introduces a series of improvements to the unit testing overview guide to enhance clarity, organization, and accuracy.
2025-12-11 17:06:00 -08:00
Miles Malerba fba0c88c9e docs(forms): add guide on designing form models
Adds a new guide on designing form model for signal forms
2025-12-11 17:04:11 -08:00
Alex Rickabaugh 7c234486e6 release: cut the v21.1.0-next.3 release v21.1.0-next.3 2025-12-11 15:48:59 -08:00
Alex Rickabaugh bf86f5364f docs: release notes for the v21.0.5 release 2025-12-11 15:43:22 -08:00
Miles Malerba d0097f7d0c fix(forms): fix signal forms type error
Removes the `implements` clause on the `Field` directive since it is
causing type errors for people.
2025-12-11 15:33:12 -08:00