Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Title: Update Target Framework and Package Versions
Description:
This pull request aims to modernize the project dependencies by updating target frameworks and package versions in both the
Shortener.csproj
andShortener.UnitTests.csproj
files.Changes in Shortener.csproj:
<TargetFramework>
fromnet7.0
tonet8.0
.Microsoft.AspNetCore.OpenApi
from version7.0.17
to8.0.4
.Microsoft.EntityFrameworkCore
from version7.0.18
to8.0.4
.Microsoft.Extensions.Caching.Memory
from version7.0.0
to8.0.0
.Microsoft.VisualStudio.Azure.Containers.Tools.Targets
from version1.19.6
to1.20.1
.MongoDB.EntityFrameworkCore
from version7.0.0-preview.1
to8.0.0
.Changes in Shortener.UnitTests.csproj:
<TargetFramework>
fromnet7.0
tonet8.0
.coverlet.collector
from version3.2.0
to6.0.2
.Microsoft.NET.Test.Sdk
from version17.7.1
to17.9.0
.xunit
from version2.4.2
to2.8.0
.xunit.extensibility.core
from version2.7.1
to2.8.0
.xunit.runner.visualstudio
from version2.4.5
to2.8.0
.Changes in liara-deploy.yml:
DOTNET_VERSION
from'7'
to'8'
Rationale:
These updates are essential for maintaining compatibility with the latest .NET technologies and ensuring that the project remains up-to-date with the latest features, performance improvements, and security patches provided by the updated dependencies.