February 26th, 2025
New
We just released a new major 5.0.1 version of the Checkly CLI. You can also view the release note for 5.0.0 to check all PRs merged on GitHub.
Here’s what’s new.
As Node.js 16.x was marked End-of-Life late 2023 we’ve released a new major CLI version and updated all relevant dependencies to a later Node.js major version.
If you are using the Checkly CLI in a Node.js 16.x environment, please upgrade Node.js before upgrading your Checkly CLI.
This release introduces CLI support for three existing alert channels. You can specify them with their corresponding constructs:
Use these new constructs to define these alert channels, just like you would with any other alert channel construct:
import { IncidentioAlertChannel } from 'checkly/constructs'
export const incidentIoChannel = new IncidentioAlertChannel('my-channel-01', {
name: 'ACME incident channel',
url: 'https://api.incident.io/v2/alert_events/checkly/xxxx',
apiKey: '1234abcd' // or use process.env.INCIDENT_API_KEY! and provide the key on the command line
sendFailure: true,
sendRecovery: true,
})
Learn more about using the new constructs in the CLI constructs reference docs.
We added the degraded state to all relevant reporters. Previously, Checkly reported degraded checks as passing, which was not great. On the default list reporter, the output for a degraded check will look as follows:
To get started with the Checkly CLI, run:
npm create checkly@latest
Or upgrade to the latest Checkly CLI version with:
npm install -D checkly@latest
Happy monitoring!
Questions or feedback? Join our Slack community.