Skip to content

Commit 4c44f1f

Browse files
SNOW-1833578 support for .net9 (#1065)
1 parent f02a633 commit 4c44f1f

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
dotnet: ['net6.0', 'net7.0', 'net8.0', 'net462', 'net471', 'net472', 'net48', 'net481']
34+
dotnet: ['net6.0', 'net7.0', 'net8.0', 'net9.0', 'net462', 'net471', 'net472', 'net48', 'net481']
3535
cloud_env: ['AZURE', 'GCP', 'AWS']
3636
steps:
3737
- name: Checkout code
@@ -42,6 +42,7 @@ jobs:
4242
dotnet-version: |
4343
6.0.x
4444
8.0.x
45+
9.0.x
4546
dotnet-quality: 'ga'
4647
- name: Setup Python
4748
uses: actions/setup-python@v5
@@ -93,7 +94,7 @@ jobs:
9394
strategy:
9495
fail-fast: false
9596
matrix:
96-
dotnet: ['net6.0', 'net7.0', 'net8.0']
97+
dotnet: ['net6.0', 'net7.0', 'net8.0', 'net9.0']
9798
cloud_env: ['AZURE', 'GCP', 'AWS']
9899
steps:
99100
- uses: actions/checkout@v4
@@ -103,6 +104,7 @@ jobs:
103104
dotnet-version: |
104105
6.0.x
105106
8.0.x
107+
9.0.x
106108
dotnet-quality: 'ga'
107109
- name: Setup Python
108110
uses: actions/setup-python@v5
@@ -152,7 +154,7 @@ jobs:
152154
strategy:
153155
fail-fast: false
154156
matrix:
155-
dotnet: ['net6.0', 'net7.0', 'net8.0']
157+
dotnet: ['net6.0', 'net7.0', 'net8.0', 'net9.0']
156158
cloud_env: ['AZURE', 'GCP', 'AWS']
157159
steps:
158160
- uses: actions/checkout@v4
@@ -162,6 +164,7 @@ jobs:
162164
dotnet-version: |
163165
6.0.x
164166
8.0.x
167+
9.0.x
165168
dotnet-quality: 'ga'
166169
- name: Setup Python
167170
uses: actions/setup-python@v5

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![NuGet](https://img.shields.io/nuget/v/Snowflake.Data.svg)](https://www.nuget.org/packages/Snowflake.Data/)
55
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
66

7-
The Snowflake .NET connector supports the the following .NET framework and libraries versions:
7+
The Snowflake .NET connector supports the following .NET framework and libraries versions:
88

99
- .NET Framework 4.6.2
1010
- .NET Framework 4.7.1
@@ -14,6 +14,7 @@ The Snowflake .NET connector supports the the following .NET framework and libra
1414
- .NET 6.0
1515
- .NET 7.0
1616
- .NET 8.0
17+
- .NET 9.0
1718

1819
Disclaimer: While the connector targets netstandard2.0 and may work with versions in its [support matrix](https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0#select-net-standard-version), only the versions listed above are supported and tested by the connector
1920

Snowflake.Data.Tests/Snowflake.Data.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net7.0;net8.0;net462;net471;net472;net48;net481</TargetFrameworks>
4-
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0;net7.0;net8.0;</TargetFrameworks>
3+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net462;net471;net472;net48;net481</TargetFrameworks>
4+
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
55
<Title>Snowflake.Data.Tests</Title>
66
<Description>Snowflake Connector for .NET</Description>
77
<Company>Snowflake Computing, Inc</Company>

Snowflake.Data.Tests/UnitTests/SFEnvironmentTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public void TestRuntimeExtraction()
2222
expectedVersion = "7.0";
2323
#elif NET8_0
2424
expectedVersion = "8.0";
25+
#elif NET9_0
26+
expectedVersion = "9.0";
2527
#endif
2628

2729
// Act

0 commit comments

Comments
 (0)