Skip to content

Commit

Permalink
feat: Updated to net9.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Nov 17, 2024
1 parent 40193fb commit 4c32c04
Show file tree
Hide file tree
Showing 22 changed files with 41 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<RootNamespace>LangChain.Databases</RootNamespace>
<NoWarn>$(NoWarn);CA1819;CS3007;CA2227</NoWarn>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup Label="NuGet">
Expand Down
2 changes: 1 addition & 1 deletion src/AzureSearch/src/LangChain.Databases.AzureSearch.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup Label="NuGet">
Expand Down
2 changes: 1 addition & 1 deletion src/Chroma/src/LangChain.Databases.Chroma.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);CA1720;CA1510;CS3016;CS3001;SKEXP0001;SKEXP0020</NoWarn>
</PropertyGroup>

Expand Down
43 changes: 20 additions & 23 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,35 @@
<ItemGroup>
<PackageVersion Include="AWSSDK.Kendra" Version="3.7.400.48" />
<PackageVersion Include="DotNet.ReproducibleBuilds" Version="1.2.25" />
<PackageVersion Include="Elastic.Clients.Elasticsearch" Version="8.15.6" />
<PackageVersion Include="Elastic.Clients.Elasticsearch" Version="8.15.10" />
<PackageVersion Include="FluentAssertions" Version="6.12.2" />
<PackageVersion Include="GitHubActionsTestLogger" Version="2.4.1" />
<PackageVersion Include="H.Resources.Generator" Version="1.6.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>
<PackageVersion Include="LangChain.DocumentLoaders.Abstractions" Version="0.15.2" />
<PackageVersion Include="LangChain.Polyfills" Version="0.15.2" />
<PackageVersion Include="LangChain.Providers.Abstractions" Version="0.15.2" />
<PackageVersion Include="LangChain.Serve.Abstractions" Version="0.15.2" />
<PackageVersion Include="LangChain.Splitters.Abstractions" Version="0.15.2" />
<PackageVersion Include="LangChain.DocumentLoaders.Abstractions" Version="0.15.3-dev.14" />
<PackageVersion Include="LangChain.Polyfills" Version="0.15.3-dev.14" />
<PackageVersion Include="LangChain.Providers.Abstractions" Version="0.15.3-dev.80" />
<PackageVersion Include="LangChain.Serve.Abstractions" Version="0.15.3-dev.14" />
<PackageVersion Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" />
<PackageVersion Include="Microsoft.Data.Sqlite.Core" Version="9.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Milvus" Version="1.20.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.AzureAISearch" Version="1.20.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Chroma" Version="1.20.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.DuckDB" Version="1.20.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Pinecone" Version="1.20.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Qdrant" Version="1.20.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Redis" Version="1.20.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Sqlite" Version="1.20.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Weaviate" Version="1.20.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Core" Version="1.22.0" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Milvus" Version="1.29.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.AzureAISearch" Version="1.29.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Chroma" Version="1.29.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.DuckDB" Version="1.29.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Pinecone" Version="1.29.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Qdrant" Version="1.29.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Redis" Version="1.29.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Sqlite" Version="1.29.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Weaviate" Version="1.29.0-alpha" />
<PackageVersion Include="Microsoft.SemanticKernel.Core" Version="1.29.0" />
<PackageVersion Include="Moq" Version="4.20.72" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.5.1" />
<PackageVersion Include="MSTest.TestFramework" Version="3.5.1" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.MSTest" Version="1.1.2" />
<PackageVersion Include="Verify.MSTest" Version="26.1.6" />
<PackageVersion Include="Verify.SourceGenerators" Version="2.3.0" />
<PackageVersion Include="Npgsql" Version="8.0.4" />
<PackageVersion Include="Npgsql" Version="8.0.5" />
<PackageVersion Include="OpenSearch.Client" Version="1.8.0" />
<PackageVersion Include="Pgvector" Version="0.2.0" />
<PackageVersion Include="NUnit" Version="4.2.2" />
Expand All @@ -47,17 +44,17 @@
</PackageVersion>
<PackageVersion Include="StackExchange.Redis" Version="2.8.16" />
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
<PackageVersion Include="System.Memory.Data" Version="8.0.1" />
<PackageVersion Include="System.Text.Json" Version="8.0.5" />
<PackageVersion Include="System.Memory.Data" Version="9.0.0" />
<PackageVersion Include="System.Text.Json" Version="9.0.0" />
<PackageVersion Include="Testcontainers" Version="4.0.0" />
<PackageVersion Include="Testcontainers.Milvus" Version="4.0.0" />
<PackageVersion Include="Testcontainers.MongoDb" Version="4.0.0" />
<PackageVersion Include="Testcontainers.Elasticsearch" Version="4.0.0" />
<PackageVersion Include="Testcontainers.PostgreSql" Version="4.0.0" />
<PackageVersion Include="Testcontainers.Redis" Version="4.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.0" />
<PackageVersion Include="MinVer" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
2 changes: 1 addition & 1 deletion src/DuckDb/src/LangChain.Databases.DuckDb.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);SKEXP0020;SKEXP0001;CS3001</NoWarn>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);CS9113;CS1998</NoWarn>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/GenerateDocs/GenerateDocs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/TrimmingHelper/TrimmingHelper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>

<PublishTrimmed>true</PublishTrimmed>
Expand Down
2 changes: 1 addition & 1 deletion src/InMemory/src/LangChain.Databases.InMemory.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn)</NoWarn>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<NoWarn>$(NoWarn);NETSDK1206;SKEXP0020</NoWarn>
</PropertyGroup>

Expand All @@ -28,7 +28,6 @@
<ItemGroup>
<PackageReference Include="LangChain.DocumentLoaders.Abstractions" />
<PackageReference Include="LangChain.Providers.Abstractions" />
<PackageReference Include="LangChain.Splitters.Abstractions" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<PackageReference Include="Testcontainers" />
<PackageReference Include="Testcontainers.Elasticsearch" />
Expand Down
2 changes: 1 addition & 1 deletion src/Kendra/src/LangChain.Databases.Kendra.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup Label="Usings">
Expand Down
2 changes: 1 addition & 1 deletion src/Milvus/src/LangChain.Databases.Milvus.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);SKEXP0020;SKEXP0001;CS3001</NoWarn>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Mongo/src/LangChain.Databases.Mongo.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.7.2;netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.7.2;netstandard2.0;netstandard2.1;net8.0;net9.0</TargetFrameworks>
<SignAssembly>false</SignAssembly>
<NoWarn>$(NoWarn);CA1716;CS0618</NoWarn>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch/src/LangChain.Databases.OpenSearch.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<SignAssembly>false</SignAssembly>
<NoWarn>$(NoWarn);CA1720;CA1510;CA2100;CA1819;CA2227;CA1865</NoWarn>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Pinecone/src/LangChain.Databases.Pinecone.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);SKEXP0020;SKEXP0001;CS3001</NoWarn>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Postgres/src/LangChain.Databases.Postgres.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<SignAssembly>false</SignAssembly>
<NoWarn>$(NoWarn);CA1720;CA1510;CA2100</NoWarn>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Qdrant/src/LangChain.Databases.Qdrant.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);SKEXP0020;SKEXP0001;CS3001</NoWarn>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Redis/src/LangChain.Databases.Redis.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);SKEXP0020;SKEXP0001;CS3001</NoWarn>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);SKEXP0020;SKEXP0001;CS3001</NoWarn>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Sqlite/src/LangChain.Databases.Sqlite.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);NETSDK1206;CA2100;CS3016;CS3001;CA1720</NoWarn>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Weaviate/src/LangChain.Databases.Weaviate.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.6.2;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net4.6.2;netstandard2.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);SKEXP0020;SKEXP0001;CS3001</NoWarn>
</PropertyGroup>

Expand Down

0 comments on commit 4c32c04

Please sign in to comment.