Tags: reactiveui/ReactiveUI
Tags
chore(deps): update dependency mocks.maui to 1.2.3 (#3992) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Mocks.Maui](https://redirect.github.com/thomasgalliker/MauiMocks) | `1.1.8` -> `1.2.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/reactiveui/ReactiveUI). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE5NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJEZXBlbmRlbmN5IE1hbmFnZW1lbnQiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update dependency roslynator.analyzers to 4.12.5 (#3907) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Roslynator.Analyzers](https://redirect.github.com/dotnet/roslynator) | `4.12.4` -> `4.12.5` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dotnet/roslynator (Roslynator.Analyzers)</summary> ### [`v4.12.5`](https://redirect.github.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#4125---2024-09-13) ##### Fixed - Fix analyzer [RCS1182](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1182) ([PR](https://redirect.github.com/dotnet/roslynator/pull/1502)) - Fix analyzer [RCS1198](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1198) ([PR](https://redirect.github.com/dotnet/roslynator/pull/1501)) - Fix analyzer [RCS1214](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1214) ([PR](https://redirect.github.com/dotnet/roslynator/pull/1500)) - Fix analyzer [RCS1018](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1018) ([PR](https://redirect.github.com/dotnet/roslynator/pull/1510)) - Fix analyzer [RCS1264](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1264) ([PR](https://redirect.github.com/dotnet/roslynator/pull/1511)) - Fix analyzer [RCS0053](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0053) ([PR](https://redirect.github.com/dotnet/roslynator/pull/1512)) - Fix analyzer [RCS0056](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0056) ([PR](https://redirect.github.com/dotnet/roslynator/pull/1514)) ##### Changed - Bump Roslyn to 4.11.0 ([PR](https://redirect.github.com/dotnet/roslynator/pull/1483)) - Applies to CLI and testing library. ##### Removed - \[CLI] Remove support for .NET SDK 6 ([PR](https://redirect.github.com/dotnet/roslynator/pull/1483)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/reactiveui/ReactiveUI). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiRGVwZW5kZW5jeSBNYW5hZ2VtZW50Il19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update dependency verify.xunit to 26.3.1 (#3894) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Verify.Xunit](https://redirect.github.com/VerifyTests/Verify) | `26.2.0` -> `26.3.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>VerifyTests/Verify (Verify.Xunit)</summary> ### [`v26.3.1`](https://redirect.github.com/VerifyTests/Verify/compare/26.3.0...26.3.1) [Compare Source](https://redirect.github.com/VerifyTests/Verify/compare/26.3.0...26.3.1) ### [`v26.3.0`](https://redirect.github.com/VerifyTests/Verify/compare/26.2.0...26.3.0) [Compare Source](https://redirect.github.com/VerifyTests/Verify/compare/26.2.0...26.3.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/reactiveui/ReactiveUI). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiRGVwZW5kZW5jeSBNYW5hZ2VtZW50Il19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Housekeeping Retire Net 7 (#3811) <!-- Please be sure to read the [Contribute](https://github.com/reactiveui/reactiveui#contribute) section of the README --> **What kind of change does this PR introduce?** <!-- Bug fix, feature, docs update, ... --> Update **What is the current behavior?** <!-- You can also link to an open issue here. --> Net 7 is supported **What is the new behavior?** <!-- If this is a feature change --> Net 7 targets have been removed in line with Microsoft **What might this PR break?** Users are recommended to update to Net 8 **Please check if the PR fulfills these requirements** - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) **Other information**:
Housekeeping: Prepare for Release (#3802) <!-- Please be sure to read the [Contribute](https://github.com/reactiveui/reactiveui#contribute) section of the README --> **What kind of change does this PR introduce?** <!-- Bug fix, feature, docs update, ... --> Update **What is the current behavior?** <!-- You can also link to an open issue here. --> Outdated Copyright **What is the new behavior?** <!-- If this is a feature change --> Update Copyright **What might this PR break?** Upon release will remove Xamarin **Please check if the PR fulfills these requirements** - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) **Other information**:
Fix for WireUpControls throws exception (#3795) <!-- Please be sure to read the [Contribute](https://github.com/reactiveui/reactiveui#contribute) section of the README --> **What kind of change does this PR introduce?** <!-- Bug fix, feature, docs update, ... --> Fix for #3714 **What is the current behavior?** <!-- You can also link to an open issue here. --> WireUpControls throws exception with .Net 8.0 Android **What is the new behavior?** <!-- If this is a feature change --> WireUpControls works with .Net 8.0 Android **What might this PR break?** none expected **Please check if the PR fulfills these requirements** - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) **Other information**:
Feature Add Validation to ReactiveProperty (#3777) <!-- Please be sure to read the [Contribute](https://github.com/reactiveui/reactiveui#contribute) section of the README --> **What kind of change does this PR introduce?** <!-- Bug fix, feature, docs update, ... --> Feature for #3771 **What is the current behavior?** <!-- You can also link to an open issue here. --> ReactiveProperty has basic functionality **What is the new behavior?** <!-- If this is a feature change --> ReactiveProperty now supports Validation through INotifyDataErrorInfo AddValidation and AddValidationError methods added to attach the ReactiveProperty to the Validation mechanism CheckValidation and Refresh exist to re-evaluate the Validation ```c# MyReactiveProperty = new ReactiveProperty<string>() .AddValidation(() => MyReactiveProperty) .AddValidationError(s => string.IsNullOrWhiteSpace(s) ? "required" : null); ``` **What might this PR break?** None expected. **Please check if the PR fulfills these requirements** - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) **Other information**:
chore(deps): update dependency xamarin.androidx.legacy.support.core.u… …i to v1.0.0.24 (#3739) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Xamarin.AndroidX.Legacy.Support.Core.UI](https://aka.ms/androidx) ([source](https://togithub.com/xamarin/AndroidX)) | `1.0.0.21` -> `1.0.0.24` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/reactiveui/ReactiveUI). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix: Allow Developers Bypass the Default Fallback Behavior (resolves #… …3713) (#3718) This changes applys to the Maui/Wpf/XamarinForm platform. <!-- Please be sure to read the [Contribute](https://github.com/reactiveui/reactiveui#contribute) section of the README --> **What kind of change does this PR introduce?** <!-- Bug fix, feature, docs update, ... --> - Feature Request. See #3713 **What is the current behavior?** <!-- You can also link to an open issue here. --> 1. The ViewModelViewHost resolves view by the ViewContract property. Currently ignores the `ViewContract` condition if nothing found. **What is the new behavior?** 1. Add a property of `ContractFallbackByPass` so that we can bypass this fallback behavior. 2. Expose a virtual method , i.e. `protected virtual void ResolveViewForViewModel(object? viewModel, string? contract)` , which allows developers override this behavior. **What might this PR break?** As far as I can see, it does not break anying. **Please check if the PR fulfills these requirements** - [x] Tests for the changes have been added (for bug fixes / features) - [X] Docs have been added / updated (for bug fixes / features) **Other information**: For WPF/MAUI/XamForms/WinUI, the `ContractFallbackByPass` is set to false by default. So it won't breaking existing apps. However, I find the [current WinForms implementation](https://github.com/reactiveui/ReactiveUI/blob/9c36b0f0701ee7005556ccafaeb503a96ff6b75f/src/ReactiveUI.Winforms/ViewModelViewHost.cs#L210-L211) has no default fallback behaivor as same as WPF ```c# var viewLocator = ViewLocator ?? ReactiveUI.ViewLocator.Current; var view = viewLocator.ResolveView(x.ViewModel, x.Contract); if (view is not null) { view.ViewModel = x.ViewModel; Content = view; } ``` So I didn't add such a property for WinForms. Is it better to add such a property that is set to true by default ? --------- Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
build(deps): bump xunit from 2.6.2 to 2.6.4 in /integrationtests (#3707) Bumps [xunit](https://github.com/xunit/xunit) from 2.6.2 to 2.6.4. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/xunit/xunit/commit/0f87ff772a29aa3d4ef7cb5b34a8aeeaab2c2a28"><code>0f87ff7</code></a> v2.6.4</li> <li><a href="https://github.com/xunit/xunit/commit/e466a7c13337a93c07da6b3480f6637c005ccdc9"><code>e466a7c</code></a> Unit tests for <a href="https://redirect.github.com/xunit/xunit/issues/2850">#2850</a> (v2)</li> <li><a href="https://github.com/xunit/xunit/commit/0cc026be3bc3a9f97dda99194b72e13f597e791b"><code>0cc026b</code></a> Add KeyValuePair tests with collections and IEquatable objects in the key slot</li> <li><a href="https://github.com/xunit/xunit/commit/c729d7fd799c7db658b2a0f7bb6c27a9ef252934"><code>c729d7f</code></a> Add collection dictionary tests for IEquatable<> objects in the value slot</li> <li><a href="https://github.com/xunit/xunit/commit/0eb76d2b780819865a3291d24d4eced6ed744002"><code>0eb76d2</code></a> Attempt to fix race condition reported in <a href="https://github.com/visualstudio.xunit/issues/issues/396">visualstudio.xunit/issues#396</a></li> <li><a href="https://github.com/xunit/xunit/commit/348c56ddd3e877e821e9a9f59918a1fbbab3ad45"><code>348c56d</code></a> Bump up to v2.6.4-pre</li> <li><a href="https://github.com/xunit/xunit/commit/4c2c19380d12a1159e66ec543587b26574099beb"><code>4c2c193</code></a> v2.6.3</li> <li><a href="https://github.com/xunit/xunit/commit/c4e29fdee2ba5c28f77d3a02f9efd56832427b0e"><code>c4e29fd</code></a> <a href="https://redirect.github.com/xunit/xunit/issues/2811">xunit/xunit#2811</a>: Add tests for SortedSet and ImmutableSortedSet overloads fo...</li> <li><a href="https://github.com/xunit/xunit/commit/51851a64edb68040e8387f61c148b551a28b95e1"><code>51851a6</code></a> Unit tests to ensure equality assertions with sets + comparer func throw an e...</li> <li><a href="https://github.com/xunit/xunit/commit/ca683935df915c827d31ab07a4a17685235d9689"><code>ca68393</code></a> Unit tests for <a href="https://redirect.github.com/xunit/xunit/issues/2828">#2828</a> (v2)</li> <li>Additional commits viewable in <a href="https://github.com/xunit/xunit/compare/2.6.2...2.6.4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext