Skip to content

4.8.0

API

API v4.8.0 — Cron, Regex, Countdown.

  • Added endpoint GET /cron: parses a 5-field cron expression (minute hour dom month dow) and returns a human-readable description along with the next scheduled execution timestamps. Supports IANA timezones and a from parameter to set the computation start date.
  • Added endpoint GET /regex: tests a regex pattern against a text string and returns all matches with their index, numbered capture groups, and named groups. Supports flags i, m, s, and u (the g flag is always applied).
  • GET /time now supports type=countdown: computes the difference between now and a target date provided via the target parameter.
  • Normalized module-level constants to UPPER_CASE across v4 modules.

Documentation

  • Added documentation pages for Cron and Regex.
  • Added both endpoints to the Playground registry and sidebar.
  • Updated Time documentation with the new countdown mode and target parameter.