docs: rewrite 0.1.0 changelog as feature-only

This commit is contained in:
Peter Steinberger
2025-12-06 00:59:49 +01:00
parent 51e5856a6c
commit c0d08f3235
+6 -21
View File
@@ -5,24 +5,9 @@
## 0.1.0 — 2025-12-05
### Added
- `whoami` command works with both GraphQL cookies and Sweetistics API keys.
- Firefox cookie extraction (`--firefox-profile`) alongside existing Chrome/env/CLI credential paths.
- Sweetistics client `getCurrentUser` with POST→GET fallback for deployments that disallow POST.
- Colorized help banner and example block; `pnpm bird` builds then runs the CLI; no subcommand shows help.
- JSON5 config files (`~/.config/bird/config.json5`, `./.birdrc.json5`) for defaults like engine and browser profile.
- Config toggles to disable cookie sources (`allowChrome`, `allowFirefox`) and default transport now `graphql` with Firefox as preferred cookie source.
- Conversation commands: `thread` and `replies`, plus `search` and `mentions` convenience helpers.
- Sweetistics transport for all commands (tweet, reply, read, thread, replies, search) with automatic 15s timeouts and media uploads (images or single video).
- Sweetistics conversation fetch now forces fresh data (`force=true`) to bypass cache for `thread`/`replies`.
- CI workflow on push/PR (Node 22, pnpm 10, Go stable) running `pnpm test`.
### Changed
- Default option resolution now honors config files (project then global) before env/CLI overrides.
- `whoami` now prefers Sweetistics when an API key is present; otherwise uses Twitter cookies.
- Sweetistics media uploads use the Sweetistics engine only; GraphQL mode rejects mixed media.
### Fixed
- Fallback to scraping the authenticated settings page when Twitter account APIs return 404, so `whoami` still resolves the user.
- Sweetistics calls now time out after 15s to avoid hanging CLI commands when the API is slow or unresponsive.
- Sweetistics tweeting now supports media uploads (images or single video) via new CLI `--media/--alt` flags.
- Coverage raised above 70% via new cookie and conversation tests.
- Core command set: `tweet`, `reply`, `read`, `replies`, `thread`, `search`, `mentions`, and `whoami`.
- Dual transports: GraphQL (cookie-based) and Sweetistics (API key); `auto` engine switches to Sweetistics when a key is present.
- Sweetistics features: media uploads (images or single video), 15s request timeouts, and conversation fetch with `force=true` so threads/replies are always fresh.
- Browser credential sourcing: Firefox (`--firefox-profile`) and Chrome (`--chrome-profile`) alongside env/CLI; JSON5 configs (`~/.config/bird/config.json5`, `./.birdrc.json5`) with `allowChrome`/`allowFirefox` toggles and engine defaults.
- `whoami` works with both transports and prefers Sweetistics when available; colorized help banner plus example block.
- CI coverage: push/PR workflow (Node 22, pnpm 10, Go stable) running `pnpm test`; test suite expanded (≥70% coverage).