Repository navigation
Commit d86f9e5
authored
build(deps): bump ReactiveUI.SourceGenerators to 4.2.0 (#4524)
## Summary
**ReactiveUI.Core now brings ReactiveUI.SourceGenerators 4.2.0.**
- **The generated WinForms hosts observe their properties through
ReactiveUI.Binding's `ObservedProperty`.** With Binding 8.4.0 or later,
which ReactiveUI brings once it moves to 8.4.0, `[RoutedControlHost]`
and `[ViewModelControlHost]` follow their properties with WhenAny
semantics instead of their own `PropertyChanged` handling. With older
Binding they keep their own handling, and RXUISG0022 (Info) names the
Binding version they need.
## Why
**Generated code cannot use `WhenAny` directly, because
ReactiveUI.Binding's generator never sees another generator's output.**
Binding 8.4.0 added `ObservedProperty` for this case, and
SourceGenerators 4.2.0 uses it.
## Breaking changes
**None.**
## How this was verified
**ReactiveUI.Core builds with warnings as errors, and the ReactiveUI
tests, including the source generator integration tests, pass against
4.2.0.**
## Notes for the reviewer
**One line in `src/Directory.Packages.props`.** The ReactiveUI.Binding
8.4.0 bump is a separate PR.
## Checklist
- [x] I have read the [Contribute
guide](https://www.reactiveui.net/contribute/index.html)
- [x] The PR title follows [Conventional
Commits](https://www.conventionalcommits.org/)
- [x] Tests cover this change, or the summary says why they do not
- [ ] New or changed public API has XML documentation1 parent 8eceb3c commit d86f9e5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments