Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port missing features #327

Merged
merged 10 commits into from
Sep 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ jobs:
# install NuGet.exe to restore required NuGet packages
- name: Setup Nuget
uses: NuGet/[email protected]
# Load NuGet package cache
- name: Load NuGet package cache
uses: actions/cache@v2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ matrix.framework }}-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
# Restore required NuGet packages
- name: Restore NuGet Packages
run: make restore
Expand Down Expand Up @@ -88,6 +96,14 @@ jobs:
# install Visual Studio's console test application, to execute tests
- name: Setup VSTest
uses: darenm/Setup-VSTest@v1
# Load NuGet package cache
- name: Load NuGet package cache
uses: actions/cache@v2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ matrix.framework }}-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
# Restore required NuGet packages
- name: Restore NuGet Packages
run: make restore
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@
- Common exception messages and templates can be found in the `EasyPost.Exceptions.Constants` class (i.e. for log parsing).
- Dependencies updated to latest versions, including `RestSharp` v108.

## NEXT RELEASE (v3)

- Adds `end_shipper_id` shipment option
- Can indicate an EndShipper ID when buying a shipment

## v3.5.0 (2022-08-25)

- Adds `ValidateWebhook` function
- Adds `duty_payment` shipment option
- Moves `EndShipper` out of beta to the general namespace

## v3.4.0 (2022-08-02)

- Adds Carbon Offset support
Expand Down
1 change: 1 addition & 0 deletions EasyPost.Tests.FSharp/EasyPost.Tests.FSharp.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>

<ItemGroup>
Expand Down
161 changes: 161 additions & 0 deletions EasyPost.Tests.FSharp/packages.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
{
"version": 1,
"dependencies": {
"net6.0": {
"coverlet.collector": {
"type": "Direct",
"requested": "[3.1.2, 4.0.0)",
"resolved": "3.1.2",
"contentHash": "wuLDIDKD5XMt0A7lE31JPenT7QQwZPFkP5rRpdJeblyXZ9MGLI8rYjvm5fvAKln+2/X+4IxxQDxBtwdrqKNLZw=="
},
"FSharp.Core": {
"type": "Direct",
"requested": "[6.0.5, 7.0.0)",
"resolved": "6.0.5",
"contentHash": "Bpqxoh/UUTq7fHd0a1Ndv/ml1BEtwqmpruKzIMaNnNXgdBSZOEA7wQtoXyc+eKwxq4TQrbHpAbM6yaZAzqotvw=="
},
"Microsoft.NET.Test.Sdk": {
"type": "Direct",
"requested": "[17.3.0, 18.0.0)",
"resolved": "17.3.0",
"contentHash": "ch4JCT7AZdBzvCAKD36t6fDsl7NEzzunwW7MwXUG2uFPoWcMd8B8KYg5fiwxnpdXJHodJk6yIBdSwMpN3Ikt9w==",
"dependencies": {
"Microsoft.CodeCoverage": "17.3.0",
"Microsoft.TestPlatform.TestHost": "17.3.0"
}
},
"NETStandard.Library": {
"type": "Direct",
"requested": "[2.0.3, 3.0.0)",
"resolved": "2.0.3",
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
}
},
"SecurityCodeScan.VS2019": {
"type": "Direct",
"requested": "[5.6.6, 6.0.0)",
"resolved": "5.6.6",
"contentHash": "1BEkaTw2iZ5QccesAYfRcab9ttQvg6xyIItazCWLJEt5aKf3cDXvGtX+Z4p11a1QwYmf3WaNxpiZXfzXK/0VIw=="
},
"xunit": {
"type": "Direct",
"requested": "[2.4.2, 3.0.0)",
"resolved": "2.4.2",
"contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==",
"dependencies": {
"xunit.analyzers": "1.0.0",
"xunit.assert": "2.4.2",
"xunit.core": "[2.4.2]"
}
},
"xunit.runner.visualstudio": {
"type": "Direct",
"requested": "[2.4.5, 3.0.0)",
"resolved": "2.4.5",
"contentHash": "OwHamvBdUKgqsXfBzWiCW/O98BTx81UKzx2bieIOQI7CZFE5NEQZGi8PBQGIKawDW96xeRffiNf20SjfC0x9hw=="
},
"Microsoft.CodeCoverage": {
"type": "Transitive",
"resolved": "17.3.0",
"contentHash": "/xxz+e29F2V5pePtInjbLffoqWVTm60KCX87vSj2laNboeWq65WFJ634fGtBcMZO3VEfOmh9/XcoWEfLlWWG+g=="
},
"Microsoft.NETCore.Platforms": {
"type": "Transitive",
"resolved": "1.1.0",
"contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A=="
},
"Microsoft.TestPlatform.ObjectModel": {
"type": "Transitive",
"resolved": "17.3.0",
"contentHash": "6NRzi6QbmWV49Psf8A9z1LTJU4nBrlJdCcDOUyD4Ttm1J2wvksu98GlV+52CkxtpgNsUjGr9Mv1Rbb1/dB06yQ==",
"dependencies": {
"NuGet.Frameworks": "5.11.0",
"System.Reflection.Metadata": "1.6.0"
}
},
"Microsoft.TestPlatform.TestHost": {
"type": "Transitive",
"resolved": "17.3.0",
"contentHash": "uOJALDWtKXZkISKuNI7kOlRi/lk2CqXZtLkNS0Ei+RXqRUjUpCsjAPYSP+DJ/a4QwJ5cI9CVF52vtajnGOaEpw==",
"dependencies": {
"Microsoft.TestPlatform.ObjectModel": "17.3.0",
"Newtonsoft.Json": "9.0.1"
}
},
"Newtonsoft.Json": {
"type": "Transitive",
"resolved": "13.0.1",
"contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A=="
},
"NuGet.Frameworks": {
"type": "Transitive",
"resolved": "5.11.0",
"contentHash": "eaiXkUjC4NPcquGWzAGMXjuxvLwc6XGKMptSyOGQeT0X70BUZObuybJFZLA0OfTdueLd3US23NBPTBb6iF3V1Q=="
},
"RestSharp": {
"type": "Transitive",
"resolved": "108.0.1",
"contentHash": "XKwuwWq7A4dxZ8l9QkS2+ePLJ9ImmLaJSeFO6H2kpII4Us4n1NRs4w3c//8H2BYpL1XqBE8nmsd9aNCVBwXmOA=="
},
"System.Reflection.Metadata": {
"type": "Transitive",
"resolved": "1.6.0",
"contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ=="
},
"xunit.abstractions": {
"type": "Transitive",
"resolved": "2.0.3",
"contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg=="
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==",
"dependencies": {
"xunit.extensibility.core": "[2.4.2]",
"xunit.extensibility.execution": "[2.4.2]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.extensibility.core": "[2.4.2]"
}
},
"easypost": {
"type": "Project",
"dependencies": {
"Newtonsoft.Json": "[13.0.1, 14.0.0)",
"RestSharp": "[108.0.1, 109.0.0)"
}
}
}
}
}
1 change: 1 addition & 0 deletions EasyPost.Tests.VB/EasyPost.Tests.VB.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<RootNamespace>EasyPost.Tests.VB</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>

<ItemGroup>
Expand Down
155 changes: 155 additions & 0 deletions EasyPost.Tests.VB/packages.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"version": 1,
"dependencies": {
"net6.0": {
"coverlet.collector": {
"type": "Direct",
"requested": "[3.1.2, 4.0.0)",
"resolved": "3.1.2",
"contentHash": "wuLDIDKD5XMt0A7lE31JPenT7QQwZPFkP5rRpdJeblyXZ9MGLI8rYjvm5fvAKln+2/X+4IxxQDxBtwdrqKNLZw=="
},
"Microsoft.NET.Test.Sdk": {
"type": "Direct",
"requested": "[17.3.0, 18.0.0)",
"resolved": "17.3.0",
"contentHash": "ch4JCT7AZdBzvCAKD36t6fDsl7NEzzunwW7MwXUG2uFPoWcMd8B8KYg5fiwxnpdXJHodJk6yIBdSwMpN3Ikt9w==",
"dependencies": {
"Microsoft.CodeCoverage": "17.3.0",
"Microsoft.TestPlatform.TestHost": "17.3.0"
}
},
"NETStandard.Library": {
"type": "Direct",
"requested": "[2.0.3, 3.0.0)",
"resolved": "2.0.3",
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
}
},
"SecurityCodeScan.VS2019": {
"type": "Direct",
"requested": "[5.6.6, 6.0.0)",
"resolved": "5.6.6",
"contentHash": "1BEkaTw2iZ5QccesAYfRcab9ttQvg6xyIItazCWLJEt5aKf3cDXvGtX+Z4p11a1QwYmf3WaNxpiZXfzXK/0VIw=="
},
"xunit": {
"type": "Direct",
"requested": "[2.4.2, 3.0.0)",
"resolved": "2.4.2",
"contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==",
"dependencies": {
"xunit.analyzers": "1.0.0",
"xunit.assert": "2.4.2",
"xunit.core": "[2.4.2]"
}
},
"xunit.runner.visualstudio": {
"type": "Direct",
"requested": "[2.4.5, 3.0.0)",
"resolved": "2.4.5",
"contentHash": "OwHamvBdUKgqsXfBzWiCW/O98BTx81UKzx2bieIOQI7CZFE5NEQZGi8PBQGIKawDW96xeRffiNf20SjfC0x9hw=="
},
"Microsoft.CodeCoverage": {
"type": "Transitive",
"resolved": "17.3.0",
"contentHash": "/xxz+e29F2V5pePtInjbLffoqWVTm60KCX87vSj2laNboeWq65WFJ634fGtBcMZO3VEfOmh9/XcoWEfLlWWG+g=="
},
"Microsoft.NETCore.Platforms": {
"type": "Transitive",
"resolved": "1.1.0",
"contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A=="
},
"Microsoft.TestPlatform.ObjectModel": {
"type": "Transitive",
"resolved": "17.3.0",
"contentHash": "6NRzi6QbmWV49Psf8A9z1LTJU4nBrlJdCcDOUyD4Ttm1J2wvksu98GlV+52CkxtpgNsUjGr9Mv1Rbb1/dB06yQ==",
"dependencies": {
"NuGet.Frameworks": "5.11.0",
"System.Reflection.Metadata": "1.6.0"
}
},
"Microsoft.TestPlatform.TestHost": {
"type": "Transitive",
"resolved": "17.3.0",
"contentHash": "uOJALDWtKXZkISKuNI7kOlRi/lk2CqXZtLkNS0Ei+RXqRUjUpCsjAPYSP+DJ/a4QwJ5cI9CVF52vtajnGOaEpw==",
"dependencies": {
"Microsoft.TestPlatform.ObjectModel": "17.3.0",
"Newtonsoft.Json": "9.0.1"
}
},
"Newtonsoft.Json": {
"type": "Transitive",
"resolved": "13.0.1",
"contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A=="
},
"NuGet.Frameworks": {
"type": "Transitive",
"resolved": "5.11.0",
"contentHash": "eaiXkUjC4NPcquGWzAGMXjuxvLwc6XGKMptSyOGQeT0X70BUZObuybJFZLA0OfTdueLd3US23NBPTBb6iF3V1Q=="
},
"RestSharp": {
"type": "Transitive",
"resolved": "108.0.1",
"contentHash": "XKwuwWq7A4dxZ8l9QkS2+ePLJ9ImmLaJSeFO6H2kpII4Us4n1NRs4w3c//8H2BYpL1XqBE8nmsd9aNCVBwXmOA=="
},
"System.Reflection.Metadata": {
"type": "Transitive",
"resolved": "1.6.0",
"contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ=="
},
"xunit.abstractions": {
"type": "Transitive",
"resolved": "2.0.3",
"contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg=="
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==",
"dependencies": {
"xunit.extensibility.core": "[2.4.2]",
"xunit.extensibility.execution": "[2.4.2]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.extensibility.core": "[2.4.2]"
}
},
"easypost": {
"type": "Project",
"dependencies": {
"Newtonsoft.Json": "[13.0.1, 14.0.0)",
"RestSharp": "[108.0.1, 109.0.0)"
}
}
}
}
}
Loading