Skip to content

Commit

Permalink
Version bump to 3.0.1 (#23)
Browse files Browse the repository at this point in the history
* cut release

* update to net5.0 build
  • Loading branch information
jtwotimes authored Apr 15, 2021
1 parent 1a6f7dd commit 231f05f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
10 changes: 5 additions & 5 deletions PokeApiNet.Tests/PokeApiNet.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="1.2.0">
<PackageReference Include="coverlet.collector" Version="3.0.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="2.8.0">
<PackageReference Include="coverlet.msbuild" Version="3.0.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="RichardSzalay.MockHttp" Version="6.0.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion PokeApiNet/PokeApiNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>3.0.0</Version>
<Version>3.0.1</Version>
<Authors>JJ Banda</Authors>
<Company />
<Description>.Net client for the PokeAPI api</Description>
Expand Down
11 changes: 2 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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:
Expand All @@ -35,4 +28,4 @@ steps:
inputs:
testResultsFormat: 'XUnit'
testResultsFiles: '**/coverage.cobertura.xml'
failTaskOnFailedTests: true
failTaskOnFailedTests: true

0 comments on commit 231f05f

Please sign in to comment.