Skip to content

Commit

Permalink
Migrate to .NET 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-tr committed Dec 15, 2023
1 parent 9b2f5f4 commit ebbad23
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# <img src="https://uploads-ssl.webflow.com/5ea5d3315186cf5ec60c3ee4/5edf1c94ce4c859f2b188094_logo.svg" alt="Pip.Services Logo" width="200"> <br/> Kafka Messaging for Pip.Services in .NET Changelog

## <a name="3.4.0"></a> 3.4.0 (2023-12-15)

### Breaking Changes
* Migrate to .NET 8.0

## <a name="3.3.0"></a> 3.3.0 (2022-08-04)

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pip-services3-kafka-dotnet",
"type": "module",
"language": "dotnet",
"version": "3.3.0",
"version": "3.4.0",
"build": 0,
"registry": "pipservices",
"artifacts": [
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0
FROM mcr.microsoft.com/dotnet/sdk:8.0

# set working directory
WORKDIR /app
Expand All @@ -13,4 +13,4 @@ RUN dotnet restore test/test.csproj
COPY . .

# Publish
RUN dotnet publish src/src.csproj -o /obj -f net6.0
RUN dotnet publish src/src.csproj -o /obj -f net8.0
2 changes: 1 addition & 1 deletion docker/Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build stage
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build

# set working directory
WORKDIR /app
Expand Down
12 changes: 6 additions & 6 deletions src/src.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net8.0</TargetFrameworks>
<RootNamespace>PipServices3.Kafka</RootNamespace>
<AssemblyName>PipServices3.Kafka</AssemblyName>
<ApplicationIcon />
<Win32Resource />
<Version>3.3.0</Version>
<Version>3.4.0</Version>
<Authors>Sergey Seroukhov</Authors>
<Copyright>Conceptual Vision Consulting LLC. 2017-2022</Copyright>
<Copyright>Conceptual Vision Consulting LLC. 2017-2024</Copyright>
<Description>Kafka messaging for Pip.Services in .NET</Description>
<Company>Conceptual Vision Consulting LLC.</Company>
<Product>PipServices3.Kafka</Product>
Expand All @@ -20,9 +20,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PipServices3.Commons" Version="3.4.0" />
<PackageReference Include="PipServices3.Components" Version="3.5.0" />
<PackageReference Include="PipServices3.Messaging" Version="3.5.0" />
<PackageReference Include="PipServices3.Commons" Version="3.5.1" />
<PackageReference Include="PipServices3.Components" Version="3.6.1" />
<PackageReference Include="PipServices3.Messaging" Version="3.6.1" />
<PackageReference Include="Confluent.Kafka" Version="1.6.3" />
</ItemGroup>

Expand Down
8 changes: 4 additions & 4 deletions test/test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>

<IsPackable>false</IsPackable>
<RootNamespace>PipServices3.Kafka</RootNamespace>
Expand All @@ -12,9 +12,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit ebbad23

Please sign in to comment.