Skip to content

Releases: newrelic/node-newrelic

v8.13.2

31 May 14:54
3fcd127
Compare
Choose a tag to compare

v8.13.1

27 May 17:22
d657b01
Compare
Choose a tag to compare
  • Fixed passing undefined as a formatter options to winston.format.combine

    Thanks to Rana Mohammad (@rjmohammad) for the contribution. 🎉

v8.13.0

26 May 21:05
2ff3f56
Compare
Choose a tag to compare
  • Moved log forwarding logic to a transport so customer transports are not polluted with NR linking metadata and timestamp and error manipulations.

  • Prevented transmitting logs when application level logging has been disabled.

v8.12.0

24 May 23:19
9b4dcb2
Compare
Choose a tag to compare
  • Added instrumentation to pino to support application logging use cases: forwarding, local decorating, and metrics.

  • Added supportability metrics about the data usage bytes of harvested data to the collector endpoints.

  • Added an optional way to avoid wrapping browser agent script with <script> tag when using api.getBrowserTimingHeader. This will ease usage with Component based libraries like React.

    Thanks to @github-dd-nicolas for the contribution. 🎉

  • Upgraded @grpc/proto-loader to fix a CVE with protobufjs.

  • Upgraded @newrelic/test-utilities to resolve a dev-only audit warning.

v8.11.2

23 May 20:41
0ab8bb6
Compare
Choose a tag to compare
  • Fixed winston instrumentation to no longer coerce every log line to be json.

v8.11.1

13 May 19:36
972982d
Compare
Choose a tag to compare
  • Fixed an issue with winston instrumentation that caused agent to crash when creating a winston logger from an existing instantiated logger.

v8.11.0

11 May 23:20
824d496
Compare
Choose a tag to compare

v8.11.0 (2022-05-11)

  • Added application logging for Winston in the Node.js agent

    • Ability to forward logs, send log metrics, and perform local log decoration

    • Added application log aggregator to collect logs with adaptive sampling and appropriate max samples stored.

    • Added application_logging configuration and env vars with appropriate defaults.

    • Added application_logging.enabled configuration value, defaulting to true.

    • Set application_logging.forwarding.enabled to false when High Security Mode (HSM) is set.

    • Enabled log forwarding by default in the example config.

    • Added sent, seen and dropped metrics that collected on every harvest cycle around log lines.

    • Added supportability metrics for some popular logging frameworks.

    • Added supportability metrics to record if the logging features are enabled.

    • Added a storage mechanisms to transactions to keep logs until transaction ends.

  • Removed distributed tracing setting from example config

  • Fixed a typo in lib/instrumentation/core/child_process.js
    Thanks to Eito Katagiri (@eitoball) for the contribution

  • Support automatic instrumentation of Redis v4

  • Bumped moment from 2.29.1 to 2.29.2.

  • Bumped tap to 16.x.

  • Updated ansi-regex to resolve a dev dependency audit warning.

v8.10.0

19 Apr 14:49
4a8fdb4
Compare
Choose a tag to compare
  • Added instrumentation for mysql2/promise.

    • This previously only existed in our standalone @newrelic/mysql, but now gives feature partiy between the two.
  • Removed unused native CPU metric sampler. This logic was no longer getting touched if running Node.js > 6.1.0.

  • Fixed promise interceptor from re-throwing errors.

  • Added transaction naming documentation ported from a discussion forum post: https://discuss.newrelic.com/t/relic-solution-the-philosophy-of-naming-your-node-agent-transactions/.

  • Added promises.tap.js to mysql2 versioned tests.

  • Updated @newrelic/test-utilities to latest.

  • Removed unused test file in restify versioned tests.

  • Added --strict flag to versioned test runner to properly fail CI runs when test files are not included.

v8.9.1

22 Mar 20:55
6746c25
Compare
Choose a tag to compare
  • Fixed shim.wrapReturn to call Reflect.construct in construct Proxy trap. Also including newTarget to work with inherited classes.

  • Added link to New Relic Node.js Examples repository.

  • Excluded installing dependencies in versioned-external folders when running integration tests.

v8.9.0

15 Mar 19:02
599de4d
Compare
Choose a tag to compare

v8.9.0 (2022-03-15)

  • Added support for initializeUnorderedBulkOp, and initializeOrderedBulkOp in mongodb v3 instrumentation.

    Thanks to Denis Lantsman (@dlants) for the contribution.

  • Updated logger to delay logging until configuration is parsed. The logger will now queue all log entries that occur before the agent can parse the configuration.

    Thanks to Cody Landry (@codylandry) for the contribution.

  • Added NEW_RELIC_ALLOW_ALL_HEADERS as a boolean environment variable, same behavior as existing allow_all_headers.

  • Updated the AWS IMDBS v2 endpoint to use latest to align with the internal agent specification.

  • Bumped @newrelic/koa to ^6.1.1.

  • Added Next.js to External Modules list in README.

  • Updated mysql and mysql2 versioned tests to run against their own databases on the MySQL instance.

  • Removed upper-bound testing from restify versioned tests so future major versions will be covered.

  • Removed upper-bound testing from mysql2 versioned tests to cover existing and future major versions.

    Continues to skip version 1.6.2 which had a bug that broke tests which was resolved in 1.6.3.

  • Updated @hapi/hapi Node 16 versioned test runs to run against @hapi/hapi >=20.1.2 so future major releases will be ran.

  • Fixed sparse checkout of non-default branch for external versioned tests.

  • Added external versioned tests for the Apollo Server plugin instrumentation.

  • Added nock delay to test timeouts in utilization integration tests.

  • Added newrelic-node-nextjs to external versioned tests to be run on every PR.

  • Updated external version test running to support more test scenarios.

    • Adds test/versioned-external to lint ignore to avoid issues for scripts in tests that auto run linting tools (next/react).
    • Adds index.js and nr-hooks.js to files automatically checked-out for test runs.