Skip to content

Commit 2bda2ef

Browse files
committed
WIP
1 parent 52ddc87 commit 2bda2ef

File tree

7 files changed

+13
-5
lines changed

7 files changed

+13
-5
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"image": "mcr.microsoft.com/devcontainers/dotnet"
3+
}

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<RepositoryType>git</RepositoryType>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
88
<LangVersion>Latest</LangVersion>
9-
<FETargetFrameworks>net6.0;net7.0;net8.0</FETargetFrameworks>
9+
<FETargetFrameworks>net8.0;net9.0</FETargetFrameworks>
1010
<FETestsTargetFrameworks>$(FETargetFrameworks)</FETestsTargetFrameworks>
1111
</PropertyGroup>
1212

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,12 @@ The prerelease CI builds are packaged and hosted at [feedz.io](feedz.io), thanks
291291

292292
# Release notes
293293

294+
## 4.0
295+
296+
- Remove support for .NET 6 and .NET 7
297+
- Add support for .NET 9
298+
- Remove dependency on ForEvolve.Core library which means the base exception is now `Exception` instead of `ForEvolve.Exception`.
299+
294300
## 3.0
295301

296302
Version 3 of ExceptionMapper is a major rewrite that simplifies the codebase and usage of the library. Here are a few important changes:

src/ForEvolve.ExceptionMapper/CommonExceptions/ClientErrorException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/// Client error responses (400 – 499)
55
/// <br /><br />See also <seealso cref="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses"/>
66
/// </summary>
7-
public abstract class ClientErrorException : ForEvolveException
7+
public abstract class ClientErrorException : Exception
88
{
99
public ClientErrorException()
1010
{

src/ForEvolve.ExceptionMapper/CommonExceptions/ServerErrorException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/// Server error responses (500 – 599)
55
/// <br /><br />See also <seealso cref="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses"/>
66
/// </summary>
7-
public abstract class ServerErrorException : ForEvolveException
7+
public abstract class ServerErrorException : Exception
88
{
99
public ServerErrorException()
1010
{

src/ForEvolve.ExceptionMapper/ForEvolve.ExceptionMapper.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<ItemGroup>
99
<FrameworkReference Include="Microsoft.AspNetCore.App" />
10-
<PackageReference Include="ForEvolve.Core" Version="2.3.5" />
1110
</ItemGroup>
1211
<ItemGroup>
1312
<None Include="../../README.md" Pack="true" PackagePath="\"/>

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "3.0",
3+
"version": "4.0",
44
"publicReleaseRefSpec": [
55
"^refs/heads/master$"
66
],

0 commit comments

Comments
 (0)