Skip to content

Releases: newrelic/node-test-utilities

v6.5.3

20 Apr 17:56
fe06bf8
Compare
Choose a tag to compare
  • 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

24 Mar 19:59
acecea3
Compare
Choose a tag to compare
  • Fixed util.maxVersionPerMode sorting by handling numbers as semver versions and not floats.

v6.5.1

24 Mar 17:56
ab15019
Compare
Choose a tag to compare
  • Fixed util.maxVersionPerMode by sorting versions to ensure the last package is the latest.

v6.5.0

21 Mar 17:36
7cbdc81
Compare
Choose a tag to compare
  • 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

23 Feb 17:49
ac850be
Compare
Choose a tag to compare
  • Fixed link to discuss.newrelic.com in README.

  • Resolved several dev-dependency audit warnings.

  • Bumped glob to ^7.2.0.

v6.4.0

31 Jan 19:25
0a6662c
Compare
Choose a tag to compare
  • 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 level NODE_AGENT_GH_TOKEN

v6.3.0

10 Jan 21:23
00f8ad1
Compare
Choose a tag to compare
  • 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

19 Nov 21:45
Compare
Choose a tag to compare
  • 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

20 Oct 18:19
Compare
Choose a tag to compare
  • 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

19 Oct 23:33
Compare
Choose a tag to compare
  • 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 test package.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.