• EnglishEspañol日本語한국어Português
  • Log inStart now

Node.js agent v7.5.0

June 1, 2021Download

Features

  • Added default support for config files with a 'cjs' extension (newrelic.cjs) in addition to newrelic.js.

    Thank you to @Maddemacher for the contribution!

  • Added ability to specify a custom config file name with the NEW_RELIC_CONFIG_FILENAME environment variable.

    Thank you to @Maddemacher for the contribution!

Improvements

  • Bumped @newrelic/test-utilities to ^5.1.0.

  • Replaced deprecated util.isArray with Array.isArray.

  • Removed unused listenerCount method on Shim.

  • Properly bootstraped husky as a prepare script.

  • Removed commented-out console log from fastify instrumentation.

Bug Fixes

  • Fixed issue when using the 'new_promise_tracking' feature flag where segment mapping may not get cleaned up for promises which never resolve but have all references removed (and thus get cleaned up by GC).

    Adds segment cleanup on 'destroy' when using 'new_promise_tracking' feature flag in addition to the existing 'promiseResolve' hook. Unfortunately, preventing leaks for this edge-case does come with additional overhead due to adding another hook. Memory gains from feature flag usage should still be worth the trade-off and reduced garbage collection may offset perf/CPU impacts or event still result in net gain, depending on the application.

Support statement:

  • New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.