This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master by this push:
     new 39cb7011fa Only include STJ on net standard (#3123)
39cb7011fa is described below

commit 39cb7011faa5efcae76b165523e0b429597bc1fe
Author: James Thompson <[email protected]>
AuthorDate: Tue Jul 15 02:36:53 2025 +1000

    Only include STJ on net standard (#3123)
    
    Adjusts the inclusion of System.Text.Json so that it is only included on 
net standard and not for the newer frameworks ie net 6.
    
    The benefit is that it reduces the risk of conflicts which has occurred 
with other libraries, enables quicker remediation to CVE'S in STJ when end 
application deployed being dependent on framework as windows update can update 
the framework.
---
 CHANGELOG.asciidoc                                | 1 +
 gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 7ae3f93d8e..7e48e1efbe 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -145,6 +145,7 @@ This release also includes changes from <<release-3-7-XXX, 
3.7.XXX>>.
 * Removed the `@RemoteOnly` testing tag in Gherkin as lambda tests have all 
been moved to the Java test suite.
 * Updated gremlin-javascript to use GraphBinary as default instead of 
GraphSONv3
 * Renamed many types in the grammar for consistent use of terms "Literal", 
"Argument", and "Varargs"
+* Changed `gremlin-net` so that System.Text.Json is only listed as an explicit 
dependency when it is not available from the framework.
 
 == TinkerPop 3.7.0 (Gremfir Master of the Pan Flute)
 
diff --git a/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj 
b/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj
index 9031e100d7..df9cac5be7 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj
+++ b/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj
@@ -74,7 +74,6 @@ NOTE that versions suffixed with "-rc" are considered release 
candidates (i.e. p
   <ItemGroup>
     <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" 
Version="8.0.2" />
     <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" 
PrivateAssets="All" />
-    <PackageReference Include="System.Text.Json" Version="8.0.5" />
     <PackageReference Include="Polly" Version="8.5.1" />
   </ItemGroup>
     
@@ -84,6 +83,7 @@ NOTE that versions suffixed with "-rc" are considered release 
candidates (i.e. p
       <PrivateAssets>all</PrivateAssets>
       <IncludeAssets>runtime; build; native; contentfiles; analyzers; 
buildtransitive</IncludeAssets>
     </PackageReference>
+    <PackageReference Include="System.Text.Json" Version="8.0.5" />
   </ItemGroup>
 
   <ItemGroup>

Reply via email to