Skip to content

Commit

Permalink
Merge pull request #1361 from newrelic/release/v9.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bizob2828 authored Sep 22, 2022
2 parents 202fc01 + f1539ee commit ba0dd3c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
20 changes: 19 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
### v9.1.0 (2022-09-22)

* Added experimental ECAMScript Module(ESM) loader to support instrumentation of CommonJS packages in ESM applications.
* [ESM Loaders](https://nodejs.org/api/esm.html#loaders) are marked as experimental, which may break the New Relic Node.js ESM loader.
* ESM loader only supports versions of Node.js >= `16.12.0`.

* Enhanced supportability metrics for ESM support.
* Added new metrics to track usage of ESM loader(`Supportability/Features/ESM/Loader` and `Supportability/Features/ESM/UnsupportedLoader`).
* Updated instrumentation map to include an optional "friendly name" for tracking metrics.

* Enabled re-throwing ESM import errors of `newrelic.js` so that the user is informed to rename it to `newrelic.cjs`

* Fixed an issue with mongodb instrumentation where IPv6 address([::1]) was not getting mapped to localhost when setting the host attribute on the segment.

* Added a test ESM loader to properly mock out agent in versioned tests.

* Added ESM versioned tests for: `express`, `pg`, `mongodb`, and `@grpc/grpc-js`.

### v9.0.3 (2022-09-06)

* Updated gRPC client instrumenation to respect `grpc.record_errors` when deciding to log errors on gRPC client requests.
* Updated gRPC client instrumentation to respect `grpc.record_errors` when deciding to log errors on gRPC client requests.

* Fixed transaction name finalization to properly copy the appropriate transaction name to root segment.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newrelic",
"version": "9.0.3",
"version": "9.1.0",
"author": "New Relic Node.js agent team <[email protected]>",
"license": "Apache-2.0",
"contributors": [
Expand Down

0 comments on commit ba0dd3c

Please sign in to comment.