Skip to content

Tags: reactiveui/ReactiveUI

Tags

20.3.1

Toggle 20.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update version.json to 20.3.x

20.2.45

Toggle 20.2.45's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Mocks.Maui/1.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Mocks.Maui/1.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Mocks.Maui/1.1.8/1.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Mocks.Maui/1.1.8/1.2.3?slim=true)](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>

20.1.63

Toggle 20.1.63's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Roslynator.Analyzers/4.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Roslynator.Analyzers/4.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Roslynator.Analyzers/4.12.4/4.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Roslynator.Analyzers/4.12.4/4.12.5?slim=true)](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>

20.1.52

Toggle 20.1.52's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Verify.Xunit/26.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Verify.Xunit/26.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Verify.Xunit/26.2.0/26.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Verify.Xunit/26.2.0/26.3.1?slim=true)](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>

20.1.1

Toggle 20.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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**:

20.0.1

Toggle 20.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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**:

19.6.12

Toggle 19.6.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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**:

19.6.1

Toggle 19.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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**:

19.5.72

Toggle 19.5.72's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): update dependency xamarin.androidx.legacy.support.core.u…

…i to v1.0.0.24 (#3739)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](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` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Xamarin.AndroidX.Legacy.Support.Core.UI/1.0.0.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Xamarin.AndroidX.Legacy.Support.Core.UI/1.0.0.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Xamarin.AndroidX.Legacy.Support.Core.UI/1.0.0.21/1.0.0.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Xamarin.AndroidX.Legacy.Support.Core.UI/1.0.0.21/1.0.0.24?slim=true)](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>

19.5.41

Toggle 19.5.41's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
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 <[email protected]>