This is an automated email from the ASF dual-hosted git repository.
colegreer pushed a commit to branch 3.8-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.8-dev by this push:
new 00622c5d02 Only include STJ on net standard (#3123)
00622c5d02 is described below
commit 00622c5d02d0e7bae653cee1c4ee9d1a437f7297
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 edb201b985..8bc743b338 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -77,6 +77,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 07ad456f79..bbd9276b1f 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>