• /
  • Log in

Node.js agent release notesRSS

July 26
Node.js agent v8.0.0

Added official parity support for Node 16. : Dropped Node v10.x support. For further information on our support policy, see: https://docs.newrelic.com/docs/agents/nodejs-agent/getting-started/compatib

July 7
Node.js agent v7.5.2

Fixed bug where promise-based cursor methods would not properly measure the duration of execution

June 21
Node.js agent v7.5.1

Moved all integration tests that required secrets to the smoke folder. Fixed LASP/CSP tests so they don't skip on runs where secrets are available. Modified self-signed SSL cert to use 'localhost' ins

June 1
Node.js agent v7.5.0

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 n

May 11
Node.js agent v7.4.0

Added flaky_code and success_delay_ms handling of flaky grpc connections to infinite tracing. Logged all New Relic metadata env vars at startup

April 14
Node.js agent v7.3.1

Fixed issue with new_promise_tracking feature flag functionality where segments for ended transactions would get propagated in certain cases by promises that had no continuations scheduled (via await

April 6
Node.js agent v7.3.0

Added new feature-flag 'new_promise_tracking' which enables cleaning up of segment references on native promise resolve instead of destroy. Includes usage of async-await. This can be enabled via featu

March 29
Node.js agent v7.2.1

Bumped @grpc/grpc-js to ^1.2.11. Bumped @grpc/proto-loader to ^0.5.6

March 23
Node.js agent v7.2.0

The NEW_RELIC_NO_CONFIG_FILE environment variable is no longer needed to run the agent without a configuration file.If a configuration file is used with agent configuration environment variables, the

March 9
Node.js agent v7.1.3

Removed requirement to configure application name when running in AWS Lambda (serverless mode).Currently New Relic doesn't leverage the application name for Lambda invocations. The agent now defaults

February 23
Node.js agent v7.1.2

Bumped @newrelic/aws-sdk to ^3.1.0

February 1
Node.js agent v7.1.1

Added workflow for publishing to npm when a v* tag is pushed to the repo. Fixes resolveMx test by using example.com for a valid exchange

January 5
Node.js agent v7.1.0

Added Fastify v3 support. Upgraded grpc version

December 1, 2020
Node.js agent v7.0.2

Fixes a bug where the http.statusCode attribute was not being captured for an async invoked lambda. Fixed typos in code comments, documentation, and debugging logger messages. Thank you @TysonAndre fo

November 17, 2020
Node.js agent v7.0.1

Fixed a bug where spans queued up during backpressure situations would be improperly formatted and ultimately dropped when sent to an Infinite Tracing trace observer. Updated @grpc/grpc-js to version

November 9, 2020
Node.js agent v7.0.0

Added official parity support for Node 14. Dropped Node v8.x support. For further information on our support policy, see: https://docs.newrelic.com/docs/agents/nodejs-agent/getting-started/compa....Re

October 28, 2020
Node.js agent v6.14.0

Fixed issue where gRPC connection used for infinite tracing could throw if the server shutdown during disconnect of an existing connection. Fixed bug where errors would still be collected for transact

October 13, 2020
Node.js agent v6.13.2

Removed lodash as a development dependency. Check for named pipe existence before each flushThis removes the cached value used in 6.13.1

September 24, 2020
Node.js agent v6.13.1

Fixed named-pipe check for lambda invocations to avoid race-condition.Named-pipe existence will now be checked just prior to first write and then cached

August 25, 2020
Node.js agent v6.13.0

Added ability for the agent to write to a named pipe, instead of stdout, when in serverless mode

August 20, 2020
Node.js agent v6.12.1

Resolves an issue where transaction traces will still capture the request URI when the Node.js agent is configured to exclude the 'request.uri' attribute. This can be problematic for certain customer

August 10, 2020
Node.js agent v6.12.0

Updated guidelines and templates for contributing to the project. Updated SECURITY.md with coordinated disclosure program link. Upgrade async to v3.2.0. Special thanks to Yohan Siguret (@Crow-EH) for

July 7, 2020
Node.js agent v6.11.0

Updated to Apache 2.0 license. Added CODE_OF_CONDUCT.md file. Streamlined README.md file. Updated CONTRIBUTING.md file. Added additional guidance to bug report template. Added copyright headers to all

June 22, 2020
Node.js agent v6.10.0

Additional Transaction Information applied to Span EventsWhen Distributed Tracing and/or Infinite Tracing are enabled, the Agent will now incorporate additional information from the Transaction Event

June 8, 2020
Node.js agent v6.9.0

Added AWS API Gateway V2 support to Lambda instrumentation. Added 'transaction.name' intrinsic to active span at time transaction name is finalized.This enables finding transaction name for traces tha

May 21, 2020
Node.js agent v6.8.0

Bumped @newrelic/native-metrics to ^5.1.0.Upgraded nan to ^2.14.1 to resolve 'GetContents' deprecation warning with Node 14. This version of the native metrics module is tested against Node 14 and inc

May 14, 2020
Node.js agent v6.7.1

Added synthetics headers to transaction event intrinsics for Distributed Tracing. Fixed stale comment documentation with regards to segment recording

May 7, 2020
Node.js agent v6.7.0

Added a configurable-length span queue to Infinite Tracing: infinite_tracing.span_events.queue_size.The queue length can be modified to balance the needs of keeping full traces against trade-off of me

April 20, 2020
Node.js agent v6.6.0

Added support for Infinite Tracing on New Relic Edge.Infinite Tracing observes 100% of your distributed traces and provides visualizations for the most actionable data so you have the examples of erro

March 19, 2020
Node.js agent v6.5.0

Added error attributes to spans.The public api method noticeError() now attaches exception details to the currently executing span. Spans with error details are now highlighted red in the Distributed

February 27, 2020
Node.js agent v6.4.2

Support new http[s] get/request function signature in Node v10+. Added the following Span attributes:http.statusCode. http.statusTextThe above attributes will be replacing the following attributes:ht

February 20, 2020
Node.js agent v6.4.1

Removed calls to OutgoingMessage.prototype._headers in favor of using public getHeaders API (thanks to @adityasabnis for bringing this to our attention). Removed engine upper-bound to enable easier ex

February 12, 2020
Node.js agent v6.4.0

Added support for W3C Trace Context, with easy upgrade from New Relic trace context.Distributed tracing now supports W3C Trace Context headers for HTTP protocols when distributed tracing is enabled. O

January 27, 2020
Node.js agent v6.3.0

Bumped @newrelic/aws-sdk to v1.1.1 from v1.0.0. https://github.com/newrelic/node-newrelic-aws-sdk/blob/master/CHANGELOG.md Notable improvements include:Added official support for API promise calls, fi

November 25, 2019
Node.js agent v6.2.0

Added getLinkingMetadata() method to the API.This new method can be used to retrieve the identifying information for the agent and current active span and trace. Please consult the documentation for m

November 5, 2019
Node.js agent v6.1.0

Added @newrelic/aws-sdk module to agent for auto-include on install. Added splitting of application name using semicolons in the env var. Instrumented connection.execute for mysql2

October 29, 2019
Node.js agent v6.0.0

Added official parity support for Node 12.Exception: Errors resulting in unhandled rejections will no longer be scoped to the transaction that was active when the rejected promise was created.As of No

October 10, 2019
Node.js agent v5.13.1

Added diagnostic code injector.The agent may now be configured to make transaction state checks via code injection. This may be turned on by setting code_injector.diagnostics.enabled to true. While th

October 1, 2019
Node.js agent v5.13.0

Event data is now sent to New Relic every five seconds, instead of every minute. As a result, transaction, error, and custom events will now be available in New Relic One and Insights dashboards in ne

July 31, 2019
Node.js agent v5.11.0

Implements Expected and Ignored Errors functionality. Adds support for scoped package name introduced in hapi v18 (@hapi/hapi).This will provide functionality at parity with instrumentation for hapi v

June 12, 2019
Node.js agent v5.10.0

Enables ability to migrate to Configurable Security Policies (CSP) on a per agent basis for accounts already using High Security Mode (HSM).When both HSM and CSP are enabled for an account, an agent (

May 28, 2019
Node.js agent v5.9.1

Shim#require will now operate as expected.Previously, the module interception code made the faulty assumption that a module's filepath would be resolved before the module load call was invoked. This c

May 20, 2019
Node.js agent v5.9.0

serverless_mode feature flag is now enabled by default. Added instrumentLoadedModule method to the API, allowing end-users to manually apply an instrumentation to a loaded module. Useful for cases whe

May 6, 2019
Node.js agent v5.8.0

Modifies MiddlewareSpec route property to allow functions. Defers route processing and segment naming until just before needed (each middleware invocation)

April 24, 2019
Node.js agent v5.7.0

Added getStatusName to NameState.Now web transactions will be named after known status code messages (404, 405, and 501). Added appendPath option to MiddlewareSpec

April 23, 2019
Node.js agent v4.13.1

Fixed bug where agent would stop sending data to New Relic servers when a connectivity issue was encountered. The agent will no longer crash the process in the event of unexpected calls to the harvest

April 16, 2019
Node.js agent v5.6.4

Refactored config to log warning and disable distributed tracing if enabled in serverless mode, but missing required config setting. Serverless mode no longer sets different data collection limits. Th

April 1, 2019
Node.js agent v5.6.3

The agent will now accurately filter out request parameters while operating under CSP or HSM.You can find more information about this change in the Security Bulletin

March 25, 2019
Node.js agent v5.6.2

Agent now respects attribute type restrictions on trace/segment attributes, as well as error event/trace attributes

March 11, 2019
Node.js agent v5.6.1

Updated log message for not adding attributes and change the log level to debug. Fixed an issue where exclusive time would be improperly calculated in some cases

March 4, 2019
Node.js agent v5.6.0

Added product attribute to existing datastore instrumentations. Added db.collection to datastore span event attributes

February 19, 2019
Node.js agent v5.5.0

Added SNS to message shim library names. Added check for collect_span_events in config sent from the server on connect.Collection of span events can be disabled from the server configuration, but not

February 11, 2019
Node.js agent v5.3.0

Added span_events and transaction_segments attribute destinations.Span event and segment attributes can now be filtered using the same include/exclude config rules as other types. See agent attribute

January 29, 2019
Node.js agent v5.2.1

Removed installation of Oracle container test scripts. Replaced explicit config.high_security === true checks with general truthiness checks.The agent will now treat any truthy value in the high_secur

January 23, 2019
Node.js agent v5.2.0

Added Neptune to the known database names

January 17, 2019
Node.js agent v5.1.0

Added new shim type: ConglomerateShimThis shim class is useful for instrumenting modules which implement several service interfaces of different types

January 8, 2019
Node.js agent v5.0.0

Dropped support for Node versions less than 6. Agent no longer creates transactions when in a stopped, stopping or errored state. Removed public API methods that have been deprecated since Agent v2: c

December 20, 2018
Node.js agent v4.13.0

The agent now reacts to failed New Relic requests based on response code, as opposed to parsing an exception message in the response body

December 3, 2018
Node.js agent v4.12.0

Added IP address collection and forwarding of metadata headers for upcoming protocol 17.These features are currently behind the protocol_17 feature flag until all parts of protocol 17 are implemented

November 15, 2018
Node.js agent v4.11.0

Added protocol_17 feature flag.Flag will be removed and protocol will be hard-coded to 17 once functionality is released on New Relic backend. This release also includes changes to the agent to enable

November 1, 2018
Node.js agent v4.10.0

Added DatastoreShim#getDatabaseNameFromUseQueryThis new method can be used to extract the database name from USE SQL queries

October 1, 2018
Node.js agent v4.9.0

Added superagent as built-in instrumentation.This instrumentation just maintains transaction state when using the superagent module to make HTTP requests with either callbacks or promises. Updated not

August 27, 2018
Node.js agent v4.8.1

Converted File System instrumentation to use newer shim style. Converted DNS instrumentation to newer shim style. Added tracking of callbacks to DNS instrumentation. Converted crypto instrumentation t

August 13, 2018
Node.js agent v4.8.0

Implemented enforcement of max_payload_size_in_bytes config value.Any payload during the harvest sequence that exceeds the configured limit will be discarded. Added JSON-formatted output to benchmarks

July 31, 2018
Node.js agent v4.7.0

Added support for distributed tracing.Distributed tracing lets you see the path that a request takes as it travels through your distributed system. By showing the distributed activity through a unifie

July 24, 2018
Node.js agent v4.6.0

Added full support for Node v10. Added instrumentation for crypto.scrypt. Added instrumentation for fs.realpath.native. Added instrumentation for process.setUncaughtExceptionCaptureCallback

July 18, 2018
Node.js agent v4.5.1

The agent will now properly remerge event data on collection failure

July 16, 2018
Node.js agent v4.5.0

Feature flags may now be set from environment variables.Using the naming convention NEW_RELIC_FEATURE_FLAG_<feature flag name in upper case>

July 12, 2018
Node.js agent v4.4.0

Replaced trusted_account_ids array with trusted_account_key. Added node v10 to the test matrix

July 9, 2018
Node.js agent v4.3.0

Added nonce option for newrelic.getBrowserTimingHeader()This allows people to pass in a string to be injected as the nonce property of the generated script tag. Special thanks to João Vieira (@joaovie

July 2, 2018
Node.js agent v4.2.1

Added more tests for transaction naming with Restify

June 19, 2018
Node.js agent v4.2.0

Added an option for using the finally method on promises for instrumentation.The promise instrumentation would use Promise#finally if available. This change is in response to Node v10 promises calling

June 11, 2018
Node.js agent v4.1.5

Make require() statements explicitly reference package.json as a .json file

May 29, 2018
Node.js agent v4.1.3

Fixed metric merging when using debug.internal_metrics.The debug metrics cache would cause timestamps for harvested metrics to get stuck at agent startup. This will no longer happen, and the debug cac

May 22, 2018
Node.js agent v4.1.2

Updated use of fs.unlink without a callback to fs.unlinkSync.As of Node v10, the callback is no longer optional, which was causing a false test failure. Fixed access to properties on promisified metho

May 15, 2018
Node.js agent v4.1.1

Optimized unhandledRejection reporting when using async_hooks. Replaced all uses of util._extend with Object.assign. Completed TODOs regarding the Node 0.10 and 0.12 deprecation. Added PriorityQueue s

April 23, 2018
Node.js agent v4.1.0

Added PriorityQueue class for collecting events.This replaces the Reservoir class for event sampling. Using priority sampling allows the agent to maintain randomness across a given time period while i

April 12, 2018
Node.js agent v4.0.0

BREAKING: Updated the version of https-proxy-agent to v2.x - Dropped support for v0.10 and v0.12 of node.The version of https-proxy-agent used in the agent has a known security issue you can read abou

April 10, 2018
Node.js agent v3.3.1

Added a type check to attribute validation, restricting values to primitive types (but not undefined).Previously the agent was only enforcing byte limits on string values, resulting in overly large ar

March 27, 2018
Node.js agent v3.3.0

Added newrelic.startSegment(), which replaces newrelic.createTracer().This new API method allows you to create custom segments using either callbacks or promises

March 14, 2018
Node.js agent v3.2.0

Added @newrelic/koa as a dependency.This introduces instrumentation for Koa v2.0.0 or higher. It will be treated as first-party instrumentation within the agent, but publishing it as a separate module

March 13, 2018
Node.js agent v3.1.0

Promise based web framework middleware instrumentation now supports callback based sequencing.Previously, a promise based middleware was assumed to continue to the next middleware once the promise it

March 7, 2018
Node.js agent v3.0.0

Removed the ssl configuration option.TLS is now always used in communication with New Relic Servers. The ssl configuration value and NEW_RELIC_USE_SSL environment value are no longer used. Setting eit

March 5, 2018
Node.js agent v2.9.1

Security bulletin NR18-06:Fixes issue introduced in 2.8.0 where the agent may have captured all transaction attributes, even with High Security Mode enabled on the account. This may have included sens

February 27, 2018
Node.js agent v2.9.0

This release is deprecated due to an issue where the agent may capture transaction attributes regardless of agent settings. If you are using this release, upgrade your agent to agent version 2.9.1 or

February 21, 2018
Node.js agent v2.8.0

This release is deprecated due to an issue where the agent may capture transaction attributes regardless of agent settings. If you are using this release, upgrade your agent to agent version 2.9.1 or

February 7, 2018
Node.js agent v2.7.1

Changed attributes.enabled to true by default.In the previous version we defaulted this to false to maintain parity with capture_params which defaulted to false. However, this is a invalid parity beca

February 1, 2018
Node.js agent v2.7.0

Added agent attribute filtering via include and exclude rules.Agent attributes can now be controlled using fine grained include and exclude rules. These rules, described below, replace capture_params

January 18, 2018
Node.js agent v2.6.1

Added regression test for promise instrumentation and stack overflows

January 10, 2018
Node.js agent v2.6.0

Added transaction_tracer.hide_internals configuration.This configuration controls the enumerability of the internal properties of the agent. Making these properties non-enumerable can have an impact o

January 3, 2018
Node.js agent v2.5.0

Added hapi v17 instrumentationHapi v17 added support for promise-based middleware which broke transaction tracking in the agent. This caused issues in naming, as the agent will name the transaction af

December 12, 2017
Node.js agent v2.4.2

Added Peter Svetlichny to the contributors list!

November 28, 2017
Node.js agent v2.4.1

Added promise benchmarks to test non-async_hooks instrumentation. Added logging for external calls made outside of a transaction. Added logging for when unhandledRejection is noticed. Improved perform

November 15, 2017
Node.js agent v2.4.0

Instrumentation will now only modify the arity of wrapped functions when needed.This can be controlled with the matchArity property on a WrapSpec. Disabling arity matching has a significant, positive

November 2, 2017
Node.js agent v2.3.2

Added Node 9 to test suite. Removed problematic tests for ancient version of Hapi (7.1). Document purpose of throw in tracer to prevent developer confusion. Added script for running agent micro benchm

October 24, 2017
Node.js agent v2.3.1

Agent will attempt to reconnect to the collector forever after backing off to 5 minute delays

October 16, 2017
Node.js agent v2.3.0

The agent will now support the Node 8 await keyword by default

September 26, 2017
Node.js agent v2.2.2

Hapi handlers will now preserve the defaults associated with them.Previously when wrapping handlers, the agent would drop the associated defaults on the ground, these are now properly forwarded to the

September 11, 2017
Node.js agent v2.2.1

Added metrics for enabled/disabled feature flags

August 23, 2017
Node.js agent v2.2.0

Added support for ignoring ranges of status codes.The configuration error_collector.ignore_status_codes can now take ranges of numbers. For example, ignore_status_codes: ['400-404'] would ignore 400,

August 8, 2017
Node.js agent v2.1.0

Improved metadata collection for AWS, Azure, GCE, and Pivotal Cloud Foundry

August 1, 2017
Node.js agent v2.0.2

Improved documentation for newrelic.start*Transaction and TransactionHandle.Formatting for the startWebTransaction and startBackgroundTransaction methods was fixed and documentation for the Transactio

July 25, 2017
Node.js agent v2.0.1

Fixed issue with transaction events not including correct duration values.This issue was introduced in v2.0.0, and it has affected web transactions histogram and percentile charts. Fixed issue with Re

July 18, 2017
Node.js agent v2.0.0

The New Relic Node Agent v2 is here!This release contains major changes to the agent instrumentation API, making it easier to create and distribute your own instrumentation for third party modules. Ch

June 7, 2017
Node.js agent v1.40.0

Node v8 is officially supported with the exception of async/await.Support for the new async/await keywords is coming in a future release. Until this support is added, New Relic does not support and hi

May 11, 2017
Node.js agent v1.39.1

Fixed a transaction state loss introduced in Node 7.10.0 when using net.createConnection.Added a new segment for net.connect, net.createConnection, and http.Agent#createConnection. Sockets created wit

May 3, 2017
Node.js agent v2.6.0-beta

Dropped support for Express <4.6

May 2, 2017
Node.js agent v1.39.0

Error messages are redacted in High Security Mode now. New configurations were added for disabling some New Relic API methods. These default to enabled and are all disabled in High Security Mode.api.c

March 30, 2017
Node.js agent v1.38.2

When.js hooks similar to Promise.onPotentiallyUnhandledRejection now function as intended.Previously, hooks like Promise.onPotentiallyUnhandledRejection would not work due to the way the agent wraps t

March 17, 2017
Node.js agent v1.38.1

Fixed issue with when.js instrumentation not preserving all properties on wrapped Promise constructor.Previously, the when.js instrumentation would cause an unhandled exception when private methods on

March 16, 2017
Node.js agent v1.38.0

We're excited to announce the addition of a new Node VMs page to the UI that provides a curated view of the cpu, memory, garbage collection, and event loop metrics that we have added over the past sev

February 22, 2017
Node.js agent v2.5.0-beta

Added support for recording interfaces that return promises instead of taking callbacks. See RecorderSpec.promise for more details.Thanks to Gert Sallaerts (@Gertt) for this contribution

February 16, 2017
Node.js agent v1.37.2

This release is the same as v1.37.1 except it has been re-published to npm due to an issue with shrinkwrapping the previously published package.

Node.js agent v1.37.1

Agent now wraps emit on http request/response objects instead of relying on listeners. Improved documentation for newrelic.noticeError() and ignore_status_codes configuration.The documentation now mak

February 9, 2017
Node.js agent v1.37.0

The agent now reports event loop metrics on supported platforms.The agent will now record the number of event loop ticks per minute and CPU time spent in each tick. This feature requires v2.1.0 or hig

January 26, 2017
Node.js agent v1.36.2

Fixed issue with timing Redis operations when called without a callback.Previously these operations would continue to be timed until the transaction ended, and as a result reported incorrect times. Tr

January 25, 2017
Node.js agent v2.4.0-beta

Rewrote the cassandra-cql and memcached instrumentations using the DatastoreShim. Improved instrumentation matching.Previously, the agent would determine which instrumentation would run for a given mo

January 12, 2017
Node.js agent v1.36.1

Stop collecting URL parameters from the HTTP referer headerThe Node agent collects the request headers during an error trace to help determine the root cause of problems. The referer header is the URI

Node.js agent v2.3.1-beta

Incorporated fixes from 1.36.1

January 5, 2017
Node.js agent v2.3.0-beta

The @newrelic/native-metrics module is now an optional dependency of the agent.Now npm will attempt to install the module when the agent is installed. If it fails for whatever reason, the agent itself

December 21, 2016
Node.js agent v1.35

Added CPU metric gathering to Node.js versions <6.1As of this release the agent will attempt to gather CPU usage metrics via the optional @newrelic/native-metrics module. Added additional memory usage

December 13, 2016
Node.js agent v1.35.1

Removed automatic installation of @newrelic/native-metrics.Due to the way npm v3+ flatten dependencies, a bug in the version of npm packaged with Node v5, and npm v1's ungraceful handling of scoped pa

December 12, 2016
Node.js agent v1.35.0

The agent will now report garbage collection statistics on supported platforms.On node versions 0.10, 0.12, 4, 6, and 7 the agent will now record the time spent in, the number of, and type of garbage

November 10, 2016
Node.js agent v1.34.0

The agent now collects CPU metrics when running under Node 6.1.0 and higher.Node 6.1.0 introduced an API to get CPU time usage of the running Node process. We are now collecting this data as new metri

November 9, 2016
Node.js agent v2.2.0-beta

Incorporated new features and fixes from v1.30.4, v1.30.5, v1.31.0, v1.32.0, and v1.33.0

October 31, 2016
Node.js agent v1.33.0

The agent now collects database instance information for Memcached operations.This information (database server and database name) is displayed in transaction traces and slow query traces

October 20, 2016
Node.js agent v1.32.0

The agent now collects database instance information for MySQL and MongoDB operations. This information (database server and database name) is displayed in transaction traces and slow query traces. Da

October 12, 2016
Node.js agent v1.31.0

The agent now collects database instance information for PostgreSQL and Redis operations. This information (database server and database name) is displayed in transaction traces and slow query traces

October 4, 2016
Node.js agent v1.30.5

Fixed issue with aborted requests causing the agent to crash in some cases.Previously the agent would crash when the client request aborted before Express server sent a response and encountered an err

September 27, 2016
Node.js agent v1.30.4

Fixed format of external calls metric.External service URLs will now be formatted the same as they are in the originating application. Improved instrumentation of native promises.Native promises now u

September 16, 2016
Node.js agent v2.1.1-beta

Incorporated fixes from v1.30.1, v1.30.2, and v1.30.3

September 14, 2016
Node.js agent v1.30.3

This release is the same as v1.30.2 except it has been published using npm 2 to make sure all nested bundled dependencies are included.

September 13, 2016
Node.js agent v1.30.2

Added instrumentation of the param() function in Express.The agent will now create metrics and transaction segments when the Express param() function is called as a part of a route. This also fixes an

September 1, 2016
Node.js agent v1.30.1

The shutdown method is now on the stub API.Previously when the agent was disabled the stub API passed back on require did not have the shutdown method. Thanks goes to Vlad Fedosov (@StyleT) for this c

August 29, 2016
Node.js agent v2.1.0-beta

You must read and agree to the Beta Agreement before using this beta version of the agent.

August 25, 2016
Node.js agent v1.30.0

A number of improvements and fixes to transaction naming rules.Added attributes terminate_chain, replace_all, and precedence to allow more control over how naming rules are executed. Please see the up

August 4, 2016
Node.js agent v2.0.0-beta

You must read and agree to the Beta Agreement before using this beta version of the agent.

July 14, 2016
Node.js agent v1.29.0

Domain error handlers will now be scoped to the transaction the error occurred in.Previously, the 'error' event handlers would not be scoped to a transaction causing our API methods to not associate d

Node.js agent v1.28.3

Improved agent startup speed by 10% by simplifying environment checks.Removed prolific fs.exists and fs.stat checks, instead simply handling the error for mis-used files which greatly reduces disk acc

July 7, 2016
Node.js agent v1.28.2

Director instrumentation that will now name the transaction correctly, as well as create segments corresponding to the handlers registered with director. Transaction naming refactor - this should clea

June 15, 2016
Node.js agent v1.28.1

The following attributes are now sent to Insights along with transaction events: databaseDuration, databaseCallCount. Updated Redis instrumentation to work with version 2.x of the redis module. Improv

May 25, 2016
Node.js agent v1.28.0

Express middleware metrics are now enabled by default

May 5, 2016
Node.js agent v1.27.2

Fixed duplicated external transactions for https requests in Node > 0.10.Any external transaction that used the https module to make the request would appear twice in transaction traces due to https.r

May 3, 2016
Node.js agent v1.27.1

Fixed issue with checking listener count for uncaughtException and unhandledRejection global events. Fixed a number of issues with promise instrumentation of Bluebird

April 21, 2016
Node.js agent v1.27.0

Reworked promise instrumentation to be more reliable and reusable.Promise instrumentation has been rewritten to be applicable to any A+ compliant promise library. This change brings more consistent in

April 7, 2016
Node.js agent v1.26.2

Added ioredis instrumentation.Big thanks to Guilherme Souza (@guilhermef) for the contribution!. Added a new shutdown call to the public API.Thanks to @echmykhun for the contribution!The new shutdown

March 31, 2016
Node.js agent v1.26.1

Added capturing errors from the unhandledRejection global event.If a promise is rejected with an error, and the error is not handled, the error will now be reported to New Relic

March 23, 2016
Node.js agent v1.26.0

Express instrumentation has been fundamentally reworked.

March 9, 2016
Node.js agent v1.25.5

Added instrumentation of Bluebird promises.Previously, the transaction state could get lost when multiple promises resolved close to each other. Fixed issue with PostgreSQL native instrumentation.Prev

February 24, 2016
Node.js agent v1.25.4

Added more HTTP request/response parameters to transactions.The agent now collects additional request/response HTTP headers (e.g. contentType, HTTP method, response status code). These can be used to

February 18, 2016
Node.js agent v1.25.3

Fixed crashing bug on unhandled rejections in Q.Previously, the agent would cause the process to crash in the event of an unhandled rejection.Thanks to @mdlavin for this fix!

February 17, 2016
Node.js agent v1.25.2

Added Q instrumentation.The node agent now accurately records programs using Q for promises.Thanks to @mdlavin for the contribution!. Added node-mysql2 support.Thanks to @jhollingworth for adding node

January 26, 2016
Node.js agent v1.25.1

Corrected an issue where the agent would sometimes crash looking up the port of the HTTP server that a request came from.Previously, the agent assumed the HTTP server would always have an address, unf

January 20, 2016
Node.js agent v1.25.0

Added support for the new Response Time Line and better representation of asynchronous data.This has many implications in the UI. The first is the Application Overview, in the past we've always just s

December 30, 2015
Node.js agent v1.24.1

Error totals are now reported.The agent now reports metrics that reflect the total number of errors that have occurred in web and background transactions

November 18, 2015
Node.js agent v1.24.0

Advanced Analytics for APM ErrorsWith this release, the agent reports TransactionError events. These new events power the Advanced Analytics for APM Errors feature. The error events are also available

November 5, 2015
Node.js agent v1.23.1

newrelic.getBrowserTimingHeader() API now includes the full transaction name.Previously, the agent would use a fragment of the transaction name, causing Browser Monitoring transactions and APM transac

October 29, 2015
Node.js agent v1.23.0

The New Relic Node Agent now officially supports Node v4!We are excited to announce that the New Relic Node Agent officially supports Node v4.x! We've tested the agent across all major versions of Nod

October 14, 2015
Node.js agent v1.22.2

Removed client support of the RC4 stream cipher for communicating with the New Relic servers.The RC4 cipher is considered unsafe and is generally being deprecated. Fix for logging version number in Ex

September 21, 2015
Node.js agent v1.22.1

Express and Connect instrumentation will no longer crash on Node 4As of ES6, the Function.name attribute will track if the function is a getter/a setter/is bound to (i.e. fn.bind().name -> 'bound ' +

August 20, 2015
Node.js agent v1.22.0

Errors will now respect its transaction's ignore state.When ignoring transactions, related errors will now also be ignored. The agent can now handle immutable and frozen error objects.In rare cases th

August 6, 2015
Node.js agent v1.21.2

Corrected a defect in the handling of uncaught exceptionsThis defect was surfaced in versions of node that did not have process._fatalException, namely v0.8. When an uncaught exception occurs, the age

July 13, 2015
Node.js agent v1.21.1

Moved concat-stream from dev dependencies to production dependencies.Last week we released v1.21.0 but forgot to move a dependency. We've removed v1.21.0 from npmjs.org and this release contains the c

July 10, 2015
Node.js agent v1.21.0

. Use v1.21.1 or higher instead. Support for display host names.The agent now has configuration settings to allow configuration of custom host names. Set process_host.display_name to enable this.If th

June 23, 2015
Node.js agent v1.20.2

Fixed a bug where custom events weren't being sent.In a refactor of our data collection cycle, we omited the custom events from the list of commands, this is now fixed. Fixed a very rare bug where the

June 11, 2015
Node.js agent v1.20.1

Fixed a bug in custom event recording limits.Previously, the agent would use the config value for max events (default of 1000) for the first harvest of custom events, then would use an internal defaul

June 5, 2015
Node.js agent v1.20.0

Triaged a defect in native promise instrumentationTransactions used to be lost acrossed chained .then calls. The way promises are wrapped has been changed to fix this issue. Added support for Slow Que

May 21, 2015
Node.js agent v1.19.2

Fixed an issue with Error tracingPreviously the agent could sometimes cause issues with user serialization of error Âobjects after they passed through the error tracing code. MongoDB cursor count meth

May 14, 2015
Node.js agent v1.19.1

Fixed a bug in native ES6 Promise instrumentation.Previously the Promise instrumentation would cause instanceof Promise to return false even if the object was a promise. This also caused an incompatib

May 6, 2015
Node.js agent v1.19.0

Filesystem interactions are now recorded in metricsThe time spent in filesystem functions during a transaction will now be displayed in the transaction overview page per operation

May 1, 2015
Node.js agent v1.18.5

Fixed a bug in environment variable based configuration.Previously the agent would parse the NEW_RELIC_APDEX environment variable as a string rather than a float this could cause data to be sent to Ne

April 22, 2015
Node.js agent v1.18.4

Fixed an inverted if in config loading.Previously, the config loader would log a warning on success, rather than failure. Configuration loading works as expected now. Fixed a bug in process.nextTick i

April 16, 2015
Node.js agent v1.18.3

Wrapped all our calls to JSON.parse in try/catch.Previously, only calls that were considered unsafe due to external data input were wrapped. We are taking a more defensive stance and wrapping them all

April 2, 2015
Node.js agent v1.18.1

Names assigned to errors via Error.name now appear in the UI. Child segments of external calls will now be nested correctly. The request_uri attribute on errors will now only include the path without

March 27, 2015
Node.js agent v1.18.0

Reduce agent CPU overhead by omitting setImmediate from traces. Mitigate a Node.js memory leak that can occur during TLS connections

March 19, 2015
Node.js agent v1.17.3

Fixed a bug where external requests report times longer than the transactions that initiated them. External request segments are now always ended when an error occurs. Fixed a bug that produced incorr

March 12, 2015
Node.js agent v1.17.2

Fixed a bug that interfered with listing the routes in Express apps. Fixed a bug that caused custom transaction names to appear as "unknown". Added more log detail when instrumentation fails to load

March 5, 2015
Node.js agent v1.17.1

Added instrumentation support for Node.js PostgreSQL driver pg 4.x. Added instrumentation support for Datastax's Cassandra driver. Updated Oracle instrumentation to collect new datastore metrics

February 25, 2015
Node.js agent v1.17.0

Added instrumentation for modules in Node core. Added support for native Promises in Node.js 0.12 and io.js 1.x. Traces will now contain separate segments for async waits and callbacks. Updated instru

February 20, 2015
Node.js agent v1.16.4

Fixed a bug in the logger to respect the configured log level in all cases

Node.js agent v1.16.3

Fixed a bug in hapi 8 view segments. Previously, the segments weren't being ended when the view ended. Added a configuration option to completely disable logging. logger.enabled defaults to true, if s

February 13, 2015
Node.js agent v1.16.2

Enable http/https proxy features on all supported Node versions.Supported versions: Node.js 0.8, 0.10, 0.12 and io.js 1.x. Fixed a bug in vhost detection in Hapi 8. This bug would result in a crash fo

February 6, 2015
Node.js agent v1.16.1

Now New Relic Synthetics transaction tracing is on by default.The previous release had the Synthetics transaction tracing feature turned off by default

Node.js agent v1.16.0

Added support for New Relic Synthetics transaction tracing.New Relic Synthetics monitors your site from around the world. When you use Synthetics to monitor your Node application, up to 20 detailed tr

January 30, 2015
Node.js agent v1.15.1

Preliminary Node.js 0.12 support.HTTP proxies are not supported on 0.12 yet. We don't recommend running the Agent on Node.js 0.11.15+ in production, but if you are testing on it, please let us know of

January 23, 2015
Node.js agent v1.15.0

Added an API for recording custom Insights events. Read more about this in our documentation

January 16, 2015
Node.js agent v1.14.7

Fixed a crash in express instrumentation in the handling of sub-routers. Fixed a crash in http outbound connections when CAT is enabled and another library has frozen the http request headers. Updated

January 9, 2015
Node.js agent v1.14.6

The agent now logs the actual error when log file parsing fails. Thanks to knownasilya for this patch!. Fixed a crash where config serialization would fail due to circular objects if domains were enab

December 30, 2014
Node.js agent v1.14.5

Errors that occur in background transactions now have custom parameters copied onto them in the same manner as web transactions. Memcached instrumentation has been updated to account for additional ar

December 22, 2014
Node.js agent v1.14.4

Custom web transactions can have their names changed by nr.setTransactionName(). Thanks to Matt Lavin for this patch!. Fixed a bug where Express instrumentation could crash if transaction state was lo

December 18, 2014
Node.js agent v1.14.3

Improved the Express instrumentation to be more defensive before doing property lookups, fixing a crash that could happen in an exceptional state. Improved logging when the New Relic agent cannot conn

December 11, 2014
Node.js agent v1.14.2

Added support for Hapi v8. briandela contributed a fix for an crash that would occur when using hapi with vhosts

December 5, 2014
Node.js agent v1.14.1

Fixed a bug that caused some outbound http requests to show up in the New Relic UI as requests to localhost rather than the specified domain. The agent no longer reports errors from outbound http requ

November 25, 2014
Node.js agent v1.14.0

The node agent now instruments connections to Oracle Databases using the oracle driver. This patch was contributed by ryanwilliamquinn. Fixed an issue that would break kraken apps when the node agent

November 20, 2014
Node.js agent v1.13.4

Added support for the the aggregate method on mongodb collections. This patch was contributed by taxilian

November 13, 2014
Node.js agent v1.13.3

Fixed a bug in Cross Application Tracing where the agent would sometimes attempt to set a header after headers had already been sent. Replaced the logger with one that is handles file writes properly

November 6, 2014
Node.js agent v1.13.2

Updated support for hapi 7.2 or higher.Hapi refactored how the server is instantiated and caused the agent to not be able to get transaction names. This release accounts for the update and enables ful

Node.js agent v1.13.1

This release was unpublished from npm due to a bad merge

October 31, 2014
Node.js agent v1.13.0

Added support for Custom MetricsCustom metrics provides a way to send additional metrics up to New Relic APM, which can be viewed with Custom Dashboards. We have two APIs for this, recordMetric(name,

October 23, 2014
Node.js agent v1.12.2

Fixed a bug that would cause the application to crash on outbound connections when using node 0.8. Fixed a bug that could sometimes cause the application to crash while parsing MySQL queries

October 16, 2014
Node.js agent v1.12.1

Added support for Label CategoriesThe agent now supports setting Labels for your application on a per instance level, using either an environment variable, or a config file setting. https://docs.newre

October 10, 2014
Node.js agent v1.12.0

Added support for Cross Application TracingThe agent now supports Cross Application Tracing, which allows the New Relic APM UI to display traces that span multiple applications. Fixed a bug that would

October 6, 2014
Node.js agent v1.11.5

Fixed a type error while checking payload size before reporting to New Relic.When this occurred the agent would fail to send the payload to New Relic. This was more likely to occur in high throughput

October 3, 2014
Node.js agent v1.11.4

Fixed a bug where mutibyte characters would cause an error when sending data to the New Relic servers

September 26, 2014
Node.js agent v1.11.3

Updated hapi instrumentation to support the recently released v6.9. Fixed a bug where an invalid package.json could cause the agent to crash while it recursed through node_modules gathering version de

September 19, 2014
Node.js agent v1.11.2

Custom Instrumentation functions now pass through the return value of their passed in callback. Multiple improvements to PostgreSQL instrumentationWhen no callback was detected in the query functions,

September 11, 2014
Node.js agent v1.11.1

Improved MongoDB find instrumentation.The mongo driver provides many ways to invoke its API and find documents. In previous releases, some API invocations would create transaction trace segments that

September 5, 2014
Node.js agent v1.11.0

PostgreSQL support via the `pg` driver.The Node.js agent now records the amount of time spent in transactions with PostgreSQL databases. This timing can be viewed in the page within individual transa

August 28, 2014
Node.js agent v1.10.3

Removed a preemptive DNS lookup of the New Relic servers that could cause errors when behind a proxy

August 25, 2014
Node.js agent v1.10.2

Fix to prevent proxy credentials transmissionThis update prevents proxy credentials set in the agent config file from being transmitted to New Relic

August 22, 2014
Node.js agent v1.10.1

MySQL Pooling SupportBetter support for mysql pooling, including connections that use createPoolCluster and createPool. Previously connections obtained through a pool could potentially be uninstrument

August 15, 2014
Node.js agent v1.10.0

Custom instrumentationThe agent now allows you to annotate your application code to provide customized instrumentation. This includes the ability to time both web and background transactions, and add

August 8, 2014
Node.js agent v1.9.2

Fixed a bug in the express instrumentation where if you named an error handler function handle it would cause a recursion depth error

July 30, 2014
Node.js agent v1.9.1

Added a check for invalid characters in the app_name setting.The agent will now emit a warning and disable itself if any application name is invalid. Allowed characters are alphanumerics and certain p

July 24, 2014
Node.js agent v1.9.0

We now support Cassandra via the node-cassandra-cql driver.New database instrumentation means that we can present you with the timing data for how long those queries take. Thanks to Aaron Silvas from

July 18, 2014
Node.js agent v1.8.1

Agent now tracks metrics for router queue time. In addition to X-REQUEST-START, the agent now supports X-QUEUE-START header times. This metric will show up as "Request Queueing" in the Overview tab

July 11, 2014
Node.js agent v1.8.0

General release of proxy support for the agent to connect to New Relic.HTTP/HTTPS support from the newrelic module to the proxy. HTTP/HTTPS support from the newrelic module to New Relic. Basic proxy a

July 2, 2014
Node.js agent v1.7.5

Plain http routes (i.e. routes outside of a framework) now apply config naming rules early. See rules for naming and ignoring requests.This fixes a bug where generating the would not work without a f

June 26, 2014
Node.js agent v1.7.4

The agent now reports the value of the NODE_ENV environment variable to New Relic.This will show up in your Settings -> Environment tab in APM. The data is being collected for debugging and to aid sup

June 20, 2014
Node.js agent v1.7.3

Support for instrumenting a standalone express 4 router. See issue 154. Set the default log level to info

June 13, 2014
Node.js agent v1.7.2

Captured parameters for express, restify, and hapi have been normalized.When capture_params is enabled the agent will collect route and query parameters. Previously express and restify only captured r

June 5, 2014
Node.js agent v1.7.1

Fixed an issue where collected errors did not include captured and custom parameters. Added the environment variable NEW_RELIC_HIGH_SECURITY. This correlates to the high_security setting in your newre

May 29, 2014
Node.js agent v1.7.0

Client side setting of high_security is now supported.High Security Mode is a feature to prevent any sensitive data from being sent to New Relic. The local setting for the agent must match the server

May 22, 2014
Node.js agent v1.6.0

New Relic Insights support no longer requires a feature flag. If you are a paying customer, you'll begin to see data show up in Insights as soon as you upgrade to 1.6.0. The agent will send event data

May 15, 2014
Node.js agent v1.5.5

Fix a bug where if the user disabled the error collector, error count would be carried over harvest cycles instead of reset. This would result in an ever increasing error count until the app was resta

May 8, 2014
Node.js agent v1.5.4

On connect, the full newrelic module configuration is pushed to New Relic APM. Full config will be visible under the tab, under the button in the APM application page.The reported settings will refl

May 1, 2014
Node.js agent v1.5.3

Express 4 support.Express 4 apps now have their transactions named correctly. Errors in the middleware chain are properly recorded

April 24, 2014
Node.js agent v1.5.2

Fix issue where dangling symbolic links in the node_modules folder would crash the environment scraper

April 18, 2014
Node.js agent v1.5.1

Upgrade continuation-local-storage dependency to 3.0.0. The newrelic node module uses cls to help join asynchronous transaction segments. The latest cls module includes a fix that prevents contexts fr

April 11, 2014
Node.js agent v1.5.0

Add high-security compliance for accounts with enterprise security enabled. By default, the agent now works with high-security accounts, whereas previously agents would receive an Access Violation. Ad

March 14, 2014
Node.js agent v1.4.0

Browser monitoring! Real User Monitoring! Which is also known as RUM! Whatever it's called, it allows you to see how long your pages take to load, not just on the server side, but in the browser! Wow!

February 14, 2014
Node.js agent v1.3.2

Includes a nearly total rewrite of the connection layer that the module uses to communicate with New Relic's servers:

February 1, 2014
Node.js agent v1.3.1

Always cast ignored status codes to numbers so that people using environment-variable configuration or strings in config still get error status ignored properly. If you disabled server-side configurat

January 18, 2014
Node.js agent v1.3.0

Support for Spumko's Hapi! This support works with both Hapi 1.x and 2.0.0, and like our Express and Restify instrumentation will automatically name transactions after Hapi paths (get it) and time how

December 7, 2013
Node.js agent v1.2.0

Before, there were certain circumstances under which an application would crash without New Relic installed, but wouldn't crash with it. This has been fixed, and applications with New Relic installed

November 9, 2013
Node.js agent v1.1.1

Added support for key transactions and New Relic's new alerting policies. The agent no longer renames transactions for requests that end in error to the gnomic and unhelpful '400/*' (or whatever the f

November 6, 2013
Node.js agent v1.1.0

Added a new call to the API, .noticeError. See the docs for details, but unlike the other calls on the API, you can use this to pass off errors anywhere in your app, not just from within web requests.

October 30, 2013
Node.js agent v1.0.1

Added a new setIgnoreTransaction call to the exported API to allow explicit control over whether transactions should be ignored or not. Mark those polling routes to be ignored! Pull your crazy custom

October 24, 2013
Node.js agent v1.0.0

General Availability release of the Node.js agent. Please review the news.md at the root of the project for all prior release notes. If you are using an older BETA version of the Node.js agent, please

Create issueEdit page
Copyright © 2021 New Relic Inc.