v0.1.1
A quality pass over the first release: a real data fix, a richer updates, a
full test suite, and complete docs.
Fixed
- HTML entities in text are now decoded. Comment and story bodies came
through with raw entities, so a link looked like
https://example.com. Text fields are now fully decoded, including the numeric and hex forms Hacker News uses heavily, and paragraph breaks are preserved.
Changed
hn updatesnow emits structured records that render in every output format, and it honors-nto cap the firehose like the story lists do.- Search story hits no longer carry a redundant
story_id. Comment hits still include thestory_idandstory_titleof their parent thread.
Under the hood
- A full test suite covering the HTTP client (story lists, comment-tree walking, search filters, retries), the data conversions, the renderer across all seven formats, and the command wiring.
- The docs deploy workflow now runs with least-privilege permissions.
Install
go install github.com/tamnd/hackernews-cli/cmd/[email protected]
Or download a prebuilt binary from the releases page. See installation for packages and one-line installers.