|
| 1 | +<a name="21.1.0-next.4"></a> |
| 2 | +# 21.1.0-next.4 (2025-12-17) |
| 3 | +## Breaking Changes |
| 4 | +### forms |
| 5 | +- The shape of `SignalFormsConfig.classes` has changed |
| 6 | + |
| 7 | + Previously each function in the `classes` map took a `FieldState`. Now |
| 8 | + it takes a `Field` directive. |
| 9 | + |
| 10 | + For example if you previously had: |
| 11 | + ``` |
| 12 | + provideSignalFormsConfig({ |
| 13 | + classes: { |
| 14 | + 'my-valid': (state) => state.valid() |
| 15 | + } |
| 16 | + }) |
| 17 | + ``` |
| 18 | + |
| 19 | + You would need to update to: |
| 20 | + ``` |
| 21 | + provideSignalFormsConfig({ |
| 22 | + classes: { |
| 23 | + 'my-valid': ({state}) => state().valid() |
| 24 | + } |
| 25 | + }) |
| 26 | + ``` |
| 27 | +- |
| 28 | +### core |
| 29 | +| Commit | Type | Description | |
| 30 | +| -- | -- | -- | |
| 31 | +| [06be8034bb](https://github.com/angular/angular/commit/06be8034bb9b9adfc07ab0d40cd87c6ae5de02de) | fix | Microtask scheduling should be used after any application synchronization | |
| 32 | +| [b4f584cf42](https://github.com/angular/angular/commit/b4f584cf42235c94bb8389fa55bc634e23d7b010) | fix | return `StaticProvider` for `providePlatformInitializer` | |
| 33 | +| [7be4ddef1c](https://github.com/angular/angular/commit/7be4ddef1ccb9a6b330b52b9bbdd174089755503) | fix | throw better errors for potential circular references | |
| 34 | +| [f516370c8e](https://github.com/angular/angular/commit/f516370c8e8e96806bad757d43c857ab5f2051ed) | fix | use mutable ResponseInit type for RESPONSE_INIT token | |
| 35 | +### forms |
| 36 | +| Commit | Type | Description | |
| 37 | +| -- | -- | -- | |
| 38 | +| [348f149e8b](https://github.com/angular/angular/commit/348f149e8b06d6885f54bac4cf03a9481a8b19b7) | feat | pass field directive to class config | |
| 39 | +| [ae0c59028a](https://github.com/angular/angular/commit/ae0c59028a2f393ea5716bf222db2c38e7a3989f) | refactor | rename field to fieldTree in FieldContext and ValidationError | |
| 40 | +### language-service |
| 41 | +| Commit | Type | Description | |
| 42 | +| -- | -- | -- | |
| 43 | +| [9f5744a92d](https://github.com/angular/angular/commit/9f5744a92dda4219e93bf7e6236d32a93bc167e6) | fix | avoid interpolation highlighting inside @let | |
| 44 | +| [ce1a4769f9](https://github.com/angular/angular/commit/ce1a4769f987e96e2a1b1cbc7654ed5bac9ce91d) | fix | Prevent language service from crashing on suggestion diagnostic errors | |
| 45 | + |
| 46 | +<!-- CHANGELOG SPLIT MARKER --> |
| 47 | + |
1 | 48 | <a name="21.0.6"></a> |
2 | 49 | # 21.0.6 (2025-12-17) |
3 | 50 | ## Breaking Changes |
|
0 commit comments