Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<PackageVersion Include="ObservableCollections.R3" Version="3.3.4" />
<PackageVersion Include="R3" Version="1.3.1" />
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageVersion Include="System.Reactive" Version="6.1.0" />
<PackageVersion Include="System.Reactive" Version="7.0.0" />
<!-- Platform Dependencies -->
<PackageVersion Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.135" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="8.0.22" Condition="'$(TargetFramework)' == 'net8.0'" />
Expand All @@ -29,7 +29,7 @@
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
<PackageVersion Include="Microsoft.Extensions.TimeProvider.Testing" Version="10.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
<PackageVersion Include="Microsoft.Reactive.Testing" Version="6.1.0" />
<PackageVersion Include="Microsoft.Reactive.Testing" Version="7.0.0" />
<PackageVersion Include="Moq" Version="4.20.72" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.11.0" />
<PackageVersion Include="MSTest.TestFramework" Version="3.11.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.ComponentModel;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.PlatformServices;
using System.Runtime.ExceptionServices;
using Reactive.Bindings.Internals;

Expand Down
37 changes: 37 additions & 0 deletions dev-docs/adr/0006-upgrade-system-reactive-v7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 0006. Upgrade the System.Reactive dependency to v7

- **Status:** Accepted
- **Date:** 2026-08-14
- **Deciders:** ReactiveProperty maintainers

## Context

ReactiveProperty currently depends on System.Reactive 6.1.0 and Microsoft.Reactive.Testing
6.1.0. Rx.NET v7 is a major release that removes UI-framework-specific reference assemblies
from the core package, moves those integrations to platform-specific packages, and drops
out-of-support .NET 6 and .NET 7 targets. ReactiveProperty's supported targets are
netstandard2.0, net472, net8.0, net9.0, and net10.0, and its WPF scheduler uses the common
`IScheduler` and `SynchronizationContextScheduler` APIs rather than Rx.NET's WPF scheduler.

## Decision

We will upgrade the centrally managed `System.Reactive` and `Microsoft.Reactive.Testing`
packages to 7.0.0. We will keep the existing target frameworks and public ReactiveProperty
APIs. We will not add a platform-specific Rx.NET package unless a project uses a UI-specific
Rx.NET API; the current WPF integration does not do so. We will also remove the obsolete
`System.Reactive.PlatformServices` using directive from the main library.

### Alternatives considered

- **Remain on Rx.NET 6.1.0** — avoids migration work, but leaves the library on the previous
major release and prevents consumers from using the v7 dependency graph consistently.
- **Add all Rx.NET platform packages** — unnecessary for the APIs currently used and would add
dependencies without providing behavior.

## Consequences

The library and tests use Rx.NET v7 and benefit from its current supported package layout.
Existing target frameworks remain available because Rx.NET v7 supports netstandard2.0 and
net472 in addition to current .NET targets. Consumers using ReactiveProperty's existing WPF
scheduler do not need an extra Rx.NET UI package; applications that use Rx.NET UI-specific
types directly must reference the corresponding platform package themselves.
1 change: 1 addition & 0 deletions dev-docs/adr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ Trivial, easily reversible choices (local refactors, naming) do not need an ADR.
| [0003](./0003-reactiveproperty-r3-migration-bridge.md) | Ship a permanent minimal `ReactiveProperty.R3` migration bridge and a migration skill | Accepted |
| [0004](./0004-reactiveproperty-r3-wpf-event-to-reactive.md) | Provide R3-targeting EventToReactive trigger actions in a new ReactiveProperty.R3.WPF package | Accepted |
| [0005](./0005-remove-vuepress-plain-markdown-docs.md) | Remove VuePress; publish docs as plain Markdown on GitHub | Accepted |
| [0006](./0006-upgrade-system-reactive-v7.md) | Upgrade the System.Reactive dependency to v7 | Accepted |
Loading