Skip to content
Open
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
10 changes: 9 additions & 1 deletion .github/workflows/BuildAndTestOnPullRequests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ jobs:
Build_Stateless_solution:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
10.0.x

- name: Install dependencies
run: dotnet restore
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 5.20.1 - 2025.11.16
### Added
- Included dotnet 10 in targets [#636]

## 5.20.0 - 2025.09.18
### Fixed
- Fixed async parent state transitions being ignored when child state transition guard condition is not met [#631]
Expand Down Expand Up @@ -259,6 +263,7 @@ Version 5.10.0 is now listed as the newest, since it has the highest version num
### Removed
### Fixed

[#636]: https://github.com/dotnet-state-machine/stateless/issues/636
[#631]: https://github.com/dotnet-state-machine/stateless/pull/631
[#626]: https://github.com/dotnet-state-machine/stateless/pull/626
[#625]: https://github.com/dotnet-state-machine/stateless/pull/625
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ Setting this is vital within a Microsoft Orleans Grain for example, which requir

## Building

Stateless runs on .NET runtime version 4+ and practically all modern .NET platforms by targeting .NET Framework 4.6.2, .NET Standard 2.0 and .NET 8.0. Visual Studio 2017 or later is required to build the solution.
Stateless runs on .NET runtime version 4+ and practically all modern .NET platforms by targeting .NET Framework 4.6.2, .NET Standard 2.0, and .NET 8.0, 9.0 and 10.0. Visual Studio 2017 or later is required to build the solution.


## Contributing
Expand Down
2 changes: 1 addition & 1 deletion example/AlarmExample/AlarmExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion example/BugTrackerExample/BugTrackerExample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<AssemblyName>BugTrackerExample</AssemblyName>
<OutputType>Exe</OutputType>
<PackageId>BugTrackerExample</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion example/JsonExample/JsonExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion example/OnOffExample/OnOffExample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<AssemblyName>OnOffExample</AssemblyName>
<OutputType>Exe</OutputType>
<PackageId>OnOffExample</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion example/TelephoneCallExample/TelephoneCallExample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<AssemblyName>TelephoneCallExample</AssemblyName>
<OutputType>Exe</OutputType>
<PackageId>TelephoneCallExample</PackageId>
Expand Down
4 changes: 2 additions & 2 deletions src/Stateless/Stateless.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<AssemblyName>Stateless</AssemblyName>
<AssemblyTitle>Stateless</AssemblyTitle>
<Product>Stateless</Product>
<TargetFrameworks>netstandard2.0;net462;net8.0;net9.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net462;net8.0;net9.0;net10.0</TargetFrameworks>
<Description>Create state machines and lightweight state machine-based workflows directly in .NET code</Description>
<Copyright>Copyright © Stateless Contributors 2009-$([System.DateTime]::Now.ToString(yyyy))</Copyright>
<NeutralLanguage>en-US</NeutralLanguage>
<VersionPrefix>5.20.0</VersionPrefix>
<VersionPrefix>5.20.1</VersionPrefix>
<Authors>Stateless Contributors</Authors>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down