Changelog

Improving AppSignal, one deploy at a time.

Sep 30, 2025

Improve backtrace path matching

JavaScript@appsignal/javascript@1.6.1

Added

  • Allow functions as backtrace matchers. Alongside regular expressions, you can also provide custom functions to match and replace paths in the backtrace:

    JavaScript
    const appsignal = new Appsignal({ // ... matchBacktracePaths: [(path) => { if (path.indexOf("/bundle/") !== -1) { return "bundle.js" } }] })

    The function must take a backtrace line path as an argument. When the function returns a non-empty string, the string will be used as the path for that backtrace line. Otherwise, the path will be left unchanged.

Fixed

  • Fix matching on backtrace paths containing spaces.

    When using matchBacktracePaths, when a backtrace line path contains a space, it will now match correctly against the whole path.

View the AppSignal JavaScript javascript v1.6.1 changelog for more information.

View all JavaScript updates

Start your free trial

Don’t let the bad bugs bite. Try AppSignal for free.

AppSignal offers a 30-day free trial, no credit card is required. All features are available in all plans. Start monitoring your application in just a few clicks!