Skip to content

AhaSend CLI v0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Nov 21:57
b5b3145

This release adds stats emails, for email counts of any period, the sending_type_changed webhook event, and names the statistics scopes statistics:read.

Breaking changes

  • The event flags of webhooks update name the webhook's whole set of 22 events, sending_type_changed included, so an event flag that does not select it, such as --events delivered, turns it off, also when it was turned on in the dashboard.

Added

  • The webhook commands take the sending_type_changed event (domain.sending_type_changed), which reports that the sending type of a domain changed between transactional and marketing. Any account can use it. --all-events of webhooks create, update and trigger selects it, webhooks list --events and webhooks listen --events filter by it, and the views of a webhook show it among their events.
  • The CLI uses AhaSend Go SDK v0.8.0.
  • stats emails shows email counts of any period in the account's history, beyond the message metadata retention period, by hour, day, week or month: received, delivered, bounced, suppressed, complaints, deferred, opened and clicked. --breakdown domain shows the counts of each domain, and the command fetches every page of domains.
  • The Chocolatey package names its copyright holder, AhaSend B.V.

Changed

  • The statistics scopes are statistics:read:all and statistics:read:{domain}, which also cover stats emails. The help and the shell completion of apikeys create and update and of subaccounts api-keys create and update name them, and so do the examples of the apikeys commands. These commands still accept statistics-transactional:read:all and statistics-transactional:read:{domain}, which give the same access, and send each scope as it is given. One scope given under both names is refused as given more than once.

Fixed

  • The Chocolatey package page holds no email address, which Chocolatey's automated validation refuses. Its usage example points to ahasend messages send --help.

Installation

See the installation instructions.

Checking a download

checksums.txt has the SHA-256 of every asset. Download it next to the files, then run sha256sum --ignore-missing -c checksums.txt on Linux, or shasum -a 256 --ignore-missing -c checksums.txt on macOS.