From 5ce5e70daf9e7098ec39c22f37381701d99db079 Mon Sep 17 00:00:00 2001 From: Tomas Rutkauskas Date: Fri, 16 Oct 2026 17:01:06 +0300 Subject: [PATCH] Drop netcoreapp3.1, move examples to net10.0, add Dependabot (3.2.0) - ConvertApi.csproj targets netstandard2.0 only; .NET Core 3.1 is out of support and the library has no netcoreapp3.1-specific code. - Examples move from net6.0/net8.0 to net10.0; SplitPDF now builds against the library in this repository instead of the ConvertApi 3.1.2 package. - .github/dependabot.yml: weekly github-actions and nuget updates. - CHANGELOG: unreleased 3.2.0 entry. Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 32 +++++++++++++++++++ CHANGELOG.md | 13 ++++++++ ConvertApi/ConvertApi.csproj | 2 +- .../ConvertPdfToDocx/ConvertPdfToDocx.csproj | 2 +- .../ConvertPdfToPdfA/ConvertPdfToPdfA.csproj | 2 +- .../ConvertPdfToPptx/ConvertPdfToPptx.csproj | 2 +- .../ConvertPdfToXlsx/ConvertPdfToXlsx.csproj | 2 +- .../ConvertRemoteFile.csproj | 2 +- .../ConvertUrlToPdf/ConvertUrlToPdf.csproj | 2 +- .../ConvertWordToPdfAndPng.csproj | 2 +- .../ConverterCatalogDemo.csproj | 2 +- .../CreatePdfThumbnail.csproj | 2 +- Examples/DeleteFiles/DeleteFiles.csproj | 2 +- .../ExceptionHandling.csproj | 2 +- .../FromStreamToStream.csproj | 2 +- .../GetConverterInfoDemo.csproj | 2 +- Examples/HandleRetry/HandleRetry.csproj | 2 +- .../MergeWordDocsToPdf.csproj | 2 +- .../RetrieveUserInformation.csproj | 2 +- .../SplitAndMergePdf/SplitAndMergePdf.csproj | 2 +- Examples/SplitPDF/SplitPDF.csproj | 4 +-- .../UploadOnceReuseTwice.csproj | 2 +- Examples/WatermarkPdf/WatermarkPdf.csproj | 2 +- Examples/Workflow/Workflow.csproj | 2 +- 24 files changed, 68 insertions(+), 23 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..79bf7a2 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,32 @@ +# Weekly dependency updates, each opened as a pull request against main that must pass the `build` check +# and is merged like any other change (merge commit). Merging releases nothing: a new NuGet version still +# needs a GitHub Release (see RELEASING.md). +version: 2 +updates: + # The workflows pin every action to a commit SHA with a `# vX.Y.Z` comment; Dependabot updates both. + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + day: monday + groups: + github-actions: + patterns: ["*"] + commit-message: + prefix: ci + labels: [dependencies] + + # ConvertApi.sln: the library and every example. A bump in ConvertApi.csproj raises the minimum version + # every consumer gets, so it belongs in the CHANGELOG of the next release. + - package-ecosystem: nuget + directory: / + schedule: + interval: weekly + day: monday + groups: + nuget-minor-and-patch: + update-types: [minor, patch] + commit-message: + prefix: deps + labels: [dependencies] + open-pull-requests-limit: 5 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4291536..00dbb4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning. +## [3.2.0] — Unreleased + +### Removed +- The `netcoreapp3.1` target. The package now ships a single `netstandard2.0` assembly, which every + supported .NET (and .NET Framework 4.6.2+) already uses; .NET Core 3.1 has been out of support since + December 2022. The library had no `netcoreapp3.1`-specific code, so the public API is unchanged. Apps + still on .NET Core 3.1 now resolve the `netstandard2.0` build instead. + +### Changed +- Examples target `net10.0` (were `net6.0`, out of support since November 2024), and `SplitPDF` builds + against the library in this repository instead of the `ConvertApi` 3.1.2 package. +- Dependabot opens weekly pull requests for GitHub Actions and NuGet dependencies. + ## [3.1.19] — 2026-10-16 ### Security diff --git a/ConvertApi/ConvertApi.csproj b/ConvertApi/ConvertApi.csproj index c39aa35..db188a6 100644 --- a/ConvertApi/ConvertApi.csproj +++ b/ConvertApi/ConvertApi.csproj @@ -19,7 +19,7 @@ ConvertApi ConvertApiDotNet https://github.com/ConvertAPI/convertapi-library-dotnet/releases - netstandard2.0;netcoreapp3.1 + netstandard2.0 ConvertAPI for .NET — one call to turn Office files into PDF or back again (DOCX ⇄ PDF, XLSX ⇄ PDF, PPTX ⇄ PDF). Convert HTML, images, ebooks, email, zip; merge, split, watermark, compress, OCR, redact, protect or repair PDF. Async and cross-platform: targets .NET Standard 2.0, so it runs on .NET Framework 4.6.2+ and every modern .NET. true snupkg diff --git a/Examples/ConvertPdfToDocx/ConvertPdfToDocx.csproj b/Examples/ConvertPdfToDocx/ConvertPdfToDocx.csproj index b1ad10d..6786879 100644 --- a/Examples/ConvertPdfToDocx/ConvertPdfToDocx.csproj +++ b/Examples/ConvertPdfToDocx/ConvertPdfToDocx.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/ConvertPdfToPdfA/ConvertPdfToPdfA.csproj b/Examples/ConvertPdfToPdfA/ConvertPdfToPdfA.csproj index acd1fad..d67784c 100644 --- a/Examples/ConvertPdfToPdfA/ConvertPdfToPdfA.csproj +++ b/Examples/ConvertPdfToPdfA/ConvertPdfToPdfA.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/ConvertPdfToPptx/ConvertPdfToPptx.csproj b/Examples/ConvertPdfToPptx/ConvertPdfToPptx.csproj index 9c26b8c..6ad95ed 100644 --- a/Examples/ConvertPdfToPptx/ConvertPdfToPptx.csproj +++ b/Examples/ConvertPdfToPptx/ConvertPdfToPptx.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/ConvertPdfToXlsx/ConvertPdfToXlsx.csproj b/Examples/ConvertPdfToXlsx/ConvertPdfToXlsx.csproj index 9c26b8c..6ad95ed 100644 --- a/Examples/ConvertPdfToXlsx/ConvertPdfToXlsx.csproj +++ b/Examples/ConvertPdfToXlsx/ConvertPdfToXlsx.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/ConvertRemoteFile/ConvertRemoteFile.csproj b/Examples/ConvertRemoteFile/ConvertRemoteFile.csproj index ba5c707..630edb1 100644 --- a/Examples/ConvertRemoteFile/ConvertRemoteFile.csproj +++ b/Examples/ConvertRemoteFile/ConvertRemoteFile.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/ConvertUrlToPdf/ConvertUrlToPdf.csproj b/Examples/ConvertUrlToPdf/ConvertUrlToPdf.csproj index ba5c707..630edb1 100644 --- a/Examples/ConvertUrlToPdf/ConvertUrlToPdf.csproj +++ b/Examples/ConvertUrlToPdf/ConvertUrlToPdf.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/ConvertWordToPdfAndPng/ConvertWordToPdfAndPng.csproj b/Examples/ConvertWordToPdfAndPng/ConvertWordToPdfAndPng.csproj index ba5c707..630edb1 100644 --- a/Examples/ConvertWordToPdfAndPng/ConvertWordToPdfAndPng.csproj +++ b/Examples/ConvertWordToPdfAndPng/ConvertWordToPdfAndPng.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/ConverterCatalogDemo/ConverterCatalogDemo.csproj b/Examples/ConverterCatalogDemo/ConverterCatalogDemo.csproj index acd1fad..d67784c 100644 --- a/Examples/ConverterCatalogDemo/ConverterCatalogDemo.csproj +++ b/Examples/ConverterCatalogDemo/ConverterCatalogDemo.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/CreatePdfThumbnail/CreatePdfThumbnail.csproj b/Examples/CreatePdfThumbnail/CreatePdfThumbnail.csproj index ba5c707..630edb1 100644 --- a/Examples/CreatePdfThumbnail/CreatePdfThumbnail.csproj +++ b/Examples/CreatePdfThumbnail/CreatePdfThumbnail.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/DeleteFiles/DeleteFiles.csproj b/Examples/DeleteFiles/DeleteFiles.csproj index 90e7687..c1999eb 100644 --- a/Examples/DeleteFiles/DeleteFiles.csproj +++ b/Examples/DeleteFiles/DeleteFiles.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/ExceptionHandling/ExceptionHandling.csproj b/Examples/ExceptionHandling/ExceptionHandling.csproj index 428da11..15fc122 100644 --- a/Examples/ExceptionHandling/ExceptionHandling.csproj +++ b/Examples/ExceptionHandling/ExceptionHandling.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/FromStreamToStream/FromStreamToStream.csproj b/Examples/FromStreamToStream/FromStreamToStream.csproj index ba5c707..630edb1 100644 --- a/Examples/FromStreamToStream/FromStreamToStream.csproj +++ b/Examples/FromStreamToStream/FromStreamToStream.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/GetConverterInfoDemo/GetConverterInfoDemo.csproj b/Examples/GetConverterInfoDemo/GetConverterInfoDemo.csproj index acd1fad..d67784c 100644 --- a/Examples/GetConverterInfoDemo/GetConverterInfoDemo.csproj +++ b/Examples/GetConverterInfoDemo/GetConverterInfoDemo.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/HandleRetry/HandleRetry.csproj b/Examples/HandleRetry/HandleRetry.csproj index 4f9f1f2..df0a983 100644 --- a/Examples/HandleRetry/HandleRetry.csproj +++ b/Examples/HandleRetry/HandleRetry.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/MergeWordDocsToPdf/MergeWordDocsToPdf.csproj b/Examples/MergeWordDocsToPdf/MergeWordDocsToPdf.csproj index 738cade..37884cb 100644 --- a/Examples/MergeWordDocsToPdf/MergeWordDocsToPdf.csproj +++ b/Examples/MergeWordDocsToPdf/MergeWordDocsToPdf.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 diff --git a/Examples/RetrieveUserInformation/RetrieveUserInformation.csproj b/Examples/RetrieveUserInformation/RetrieveUserInformation.csproj index ba5c707..630edb1 100644 --- a/Examples/RetrieveUserInformation/RetrieveUserInformation.csproj +++ b/Examples/RetrieveUserInformation/RetrieveUserInformation.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/SplitAndMergePdf/SplitAndMergePdf.csproj b/Examples/SplitAndMergePdf/SplitAndMergePdf.csproj index ba5c707..630edb1 100644 --- a/Examples/SplitAndMergePdf/SplitAndMergePdf.csproj +++ b/Examples/SplitAndMergePdf/SplitAndMergePdf.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/SplitPDF/SplitPDF.csproj b/Examples/SplitPDF/SplitPDF.csproj index 644587e..0c607fd 100644 --- a/Examples/SplitPDF/SplitPDF.csproj +++ b/Examples/SplitPDF/SplitPDF.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 enable enable - + diff --git a/Examples/UploadOnceReuseTwice/UploadOnceReuseTwice.csproj b/Examples/UploadOnceReuseTwice/UploadOnceReuseTwice.csproj index acd1fad..d67784c 100644 --- a/Examples/UploadOnceReuseTwice/UploadOnceReuseTwice.csproj +++ b/Examples/UploadOnceReuseTwice/UploadOnceReuseTwice.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/WatermarkPdf/WatermarkPdf.csproj b/Examples/WatermarkPdf/WatermarkPdf.csproj index 428da11..15fc122 100644 --- a/Examples/WatermarkPdf/WatermarkPdf.csproj +++ b/Examples/WatermarkPdf/WatermarkPdf.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable diff --git a/Examples/Workflow/Workflow.csproj b/Examples/Workflow/Workflow.csproj index ba5c707..630edb1 100644 --- a/Examples/Workflow/Workflow.csproj +++ b/Examples/Workflow/Workflow.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable enable