From b508e4ce460e872755eade83b2ab0a53692b8a15 Mon Sep 17 00:00:00 2001 From: Jaben Cargman Date: Tue, 16 Apr 2024 23:11:47 -0400 Subject: [PATCH] Added 2.3 Release Notes. Added .NET 8 target. --- .../Builders/Faceted/HtmlConversionBehaviorBuilder.cs | 1 + lib/Gotenberg.Sharp.Api.Client.csproj | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/Domain/Builders/Faceted/HtmlConversionBehaviorBuilder.cs b/lib/Domain/Builders/Faceted/HtmlConversionBehaviorBuilder.cs index 4aff092..8825f0f 100644 --- a/lib/Domain/Builders/Faceted/HtmlConversionBehaviorBuilder.cs +++ b/lib/Domain/Builders/Faceted/HtmlConversionBehaviorBuilder.cs @@ -74,6 +74,7 @@ public HtmlConversionBehaviorBuilder SetBrowserWaitExpression(string expression) /// /// [PublicAPI] + [Obsolete("Deprecated in Gotenberg v8+")] public HtmlConversionBehaviorBuilder SetUserAgent(string userAgent) { if (userAgent.IsNotSet()) throw new InvalidOperationException("headerName is not set"); diff --git a/lib/Gotenberg.Sharp.Api.Client.csproj b/lib/Gotenberg.Sharp.Api.Client.csproj index d05ab63..fee58c6 100644 --- a/lib/Gotenberg.Sharp.Api.Client.csproj +++ b/lib/Gotenberg.Sharp.Api.Client.csproj @@ -1,7 +1,7 @@  - net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0 + net8.0;net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0 latest Gotenberg.Sharp.API.Client Gotenberg.Sharp.API.Client @@ -13,13 +13,14 @@ - 2.2.2 + 2.3.0 Gotenberg pdf C# ApiClient unoconv C# API client for interacting with the Gotenberg v7 & v8 micro-service's API, a docker-powered stateless API for converting & merging HTML, Markdown and Office documents to PDF. The client supports a configurable Polly retry policy with exponential back-off for handling transient exceptions. True + 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. @@ -84,6 +85,12 @@ + + + + + +