Skip to content

Releases: mailtrap/mailtrap-cli

v0.2.1

20 Apr 12:08
8816c52

Choose a tag to compare

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

07 Apr 11:20

Choose a tag to compare

Changelog

  • 2b52f7e Fix API compatibility issues and add comprehensive tests

v0.1.2

25 Mar 18:36

Choose a tag to compare

Changelog

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

v0.1.1

25 Mar 18:27

Choose a tag to compare

Changelog

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

v0.1.0

25 Mar 18:04

Choose a tag to compare

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