Skip to content

Commit 0b0a1e9

Browse files
committed
- Add .NET 9.0 support
1 parent 337cc90 commit 0b0a1e9

File tree

9 files changed

+17
-8
lines changed

9 files changed

+17
-8
lines changed

EasyPost.Compatibility.FSharp/EasyPost.Compatibility.FSharp.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
77
<RootNamespace>EasyPost.Compatibility.FSharp</RootNamespace>

EasyPost.Compatibility.VB/EasyPost.Compatibility.VB.vbproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<RootNamespace>EasyPost.Compatibility.VB</RootNamespace>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
77
</PropertyGroup>
88

EasyPost.Integration/EasyPost.Integration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462;net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net462;net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
55
<LangVersion>latest</LangVersion>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

EasyPost.Tests/EasyPost.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net462;net6.0;net7.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net462;net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
44

55
<IsPackable>false</IsPackable>
66

EasyPost/EasyPost.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<OutputType>Library</OutputType>

EasyPost/packages.lock.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
"resolved": "13.0.1",
4747
"contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A=="
4848
}
49+
},
50+
"net9.0": {
51+
"Newtonsoft.Json": {
52+
"type": "Direct",
53+
"requested": "[13.0.1, 14.0.0)",
54+
"resolved": "13.0.1",
55+
"contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A=="
56+
}
4957
}
5058
}
5159
}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,12 +327,13 @@ Some tests may require a user with a particular set of enabled features such as
327327
referrals. We have attempted to call out these functions in their respective docstrings.
328328

329329
**NOTE** .NET Framework/.NET Standard unit tests cannot currently be run on Apple Silicon (M1, M2, etc.). Instead, run
330-
unit tests in one framework at a time with, e.g `make unit-test fw=net8.0`. Valid frameworks:
330+
unit tests in one framework at a time with, e.g `make unit-test fw=net9.0`. Valid frameworks:
331331

332332
- `net462` (.NET Framework 4.6.2, the oldest non-EOL version of .NET Framework; will not run on Apple Silicon)
333333
- `net6.0` (.NET 6.0)
334334
- `net7.0` (.NET 7.0)
335335
- `net8.0` (.NET 8.0)
336+
- `net9.0` (.NET 9.0)
336337

337338
#### Test Coverage
338339

scripts/unix/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [[ $(sysctl -n machdep.cpu.brand_string) =~ "Apple" ]]; then
1010
fi
1111

1212
# .NET versions we want to install
13-
declare -a NetVersions=("8.0" "7.0" "6.0")
13+
declare -a NetVersions=("9.0" "8.0" "7.0" "6.0")
1414

1515
# Download dotnet-install.sh
1616
echo "Downloading dotnet-install.sh script..."

scripts/win/setup.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@ECHO OFF
1111

1212
:: .NET Versions we want to install and destination
13-
SET NetVersions=Current 8.0 7.0 6.0
13+
SET NetVersions=Current 9.0 8.0 7.0 6.0
1414
SET InstallPath=C:\dotnet
1515

1616
:: Dependency file

0 commit comments

Comments
 (0)