Releases: mailtrap/mailtrap-cli
Releases · mailtrap/mailtrap-cli
v0.2.1
Bug Fixes
Stats commands (stats by-domain, by-category, by-esp, by-date)
- Fixed commands returning empty/zero values — the API returns stats wrapped under a nested
"stats"key alongside a grouping field, but the CLI was deserializing into flat structs - Added proper response types (
DomainStats,CategoryStats,ESPStats,DateStats) with correct nested unmarshaling - Output now includes the grouping column (domain ID, category, ESP name, date)
- Fixed query parameter name from
streams[]tosending_streams[]per API spec
contact-fields create
- Added missing
--merge-tagflag — the field is required by the API but was not exposed in the CLI
tokens create
- Fixed request body — was incorrectly wrapping payload under an
api_tokenkey; API expects a flat{"name": ..., "resources": [...]}structure
v0.2.0
v0.1.2
v0.1.1
v0.1.0
Changelog
- d552bf4 Add Claude Code skills and evals for AI-native CLI usage
- 504b65d Add MIT license
- a4178f9 Add release pipeline, CI, and README
- e09a0f0 Fix API compatibility: correct endpoints, auth, response formats
- fd19a2a Initial commit: Mailtrap CLI covering all API endpoints
- f899311 Remove account-specific IDs and simplify config docs
- eebfad6 Rename inboxes to sandboxes in user-facing CLI commands
- 5baca3c Reorder docs to prioritize transactional/bulk sending over sandbox