Skip to content

3.2.0: drop netcoreapp3.1, examples on net10.0, Dependabot - #75

Merged
tomasr78 merged 1 commit into
mainfrom
drop-eol-tfms-3.2.0
Oct 16, 2026
Merged

tomasr78 merged 1 commit into
mainfrom
drop-eol-tfms-3.2.0

Conversation

@tomasr78

Copy link
Copy Markdown
Contributor

Prepares 3.2.0. Merging publishes nothing; the release is a separate GitHub Release (see RELEASING.md).

Changes

  • ConvertApi.csproj targets netstandard2.0 only (was netstandard2.0;netcoreapp3.1). .NET Core 3.1 has been out of support since Dec 2022. There is no #if / TFM-specific code anywhere in the library, so both builds were the same code; the public API is unchanged. Packed locally: the nupkg now has a single lib/netstandard2.0/ConvertApi.dll and one .NETStandard2.0 dependency group (Microsoft.OpenApi.Readers 1.6.31, Newtonsoft.Json 13.0.1). Consumers on .NET Core 3.1 resolve the netstandard2.0 build instead. Dropping a TFM is consumer-visible, hence a minor version.
  • Examples move to net10.0 (LTS, supported to Nov 2028). 20 were on net6.0 and SplitPDF was on net8.0 (EOL 2026-11-10). SplitPDF also referenced the ConvertApi 3.1.2 NuGet package instead of the library in this repo, so it was not testing the code being built, and Dependabot would have kept bumping it; it now uses a ProjectReference like the others.
  • .github/dependabot.yml: weekly (Monday) updates for github-actions (the SHA pins and their # vX.Y.Z comments, grouped into one PR) and nuget (root → ConvertApi.sln, minor and patch grouped, majors separate). PRs are labelled dependencies, go through the required build check, and are merged with a merge commit like any other PR. Note that a NuGet bump in ConvertApi.csproj raises the minimum dependency version every consumer gets, so it should be noted in the CHANGELOG of the next release.
  • CHANGELOG.md: [3.2.0] — Unreleased entry.

Checked

  • dotnet restore / dotnet build ConvertApi.sln -c Release / dotnet pack locally with SDK 10.0.401: succeeds, no new warnings (3 existing warnings in ConverterCatalogDemo and GetConverterInfoDemo).

Open question (not changed here)

  • PackageLicenseUrl / PackageIconUrl are deprecated NuGet metadata (NuGet shows a warning and nuget.org displays the licence as a URL to the website terms). The repo's LICENSE file is MIT-style; whether the package should declare <PackageLicenseExpression>MIT</PackageLicenseExpression> (or PackageLicenseFile) and ship an embedded PackageIcon is a licensing decision for @tomasr78, so it is left as is.

Follow-ups (not in this PR)

  • README "Compatibility" claims .NET Framework 4.0+; a netstandard2.0 package needs .NET Framework 4.6.2+ (the package description already says so).

After merge

gh pr merge <n> --repo ConvertAPI/convertapi-library-dotnet --merge --admin

Release, when decided (typed by Tomas):

gh release create v3.2.0 --repo ConvertAPI/convertapi-library-dotnet --target main --title v3.2.0 --generate-notes

🤖 Generated with Claude Code

- 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 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 16, 2026 14:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No blocking issues were identified, and the focused configuration changes align with the existing SDK, build, and release workflows.

0 open findings

What changed in this PR

Prepares 3.2.0 by simplifying library targeting, modernizing examples, and automating dependency updates. Publishing remains a separate release step.

Changes:

  • Targets the library solely at netstandard2.0.
  • Moves all 21 examples to net10.0; SplitPDF now references the local library.
  • Adds weekly Dependabot updates and an unreleased changelog entry.
File Description
Examples/​Workflow/​Workflow.csproj Targets .NET 10.
Examples/​WatermarkPdf/​WatermarkPdf.csproj Targets .NET 10.
Examples/​UploadOnceReuseTwice/​UploadOnceReuseTwice.csproj Targets .NET 10.
Examples/​SplitPDF/​SplitPDF.csproj Targets .NET 10 and references the local library.
Examples/​SplitAndMergePdf/​SplitAndMergePdf.csproj Targets .NET 10.
Examples/​RetrieveUserInformation/​RetrieveUserInformation.csproj Targets .NET 10.
Examples/​MergeWordDocsToPdf/​MergeWordDocsToPdf.csproj Targets .NET 10.
Examples/​HandleRetry/​HandleRetry.csproj Targets .NET 10.
Examples/​GetConverterInfoDemo/​GetConverterInfoDemo.csproj Targets .NET 10.
Examples/​FromStreamToStream/​FromStreamToStream.csproj Targets .NET 10.
Examples/​ExceptionHandling/​ExceptionHandling.csproj Targets .NET 10.
Examples/​DeleteFiles/​DeleteFiles.csproj Targets .NET 10.
Examples/​CreatePdfThumbnail/​CreatePdfThumbnail.csproj Targets .NET 10.
Examples/​ConvertWordToPdfAndPng/​ConvertWordToPdfAndPng.csproj Targets .NET 10.
Examples/​ConvertUrlToPdf/​ConvertUrlToPdf.csproj Targets .NET 10.
Examples/​ConvertRemoteFile/​ConvertRemoteFile.csproj Targets .NET 10.
Examples/​ConvertPdfToXlsx/​ConvertPdfToXlsx.csproj Targets .NET 10.
Examples/​ConvertPdfToPptx/​ConvertPdfToPptx.csproj Targets .NET 10.
Examples/​ConvertPdfToPdfA/​ConvertPdfToPdfA.csproj Targets .NET 10.
Examples/​ConvertPdfToDocx/​ConvertPdfToDocx.csproj Targets .NET 10.
Examples/​ConverterCatalogDemo/​ConverterCatalogDemo.csproj Targets .NET 10.
ConvertApi/​ConvertApi.csproj Removes the netcoreapp3.1 target.
CHANGELOG.md Documents unreleased 3.2.0 changes.
.github/​dependabot.yml Schedules grouped Actions and NuGet updates.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@tomasr78
tomasr78 merged commit 4d152b2 into main Oct 16, 2026
2 checks passed
@tomasr78
tomasr78 deleted the drop-eol-tfms-3.2.0 branch October 16, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants