Releases: mailtrap/mailtrap-cli
Releases · mailtrap/mailtrap-cli
Release list
v0.4.0
Changelog
- e25a83d Add inbound command tests
- 44d7bd0 Add inbound folders and inboxes commands
- 5db4884 Add inbound messages and threads commands
- 1a54427 Add webhook endpoints
- e69623d Always print html-analysis output as JSON
- 3c4565d Document inbound commands
- 16d45b7 Fix webhook create flag help
- 00a4261 MT-22678: Add --search flag to contact-lists list
- cd20c0a MT-22678: Drop search filter call-out from README
- 0597ec6 Merge pull request #10 from mailtrap/inbound-v2
- b1fb79f Merge pull request #11 from mailtrap/fix-html-analysis-empty-output
- bbc6f05 Merge pull request #5 from mailtrap/MT-21866-add-missing-endpoints
- 1c2f517 Merge pull request #8 from mailtrap/MT-22678-cli-contact-list-search
- 52a35f6 New lines
- 2c7ae49 Surface inbound fields on existing commands
- 5dda99a Surface pagination cursor in list output
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