Skip to content

Commit

Permalink
Update Flurl.Http dependency to 3.0.1.
Browse files Browse the repository at this point in the history
Minimum .NET Framework requirement changed from 4.5 to 4.6.1.
Dropped support for `netstandard1.3`; `netstandard2.0` still supported.
  • Loading branch information
bchavez committed Jan 17, 2021
1 parent e9f2ffa commit 89d74d9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v2.0.1
* Update `Flurl.Http` dependency to 3.0.1.
* Minimum .NET Framework requirement changed from 4.5 to 4.6.1.
* Dropped support for `netstandard1.3`; `netstandard2.0` still supported.

## v1.1.1
* Issue 12: Fixes error converting null to type 'System.Int64' in charge payments block height.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Project Description
[1]:https://docs.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-client
[2]:https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls
#### Minimum Requirements
* **.NET Standard 1.3** or later
* **.NET Framework 4.5** or later
* **.NET Standard 2.0** or later
* **.NET Framework 4.6.1** or later
* **TLS 1.2** or later

***Note:*** If you are using **.NET Framework 4.5** you will need to ensure your application is using **TLS 1.2** or later. This can be configured via the registry ([**link 1**][1], [**link 2**][2]) or configured at ***application startup*** by setting the following value in `ServicePointManager`:
***Note:*** If you are using **.NET Framework 4.6.1** you will need to ensure your application is using **TLS 1.2** or later. This can be configured via the registry ([**link 1**][1], [**link 2**][2]) or configured at ***application startup*** by setting the following value in `ServicePointManager`:
```csharp
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
```
Expand Down
9 changes: 3 additions & 6 deletions Source/Coinbase.Commerce/Coinbase.Commerce.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>A .NET implementation of the Coinbase Commerce API for cryptocurrency payments. Coinbase Commerce is the easiest and safest way for a business to start accepting digital currency payments. Works with Bitcoin (BTC), Ethereum (ETH), Litecoin (LTC), and Bitcoin Cash (BCH)!</Description>
<PackageReleaseNotes>
</PackageReleaseNotes>
<Version>0.0.0-localbuild</Version>
<Authors>Brian Chavez</Authors>
<TargetFrameworks>net45;netstandard1.3;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<CodeAnalysisRuleSet>Coinbase.Commerce.ruleset</CodeAnalysisRuleSet>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyOriginatorKeyFile>
Expand All @@ -28,11 +28,8 @@
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<DefineConstants>$(DefineConstants);STANDARD;STANDARD20</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<DefineConstants>$(DefineConstants);STANDARD;STANDARD13</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Flurl.Http" Version="2.4.2" />
<PackageReference Include="Flurl.Http" Version="3.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Roslynator.Analyzers" Version="1.8.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
Expand Down
2 changes: 0 additions & 2 deletions Source/Coinbase.Commerce/CommerceApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ protected internal void ConfigureClient()
});
}

#if !STANDARD13
/// <summary>
/// Enable HTTP debugging via Fiddler. Ensure Tools > Fiddler Options... > Connections is enabled and has a port configured.
/// Then, call this method with the following URL format: http://localhost.:PORT where PORT is the port number Fiddler proxy
Expand Down Expand Up @@ -112,7 +111,6 @@ public override HttpMessageHandler CreateMessageHandler()
};
}
}
#endif

/// <summary>
/// List all the charges. All GET endpoints which return an object list
Expand Down
12 changes: 6 additions & 6 deletions Source/Coinbase.Tests/Coinbase.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<OutputType>Library</OutputType>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
Expand All @@ -9,13 +9,13 @@
<ItemGroup>
<PackageReference Include="Appveyor.TestLogger" Version="2.0.0" />
<PackageReference Include="FluentAssertions" Version="5.10.3" />
<PackageReference Include="Flurl" Version="2.8.2" />
<PackageReference Include="Flurl.Http" Version="2.4.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
<PackageReference Include="Flurl" Version="3.0.1" />
<PackageReference Include="Flurl.Http" Version="3.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit" Version="3.13.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
<PackageReference Include="NunitXml.TestLogger" Version="2.1.62" />
<PackageReference Include="NunitXml.TestLogger" Version="2.1.80" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="Z.ExtensionMethods.WithTwoNamespace" Version="2.1.1" />
</ItemGroup>
Expand Down

0 comments on commit 89d74d9

Please sign in to comment.