← Back to Changelog

v7.2.0

Release

Airhorn v7.2.0 — 2026-10-03

Add a retries option on send and refresh runtime and tooling dependencies.

Features

  • add a retries option to send (c22bd58, #678)

    import { Airhorn } from "airhorn";
    
    const airhorn = new Airhorn();
    const template = { content: "Hello <%= name %>" };
    
    // Two extra attempts after a failed provider send. Default is 0.
    const result = await airhorn.sendSMS("+1234567890", template, { name: "Ada" }, {
      retries: 2,
    });
    
    // Or decide the limit from the provider that failed.
    await airhorn.sendSMS("+1234567890", template, { name: "Ada" }, {
      retries: (_message, provider) => (provider.name === "primary" ? 2 : 0),
    });
    

Internal

  • upgrade writr 6.1.5→6.1.6 (e9b1491, #677)
  • upgrade hookified 3.0.3→3.0.4 (75ab716, #676)
  • upgrade pingram 1.0.25→1.0.34 (46f1a5e, #675)
  • upgrade twilio 6.1.0→6.1.1 (32f6405, #674)
  • upgrade @aws-sdk/client-ses and @aws-sdk/client-sns 3.1118.0→3.1141.0 (fe80cad, #673)
  • upgrade docula 3.0.0→3.0.1 (45ef91d, #672)
  • upgrade vitest and @vitest/coverage-v8 4.1.11→5.0.2 (8625e32, #671)
  • upgrade Dev Container image javascript-node 5.1.1→5.2.1 (3e51f21, #670)
  • upgrade GitHub Actions: zizmor-action 0.6.3→0.6.4, pnpm/action-setup 6.0.10→6.1.0, codecov-action 7.0.0→7.1.1, CodeQL 4.37.9→4.38.2, wrangler-action 4.0.0→4.1.3 (4bd1891, #669)
  • upgrade pnpm 11.9.0→12.7.0 (3cb6a4f, #668)
  • sync defense-in-depth files from agentic (7bf7e5b, #667)
  • upgrade TypeScript build tooling: @types/node 26.3.0→24.19.0, tsdown 0.22.14→0.23.0, tsx 4.23.12→4.23.15 (d77eabf, #666)
  • upgrade @biomejs/biome 2.5.10→2.5.14 (dd55ac5, #665)
  • sync defense-in-depth files from agentic (4dde445, #664)

Contributors

  • @jaredwray (15)

Full List of Changes

  • mono - chore: sync defense-in-depth files from agentic by @jaredwray in #664
  • mono - chore: upgrade code quality dependencies by @jaredwray in #665
  • mono - chore: upgrade TypeScript and build tooling by @jaredwray in #666
  • mono - chore: sync defense-in-depth files from agentic by @jaredwray in #667
  • mono - chore: upgrade monorepo tooling by @jaredwray in #668
  • mono - chore: upgrade GitHub Actions by @jaredwray in #669
  • mono - chore: upgrade Dev Container images by @jaredwray in #670
  • mono - chore: upgrade code quality dependencies by @jaredwray in #671
  • mono - chore: upgrade docula by @jaredwray in #672
  • aws - chore: upgrade AWS SDK dependencies by @jaredwray in #673
  • twilio - chore: upgrade twilio by @jaredwray in #674
  • pingram - chore: upgrade pingram by @jaredwray in #675
  • airhorn - chore: upgrade hookified by @jaredwray in #676
  • airhorn - chore: upgrade writr by @jaredwray in #677
  • airhorn - feat: add a retries option to send by @jaredwray in #678

Full diff: https://github.com/jaredwray/airhorn/compare/V7.1.3...v7.2.0