Releases: mailtrap/mailtrap-cli
Releases · mailtrap/mailtrap-cli
Release list
v0.3.0
v0.2.3
Bug Fixes & Improvements
Stats commands — query parameter fixes
stats get: Fixed--streamsfilter — was sendingstreams[]which the API silently ignored; now correctly sendssending_streams[]- All 5 stats commands (
get,by-domain,by-category,by-esp,by-date): Added missing--espsflag to filter by email service provider (sendsemail_service_providers[]to the API) - Improved
--streamsflag description to clarify valid values (transactional,bulk)
v0.2.2
Bug Fixes
README shell quoting
- Fixed
dquote>mode when copy-pasting examples in bash —!inside double quotes triggers history expansion, breaking the shell prompt --subject "Welcome!"→--subject 'Welcome!'--body-html "<h1>Hi!</h1>"→--body-html '<h1>Hi!</h1>'
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
Changelog
- 2b52f7e Fix API compatibility issues and add comprehensive tests
v0.1.2
v0.1.1
Changelog
- 00002a0 Rename homebrew tap from homebrew-tap to homebrew-cli
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