Skip to content

Commit b508e4c

Browse files
committed
Added 2.3 Release Notes.
Added .NET 8 target.
1 parent d93cf64 commit b508e4c

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

lib/Domain/Builders/Faceted/HtmlConversionBehaviorBuilder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public HtmlConversionBehaviorBuilder SetBrowserWaitExpression(string expression)
7474
/// <returns></returns>
7575
/// <exception cref="InvalidOperationException"></exception>
7676
[PublicAPI]
77+
[Obsolete("Deprecated in Gotenberg v8+")]
7778
public HtmlConversionBehaviorBuilder SetUserAgent(string userAgent)
7879
{
7980
if (userAgent.IsNotSet()) throw new InvalidOperationException("headerName is not set");

lib/Gotenberg.Sharp.Api.Client.csproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
55
<LangVersion>latest</LangVersion>
66
<AssemblyName>Gotenberg.Sharp.API.Client</AssemblyName>
77
<RootNamespace>Gotenberg.Sharp.API.Client</RootNamespace>
@@ -13,13 +13,14 @@
1313
</PropertyGroup>
1414

1515
<PropertyGroup Label="PackageInfo">
16-
<PackageVersion>2.2.2</PackageVersion>
16+
<PackageVersion>2.3.0</PackageVersion>
1717
<PackageTags>Gotenberg pdf C# ApiClient unoconv</PackageTags>
1818
<Description>
1919
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.
2020
</Description>
2121
<IncludeSymbols>True</IncludeSymbols>
2222
<PackageReleaseNotes>
23+
v2.3 - Added Convert Page 'ExportFormFields' flag support (Gotenberg v8.3+ Only). Added .NET 8 target.
2324
v2.2 - Added 'SkipNetworkIdle' flag support (Gotenberg v8+ Only). Thank you for the PR @guillaumeduhr! Upgraded nugets to latest. Added .NET 7.0 support.
2425
v2.1 - Added Trace Support. Fixed extra webhook header support.
2526
v2.0 - Upgraded to support Gotenberg v7 -- this version no longer works with Gotenberg v6.
@@ -84,6 +85,12 @@
8485
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="7.0.0" />
8586
</ItemGroup>
8687

88+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
89+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
90+
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
91+
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.4" />
92+
</ItemGroup>
93+
8794
<ItemGroup>
8895
<None Include="..\README.md" Pack="true" PackagePath="\" />
8996
<None Include="..\.editorconfig" Link=".editorconfig" />

0 commit comments

Comments
 (0)