Skip to content

Releases

v0.6.0-rc.1

v0.6.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Oct 08:44
Immutable release. Only release title and notes can be modified.
76a6619

Pre-release: protocol: nntps (NNTP over implicit TLS, port 563)

v0.6.0-rc.1 adds protocol: nntps (SMTP_PROTOCOL=nntps) as a direct, fail-closed spelling for NNTP over implicit TLS (RFC 4642 §2.1, default port 563), so newsgroup workflows do not need a separate secure: setting:

- name: Post to a newsgroup
  uses: hyperpolymath/smtp-notify-action@76a661998aea8d9e198ddf368e618fe9ac7d0c01 # v0.6.0-rc.1
  with:
    protocol: nntps
    server_address: news.example.org
    username: ${{ secrets.NNTP_USERNAME }}
    password: ${{ secrets.NNTP_PASSWORD }}
    from: 'GitHub Push <[email protected]>'
    newsgroups: 'alt.test, uk.rec.cycling'
    subject: 'Push to ${{ github.repository }}'
    body: '${{ github.actor }} pushed ${{ github.sha }}'

Fail-closed transport agreement

  • protocol: nntps requires implicit TLS (secure: true / implicit, or secure omitted). Pairing protocol: nntps with secure: false/starttls or secure: plaintext fails the step before opening a socket rather than silently downgrading TLS or silently ignoring secure (D-011).
  • protocol: nntp continues to take its transport from secure (563 for implicit TLS, 119 for STARTTLS or containerized plaintext sinks).
  • .github/workflows/release.yml now passes --prerelease to gh release create for SemVer pre-release tags (*-*), keeping v0.5.1 as Latest (and Marketplace-eligible).

Why this is a pre-release (KNOWN-DEFECTS.adoc D-015)

The NNTP/NNTPS dialogue, STARTTLS upgrade, AUTHINFO USER/PASS, dot-stuffing, and Newsgroups grammar are proven in Idris2 (spec/Nntp/) and tested end-to-end against scripts/nntp-sink.py in CI, but no live news server has been contacted yet (D-015). Treat the first live newsgroup run as an explicit canary before promoting v0.6.0.

Provenance

CI rebuilt both static musl binaries from this tag and verified they hash byte-identically to the SHA-256 pins inside this tag's action.yml before publishing. SHA256SUMS is attached:

adc643aa37ccbb5d70204577eb1bbbe536e15fb868ae5952966c1a2af8417cf2  smtp-notify-x86_64-linux-musl
16206d7d48a32f811866eb55f2d573e20eb69a64ad527efe2aeff783dac40d05  smtp-notify-aarch64-linux-musl

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 24 Oct 01:08
Immutable release. Only release title and notes can be modified.
e384daf

Protocol-neutral server_address metadata

server_address is the host input for both SMTP and NNTP, and remained the only input in action.yml still described as SMTP-only ('SMTP server host name'). It now reads:

description: 'Server host name (SMTP or NNTP, per protocol: `protocol`)'

The secure and diagnose folded scalar descriptions were also rewrapped to line width (Reports → reports after the colon in diagnose), and the download URL in action.yml now points to v0.5.1.

Because workflow editors, consumers, and GitHub Marketplace read action.yml from the release tag — and tags are immutable here — this ships as v0.5.1 rather than moving v0.5.0. v0.5.0 remains supported in SECURITY.md since the binary and input surface are unchanged.

For the full NNTP posting (protocol: nntp, newsgroups) and Marketplace readiness notes introduced in the 0.5 series, see v0.5.0 and CHANGELOG.adoc.

Provenance

Zero Zig or Idris2 source files changed between v0.5.0 and v0.5.1. CI rebuilt both static musl binaries from this tag and verified they hash byte-identically to the unchanged SHA-256 pins inside action.yml before publishing. SHA256SUMS is attached:

2683da8f619dd5f310c9f6884da39e825c807c2c86a6319c19aba39b27f9c5c9  smtp-notify-x86_64-linux-musl
a58138308fb9832e1ceb551a12f1b04e591dc38ba5fd336c9acfb3f263161f29  smtp-notify-aarch64-linux-musl

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 14:36
Immutable release. Only release title and notes can be modified.
c1c9fa0

Newsgroup posting, on the same binary

protocol: nntp with newsgroups posts one article over implicit TLS (NNTPS, 563) or STARTTLS on the news port (RFC 4642, 119), authenticating with AUTHINFO USER/PASS. Transport selection is fail-closed and unchanged in shape from the SMTP path: a server that does not advertise the upgrade is refused before any credential is written.

Refusals name their own reason, including the two 4xx codes that are not retries — 440 at POST and 441 at the article, where a class-only rule would have advised a retry and duplicated the post. Malformed newsgroups and CR/LF in a header-bound value are refused before the socket is opened. The body is dot-stuffed on the wire and a Message-ID is generated per run.

The NNTP session is a second proven contract — spec/Nntp/ (6 rows implicit, 8 with STARTTLS, plus the Newsgroups grammar and newsgroupsNoInjection) — emitted into the same src/generated/smtp_fsm.zig, so the existing drift gate covers it. The SMTP section of that file is unchanged.

The Marketplace listing can finally be published

The publish form refuses a description of 125 characters or more (measured on the parsed value, so a folded scalar does not hide it) and reads action.yml from the release tag — which is why this ships as a tag rather than a commit on main. The description is now 110 characters with STARTTLS and 365 in it; the full text lives in the README, which the listing page renders. scripts/check-action.sh and the action-metadata job keep the limit from regressing, with a selftest proving 125 is refused and 124 accepted.

server_port now defaults to empty, meaning the port the protocol and transport imply: SMTP 465/587/25, NNTP 563/119.

Provenance

CI rebuilt both static musl binaries from this tag and verified they hash to exactly the SHA-256 pins inside this tag's action.yml before publishing. SHA256SUMS is attached:

2683da8f619dd5f310c9f6884da39e825c807c2c86a6319c19aba39b27f9c5c9  smtp-notify-x86_64-linux-musl
a58138308fb9832e1ceb551a12f1b04e591dc38ba5fd336c9acfb3f263161f29  smtp-notify-aarch64-linux-musl

See CHANGELOG.adoc for the full entry, and KNOWN-DEFECTS.adoc for what is not proven — notably D-015: no real news server has ever seen this code; the end-to-end evidence is a containerised fixture.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 07:22
Immutable release. Only release title and notes can be modified.
170f53a

Static, byte-reproducible smtp-notify binaries. CI rebuilt them from this tag and verified they hash to exactly the SHA-256 pins inside this tag's action.yml before publishing.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 09 Sep 08:44
v0.3.0
22e7bdb

Static, byte-reproducible smtp-notify binaries. CI rebuilt them from this tag and verified they hash to exactly the SHA-256 pins inside this tag's action.yml before publishing.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 03 Sep 04:29
v0.2.0
ede1191

Static, byte-reproducible smtp-notify binaries. CI rebuilt them from this tag and verified they hash to exactly the SHA-256 pins inside this tag's action.yml before publishing.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 31 Aug 14:07
v0.1.0
1b3b752

Static, byte-reproducible smtp-notify binaries. CI rebuilt them from this tag and verified they hash to exactly the SHA-256 pins inside this tag's action.yml before publishing.