Skip to content

chore(release): v0.4.0 - #14

Merged
ralyodio merged 1 commit into
mainfrom
release/v0.4.0
Aug 3, 2026
Merged

chore(release): v0.4.0#14
ralyodio merged 1 commit into
mainfrom
release/v0.4.0

Conversation

@ralyodio

@ralyodio ralyodio commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Cuts 0.4.0 so the records command actually reaches npm.

Why now

records (#12) has been on main since it merged, but the version was never bumped. Verified against the published tarball:

published 0.3.0 has 'records' subcommand: 0
repo main has it:                         1

So npm i @moshcoder/moshpit-dns installs a build with no records subcommand. This is the same failure mode as the AAAA fix and the no-dash label rule, both of which sat unpublished behind a stale version until someone noticed.

Minor, not patch — this adds a command to the CLI surface.

Verified from the packed tarball

Not the source tree — the actual .tgz that will be published:

  • version is 0.4.0
  • records subcommand present
  • moshpit-dns usage lists it
  • records with no name → usage line
  • records foo.bar NONSENSEunsupported record type: NONSENSE (expected CNAME, MX, or TXT)
  • records foo.bar --json → valid JSON against the live registry

89 tests, 89 pass, 0 fail.

Publishing to npm once this merges.

🤖 Generated with Claude Code

Ships the `records` command (#12), which inspects the CNAME, MX and TXT
records published for a name, with type filtering and --json.

It has been on main since #12 merged but was never published: the version
stayed at 0.3.0, so `npm i @moshcoder/moshpit-dns` still gave you a build
with no `records` subcommand at all. Same shape as the AAAA and no-dash
fixes that sat unpublished behind a stale version earlier.

Minor, not patch: this adds a command to the CLI surface.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

ThreatCrush Security Scan

0 finding(s)

No findings.

@ralyodio
ralyodio merged commit 23c4257 into main Aug 3, 2026
2 checks passed
@ralyodio
ralyodio deleted the release/v0.4.0 branch August 3, 2026 16:57
ralyodio added a commit that referenced this pull request Aug 4, 2026
Ships the resolver fix from #15, which has been on main since it merged
but was never published: the version stayed at 0.4.0, so
`npm i @moshcoder/moshpit-dns` still gives you a bridge that answers
`ANSWER: 0` for names that resolve perfectly well.

That authoritative-empty answer is the worst shape available — a client
treats it as final, `dig` reports the name exists, and nothing logs an
error. The bug is invisible from the outside, which is why it survived a
release.

Same pattern as #14: a fix sitting behind a stale version is not shipped,
it is just merged.
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