Skip to content

Commit

Permalink
v2.4.3: NET8
Browse files Browse the repository at this point in the history
  • Loading branch information
rambotech committed Nov 15, 2023
1 parent f3684ef commit 717c712
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/BOG.DropZone.Client/BOG.DropZone.Client.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Authors>John J Schultz</Authors>
<Company>Bits of Genius</Company>
<Description>A client for calling the BOG.DropZone API, which supports optional encryption.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/BOG.DropZone.Common/BOG.DropZone.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>John J Schultz</Authors>
<Company>Bits of Genius</Company>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/rambotech/BOG.DropZone</PackageProjectUrl>
<PackageLicenseUrl></PackageLicenseUrl>
Expand Down
10 changes: 5 additions & 5 deletions src/BOG.DropZone/BOG.DropZone.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
<RuntimeIdentifiers>osx-x64</RuntimeIdentifiers>
<RuntimeIdentifiers>linux-x64</RuntimeIdentifiers>
Expand Down Expand Up @@ -39,11 +39,11 @@
<ItemGroup>
<PackageReference Include="BOG.SwissArmyKnife" Version="1.8.0" />
<PackageReference Include="LettuceEncrypt" Version="1.3.0" />
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.4" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="7.0.9" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="7.0.11" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.5.0" />
Expand Down
7 changes: 7 additions & 0 deletions src/BOG.DropZone/Helpers/SwaggerConsumesAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,18 @@ namespace BOG.DropZone.Helpers
[AttributeUsage(AttributeTargets.Method)]
public class SwaggerConsumesAttribute : Attribute
{
/// <summary>
///
/// </summary>
/// <param name="contentTypes"></param>
public SwaggerConsumesAttribute(params string[] contentTypes)
{
this.ContentTypes = contentTypes;
}

/// <summary>
///
/// </summary>
public IEnumerable<string> ContentTypes { get; }
}
}
2 changes: 1 addition & 1 deletion src/BOG.DropZone/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IService

app.Use((context, next) =>
{
context.Response.Headers.Add("X-Server-App", $"BOG.DropZone v{new AssemblyVersion().Version}");
context.Response.Headers.Append("X-Server-App", $"BOG.DropZone v{new AssemblyVersion().Version}");
return next();
});

Expand Down
3 changes: 3 additions & 0 deletions src/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Release Notes:

2.4.3 -- 2023.11.14
* Update to .NET 8

2.4.2 -- 2023.08.24
* Fix bug with validating metrics values.
* Add swagger attributes.
Expand Down
8 changes: 4 additions & 4 deletions src/global.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"sdk": {
"version": "7.0.400"
"version": "8.0.100"
},

"tools": {
"dotnet": "7.0.400"
"dotnet": "8.0.100"
},

"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "7.0.400",
"Microsoft.DotNet.Helix.Sdk": "7.0.400"
"Microsoft.DotNet.Arcade.Sdk": "8.0.100",
"Microsoft.DotNet.Helix.Sdk": "8.0.100"
}
}

0 comments on commit 717c712

Please sign in to comment.