Skip to content

Releases: apialerts/cli

v1.3.2

Choose a tag to compare

@mononz mononz released this 28 May 19:07

v1.3.2

Fixes the npm install on Windows. bin declaration was duplicated between the wrapper and platform packages, causing the Windows shim creation to fail. Platform packages no longer declare bin (esbuild model) - only the wrapper does.

npx --yes @apialerts/cli@1.3.2 --version now works correctly on Windows. Mac/Linux were unaffected.

No functional changes from 1.3.1

v1.3.1

Choose a tag to compare

@mononz mononz released this 28 May 18:39

v1.3.1

Finishes the v1.3.0 npm publish that didn't fully complete.

No feature changes from 1.3.0

v1.3.0

Choose a tag to compare

@mononz mononz released this 28 May 17:45
87a73e6

What's new

Distribution

  • npm + npx: npm install -g @apialerts/cli or npx @apialerts/cli
  • winget: winget install APIAlerts.CLI
  • npm ships as 6 platform sub-packages so only the matching binary is downloaded

Headless

  • APIALERTS_API_KEY env var works as an auth source, no config file required
  • --json flag puts a single-line JSON object on stdout for success, stderr for errors
  • --debug flag prints request URL, integration, and payload to stderr before sending
  • test command now accepts --key

Other

  • Bumped to apialerts-go v1.2.0
  • README rewritten with an install decision table
  • Lint added across all workflows

Upgrading

No breaking changes. Drop-in upgrade from v1.2.x:

brew upgrade apialerts             # Homebrew
sudo apt update && sudo apt upgrade apialerts  # apt
sudo dnf upgrade apialerts         # dnf
scoop update apialerts             # Scoop

Or pick a new install method - see the README.

v1.2.3

Choose a tag to compare

@mononz mononz released this 06 Apr 16:37

First Linux release for rpm

sudo rpm --import https://rpm.apialerts.com/key.gpg
sudo tee /etc/yum.repos.d/apialerts.repo <<EOF
[apialerts]
name=API Alerts
baseurl=https://rpm.apialerts.com
enabled=1
gpgcheck=1
gpgkey=https://rpm.apialerts.com/key.gpg
EOF
sudo dnf install apialerts

Full Changelog: v1.2.2...v1.2.3

v1.2.2

v1.2.2 Pre-release
Pre-release

Choose a tag to compare

@mononz mononz released this 06 Apr 15:57

First Linux release for apt

curl -fsSL https://apt.apialerts.com/key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/apialerts.gpg
echo "deb [signed-by=/usr/share/keyrings/apialerts.gpg] https://apt.apialerts.com stable main" | sudo tee /etc/apt/sources.list.d/apialerts.list
sudo apt update && sudo apt install apialerts

Full Changelog: v1.2.1...v1.2.2

v1.2.1

Choose a tag to compare

@mononz mononz released this 18 Mar 08:20

v1.2.1

  • depends on go sdk v1.2.0-alpha.5
  • no longer omits optionals to the api

Full Changelog: v1.2.0...v1.2.1

v1.2.0

Choose a tag to compare

@mononz mononz released this 18 Mar 08:08
0372c5d

CLI v1.2.0 — New commands, JSON data support, and production hardening

  • Added apialerts init for interactive masked API key setup (TTY-aware)
  • Added apialerts config --unset to remove stored API key
  • Added --data/-d flag to send for passing arbitrary JSON event data (validated on input)
  • send and test now print the destination workspace and channel from the API response instead of swallowing the result
  • Integration name changed from "cli" to "apialerts-cli"
  • Upgraded SDK dependency to v1.2.0-alpha.4
  • Fixed go-version hardcode in all three CI workflows → go-version-file: 'go.mod'
  • Replaced all map[string]interface{} with map[string]any
  • Added 15 functional tests

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@mononz mononz released this 17 Mar 12:08

Rename github repo from apialerts-cli to cli

Full Changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@mononz mononz released this 12 Mar 17:03

First release

Setup and run

apialerts config --key your_api_key
apialerts send -m "Deploy completed"

Homebrew (macOS / Linux)

brew tap apialerts/tap
brew install --cask apialerts

Scoop (Windows)

scoop bucket add apialerts https://github.com/apialerts/scoop-bucket
scoop install apialerts

Go Install

go install github.com/apialerts/apialerts-cli@latest