Skip to content

Releases: newrelic/node-newrelic

v10.4.2

13 Jul 15:00
9be2139
Compare
Choose a tag to compare

v10.4.2 (2023-07-13)

Bug Fixes

  • Dropped query params from request.uri attribute when obfuscating (#1719) (76112a6)

Miscellaneous Chores

Tests

  • Pinned prisma to < 5 when running on node 14 (#1717) (b000d7b)

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.

v10.4.1

10 Jul 21:11
9fba7cd
Compare
Choose a tag to compare

Security Improvements

  • deps: bump protobufjs from 7.2.3 to 7.2.4 (#1713) (5fb4606)

Miscellaneous Chores

  • test: Converted adaptive-sampler.test.js to tap (#1709) (bb42249)
  • test: converted environment.test.js to tap (#1705) (53b4376)
  • test: Replaced t.equals with t.equal (#1711) (a0b255e)

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.

v10.4.0

30 Jun 17:07
a2ef0bf
Compare
Choose a tag to compare

Miscellaneous Chores

  • test: Converted 'errors/expected.test.js' to tap-style (#1695) (86025de)
  • test: Converted server-config.test.js to tap-style (#1702) (2c6906d)

Continuous Integration

  • skip running test suite when merging releases (#1704) (f78b981)

Build System

  • updated @newrelic/aws-sdk to latest to get the instrumentation fixes for 3.363.0 (#1707) (a2cca08)

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.

v10.3.2

26 Jun 21:57
eb1f840
Compare
Choose a tag to compare

v10.3.2 (2023-06-26)

Bug Fixes

  • prisma: check for query args in string property (#1684) (8d9b176)

Security Improvements

Miscellaneous Chores

  • test: Added t.end() to trace unit test (#1698) (254c9c0)
  • test: convert error-trace-aggregator.test.js to tap-style (#1690) (44b17ab)
  • test: convert trace unit test to tap style (#1692) (727c17f)
  • test: Fixed tap end/autoend calls in trace unit test (#1700) (b4a4948)

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.

v10.3.1

22 Jun 20:35
2a89153
Compare
Choose a tag to compare

v10.3.1 (2023-06-22)

Security

  • deps: Updated semver to v7.5.2, also in native-metrics and test utils (#1685) (e207a6b)

Miscellaneous Chores

  • Added test for getRedisParams (#1670) (e9f8556)
  • temporarily limit prisma tests to non-breaking version (#1680) (76d3ade)
  • testing: convert query-test-aggregator tests to tap style (#1676) (d2e45ad)
  • testing: Converted error-event-aggregator.test.js to tap (#1683) (9f1d66f)

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.

v10.3.0

13 Jun 19:19
34358b4
Compare
Choose a tag to compare

Features

  • Added Interactive Application Security Testing(IAST) mode of security agent when config.security.agent.enabled is true. (#1664) (3e926e5)

NOTE: The security agent IAST mode is in public preview and should only be used in non-production environments.

  • To enable the security agent set config.security.agent.enabled and config.security.enabled to true.

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.

v10.2.0

06 Jun 13:05
2746195
Compare
Choose a tag to compare

v10.2.0 (2023-06-06)

Features

  • Added supportability metrics to indicate how agent was loaded and if source maps were enabled (#1657) (6f6f7e6)

    • Supportability/Features/CJS/Preload - recorded if -r newrelic was used to load agent
    • Supportability/Features/CJS/Require - recorded if require('newrelic') was used to load agent
    • Supportability/Features/EnableSourceMaps - recorded if node --enable-source-maps was present to start application
  • Added logging of process.execArgs at the debug level (#1654) (c85c006)

Miscellaneous Chores

  • Updated c8 to merge v8 coverage reports asynchronously to avoid OOM issues (#1652) (34376d7)
  • Updated explorer hub link in readme (#1656) (c1e81a7)

Tests

  • Added unit tests for MySQL instrumentation (#1649) (b693ba0)

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.

v10.1.2

24 May 20:10
d1781b1
Compare
Choose a tag to compare

Bug Fixes

  • Updated mysql instrumentation to properly wrap the connection pool.getConnection and poolCluster.of (#1647) (4caf1db)
    • Added instrumentation to PoolNamespace.prototype.query

Continuous Integration

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.

v10.1.1

15 May 18:07
b924534
Compare
Choose a tag to compare

v10.1.1 (2023-05-15)

Bug Fixes

  • updated prisma instrumentation to properly parse database connection strings that work across all versions of prisma (#1634) (b2101fd)

Code Refactoring

  • run-versioned-tests.sh: added ability to run versioned tests and skip collecting coverage by passing in SKIP_C8 env var to the job. (#1621) (0ba9dcb)

Documentation

  • update Contribution Guide with Conventional Commit info (#1635) (f1a00e5)

Miscellaneous Chores

  • pin testdobule to 3.17.2 as 3.18.0 no longer works on node 14 (#1628) (d68bd9f)
  • remove release-please workflow and scripts (#1624) (80f7eb8)

Tests

  • pin prisma to 4.14.0 until we fix instrumentation (#1631) (a60659d)
  • scripts: fix failing changelog unit test (#1626) (08f48b3)
  • config: increase test coverage (#1625) (67f39d8)
  • config: revert changes to lib/config/index.js (#1630) (fea1068)

Continuous Integration

  • changed versioned tests script to use SKIP_C8 (#1621) (83e95e3)
  • add --use-new-release functionality (#1633) (d97b421)
  • add ability to generate release notes from conventional commits (#1623) (880a88b)
  • create-docs-pr: Set username/email to machine user by default (#1627) (3870a1f)
  • fix issue with missing type in the prep-release (#1638) (9a906e8)
  • update prep-release to fetch entire history of caller repo (#1641) (428174a)
  • update to conditionally add CLI flag to prep-release (#1640) (b167c93)

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.

v10.1.0

04 May 21:35
52c2d06
Compare
Choose a tag to compare
  • Added batching and compression to infinite tracing.

    • These options are on by default.
    • To restore uncompressed spans set config.infinite_tracing.compression to false.
    • To send single spans vs batches set config.infinite_tracing.batching to false.
    • The environment variables for these new configurations are: NEW_RELIC_INFINITE_TRACING_BATCHING and NEW_RELIC_INFINITE_TRACING_COMPRESSION.
  • Added support to record Nest.js error stack traces.

    • Nest.js is officially supported via underlying instrumentation of express or fastify.
  • Added job to create a release notes PR in the post-release workflow.

  • Removed request library and updated helper to use http/https to make requests in tests.

  • Reduced cognitive complexity in lib/serverless/aws-lambda.js

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.