Skip to content

Release 1.4.0: restore netstandard2.0, add trusted-publishing NuGet workflow - #53

Merged
ademar merged 2 commits into
masterfrom
release/1.4.0
Sep 24, 2026
Merged

ademar merged 2 commits into
masterfrom
release/1.4.0

Conversation

@ademar

@ademar ademar commented Sep 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Framework targets: multi-target netstandard2.0;net10.0. The net10 migration had dropped netstandard2.0, which would have made the next release uninstallable on .NET Framework and on .NET below 10.
  • Packaging: package metadata moves from EppLib.nuspec (deleted; it packed a Debug build) into EppLib.csproj, with an Apache-2.0 license expression, CodeMakerInc repo links, README and release notes. Version is 1.4.0.
  • New workflow, build-and-publish.yml:
    • On pushes and PRs to master, it builds, runs the unit tests and packs.
    • On a v* tag, it checks the tag matches the csproj version, then pushes to nuget.org via trusted publishing (NuGet/login@v1, user ademar, no environment). No API key is stored.
  • Also ships: the Possible endless loop w/ busy wait #46 fix (TcpTransport.Read looping at 100% CPU when the server closes the connection). It is the first release since 1.3.3 (Oct 2019).

Testing

  • dotnet pack output has lib/netstandard2.0 and lib/net10.0.
  • Unit tests: 55 passed, 23 skipped.
  • TestDomainsSuspendedNotification fails outside UTC because the test asserts local time. It passes on CI, which runs in UTC.

Releasing

Tag v1.4.0 has been created locally on this branch's commit but not pushed. Merge with a merge commit (not squash) so the tag stays on master, then git push origin v1.4.0 to publish.

🤖 Generated with Claude Code

ademar and others added 2 commits September 24, 2026 17:59
Target netstandard2.0 alongside net10.0 so the package still installs
on .NET Framework and .NET below 10, and move the package metadata from
the nuspec into the csproj (Apache-2.0 license expression, repository
links, README, release notes). The old nuspec packed a Debug build.

Add build-and-publish.yml: builds, tests and packs on pushes and PRs to
master; on a v* tag it checks the tag matches the package version and
pushes to nuget.org through trusted publishing (OIDC), so no API key is
stored in the repository.

1.4.0 also ships the fix for #46 (TcpTransport.Read spinning at 100%
CPU when the server closes the connection).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
checkout v7, setup-dotnet v6, upload-artifact v7, download-artifact v8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ademar
ademar merged commit 0e48144 into master Sep 24, 2026
2 checks passed
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.

1 participant