Skip to content

Commit

Permalink
Version 2.0.0
Browse files Browse the repository at this point in the history
* Upgraded to .NET 8. (#34)

* Feature/steven rothwell/upgrade to net8 (#35)

* Updated launch.

* Updated NuGet packages.

* Updated release notes. (#36)
  • Loading branch information
steven-rothwell authored Jan 15, 2024
1 parent 5fa11ee commit 55b9dc7
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/Crud.Api/bin/Debug/net7.0/Crud.Api.dll",
"program": "${workspaceFolder}/Crud.Api/bin/Debug/net8.0/Crud.Api.dll",
"args": [],
"cwd": "${workspaceFolder}/Crud.Api",
"stopAtEntry": false,
Expand Down
8 changes: 4 additions & 4 deletions Crud.Api/Crud.Api.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Humanizer.Core" Version="2.14.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="MongoDB.Driver" Version="2.22.0" />
<PackageReference Include="MongoDB.Bson" Version="2.22.0" />
<PackageReference Include="System.Text.Json" Version="7.0.3" />
<PackageReference Include="MongoDB.Driver" Version="2.23.1" />
<PackageReference Include="MongoDB.Bson" Version="2.23.1" />
<PackageReference Include="System.Text.Json" Version="8.0.1" />
</ItemGroup>
</Project>
10 changes: 5 additions & 5 deletions Crud.Tests/Crud.Api.Tests/Crud.Api.Tests.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>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand All @@ -11,10 +11,10 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="System.Text.Json" Version="7.0.3" />
<PackageReference Include="xunit" Version="2.6.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="System.Text.Json" Version="8.0.1" />
<PackageReference Include="xunit" Version="2.6.5" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,8 @@ If a new version is released and these updates would be useful in a forked appli

| Number | Available Preservers | Framework | Notes |
| ------ | -------------------- | --------- | ----- |
| 2.0.0 | MongoDB | .NET 8 | See details [here](/docs/release-notes/RELEASE-2.0.0.md). |
| 1.0.1 | MongoDB | .NET 7 | See details [here](/docs/release-notes/RELEASE-1.0.1.md). |
| 1.0.0 | MongoDB | .NET 7 | See details [here](/docs/release-notes/RELEASE-1.0.0.md). |

# Contributing
Expand Down
2 changes: 1 addition & 1 deletion docs/release-notes/RELEASE-1.0.1.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Release v1.0.0
# Release v1.0.1

## Notes

Expand Down
35 changes: 35 additions & 0 deletions docs/release-notes/RELEASE-2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Release v2.0.0

## Notes

Upgraded to .NET 8 and updated NuGet packages.

### Breaking Changes

- Upgraded to .NET 8.
- Ensure local and servers can run .NET 8 applications.

### New Features

- None

### Maintenance

- Updated NuGet packages.
- Crud.Api
- MongoDB.Driver
- MongoDB.Bson
- System.Text.Json
- Crud.Api.Tests
- Moq
- System.Text.Json
- xunit
- xunit.runner.visualstudio

## Available Preservers

- MongoDB

## Framework

- .NET 8

0 comments on commit 55b9dc7

Please sign in to comment.