Releases: newrelic/node-test-utilities
v6.5.3
-
Bumped async to ^3.2.3.
Updated usage of
queue.drain
which was a 3.x breaking change. -
Resolved dev-only audit warnings.
-
Bumped moment from 2.29.1 to 2.29.2.
-
Bumped
tap
to ^16.0.1.
v6.5.2
- Fixed
util.maxVersionPerMode
sorting by handling numbers as semver versions and not floats.
v6.5.1
- Fixed
util.maxVersionPerMode
by sorting versions to ensure the last package is the latest.
v6.5.0
-
Fixed how version resolution occurs when semver ranges are not the latest major version.
-
Fixed how
latest
gets resolved by actually using the latest version. -
Added printing list of packages and their versions at the end of a run.
v6.4.1
-
Fixed link to discuss.newrelic.com in README.
-
Resolved several dev-dependency audit warnings.
-
Bumped
glob
to ^7.2.0.
v6.4.0
-
Added a warning and/or error when tests present in testing directory are not included in test specification.
-
Updated
add-to-board
to use org levelNODE_AGENT_GH_TOKEN
v6.3.0
-
Added workflow to automate preparing release notes by reusing the newrelic/node-newrelic/.github/workflows/prep-release.yml@main workflow from agent repository.
-
Added job to automatically add issues/pr to Node.js Engineering board
-
Fixed overeager pattern-filter interpretation.
-
Added
getShim
method for retrieving a test Shim instance.This enables test setup involving instrumentation like scenarios (adding segments, etc.) without reaching into the internal tracer.
v6.2.0
-
Added clearing of registered instrumentation to
unload
. -
Added
getContextManager
to retrieve the active context manager in agent versions 8.6.0+. -
Bumped
newrelic
dev dependency to^8.6.0
.
v6.1.1
-
Fix pattern matching regression when parsing names of test files.
-
Refactored test pattern filtering by extracting to its own function. Also added a few missing test pattern test cases.
v6.1.0
-
Added the
-P, --pattern
flag to allow filtering tests by keyword(s). -
Added support for running specific test files by name or globbing pattern.
-
Added a
--samples
value to CLI to allow an override of sampling for a given test run.Global sample value will be used when it is less than the samples value set on a given package in the tests stanza.
-
Added ability to run versioned tests against version tags. For example:
newrelic@latest
.When a version such as
package@latest
is specified in the versioned testpackage.json
declarations, it won't directly satisfy semver matches against the package versions manually pulled down and cached. The runner now attempts to directly install the configured version, which also results in a test failure if the package fails to install. Previously, failure to be able to install a dependency would log a warning and then just not run any tests and let CI pass. -
Upgraded setup-node CI job to v2 and changed the linting node version to lts/* for future proofing.
-
Added @newrelic/eslint-config to rely on a centralized eslint ruleset.
-
Added a pre-commit hook to check if package.json changes and run oss third-party manifest and oss third-party notices.
This will ensure the third_party_manifest.json and THIRD_PARTY_NOTICES.md are up to date.
-
Changed runner output to only list package versions when a test fails.