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
50 changes: 26 additions & 24 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ guidelines and instructions for contributing.

<!-- TOC -->

* [Contributing to MinimalLambda](#contributing-to-minimal-lambda)
* [Table of Contents](#table-of-contents)
* [Code of Conduct](#code-of-conduct)
* [Getting Started](#getting-started)
* [Development Setup](#development-setup)
* [Code Formatting](#code-formatting)
* [Making Changes](#making-changes)
* [Commit Guidelines](#commit-guidelines)
* [Pull Request Process](#pull-request-process)
* [Code Style](#code-style)
* [Testing](#testing)
* [Documentation](#documentation)
* [Target Frameworks](#target-frameworks)
* [Central Package Management](#central-package-management)
* [CI/CD Integration](#cicd-integration)
* [Questions or Need Help?](#questions-or-need-help)
* [License](#license)
- [Contributing to MinimalLambda](#contributing-to-minimal-lambda)
- [Table of Contents](#table-of-contents)
- [Code of Conduct](#code-of-conduct)
- [Getting Started](#getting-started)
- [Development Setup](#development-setup)
- [Code Formatting](#code-formatting)
- [Making Changes](#making-changes)
- [Commit Guidelines](#commit-guidelines)
- [Pull Request Process](#pull-request-process)
- [Code Style](#code-style)
- [Testing](#testing)
- [Documentation](#documentation)
- [Target Frameworks](#target-frameworks)
- [Central Package Management](#central-package-management)
- [CI/CD Integration](#cicd-integration)
- [Questions or Need Help?](#questions-or-need-help)
- [License](#license)

<!-- TOC -->

Expand Down Expand Up @@ -63,7 +63,7 @@ mise run setup
```

Review `mise.toml` before trusting it. The configuration installs the build SDK from `global.json`,
.NET 8/9/10 SDKs for the test runtimes, Node.js, Python, uv, and Task. SDKs share one .NET root so
.NET 10 and .NET 11 SDKs for the test runtimes, Node.js, Python, uv, and Task. SDKs share one .NET root so
all test frameworks are available to the .NET 11 host. Tool installation runs sequentially to
avoid concurrent SDK installers writing the same files. Resolved tool versions are recorded in
`mise.lock` for Linux and macOS on x64/arm64, and Windows on x64.
Expand Down Expand Up @@ -101,7 +101,7 @@ with tool changes. Put machine-specific overrides in the ignored `mise.local.tom

### Manual setup

Without mise, install the stable .NET 11 SDK, .NET 8/9/10 SDKs or their required runtimes, Node.js 24,
Without mise, install the stable .NET 11 SDK, the .NET 10 SDK or its runtime, Node.js 24,
Python 3.13, uv, Task, and Git. Then run:

```bash
Expand All @@ -114,7 +114,7 @@ task test:all
```

The SDK includes both .NET and ASP.NET Core runtimes. When installing only runtimes, install both
families for the older target frameworks. Exact SDK and tool versions are listed in `mise.lock`.
families for both supported target frameworks. Exact SDK and tool versions are listed in `mise.lock`.

## Code Formatting

Expand Down Expand Up @@ -230,12 +230,14 @@ when using extension method syntax.
## Pull Request Process

1. **Ensure your branch is up to date**:

```bash
git fetch upstream
git rebase upstream/main
```

2. **Push to your fork**:

```bash
git push origin your-branch-name
```
Expand Down Expand Up @@ -384,13 +386,13 @@ dotnet test --coverage --coverage-output-format cobertura

## Target Frameworks

This project supports multiple .NET versions:
This project supports two .NET versions:

- **.NET 8.0** (supported)
- **.NET 9.0** (supported)
- **.NET 10.0** (supported)
- **.NET 11.0** (primary target)

The library packages stop at `net10.0` and `net11.0`. .NET 8 and .NET 9 are no longer supported.

Build the repository with the stable .NET 11 SDK, version 11.0.100 or later, and C# 15.
`task build:aot-check` validates Native AOT publishing on .NET 10 and .NET 11.

Expand Down Expand Up @@ -429,6 +431,6 @@ Ensure your changes pass all checks before requesting review.
By contributing to this project, you agree that your contributions will be licensed under the same
MIT License as the project.

---
______________________________________________________________________

**Thank you for contributing to MinimalLambda!** 🚀
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</PackageReference>
</ItemGroup>
<PropertyGroup
Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0')) And !$(MSBuildProjectDirectory.Contains('tests'))">
Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0')) And !$(MSBuildProjectDirectory.Contains('tests'))">
<IsAotCompatible>true</IsAotCompatible>
<EnableAotAnalyzer>true</EnableAotAnalyzer>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
Expand Down
15 changes: 0 additions & 15 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<PackageVersion Include="AWSSDK.Lambda" Version="4.0.13.1" />
<PackageVersion Include="Basic.Reference.Assemblies.Net100" Version="1.8.15" />
<PackageVersion Include="Basic.Reference.Assemblies.Net110" Version="1.8.15" />
<PackageVersion Include="Basic.Reference.Assemblies.Net80" Version="1.8.15" />
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
<PackageVersion Include="LayeredCraft.SourceGeneratorTools.Generator" Version="0.1.0-beta.10" />
<PackageVersion Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.3.14" />
Expand All @@ -43,13 +42,9 @@
<PackageVersion Include="NSubstitute" Version="6.2.0" />
<!-- Testing Libraries -->
<PackageVersion Include="AwesomeAssertions" Version="9.6.0" />
<PackageVersion Include="Basic.Reference.Assemblies.Net90" Version="1.8.15" />
<PackageVersion Include="JetBrains.Annotations" Version="2026.2.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.12.0" />
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.12.0" />
<PackageVersion Include="System.Formats.Asn1" Version="6.0.1" />
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageVersion Include="System.Threading.Tasks.Extensions" Version="4.6.3" />
<PackageVersion Include="Verify.SourceGenerators" Version="2.5.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="4.0.1" />
Expand Down Expand Up @@ -77,16 +72,6 @@
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageVersion Include="System.Text.Json" Version="[10.0.5, 11.0.0)" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="[8.0.1, 9.0.0)" />
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="[8.0.1, 9.0.0)" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="[8.0.1, 9.0.0)" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="[9.0.23, 10.0.0)" />
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="[9.0.23, 10.0.0)" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="[9.0.23, 10.0.0)" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="[10.0.15, 11.0.0)" />
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="[10.0.15, 11.0.0)" />
Expand Down
Loading
Loading