Releases: apialerts/cli
Releases · apialerts/cli
Release list
v1.3.2
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
v1.3.0
What's new
Distribution
- npm + npx:
npm install -g @apialerts/cliornpx @apialerts/cli - winget:
winget install APIAlerts.CLI - npm ships as 6 platform sub-packages so only the matching binary is downloaded
Headless
APIALERTS_API_KEYenv var works as an auth source, no config file required--jsonflag puts a single-line JSON object on stdout for success, stderr for errors--debugflag prints request URL, integration, and payload to stderr before sendingtestcommand 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 # ScoopOr pick a new install method - see the README.
v1.2.3
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 apialertsFull Changelog: v1.2.2...v1.2.3
v1.2.2
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 apialertsFull Changelog: v1.2.1...v1.2.2
v1.2.1
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
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
Rename github repo from apialerts-cli to cli
Full Changelog: v1.0.0...v1.1.0
v1.0.0
First release
- uses apialerts-go sdk version 1.2.0-alpha.1
Setup and run
apialerts config --key your_api_key
apialerts send -m "Deploy completed"
Homebrew (macOS / Linux)
brew tap apialerts/tap
brew install --cask apialertsScoop (Windows)
scoop bucket add apialerts https://github.com/apialerts/scoop-bucket
scoop install apialertsGo Install
go install github.com/apialerts/apialerts-cli@latest