Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v9.1.0 #1361

Merged
merged 3 commits into from
Sep 22, 2022
Merged

Release v9.1.0 #1361

merged 3 commits into from
Sep 22, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 22, 2022

Proposed Release Notes

  • Added experimental ECAMScript Module(ESM) loader to support instrumentation of CommonJS packages in ESM applications.

    • ESM 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.

Links

Details

@bizob2828 bizob2828 marked this pull request as ready for review September 22, 2022 19:08
@bizob2828 bizob2828 merged commit ba0dd3c into main Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants