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
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
dotnet-version: |
8.0.x
9.0.x
10.0.x

- name: Display dotnet version
run: dotnet --version
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

### Added

- Support for .NET10 (#188)

### Changed

- Update dependencies

## [0.18.0] - 2026-01-04

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

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
12 changes: 6 additions & 6 deletions TypeContractor.Tests/TypeContractor.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
Expand All @@ -19,14 +19,14 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="7.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="xunit.v3" Version="3.2.1" />
<PackageReference Include="FluentAssertions" Version="7.2.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
<PackageReference Include="xunit.v3" Version="3.2.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.4">
<PackageReference Include="coverlet.collector" Version="8.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion TypeContractor.Tool/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

var dotnetVersionOptions = new Option<int>("--dotnet-version")
{
DefaultValueFactory = (arg) => config.GetNumberWithFallback("dotnet-version", 8),
DefaultValueFactory = (arg) => config.GetNumberWithFallback("dotnet-version", 10),
Description = "Major version of dotnet to look for",
};

Expand Down
4 changes: 2 additions & 2 deletions TypeContractor.Tool/TypeContractor.Tool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand All @@ -26,7 +26,7 @@

<ItemGroup>
<PackageReference Include="DotNetConfig" Version="1.2.0" />
<PackageReference Include="System.CommandLine" Version="2.0.1" />
<PackageReference Include="System.CommandLine" Version="2.0.3" />
</ItemGroup>

<ItemGroup>
Expand Down
11 changes: 9 additions & 2 deletions TypeContractor.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
# Visual Studio Version 18
VisualStudioVersion = 18.3.11520.95 d18.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TypeContractor", "TypeContractor\TypeContractor.csproj", "{4BE2CCA2-1FC6-483E-9D29-7BFEADA192FC}"
EndProject
Expand All @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.editorconfig = .editorconfig
.gitignore = .gitignore
CHANGELOG.md = CHANGELOG.md
global.json = global.json
LICENSE = LICENSE
NuGet.config = NuGet.config
README.md = README.md
Expand All @@ -32,6 +33,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{02EA681E
tools\zod-errors.ts = tools\zod-errors.ts
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "github", "github", "{35827A33-9B0F-4FBF-8F41-3FD027BD133B}"
ProjectSection(SolutionItems) = preProject
.github\dependabot.yml = .github\dependabot.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -68,6 +74,7 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {70D3E515-AB31-4EDB-886A-23ECD377E3AE}
{35827A33-9B0F-4FBF-8F41-3FD027BD133B} = {70D3E515-AB31-4EDB-886A-23ECD377E3AE}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BE873438-37D1-44EF-98BD-2A263351F7F2}
Expand Down
4 changes: 2 additions & 2 deletions TypeContractor/TypeContractor.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AnalysisLevel>latest-recommended</AnalysisLevel>
Expand All @@ -17,7 +17,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Handlebars.Net" Version="2.1.6" />
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="9.0.9" />
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="10.0.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\TypeContractor.Annotations\TypeContractor.Annotations.csproj" />
Expand Down
5 changes: 5 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"sdk": {
"version": "10.0.103"
}
}
Loading