Packages

@appsignal/nodejs

3.9.5 · 11 Nov 2026MIT24.2k / weekRepositoryHomepagenpmAtom feed

Your version

3.4.9

14 Aug 2024Where it was published

3.9.5 is the newest release of 3.x.

In short

1 deprecated1 fixed1 changed

  • Deprecated

    Calls to Appsignal.heartbeat and to the Appsignal.Heartbeat constructor will emit a deprecation warning. (patch fc9abba)

Release note

Published on 2024-08-14.

Changed

  • Rename heartbeats to cron check-ins. Calls to Appsignal.heartbeat and Appsignal.Heartbeat should be replaced with calls to Appsignal.checkIn.cron and Appsignal.checkIn.Cron, for example:

    // Before
    import { heartbeat } from "@appsignal/nodejs"
    
    heartbeat("do_something", () => {
      do_something()
    })
    
    // After
    import { checkIn } from "@appsignal/nodejs"
    
    checkIn.cron("do_something", () => {
      do_something
    })

    (patch fc9abba)

Deprecated

  • Deprecated

    Calls to Appsignal.heartbeat and to the Appsignal.Heartbeat constructor will emit a deprecation warning. (patch fc9abba)

Fixed

  • Prevent internal AppSignal requests from being instrumented and appearing in the "Slow API requests" panel. (patch 95bf139)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.