8000 Bump newrelic from 10.3.0 to 11.1.0 by dependabot[bot] · Pull Request #92 · Diegorandom/PlystmeBeta · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bump newrelic from 10.3.0 to 11.1.0 #92

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor
@dependabot dependabot bot commented on behalf of github Sep 11, 2023

Bumps newrelic from 10.3.0 to 11.1.0.

Release notes

Sourced from newrelic's releases.

v11.1.0

Features

  • Added instrumentation for fetch. (#1776) (980b4dc)
  • Removed undici feature flag. This will now instrument undici by default. (#1772) (683b254)
  • Updated undici instrumentation to create segment on request create instead of after connection and opening socket to more accurately record time it takes to make an undici request. (#1770) (3f494f8)

Performance Improvements

  • Trace: optimise getTotalTimeDurationInMillis function to push to an array instead of concat arrays. (#1774) (6ecde97)

Miscellaneous Chores

  • Updated Next.js plugin versioned tests to use main now that require-in-the-middle fixes have been merged. (#1768) (6a72d1f)
  • Upgraded @newrelic/test-utilities and removed unused shimmer.patchModule and shimmer.unpatchModule (#1769) (96620ef)

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/)

v11.0.0 (2023-08-28)

⚠ BREAKING CHANGES

  • Removed support for Node 14.
  • Replaced ESM loader with import-in-the-middle to fix instrumentation firing for both CommonJS and ESM.
    • You must load both the ESM loader and agent as follows: node --experimental-loader newrelic/esm-loader.mjs -r newrelic path/to/app.js.
    • Removed config.esm.custom_instrumentation_entrypoint to register ESM instrumentation. You can now just call the newrelic.instrument* APIs but you must pass in an object and specify isEsm: true. See example.
  • Updated agent to use require-in-the-middle to register CommonJS instrumentation. You can no longer use an onResolved hook to register custom instrumentation.
  • Updated the default context manager to be AsyncLocalContextManager.
  • Renamed shim.handleCATHeaders to shim.handleMqTracingHeaders.

Features

  • Added support for Node 20.
  • Renamed shim.handleCATHeaders to shim.handleMqTracingHeaders (#1735) (6788f9e)
    • If you have calls to shim.handleCATHeaders, the signature is identical and a function name change is only necessary.
    • Note: The agent will be removing CAT functionality in an upcoming release.
  • Updated the default context manager to be AsyncLocalContextManager (#1731) (25f2bd8)
    • To restore functionality of legacy context manager you can set config.feature_flag.legacy_context_manager to true or `NEW_RELIC_FEATURE_FLAG_LEGACY_CONTEXT_MANAGER=true
    • Please note this legacy context manager will be removed in future major releases. If you have any issues, please raise with New Relic support or on the issues of the agent.

Bug Fixes

  • Replaced esm loader with import-in-the-middle to fix instrumentation firing for both commonjs and esm (#1760) (4452354), closes 1646
    • Breaking Change: Updated ESM loader that now requires to use both a loader and -r.

... (truncated)

Changelog

Sourced from newrelic's changelog.

{ "repository": "newrelic/node-newrelic", "entries": [ { "version": "11.1.0", "changes": { "security": [], "bugfixes": [], "features": [ "Added instrumentation for fetch.", "Removed undici feature flag. This will now instrument undici by default.", "Updated undici instrumentation to create segment on request create instead of after connection and opening socket to more accurately record time it takes to make an undici request." ] } }, { "version": "11.0.0", "changes": { "security": [], "bugfixes": [ "Updated prisma instrumentation to parse prisma datamodel with internal package.", "Replaced ESM loader with import-in-the-middle to fix instrumentation firing for both CommonJS and ESM." ], "features": [ "Added support for Node 20", "Removed support for Node 14", "Updated the default context manager to be AsyncLocalContextManager.", "Renamed shim.handleCATHeaders to shim.handleMqTracingHeaders" ] } }, { "version": "10.6.2", "changes": { "security": [], "bugfixes": [ "added defensive code around JSON.parse in formatting pino log lines because pino can return invalid json" ], "features": [] } }, { "version": "10.6.1", "changes": { "security": [ "updated ESM loader to track instrumentation by url in a map instead of in url to avoid remote code execution." ], "bugfixes": [], "features": [] }

... (truncated)

Commits
  • 13b48da chore: release v11.1.0 (#1778)
  • 980b4dc feat: Added instrumentation for fetch. (#1776)
  • 683b254 feat: Removed undici feature flag. This will now instrument undici by default...
  • 6ecde97 perf(Trace): optimise getTotalTimeDurationInMillis function to push to an arr...
  • 3f494f8 feat: Updated undici instrumentation to create segment on request create inst...
  • 96620ef chore: upgraded test utils and removed unused shimmer.patchModule and shimmer...
  • 6a72d1f chore: Updated Next.js plugin versioned tests to use main now that require-in...
  • 7d53728 chore: release v11.0.0 (#1767)
  • 8f6e15b chore: updated the bundled packages to the latest @​newrelic/superagent, @​newr...
  • 48079b3 fix: updated prisma instrumentation to parse prisma datamodel with internal p...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [newrelic](https://github.com/newrelic/node-newrelic) from 10.3.0 to 11.1.0.
- [Release notes](https://github.com/newrelic/node-newrelic/releases)
- [Changelog](https://github.com/newrelic/node-newrelic/blob/main/changelog.json)
- [Commits](newrelic/node-newrelic@v10.3.0...v11.1.0)

---
updated-dependencies:
- dependency-name: newrelic
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 11, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants
0