Skip to content

v2.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 08:07
5108597

Added

  • checkly_maintenance_window has a repeat_cron attribute, which repeats the window on a five-field cron expression read in timezone, such as 0 22 * * 6 for every Saturday at 22:00. It can't be combined with repeat_interval or repeat_unit. (#462)
  • checkly_playwright_check_suite has a computed runtime.resolved_engine attribute with name and version. It is the engine and Node.js release the check suite runs on, including Checkly's default engine for a check suite without runtime.engine. Checkly resolves it each time the check suite is created or updated, so a plan with an update shows it as (known after apply). version is null for Bun. (#464)
  • Node.js detection from a code bundle reads devEngines.runtime and then engines.runtime of the root package.json, before .node-version, .nvmrc, .tool-versions, volta.node and engines.node. Each field holds one entry or an array of entries. The first entry named node with a non-empty version counts. Its onFail is ignored. (#464)

Changed

  • The provider sends a Node.js version as written, trimmed and without a leading v, instead of reducing it to a major. Checkly resolves it to a release or refuses it on apply. A version that the default release (Node.js 22) satisfies runs on the default release. Any other version runs on the newest major with an available release that satisfies it. The provider no longer validates Node.js versions. Bun versions keep their format check and rules. (#464)
  • A detected 20, for example in .nvmrc, ran on Node.js 22. It now runs on the newest available Node.js 20 release. (#464)
  • A detected 23 or 25 ran on Node.js 24 or 26. It now runs on the newest available release of that major. (#464)
  • A detected 18 or 27 ran on Node.js 22 or 26 without a warning. Checkly now refuses it on apply with its own message, such as Node.js 18 is outside the versions Checkly supports (^20.19.0 || >=22.12.0). or No available Node.js release satisfies 27. (#464)
  • A detected exact release, such as 22.14.0 or 24.11.0, ran on the release Checkly picks for its major. It now runs on that exact release. A release below the supported versions, such as 22.11.0, ran on Node.js 22 and is now refused on apply. (#464)
  • An engines.node range ran on the highest of Node.js 22, 24 and 26 that it admits. It now runs on the default release when the default release satisfies it. >=18 and >=22 ran on Node.js 26 and now run on Node.js 22. A range that the default release does not satisfy, such as >=24, still runs on Node.js 26. (#464)
  • A version manager alias (lts/*, lts, node, stable or latest) in .node-version or .tool-versions failed the plan. It is now skipped, as in .nvmrc. Detection moves on to the next source. (#464)
  • A .node-version, .tool-versions or volta.node value that is neither a version nor an alias, such as iron, failed the plan. An engines.node value of that kind, such as lts, was ignored. Both are now sent. Checkly refuses them on apply. (#464)
  • With an npm, pnpm or yarn lockfile, a Node.js value that used to be ignored or fail the plan now decides the engine. The choice between Node.js and Bun can therefore change. An engines.node value of lts next to a .bun-version ran on Bun. It now sends Node.js lts. Checkly refuses it on apply. A version manager alias in .node-version or .tool-versions next to a Bun pin failed the plan. It now runs on Bun. A Node.js entry in devEngines.runtime or engines.runtime next to a Bun pin ran on Bun. It now runs on Node.js. (#464)
  • An explicit runtime.engine.version of 20 with node failed the plan with an end-of-life notice. It now runs on the newest available Node.js 20 release. (#464)
  • An explicit runtime.engine.version of 18 or 27 with node failed the plan with a notice. Checkly now refuses it on apply with its own message. (#464)
  • An explicit runtime.engine.version range with node, such as ^24, failed validation. It is now accepted. ^24 runs on Node.js 24. (#464)
  • An explicit exact release with node, such as 24.11.0, is sent as written, as before. (#464)
  • After upgrading, a code bundle whose detected Node.js version changes is uploaded once more on the next apply. The check suites that use it plan an update that sends the new version. A code bundle whose detected version stays the same plans no change. (#464)

Fixed

  • A checkly_alert_channel with slack_app whose slack_channels name #channels or @Handles the connected Slack workspace cannot resolve fails with an "Unresolvable Slack Channels or Handles" error on slack_app.slack_channels that names each one and why, with the error the Checkly API now sends for both. Unresolvable @Handles were reported this way before the API change, and unknown #channels were a generic API error. (#463)

Full Changelog: v2.0.1...v2.1.0