Skip to content

Commit

Permalink
Added 2.3 Release Notes.
Browse files Browse the repository at this point in the history
Added .NET 8 target.
  • Loading branch information
Jaben committed Apr 17, 2024
1 parent d93cf64 commit b508e4c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public HtmlConversionBehaviorBuilder SetBrowserWaitExpression(string expression)
/// <returns></returns>
/// <exception cref="InvalidOperationException"></exception>
[PublicAPI]
[Obsolete("Deprecated in Gotenberg v8+")]
public HtmlConversionBehaviorBuilder SetUserAgent(string userAgent)
{
if (userAgent.IsNotSet()) throw new InvalidOperationException("headerName is not set");
Expand Down
11 changes: 9 additions & 2 deletions lib/Gotenberg.Sharp.Api.Client.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<AssemblyName>Gotenberg.Sharp.API.Client</AssemblyName>
<RootNamespace>Gotenberg.Sharp.API.Client</RootNamespace>
Expand All @@ -13,13 +13,14 @@
</PropertyGroup>

<PropertyGroup Label="PackageInfo">
<PackageVersion>2.2.2</PackageVersion>
<PackageVersion>2.3.0</PackageVersion>
<PackageTags>Gotenberg pdf C# ApiClient unoconv</PackageTags>
<Description>
C# API client for interacting with the Gotenberg v7 &amp; v8 micro-service's API, a docker-powered stateless API for converting &amp; merging HTML, Markdown and Office documents to PDF. The client supports a configurable Polly retry policy with exponential back-off for handling transient exceptions.
</Description>
<IncludeSymbols>True</IncludeSymbols>
<PackageReleaseNotes>
v2.3 - Added Convert Page 'ExportFormFields' flag support (Gotenberg v8.3+ Only). Added .NET 8 target.
v2.2 - Added 'SkipNetworkIdle' flag support (Gotenberg v8+ Only). Thank you for the PR @guillaumeduhr! Upgraded nugets to latest. Added .NET 7.0 support.
v2.1 - Added Trace Support. Fixed extra webhook header support.
v2.0 - Upgraded to support Gotenberg v7 -- this version no longer works with Gotenberg v6.
Expand Down Expand Up @@ -84,6 +85,12 @@
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="7.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.4" />
</ItemGroup>

<ItemGroup>
<None Include="..\README.md" Pack="true" PackagePath="\" />
<None Include="..\.editorconfig" Link=".editorconfig" />
Expand Down

0 comments on commit b508e4c

Please sign in to comment.