• EnglishEspañol日本語한국어Português
  • ログイン今すぐ開始

Node.js agent release notesRSS

October 1, 2019
Node.js agent v5.13.0

New Features

  • Support for Real Time Streaming

    • 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 and Insights dashboards in near real time. For more information on how to view your events with a five-second refresh, see the real time streaming documentation.
    • Note that the overall limits on how many events can be sent per minute have not changed. Also, span events, metrics, and trace data is unaffected, and will still be sent every minute.
  • Now supports Restify 7 and 8.

  • Distributed Tracing is now enabled by default in serverless mode.

  • HTTPS connections to New Relic now use a keep alive HTTP-Agent.

Improvements

  • Maximum event limits are now enforced by the server. This includes a new maximum of 10000 transaction events per minute.
  • Harvesting is now completed by individually scheduled harvesters per data type.
  • Drops old odd-numbered node versions that are no longer supported by node from travis testing matrix
  • Updated Mocha and Docker links in CONTRIBUTING.md.

Fixes

  • Bumps tap version to move beyond handlebars audit warning.
  • Bumps Restify dev dependency past audit warning.
  • Fixed bug where segment reference on the outbound request was enumerable.
  • Fixed bug where incorrect config information was sent to New Relic.
  • The agent will now end/serialize transactions in the event of an uncaught exception while operating in serverless mode.

July 31, 2019
Node.js agent v5.11.0

New Features

  • 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 v17. Any new features may not yet be supported.

Improvements

  • Bumps jsdoc and lodash dev dependency to avoid upstream vulnerability warning.
  • Adds detailed logging through harvest/collector code to increase supportability.

Fixes

  • Fixed bug where agent would count errors towards error metrics even if they were dropped due to the error collector being disabled.

  • The agent will now properly track cached paths to files in loaded modules on Node versions >10.

    As of Node v11, the path to a file in a module being loaded will only be resolved on the first load; subsequent resolution of that file will use a cached value. The agent records this resolved path and uses it for relative file look ups in order to deep link into modules using Shim#require. Since the agent couldn't reliably get at the path on the subsequent calls to require, it now replicates the caching logic and hold onto the resolved path for a given file.

June 12, 2019
Node.js agent v5.10.0

New Features

  • 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 (this version or later) can successfully connect with either high_security: true or the appropriate security_policies_token configured. high_security has been added as part of the preconnect payload.

Improvements

Fixes

  • Lambda invocations ended with promises will now be recorded properly.

    Previously, the lambda instrumentation was not intercepting the promise resolution/rejection returned from a lambda handler. The instrumentation now properly observes the promise, and ends the transaction when the promise has finished.

  • Lambda invocations will only attempt to end the related transaction a single time.

    In the event of two lambda response events (e.g. callback called, and a promise returned), the agent would attempt to end the transaction twice, producing an extraneous empty payload. The agent now limits itself to a single end call for a given transaction.

  • The agent will now properly end transactions in the face of uncaught exceptions while in serverless mode.

May 28, 2019
Node.js agent v5.9.1

Improvements

  • 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 caused the wrap filepath to be attributed to the modules being instrumented. This meant that attempted relative require calls using Shim#require would resolved from the incorrect path. The logic has been changed to keep a stack of the resolved filepaths, resolving the issue.

  • Shim#wrapReturn now uses ES6 proxies to wrap its methods.

    This will accurately propagate look up and assignment onto the underlying wrapped function, while maintaining all previous functionality.

  • Updated versioned test configurations to reflect current engine support.

  • Moved third party notices to THIRD_PARTY_NOTICES.md

  • Updates error message for license check to indicate all places that need to be updated.

May 20, 2019
Node.js agent v5.9.0

New Features

  • 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 where some module needs to be loaded before newrelic

Improvements

  • Removed older versions of Cassandra from versioned tests
  • For debug/test runs, shimmer will now cleanup the __NR_shim property on instrumented methods. This leftover property did not result in any negative behaviors but cleaning up for thoroughness and to prevent potential confusion.
  • Fixes recordMiddleware promise parenting for certain cases where child segments are created within resolving middleware next() promises.

May 6, 2019
Node.js agent v5.8.0

New Features

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

Improvements

  • Fixed outdated license ref in package.json.
  • Middleware instrumentation now honors spec.appendPath for more cases and will not pop paths when it has not appended a path.

April 24, 2019
Node.js agent v5.7.0

New Features

  • Added getStatusName to NameState.

    Now web transactions will be named after known status code messages (404, 405, and 501).

  • Added appendPath option to MiddlewareSpec.

Improvements

  • Broke apart integration script test globs.

April 23, 2019
Node.js agent v4.13.1

Fixes

  • 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 callback.

April 16, 2019
Node.js agent v5.6.4

Bug fixes

  • 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.
  • The agent will no longer crash the process in the event of unexpected calls to the harvest callback.
  • Updated required config values when using distributed tracing in serverless_mode to only include account_id.

April 1, 2019
Node.js agent v5.6.3

Bug fixes

  • 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.

Copyright © 2024 New Relic株式会社。

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