Releases: newrelic/node-test-utilities
v8.1.0
- Updated the TestAgent to call
shimmer.registerHooks
andshimmer.removeHooks
to set up instrumentation and remove it.
Support statement:
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
v8.0.0
-
BREAKING CHANGE: Removed support for Node 14.
-
Added support for Node 20.
-
Gated usage of loader in versioned tests by NR_LOADER environment variable
-
Updated vulnerable dependencies:
- word-wrap from 1.2.3 to 1.2.4.
- protobufjs from 7.2.2 to 7.2.4.
- fast-xml-parser from 4.2.4 to 4.2.5
- @aws-sdk/client-lambda from 3.357.0 to 3.363.0
Support statement:
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
v7.3.2
-
Updated
semver
to 7.5.2 -
Updated
newrelic
dev dependency to 10.3.0 -
Updated
@newrelic/eslint-config
to 0.3.0 -
Updated
eslint
dev dependency to 8.43.0 -
Updated README links to point to new forum link due to repolinter ruleset change
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.
v7.3.1
- Updated
TestAgent.getShim
to require an exported module and pull the shim symbol.
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.
v7.3.0
-
Provided ability to register only core instrumentation or both core and 3rd party instrumentation.
TestAgent.makeFullyInstrumented
will register both.TestAgent.makeInstrumented
will only register core instrumentation. -
Updated README header image to latest OSS office required images
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.
v7.2.1
- Bumps json5 from 2.2.1 to 2.2.2.
- Streamlined CLM assertions to inherit tap from context.
- Bypassed tapper/asserter abstractions so that CLM test failures are exposed.
- Added lockfile checks to CI workflow to prevent malicious changes
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.
v7.2.0
- Added
assertCLMAttrs
testing method to utils, so it can be used to test CLM behavior in external repos
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.
v7.1.1
- Added detection for node version < 18, to supply correct loader flag
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.
v7.1.0
- Added the capacity of running ES module tests with the ESM loader from agent or a path to an ESM loader set as process.env.NR_LOADER.
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.
v7.0.0
-
Added support for Node 18.
-
BREAKING Removed support for Node 12.
The minimum supported version is now Node v14. For further information on our support policy, see: https://docs.newrelic.com/docs/agents/nodejs-agent/getting-started/compatibility-requirements-nodejs-agent.
-
Updated test runner to use max CPUs available to run test folders in parallel when the
--jobs
parameter is not specified. -
Bumped moment from 2.29.2 to 2.29.4 in package-lock.
-
Bumped protobufjs from 6.11.2 to 6.11.3 in package-lock.
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.