diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b73862cba..2fa77cbdc9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+# v3.0.4
+- Fixes an issue where single file AOT .NET 8 project does not start if swagger is registered
+
# v3.0.3
- Adds support for System.Text.Json.RequiredAttribute
- Fixes an issue where referencing same schema multiple times causes runtime error. https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/2679 Instead changed the runtime to throw error if same id path is used for different schemas. for https://github.com/Havunen/DotSwashbuckle/issues/3
diff --git a/README.md b/README.md
index 795df6fb5f..e2c6060a23 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ Change the csproj nuget reference
```patch
-
-+
++
```
Uninstall the swashbuckle CLI tool
@@ -43,7 +43,7 @@ dotnet tool uninstall --global Swashbuckle.AspNetCore.Cli
Install DotSwashbuckle CLI tool
```
-dotnet tool install --global --version 3.0.3 DotSwashbuckle.AspNetCore.Cli
+dotnet tool install --global --version 3.0.4 DotSwashbuckle.AspNetCore.Cli
```
# Benchmark
@@ -65,8 +65,8 @@ WarmupCount=2
1. Install the standard Nuget package into your ASP.NET Core application.
```
- Package Manager : Install-Package DotSwashbuckle.AspNetCore -Version 3.0.3
- CLI : dotnet add package --version 3.0.3 DotSwashbuckle.AspNetCore
+ Package Manager : Install-Package DotSwashbuckle.AspNetCore -Version 3.0.4
+ CLI : dotnet add package --version 3.0.4 DotSwashbuckle.AspNetCore
```
2. In the `ConfigureServices` method of `Startup.cs`, register the Swagger generator, defining one or more Swagger documents.
@@ -142,8 +142,8 @@ If you're using **System.Text.Json (STJ)**, then the setup described above will
If you're using **Newtonsoft**, then you'll need to install a separate package and explicitly opt-in to ensure that *Newtonsoft* settings/attributes are automatically honored by the Swagger generator:
```
-Package Manager : Install-Package DotSwashbuckle.AspNetCore.Newtonsoft -Version 3.0.3
-CLI : dotnet add package --version 3.0.3 DotSwashbuckle.AspNetCore.Newtonsoft
+Package Manager : Install-Package DotSwashbuckle.AspNetCore.Newtonsoft -Version 3.0.4
+CLI : dotnet add package --version 3.0.4 DotSwashbuckle.AspNetCore.Newtonsoft
```
```csharp
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index f9544d5f6f..c20bb0c802 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -11,7 +11,7 @@
git
https://github.com/Havunen/DotSwashbuckle.git
true
- 3.0.3
+ 3.0.4
12
icon.png