Skip to content

v7.1.1

Latest

Choose a tag to compare

@jaredwray jaredwray released this 05 Jul 21:27
a583c8f

airhorn v7.1.1 — 2026-07-05

Adds the new @airhornjs/pingram provider (SMS, Email, Mobile Push) and refreshes runtime and build dependencies across the workspace. No breaking changes.

Features

  • New provider @airhornjs/pingram — send SMS, Email, and Mobile Push through Pingram with a single API key, plus typed provider-level sendDefaults (templateId, parameters, schedule, and channel content defaults) that merge beneath message-derived values (#618)

    import { Airhorn, AirhornSendType } from 'airhorn';
    import { AirhornPingram } from '@airhornjs/pingram';
    
    const airhorn = new Airhorn({
      providers: [new AirhornPingram({ apiKey: 'pingram_sk_...', region: 'us' })],
    });
    
    // One API key covers SMS, Email, and Mobile Push
    await airhorn.send(
      '+16175551212',                                      // to (E.164)
      { from: '+1234567890', content: 'Order shipped!' },  // template
      {},                                                  // template data
      AirhornSendType.SMS,
    );

Dependencies

airhorn

  • ecto ^4.8.7^5.0.0 (#617) — ecto's major is internal; airhorn's public API and >=22.18.0 engine floor are unchanged, so no consumer action is required
  • cacheable ^2.3.5^2.5.0 (#616)
  • hookified ^3.0.0^3.0.1 (#613)
  • writr ^6.1.2^6.1.3 (#615)

@airhornjs/aws

  • @aws-sdk/client-ses & @aws-sdk/client-sns ^3.1057.0^3.1076.0 (#612)

Internal

  • Upgrade monorepo tooling: pnpm 11.5.011.9.0 (#614), docula 2.0.02.1.0 (#611), tsx 4.22.34.22.4 + tsdown 0.22.10.22.3 (#610), biome 2.4.162.5.1 + vitest 4.1.74.1.9 (#609)
  • Harden the release pipeline: gate publishing on a setup-test-build job (install/build/test:ci) that setup-release now needs, scope id-token: write to the publish job, and add an npm deployment environment (#619)

Contributors

Full List of Changes

Full diff: v7.0.0...v7.1.1