diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c20206..0e05fec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 3.0.1 +### Added +- `PokeApiClient` constructor that accepts an `HttpClient` instance; for use with the `IHttpClientFactory` interface +- Updated test dependencies + ## 3.0.0 ### Breaking Changes - All classes under the `PokeApiNet.Models` namespace were moved to `PokeApiNet` diff --git a/PokeApiNet.Tests/PokeApiNet.Tests.csproj b/PokeApiNet.Tests/PokeApiNet.Tests.csproj index b4e2f81..6b777f2 100644 --- a/PokeApiNet.Tests/PokeApiNet.Tests.csproj +++ b/PokeApiNet.Tests/PokeApiNet.Tests.csproj @@ -1,25 +1,25 @@ - netcoreapp3.1 + net5.0 false - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + - + all runtime; build; native; contentfiles; analyzers diff --git a/PokeApiNet/PokeApiNet.csproj b/PokeApiNet/PokeApiNet.csproj index 1df8ed0..4da9c98 100644 --- a/PokeApiNet/PokeApiNet.csproj +++ b/PokeApiNet/PokeApiNet.csproj @@ -3,7 +3,7 @@ netstandard2.0;netstandard2.1 true - 3.0.0 + 3.0.1 JJ Banda .Net client for the PokeAPI api diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 13d7896..2b4ffe6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,8 +1,3 @@ - # ASP.NET Core -# Build and test ASP.NET Core projects targeting .NET Core. -# Add steps that run tests, create a NuGet package, deploy, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core - trigger: - master @@ -14,11 +9,9 @@ variables: steps: - task: UseDotNet@2 - displayName: 'Use .NET Core SDK 3.1.100' inputs: packageType: sdk - version: 3.1.100 - installationPath: $(Agent.ToolsDirectory)/dotnet + version: '5.x' - task: DotNetCoreCLI@2 displayName: dotnet build inputs: @@ -35,4 +28,4 @@ steps: inputs: testResultsFormat: 'XUnit' testResultsFiles: '**/coverage.cobertura.xml' - failTaskOnFailedTests: true \ No newline at end of file + failTaskOnFailedTests: true