diff --git a/.agents/skills/releasing-reactiveproperty/SKILL.md b/.agents/skills/releasing-reactiveproperty/SKILL.md index 76ac969c..0651698b 100644 --- a/.agents/skills/releasing-reactiveproperty/SKILL.md +++ b/.agents/skills/releasing-reactiveproperty/SKILL.md @@ -12,7 +12,7 @@ Run the tag-driven release procedure for the ReactiveProperty NuGet package set. - **Repository access**: permission to push tags to `runceel/ReactiveProperty`. - **GitHub CLI**: authenticated with access to Actions and Releases (`gh auth status`). - **NuGet trusted publishing**: `.github/workflows/build-and-publish.yml` uses `NuGet/login@v1` and `secrets.NUGET_USER`; if this setup is broken or missing, use the `nuget-trusted-publishing` skill instead. -- **Local validation environment**: Windows with the .NET 10 SDK (`10.0.x`) when running the full solution locally. +- **Local validation environment**: Windows with the .NET 11 SDK (`11.0.x`) and .NET 10/11 runtimes when running the full solution locally. ## Critical Rules diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index cb35b4b1..d68b4063 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,9 @@ -# [Choice] .NET version: 5.0, 3.1, 2.1 -ARG VARIANT="6.0" -FROM mcr.microsoft.com/dotnet/sdk:${VARIANT}-focal +# The Linux container supports platform-independent projects; WPF needs Windows. +ARG VARIANT="11.0" +FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble AS runtime10 +FROM mcr.microsoft.com/dotnet/sdk:${VARIANT}-noble + +COPY --from=runtime10 /usr/share/dotnet/shared/ /usr/share/dotnet/shared/ # Copy library scripts to execute COPY library-scripts/*.sh library-scripts/*.env /tmp/library-scripts/ diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 20bce4c0..b878f634 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,9 +3,8 @@ "build": { "dockerfile": "Dockerfile", "args": { - // Update 'VARIANT' to pick a .NET Core version. Rebuild the container if - // it already exists to update. Example variants: 2.1-bionic, 3.1-bionic - "VARIANT": "6.0", + // Rebuild the container after changing the SDK version. + "VARIANT": "11.0", // Options "INSTALL_NODE": "true", "NODE_VERSION": "lts/*", diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index cd7a6967..0ef18467 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -6,7 +6,7 @@ on: - 'v*' env: - DOTNET_VERSION: 10.0.x + DOTNET_VERSION: 11.0.x jobs: build: @@ -18,7 +18,9 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: | + 10.0.x + ${{ env.DOTNET_VERSION }} - name: Update version number shell: pwsh run: | diff --git a/.github/workflows/dotnet-core-unit-testing.yml b/.github/workflows/dotnet-core-unit-testing.yml index 1697803f..e61b19f0 100644 --- a/.github/workflows/dotnet-core-unit-testing.yml +++ b/.github/workflows/dotnet-core-unit-testing.yml @@ -5,7 +5,7 @@ on: branches: [ main ] env: - DOTNET_VERSION: 10.0.x + DOTNET_VERSION: 11.0.x jobs: build: @@ -14,11 +14,15 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET Core + - name: Setup .NET SDKs and runtimes uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: | + 10.0.x + ${{ env.DOTNET_VERSION }} - name: Install dependencies run: dotnet restore ReactiveProperty.slnx - - name: Test - run: dotnet test ReactiveProperty.slnx --no-restore --verbosity normal \ No newline at end of file + - name: Build all package targets + run: dotnet build ReactiveProperty.slnx -c Release --no-restore + - name: Test .NET 10 and .NET 11 + run: dotnet test ReactiveProperty.slnx --no-restore --verbosity normal diff --git a/.github/workflows/samples-r3-tests.yml b/.github/workflows/samples-r3-tests.yml index 5fab853c..bd1c88d7 100644 --- a/.github/workflows/samples-r3-tests.yml +++ b/.github/workflows/samples-r3-tests.yml @@ -10,7 +10,7 @@ on: branches: [ main, feature/r3-migration-support ] env: - DOTNET_VERSION: 10.0.x + DOTNET_VERSION: 11.0.x jobs: test: @@ -22,6 +22,8 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: | + 10.0.x + ${{ env.DOTNET_VERSION }} - name: Test R3 migration sample run: dotnet test Samples/ReactivePropertySamples.R3.Tests/ReactivePropertySamples.R3.Tests.csproj --verbosity normal diff --git a/AGENTS.md b/AGENTS.md index 6eeb911d..84371f3c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -30,6 +30,8 @@ Source/ Library source (each folder is one package/assem ReactiveProperty.Platform.WPF/ pkg ReactiveProperty.WPF — EventToReactiveCommand/Property ReactiveProperty.Platform.UWP/ pkg ReactiveProperty.UWP (legacy, no longer supported) ReactiveProperty.Platform.Shared/ Shared project (.shproj/.projitems) imported by platform projects + ReactiveProperty.R3/ pkg ReactiveProperty.R3 — R3 migration bridge + ReactiveProperty.R3.WPF/ pkg ReactiveProperty.R3.WPF — R3 WPF trigger actions Test/ Unit tests (MSTest) ReactiveProperty.NETStandard.Tests/ Core/main library tests (namespace ReactiveProperty.Tests) ReactiveProperty.Blazor.Tests/ Blazor tests (bunit) @@ -49,8 +51,9 @@ ReactiveProperty-Samples.slnx Samples solution ## Build, test, and run -The project uses the **.NET 10 SDK** (`10.0.x`) and CI runs on **Windows** +The project uses the **.NET 11 SDK** (`11.0.x`) and CI runs on **Windows** (the WPF/UWP projects require Windows to build the full solution). +Install the .NET 10 and .NET 11 runtimes to run both automated test target legs. ```pwsh # Restore, build, and test the library + tests @@ -78,16 +81,20 @@ Package versions are managed centrally (`ManagePackageVersionsCentrally=true`). ### Target frameworks (don't change casually) | Project | TargetFramework(s) | |---|---| -| `ReactiveProperty.Core`, `ReactiveProperty.NETStandard` | `netstandard2.0;net8.0;net9.0;net472` | -| `ReactiveProperty.Platform.Blazor` | `net8.0;net9.0;net10.0` | -| `ReactiveProperty.Platform.WPF` | `net8.0-windows;net9.0-windows;net472` | -| `ReactiveProperty.NETStandard.Tests` | `net9.0` | +| `ReactiveProperty.Core`, `ReactiveProperty.NETStandard` | `netstandard2.0;net10.0;net11.0;net472` | +| `ReactiveProperty.Platform.Blazor` | `net10.0;net11.0` | +| `ReactiveProperty.Platform.WPF` | `net10.0-windows;net11.0-windows;net472` | +| `ReactiveProperty.R3` | `netstandard2.0;net10.0;net11.0` | +| `ReactiveProperty.R3.WPF` | `net10.0-windows;net11.0-windows` | +| Core/main, Blazor, and R3 automated tests | `net10.0;net11.0` | +| WPF and R3 WPF automated tests | `net10.0-windows;net11.0-windows` | +| WPF manual test app | `net10.0-windows` | Because of `netstandard2.0`/`net472`, keep core code compatible with older frameworks (avoid APIs that only exist on modern .NET unless guarded). ### Project settings (from `Source/Directory.Build.props`) -- `LangVersion` is **12.0**; `Nullable` is **enable** — keep new code null-annotated. +- `LangVersion` is **14.0**; `Nullable` is **enable** — keep new code null-annotated. - Assemblies are **strong-name signed** (`key.snk`); don't break signing. - XML documentation is generated (`GenerateDocumentationFile=true`) — public APIs need doc comments. - The package **version** is `` in `Source/Directory.Build.props` (do not hand-edit for releases; the tag workflow updates it). diff --git a/Directory.Packages.props b/Directory.Packages.props index 8d3de3a0..033de842 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,14 +10,9 @@ - - - - + - - @@ -27,8 +22,8 @@ - - + + diff --git a/README-ja.md b/README-ja.md index da4f8113..914c0421 100644 --- a/README-ja.md +++ b/README-ja.md @@ -7,6 +7,9 @@ ReactiveProperty ReactivePropertyは、Reactive ExtensionsをMVVMパターンと非同期用に拡張したものです。 +コア パッケージは .NET 10、.NET 11、.NET Framework 4.7.2 以降、.NET Standard 2.0 をターゲットにしています。 +プラットフォーム別の対象とパッケージの一覧は[日本語ドキュメント](docs/docs-ja/README.md#nuget-パッケージ)を参照してください。 + ## ReactivePropertyの機能 以下の記事を参照してください。 diff --git a/README.md b/README.md index 899284ec..24ed0d55 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # ReactiveProperty -ReactiveProperty provides MVVM and asynchronous support features under Reactive Extensions. Target framework is .NET 8.0+, .NET Framework 4.7.2 and .NET Standard 2.0. +ReactiveProperty provides MVVM and asynchronous support features under Reactive Extensions. The core packages target .NET 10, .NET 11, .NET Framework 4.7.2 or later, and .NET Standard 2.0. See the [package overview](#nuget-packages) for platform-specific targets. ![](https://img.shields.io/nuget/v/ReactiveProperty.svg) ![](https://img.shields.io/nuget/dt/ReactiveProperty.svg) @@ -149,10 +149,12 @@ ReactiveProperty doesn't provide base class by ViewModel, which means that React |Package Id|Version and downloads|Description| |----|----|----| -|[ReactiveProperty](https://www.nuget.org/packages/ReactiveProperty/)|![](https://img.shields.io/nuget/v/ReactiveProperty.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.svg)|The package includes all core features.| -|[ReactiveProperty.Core](https://www.nuget.org/packages/ReactiveProperty.Core/)|![](https://img.shields.io/nuget/v/ReactiveProperty.Core.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Core.svg)|The package includes minimum classes such as `ReactivePropertySlim` and `ReadOnlyReactivePropertySlim`. And this doesn't have any dependency even System.Reactive. If you don't need Rx features, then it fits.| -|[ReactiveProperty.WPF](https://www.nuget.org/packages/ReactiveProperty.WPF/)|![](https://img.shields.io/nuget/v/ReactiveProperty.WPF.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.WPF.svg)|The package includes EventToReactiveProperty and EventToReactiveCommand for WPF. This is for .NET 6 or later and .NET Framework 4.7.2 or later.| -|[ReactiveProperty.Blazor](https://www.nuget.org/packages/ReactiveProperty.Blazor/)|![](https://img.shields.io/nuget/v/ReactiveProperty.Blazor.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Blazor.svg)|The package includes validation support for EditForm component of Blazor with ReactiveProperty validation feature for `InteractiveServer` render mode. This is for .NET 8.0 or later. | +|[ReactiveProperty](https://www.nuget.org/packages/ReactiveProperty/)|![](https://img.shields.io/nuget/v/ReactiveProperty.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.svg)|MVVM and asynchronous features built on System.Reactive. `netstandard2.0;net10.0;net11.0;net472`.| +|[ReactiveProperty.Core](https://www.nuget.org/packages/ReactiveProperty.Core/)|![](https://img.shields.io/nuget/v/ReactiveProperty.Core.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Core.svg)|Minimal types such as `ReactivePropertySlim` and `ReadOnlyReactivePropertySlim`, without a System.Reactive dependency. `netstandard2.0;net10.0;net11.0;net472`.| +|[ReactiveProperty.WPF](https://www.nuget.org/packages/ReactiveProperty.WPF/)|![](https://img.shields.io/nuget/v/ReactiveProperty.WPF.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.WPF.svg)|WPF EventToReactiveProperty and EventToReactiveCommand behaviors. `net10.0-windows;net11.0-windows;net472`.| +|[ReactiveProperty.Blazor](https://www.nuget.org/packages/ReactiveProperty.Blazor/)|![](https://img.shields.io/nuget/v/ReactiveProperty.Blazor.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Blazor.svg)|EditForm validation integration with ReactiveProperty for InteractiveServer render mode. `net10.0;net11.0`.| +|[ReactiveProperty.R3](https://www.nuget.org/packages/ReactiveProperty.R3/)|![](https://img.shields.io/nuget/v/ReactiveProperty.R3.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.R3.svg)|An R3-native migration bridge for existing ReactiveProperty ViewModels. `netstandard2.0;net10.0;net11.0`.| +|[ReactiveProperty.R3.WPF](https://www.nuget.org/packages/ReactiveProperty.R3.WPF/)|![](https://img.shields.io/nuget/v/ReactiveProperty.R3.WPF.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.R3.WPF.svg)|R3-native EventToReactiveProperty and EventToReactiveCommand trigger actions for WPF. `net10.0-windows;net11.0-windows`.| The following packages are no longer supported. diff --git a/Samples/ReactivePropertySamples.R3.Shared/ReactivePropertySamples.R3.Shared.csproj b/Samples/ReactivePropertySamples.R3.Shared/ReactivePropertySamples.R3.Shared.csproj index 5d33163f..6bb5a183 100644 --- a/Samples/ReactivePropertySamples.R3.Shared/ReactivePropertySamples.R3.Shared.csproj +++ b/Samples/ReactivePropertySamples.R3.Shared/ReactivePropertySamples.R3.Shared.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net8.0;net9.0;net10.0 + netstandard2.0;net10.0;net11.0 ReactivePropertySamples.Migrated latest diff --git a/Samples/ReactivePropertySamples.R3.Tests/ReactivePropertySamples.R3.Tests.csproj b/Samples/ReactivePropertySamples.R3.Tests/ReactivePropertySamples.R3.Tests.csproj index b5389bfe..92684366 100644 --- a/Samples/ReactivePropertySamples.R3.Tests/ReactivePropertySamples.R3.Tests.csproj +++ b/Samples/ReactivePropertySamples.R3.Tests/ReactivePropertySamples.R3.Tests.csproj @@ -1,7 +1,7 @@  - net10.0 + net10.0;net11.0 ReactivePropertySamples.R3.Tests latest enable diff --git a/Source/ReactiveProperty.Core/ReactiveProperty.Core.csproj b/Source/ReactiveProperty.Core/ReactiveProperty.Core.csproj index d1a24f32..861ae21e 100644 --- a/Source/ReactiveProperty.Core/ReactiveProperty.Core.csproj +++ b/Source/ReactiveProperty.Core/ReactiveProperty.Core.csproj @@ -2,7 +2,7 @@ ReactiveProperty.Core - netstandard2.0;net8.0;net9.0;net10.0;net472 + netstandard2.0;net10.0;net11.0;net472 ReactiveProperty.Core true key.snk diff --git a/Source/ReactiveProperty.NETStandard/ReactiveProperty.NETStandard.csproj b/Source/ReactiveProperty.NETStandard/ReactiveProperty.NETStandard.csproj index a536fd0c..9384c837 100644 --- a/Source/ReactiveProperty.NETStandard/ReactiveProperty.NETStandard.csproj +++ b/Source/ReactiveProperty.NETStandard/ReactiveProperty.NETStandard.csproj @@ -2,7 +2,7 @@ ReactiveProperty - netstandard2.0;net8.0;net9.0;net10.0;net472 + netstandard2.0;net10.0;net11.0;net472 ReactiveProperty true key.snk diff --git a/Source/ReactiveProperty.Platform.Blazor/ReactiveProperty.Platform.Blazor.csproj b/Source/ReactiveProperty.Platform.Blazor/ReactiveProperty.Platform.Blazor.csproj index 65cb1fa8..de09cff0 100644 --- a/Source/ReactiveProperty.Platform.Blazor/ReactiveProperty.Platform.Blazor.csproj +++ b/Source/ReactiveProperty.Platform.Blazor/ReactiveProperty.Platform.Blazor.csproj @@ -1,7 +1,7 @@ - net8.0;net9.0;net10.0 + net10.0;net11.0 enable enable ReactiveProperty.Blazor diff --git a/Source/ReactiveProperty.Platform.WPF/ReactiveProperty.Platform.WPF.csproj b/Source/ReactiveProperty.Platform.WPF/ReactiveProperty.Platform.WPF.csproj index 8333f29b..f1a8ab17 100644 --- a/Source/ReactiveProperty.Platform.WPF/ReactiveProperty.Platform.WPF.csproj +++ b/Source/ReactiveProperty.Platform.WPF/ReactiveProperty.Platform.WPF.csproj @@ -1,7 +1,7 @@  - net8.0-windows;net9.0-windows;net10.0-windows;net472 + net10.0-windows;net11.0-windows;net472 ReactiveProperty.WPF true true diff --git a/Source/ReactiveProperty.R3.WPF/ReactiveProperty.R3.WPF.csproj b/Source/ReactiveProperty.R3.WPF/ReactiveProperty.R3.WPF.csproj index fc675c08..27f61a72 100644 --- a/Source/ReactiveProperty.R3.WPF/ReactiveProperty.R3.WPF.csproj +++ b/Source/ReactiveProperty.R3.WPF/ReactiveProperty.R3.WPF.csproj @@ -4,7 +4,7 @@ ReactiveProperty.R3.WPF Reactive.Bindings.R3 ReactiveProperty.R3.WPF - net8.0-windows;net9.0-windows;net10.0-windows + net10.0-windows;net11.0-windows true true ..\ReactiveProperty.Core\key.snk diff --git a/Source/ReactiveProperty.R3/ReactiveProperty.R3.csproj b/Source/ReactiveProperty.R3/ReactiveProperty.R3.csproj index 8f8cc792..cd87a9fb 100644 --- a/Source/ReactiveProperty.R3/ReactiveProperty.R3.csproj +++ b/Source/ReactiveProperty.R3/ReactiveProperty.R3.csproj @@ -3,7 +3,7 @@ ReactiveProperty.R3 Reactive.Bindings.R3 - netstandard2.0;net8.0;net9.0;net10.0 + netstandard2.0;net10.0;net11.0 ReactiveProperty.R3 true ..\ReactiveProperty.Core\key.snk diff --git a/Test/ReactiveProperty.Blazor.Tests/ReactiveProperty.Blazor.Tests.csproj b/Test/ReactiveProperty.Blazor.Tests/ReactiveProperty.Blazor.Tests.csproj index 9542cca4..86d8839b 100644 --- a/Test/ReactiveProperty.Blazor.Tests/ReactiveProperty.Blazor.Tests.csproj +++ b/Test/ReactiveProperty.Blazor.Tests/ReactiveProperty.Blazor.Tests.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0;net11.0 enable true false diff --git a/Test/ReactiveProperty.NETStandard.Tests/ReactiveProperty.NETStandard.Tests.csproj b/Test/ReactiveProperty.NETStandard.Tests/ReactiveProperty.NETStandard.Tests.csproj index 68e42216..b73460a9 100644 --- a/Test/ReactiveProperty.NETStandard.Tests/ReactiveProperty.NETStandard.Tests.csproj +++ b/Test/ReactiveProperty.NETStandard.Tests/ReactiveProperty.NETStandard.Tests.csproj @@ -1,7 +1,9 @@  - net9.0 + net10.0;net11.0 + + false ReactiveProperty.Tests ReactiveProperty.Tests true diff --git a/Test/ReactiveProperty.R3.Tests/ReactiveProperty.R3.Tests.csproj b/Test/ReactiveProperty.R3.Tests/ReactiveProperty.R3.Tests.csproj index 6907cd0f..67db1fd2 100644 --- a/Test/ReactiveProperty.R3.Tests/ReactiveProperty.R3.Tests.csproj +++ b/Test/ReactiveProperty.R3.Tests/ReactiveProperty.R3.Tests.csproj @@ -1,7 +1,7 @@  - net10.0 + net10.0;net11.0 ReactiveProperty.Tests true false diff --git a/Test/ReactiveProperty.R3.WPF.Tests/ReactiveProperty.R3.WPF.Tests.csproj b/Test/ReactiveProperty.R3.WPF.Tests/ReactiveProperty.R3.WPF.Tests.csproj index eb745e2e..ecef0abf 100644 --- a/Test/ReactiveProperty.R3.WPF.Tests/ReactiveProperty.R3.WPF.Tests.csproj +++ b/Test/ReactiveProperty.R3.WPF.Tests/ReactiveProperty.R3.WPF.Tests.csproj @@ -1,7 +1,7 @@  - net9.0-windows + net10.0-windows;net11.0-windows false true ReactiveProperty.R3.Tests @@ -9,7 +9,6 @@ - diff --git a/Test/ReactiveProperty.WPF.ManualTests/ReactiveProperty.WPF.ManualTests.csproj b/Test/ReactiveProperty.WPF.ManualTests/ReactiveProperty.WPF.ManualTests.csproj index a3ed18f6..5852d2c0 100644 --- a/Test/ReactiveProperty.WPF.ManualTests/ReactiveProperty.WPF.ManualTests.csproj +++ b/Test/ReactiveProperty.WPF.ManualTests/ReactiveProperty.WPF.ManualTests.csproj @@ -2,7 +2,7 @@ WinExe - net9.0-windows + net10.0-windows enable true diff --git a/Test/ReactiveProperty.WPF.Tests/ReactiveProperty.WPF.Tests.csproj b/Test/ReactiveProperty.WPF.Tests/ReactiveProperty.WPF.Tests.csproj index 7a95ce20..c164f793 100644 --- a/Test/ReactiveProperty.WPF.Tests/ReactiveProperty.WPF.Tests.csproj +++ b/Test/ReactiveProperty.WPF.Tests/ReactiveProperty.WPF.Tests.csproj @@ -1,7 +1,7 @@  - net9.0-windows + net10.0-windows;net11.0-windows false true ReactiveProperty.Tests @@ -10,7 +10,6 @@ - diff --git a/dev-docs/adr/0007-support-dotnet11-and-retire-dotnet8-and-dotnet9-targets.md b/dev-docs/adr/0007-support-dotnet11-and-retire-dotnet8-and-dotnet9-targets.md new file mode 100644 index 00000000..cf9585fd --- /dev/null +++ b/dev-docs/adr/0007-support-dotnet11-and-retire-dotnet8-and-dotnet9-targets.md @@ -0,0 +1,59 @@ +# 0007. Support .NET 11 and retire .NET 8 and .NET 9 target legs + +- **Status:** Accepted +- **Date:** 2026-11-17 +- **Deciders:** ReactiveProperty maintainers + +## Context + +The maintainer approved adding .NET 11 support and retiring the .NET 8 and .NET 9 +package target legs and test coverage in issue #570. Existing .NET Standard 2.0, +.NET Framework 4.7.2, and .NET 10 assets must remain available. Current contributor +and package guidance no longer matches the projects or the configured C# 14 compiler. + +## Decision + +We will ship explicit .NET 10 and .NET 11 targets in all six packages in the main +solution, retaining each package's existing .NET Standard 2.0 and .NET Framework +4.7.2 assets where present. WPF targets remain Windows-specific. We will not raise +`LangVersion` beyond C# 14 or change supported-platform runtime semantics. + +Automated library and R3 sample tests will run on .NET 10 and .NET 11. The core +test project will run its target frameworks serially: concurrent test hosts +reproducibly exceed the existing large-collection test timeouts. CI will install +both runtimes, use the .NET 11 SDK, build all package targets in Release, and +retain the existing default Debug configuration for automated tests. + +The migration assessment uses the migration skill's .NET 11 Preview 3 compiler, +core library, SDK/MSBuild, and ASP.NET Core references. The scanned code does not +use the affected compression/archive, pipe, calendar, cryptography, background +service, OpenAPI, EF Core, or Blazor Virtualize APIs. The new SDK's redundant +`Microsoft.CSharp` package warning is resolved in modern WPF test projects. + +Retired platform removal is a separate issue (#571), not part of this decision. +Historical release notes, accepted ADRs, and existing platform code and tutorials +remain unchanged here. + +### Alternatives considered + +- Keep all old framework legs: rejected after the maintainer explicitly approved + dropping the out-of-support .NET 8 and .NET 9 legs. +- Remove compatibility assets as well: rejected because preserving existing + .NET Standard and .NET Framework consumers is required. +- Combine platform removal with this migration: rejected in favor of a separate + issue and pull request. + +## Consequences + +Consumers receive native .NET 11 assets, and CI exercises both supported modern +runtimes without losing legacy compatibility builds. Existing .NET 8/9 consumers +must upgrade for a supported modern runtime; some may still resolve the retained +.NET Standard assets, but no dedicated .NET 8/9 binaries or tests are shipped. + +C# 14 and compatibility targets still constrain which BCL APIs can be used in +shared code. + +The supplied migration references cover changes through Preview 3 only, even +though validation uses the installed .NET 11.0.100 SDK. Passing builds and tests +cannot establish coverage of every later runtime change or external deployment's +hardware requirements. diff --git a/dev-docs/adr/README.md b/dev-docs/adr/README.md index 6d4f1937..5482e81e 100644 --- a/dev-docs/adr/README.md +++ b/dev-docs/adr/README.md @@ -40,3 +40,4 @@ Trivial, easily reversible choices (local refactors, naming) do not need an ADR. | [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 | +| [0007](./0007-support-dotnet11-and-retire-dotnet8-and-dotnet9-targets.md) | Support .NET 11 and retire .NET 8 and .NET 9 target legs | Accepted | diff --git a/docs/docs-ja/README.md b/docs/docs-ja/README.md index ccb6a973..fe9f693b 100644 --- a/docs/docs-ja/README.md +++ b/docs/docs-ja/README.md @@ -1,6 +1,6 @@ # ReactiveProperty とは -ReactiveProperty は Reactive Extensions 向けに MVVM と非同期処理を支援する機能を提供します。ターゲット フレームワークは .NET Standard 2.0 です。 +ReactiveProperty は Reactive Extensions 向けに MVVM と非同期処理を支援する機能を提供します。コア パッケージは .NET 10、.NET 11、.NET Framework 4.7.2 以降、.NET Standard 2.0 をターゲットにしています。プラットフォーム別の対象は[パッケージ一覧](#nuget-パッケージ)を参照してください。 ![概要](../docs/images/rpsummary.png) @@ -152,9 +152,12 @@ ReactiveProperty は次のリンクから使い始めることができます。 |パッケージ ID|バージョンとダウンロード数|説明| |----|----|----| -|ReactiveProperty|![](https://img.shields.io/nuget/v/ReactiveProperty.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.svg)|すべてのコア機能が含まれ、ターゲット プラットフォームは .NET Standard 2.0 です。ほぼすべての状況に適しています。| -|ReactiveProperty.Core|![](https://img.shields.io/nuget/v/ReactiveProperty.Core.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Core.svg)|`ReactivePropertySlim` や `ReadOnlyReactivePropertySlim` など、最小限のクラスが含まれます。System.Reactive にも依存しません。Rx 機能が不要な場合に適しています。| -|ReactiveProperty.WPF|![](https://img.shields.io/nuget/v/ReactiveProperty.WPF.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.WPF.svg)|WPF 向けの EventToReactiveProperty と EventToReactiveCommand が含まれます。.NET Core 3.0 以降および .NET Framework 4.7.2 以降向けです。| +|[ReactiveProperty](https://www.nuget.org/packages/ReactiveProperty/)|![](https://img.shields.io/nuget/v/ReactiveProperty.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.svg)|System.Reactive を使った MVVM と非同期処理の機能。 `netstandard2.0;net10.0;net11.0;net472`.| +|[ReactiveProperty.Core](https://www.nuget.org/packages/ReactiveProperty.Core/)|![](https://img.shields.io/nuget/v/ReactiveProperty.Core.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Core.svg)|`ReactivePropertySlim` や `ReadOnlyReactivePropertySlim` などの最小限の型。System.Reactive には依存しません。 `netstandard2.0;net10.0;net11.0;net472`.| +|[ReactiveProperty.WPF](https://www.nuget.org/packages/ReactiveProperty.WPF/)|![](https://img.shields.io/nuget/v/ReactiveProperty.WPF.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.WPF.svg)|WPF 向けの EventToReactiveProperty と EventToReactiveCommand ビヘイビア。 `net10.0-windows;net11.0-windows;net472`.| +|[ReactiveProperty.Blazor](https://www.nuget.org/packages/ReactiveProperty.Blazor/)|![](https://img.shields.io/nuget/v/ReactiveProperty.Blazor.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Blazor.svg)|InteractiveServer レンダー モードで ReactiveProperty の検証と EditForm を連携する機能。 `net10.0;net11.0`.| +|[ReactiveProperty.R3](https://www.nuget.org/packages/ReactiveProperty.R3/)|![](https://img.shields.io/nuget/v/ReactiveProperty.R3.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.R3.svg)|既存の ReactiveProperty ViewModel を R3 へ移行するためのブリッジ。 `netstandard2.0;net10.0;net11.0`.| +|[ReactiveProperty.R3.WPF](https://www.nuget.org/packages/ReactiveProperty.R3.WPF/)|![](https://img.shields.io/nuget/v/ReactiveProperty.R3.WPF.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.R3.WPF.svg)|R3 向けの WPF EventToReactiveProperty と EventToReactiveCommand トリガー アクション。 `net10.0-windows;net11.0-windows`.| |ReactiveProperty.UWP|![](https://img.shields.io/nuget/v/ReactiveProperty.UWP.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.UWP.svg)|UWP 向けの EventToReactiveProperty と EventToReactiveCommand が含まれます。| |ReactiveProperty.XamarinAndroid|![](https://img.shields.io/nuget/v/ReactiveProperty.XamarinAndroid.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.XamarinAndroid.svg)|Xamarin.Android ネイティブのイベントから IObservable インスタンスを作成するための多くの拡張メソッドが含まれます。| -|ReactiveProperty.XamariniOS|![](https://img.shields.io/nuget/v/ReactiveProperty.XamariniOS.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.XamariniOS.svg)|ReactiveProperty と ReactiveCommand を Xamarin.iOS ネイティブ コントロールにバインドするための多くの拡張メソッドが含まれます。| \ No newline at end of file +|ReactiveProperty.XamariniOS|![](https://img.shields.io/nuget/v/ReactiveProperty.XamariniOS.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.XamariniOS.svg)|ReactiveProperty と ReactiveCommand を Xamarin.iOS ネイティブ コントロールにバインドするための多くの拡張メソッドが含まれます。| diff --git a/docs/docs-ja/getting-started/wpf.md b/docs/docs-ja/getting-started/wpf.md index f53f45b6..b86cb0ca 100644 --- a/docs/docs-ja/getting-started/wpf.md +++ b/docs/docs-ja/getting-started/wpf.md @@ -2,7 +2,7 @@ ## プロジェクトの作成 - WPF App (.NET Framework) プロジェクトを作成します。 - - .NET Framework 4.7.2 以降、または .NET Core 3.0 以降を使用する必要があります。 + - Windows 向けの .NET 10 または .NET 11、もしくは .NET Framework 4.7.2 以降を使用してください。 - NuGet から ReactiveProperty.WPF パッケージをインストールします。 ## コードの編集 diff --git a/docs/docs/README.md b/docs/docs/README.md index 8d3d3b7a..2acf0069 100644 --- a/docs/docs/README.md +++ b/docs/docs/README.md @@ -1,6 +1,6 @@ # What is ReactiveProperty -ReactiveProperty provides MVVM and asynchronous support features for Reactive Extensions. The target framework is .NET Standard 2.0. +ReactiveProperty provides MVVM and asynchronous support features for Reactive Extensions. The core packages target .NET 10, .NET 11, .NET Framework 4.7.2 or later, and .NET Standard 2.0. See the [package overview](#nuget-packages) for platform-specific targets. ![Summary](./images/rpsummary.png) @@ -152,9 +152,12 @@ Learn the core features from the following links. |Package Id|Version and downloads|Description| |----|----|----| -|ReactiveProperty|![](https://img.shields.io/nuget/v/ReactiveProperty.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.svg)|The package includes all core features, and the target platform is .NET Standard 2.0. It fits almost all situations.| -|ReactiveProperty.Core|![](https://img.shields.io/nuget/v/ReactiveProperty.Core.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Core.svg)|The package includes minimal classes such as `ReactivePropertySlim` and `ReadOnlyReactivePropertySlim`. It has no dependencies, not even System.Reactive. If you don't need Rx features, it fits.| -|ReactiveProperty.WPF|![](https://img.shields.io/nuget/v/ReactiveProperty.WPF.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.WPF.svg)|The package includes EventToReactiveProperty and EventToReactiveCommand for WPF. This is for .NET Core 3.0 or later and .NET Framework 4.7.2 or later.| +|[ReactiveProperty](https://www.nuget.org/packages/ReactiveProperty/)|![](https://img.shields.io/nuget/v/ReactiveProperty.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.svg)|MVVM and asynchronous features built on System.Reactive. `netstandard2.0;net10.0;net11.0;net472`.| +|[ReactiveProperty.Core](https://www.nuget.org/packages/ReactiveProperty.Core/)|![](https://img.shields.io/nuget/v/ReactiveProperty.Core.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Core.svg)|Minimal types such as `ReactivePropertySlim` and `ReadOnlyReactivePropertySlim`, without a System.Reactive dependency. `netstandard2.0;net10.0;net11.0;net472`.| +|[ReactiveProperty.WPF](https://www.nuget.org/packages/ReactiveProperty.WPF/)|![](https://img.shields.io/nuget/v/ReactiveProperty.WPF.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.WPF.svg)|WPF EventToReactiveProperty and EventToReactiveCommand behaviors. `net10.0-windows;net11.0-windows;net472`.| +|[ReactiveProperty.Blazor](https://www.nuget.org/packages/ReactiveProperty.Blazor/)|![](https://img.shields.io/nuget/v/ReactiveProperty.Blazor.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.Blazor.svg)|EditForm validation integration with ReactiveProperty for InteractiveServer render mode. `net10.0;net11.0`.| +|[ReactiveProperty.R3](https://www.nuget.org/packages/ReactiveProperty.R3/)|![](https://img.shields.io/nuget/v/ReactiveProperty.R3.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.R3.svg)|An R3-native migration bridge for existing ReactiveProperty ViewModels. `netstandard2.0;net10.0;net11.0`.| +|[ReactiveProperty.R3.WPF](https://www.nuget.org/packages/ReactiveProperty.R3.WPF/)|![](https://img.shields.io/nuget/v/ReactiveProperty.R3.WPF.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.R3.WPF.svg)|R3-native EventToReactiveProperty and EventToReactiveCommand trigger actions for WPF. `net10.0-windows;net11.0-windows`.| |ReactiveProperty.UWP|![](https://img.shields.io/nuget/v/ReactiveProperty.UWP.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.UWP.svg)|The package includes EventToReactiveProperty and EventToReactiveCommand for UWP.| |ReactiveProperty.XamarinAndroid|![](https://img.shields.io/nuget/v/ReactiveProperty.XamarinAndroid.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.XamarinAndroid.svg)|The package includes many extension methods to create IObservable instances from events for Xamarin.Android native.| |ReactiveProperty.XamariniOS|![](https://img.shields.io/nuget/v/ReactiveProperty.XamariniOS.svg)![](https://img.shields.io/nuget/dt/ReactiveProperty.XamariniOS.svg)|The package includes many extension methods to bind ReactiveProperty and ReactiveCommand to Xamarin.iOS native controls.| diff --git a/docs/docs/getting-started/wpf.md b/docs/docs/getting-started/wpf.md index 5ecfdab8..b17e53cf 100644 --- a/docs/docs/getting-started/wpf.md +++ b/docs/docs/getting-started/wpf.md @@ -2,7 +2,7 @@ ## Create a project - Create a WPF App (.NET Framework) project. - - You must use .NET Framework 4.7.2 or later, or .NET Core 3.0 or later. + - Use .NET 10 or .NET 11 for Windows, or .NET Framework 4.7.2 or later. - Install ReactiveProperty.WPF package from NuGet. ## Edit the code