Skip to content

Releases: mailtrap/mailtrap-cli

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 15 May 11:45

Changelog

  • 63c9c64 Add Changelog.md with v0.3.0 changelog
  • 1a54427 Add webhook endpoints
  • bbc6f05 Merge pull request #5 from mailtrap/MT-21866-add-missing-endpoints
  • 52a35f6 New lines

v0.2.3

Choose a tag to compare

@solovey23 solovey23 released this 21 Apr 13:56
112faa9

Bug Fixes & Improvements

Stats commands — query parameter fixes

  • stats get: Fixed --streams filter — was sending streams[] which the API silently ignored; now correctly sends sending_streams[]
  • All 5 stats commands (get, by-domain, by-category, by-esp, by-date): Added missing --esps flag to filter by email service provider (sends email_service_providers[] to the API)
  • Improved --streams flag description to clarify valid values (transactional, bulk)

v0.2.2

Choose a tag to compare

@solovey23 solovey23 released this 21 Apr 13:34
aced56e

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

Choose a tag to compare

@solovey23 solovey23 released this 20 Apr 12:08
8816c52

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[] to sending_streams[] per API spec

contact-fields create

  • Added missing --merge-tag flag — 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_token key; API expects a flat {"name": ..., "resources": [...]} structure

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Apr 11:20

Changelog

  • 2b52f7e Fix API compatibility issues and add comprehensive tests

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 25 Mar 18:36

Changelog

  • 484c64c Fix Homebrew formula name to 'mailtrap' instead of 'mailtrap-cli'
  • e811205 Polish README for public release

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 25 Mar 18:27

Changelog

  • 00002a0 Rename homebrew tap from homebrew-tap to homebrew-cli

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Mar 18:04

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