Skip to content

Commit f32be8b

Browse files
committed
chore: 2.0.0 and changelog
1 parent e703755 commit f32be8b

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [2.0.0] - 2025-12-30
9+
10+
### Changed
11+
12+
- Generated code now requires .NET 10 instead of .NET 6
13+
- UnsafeAccessors are used instead of reflection for setting private properties and fields

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ Accompanying blog post: [www.m31coding.com>blog>fluent-api](https://www.m31codin
2626
- Support for returning arbitrary types
2727
- Support for inheritance, generics, and partial classes
2828

29+
## Prerequisites
30+
31+
- v1.x.x: .NET 6
32+
- v2.x.x: .NET 10
33+
2934
## Installing via NuGet
3035

3136
Install the latest version of the package `M31.FluentApi` via your IDE or use the package manager console:
@@ -37,7 +42,7 @@ PM> Install-Package M31.FluentApi
3742
A package reference will be added to your `csproj` file. Moreover, since this library provides code via source code generation, consumers of your project don't need the reference to `M31.FluentApi`. Therefore, it is recommended to use the `PrivateAssets` metadata tag:
3843

3944
```xml
40-
<PackageReference Include="M31.FluentApi" Version="1.12.0" PrivateAssets="all"/>
45+
<PackageReference Include="M31.FluentApi" Version="2.0.0" PrivateAssets="all"/>
4146
```
4247

4348
If you would like to examine the generated code, you may emit it by adding the following lines to your `csproj` file:

src/M31.FluentApi.Generator/M31.FluentApi.Generator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1212
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1313
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
14-
<PackageVersion>1.12.0</PackageVersion>
14+
<PackageVersion>2.0.0</PackageVersion>
1515
<Authors>Kevin Schaal</Authors>
1616
<Description>The generator package for M31.FluentAPI. Don't install this package explicitly, install M31.FluentAPI instead.</Description>
1717
<PackageTags>fluentapi fluentbuilder fluentinterface fluentdesign fluent codegeneration</PackageTags>

src/M31.FluentApi/M31.FluentApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<ImplicitUsings>enable</ImplicitUsings>
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
10-
<PackageVersion>1.12.0</PackageVersion>
10+
<PackageVersion>2.0.0</PackageVersion>
1111
<Authors>Kevin Schaal</Authors>
1212
<Description>Generate fluent builders in C#.</Description>
1313
<PackageTags>fluentapi fluentbuilder fluentinterface fluentdesign fluent codegeneration</PackageTags>

0 commit comments

Comments
 (0)