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

chore(deps): update dependency newrelic to v12 #7435

Closed
wants to merge 2 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 31, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
newrelic ^7 || ^8.0.0 || ^10.0.0 -> ^7 || ^8.0.0 || ^10.0.0 || ^12.0.0 age adoption passing confidence
newrelic 10.6.2 -> 12.0.0 age adoption passing confidence

Release Notes

newrelic/node-newrelic (newrelic)

v12.0.0

Compare Source

v12.0.0 (2024-07-31)

⚠ BREAKING CHANGES
  • Dropped support for Node.js 16
  • Removed legacy context manager
  • Removed support for redis < 2.6.0
  • Removed instrumentation for director
  • Updated mongodb instrumentation to drop support for versions 2 and 3
Features
  • Dropped support for Node.js 16 (#​2394) (1870010)
  • Removed legacy context manager (#​2404) (321244c)
  • Removed support for redis < 2.6.0 (#​2405) (e2c0a31)
  • Removed instrumentation for director (#​2402) (1b355e7)
  • Added server.address to amqplib spans (#​2406) (09636a4)
  • Updated mongodb instrumentation to drop support for versions 2 and 3 (#​2398) (a0ae32a)
  • Migrated instrumentation for next into agent (#​2409) ([b55d8e1](https://github.com/newr elic/node-newrelic/commit/b55d8e1ca09e6055ea09f4fcd773a05245e7203f))
    • You no longer need to load Next.js instrumentation via @newrelic/next.
    • Instead you must load the agent via NODE_OPTIONS='-r newrelic' next start
Documentation
Miscellaneous chores
Tests
  • Removed mongodb-esm tests as they are not atomic and conflicting with mongodb tests in CI (#​2416) (e587b9d)
  • Updated minimum version of lesser used versions of 3rd party libraries (#​2399) (ef8c006)
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.23.2

Compare Source

Features
Bug fixes
  • Updated aws-sdk v3 instrumentation to load custom middleware last to properly get the external http span to add aws.* attributes (#​2382) (751801b)
  • Updated cassandra-driver instrumentation to properly trace promise based executions (#​2351) (bab9a8b)
Documentation
Miscellaneous chores
  • Always upload status logs in compatibility report CI (#​2341) (b3f1ee3)
Tests
  • Removed server.start in grpc tests as it is deprecated and no longer needed (#​2372) (d212b15)
  • Updated benchmark test results to output result files (#​2350) (1b51a68)
Continuous integration
  • Added benchmark test GitHub Action (#​2366) (afd3ab4)
  • Increased the limit of installs from 2 to a bigger number for versioned tests (#​2346) (f85a385)
  • Updated bin/create-docs-pr to create an empty array if changelog.json is missing security (#​2348) (7d5368c)
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.23.1

Compare Source

Bug fixes
  • Updated redis v4 instrumentation to work with transactions(multi/exec) (#​2343) (39eb842)
Documentation
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.23.0

Compare Source

v11.23.0 (2024-07-10)

Features
  • Added support for account level governance of AI Monitoring (#​2326) (7069335)
Code refactoring
Documentation
Miscellaneous chores
Tests
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.22.0

Compare Source

v11.22.0 (2024-06-28)

Features
Documentation
Miscellaneous chores
Tests
  • Updated undici versioned tests to assert an error is present and not the actual message (#​2299) (4e38ed4)
Continuous integration
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.21.0

Compare Source

v11.21.0 (2024-06-25)

Features
  • Added support for getting container ids from ECS metadata API (#​2292) (dbca830)
Bug fixes
  • Handled assigning headers in LambdaProxyWebRequest when there are no headers present (#​2293) (e4d22f3)
Documentation
Tests
  • Fixed log error stack message truncating and failing equality test (#​2294) (8e06f0f)
  • Updated shimmer method in benchmark tests (#​2281) (1528d68)
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.20.0

Compare Source

v11.20.0 (2024-06-24)

Features
Code refactoring
Documentation
Miscellaneous chores
Continuous integration
  • Added ability to run a build step in create release (#​2273) (4c2f24c)
  • Updated security agent workflow to use large runners when available (#​2271) (181ec1b)
  • Updated security agent workflow to use large runners when available (#​2270) (761fcd5)
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.19.0

Compare Source

v11.19.0 (2024-06-06)

Features
Miscellaneous chores
Tests
  • Migrated memcached tests to versioned tests (#​2231) (0b3a928)
  • Ported when and q integration tests to versioned tests (#​2233) (9a4dddc)
  • Updated ioredis tests to assert the host metric getting created on ioredis calls (#​2230) (89df06a)
  • Updated unit tests that were missing constructing specs at instrumentation source (#​2252) (54ab238)
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.18.0

Compare Source

Features
  • Added support for redis v4 legacyMode client.v4.<command> (#​2200) (b2284c5)
Code refactoring
  • Updated shim.recordConsume to use shim.record and added ability to invoke an after hook with callback args (#​2207) (4f48fc3)
Documentation
Miscellaneous chores
Tests
  • Updated langchain versioned tests to separate the vectorstore and other tests. This is to avoid peer resolution of @langchain/community package that is being used to test the elasticsearch vectorstore (#​2216) (e768955)
  • Fixed aws-sdk-v3 bedrock tests (#​2211) (050469e)
  • Fixed aws-sdk-v3 bedrock tests (again) (#​2212) (330cc4b)
Continuous integration
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.17.0

Compare Source

v11.17.0 (2024-05-15)

Features
  • Added otel compliant server.address, server.port, and http.request.method to external http spans (#​2169) (b0a3e6d)
  • Added otel compliant db.system, server.address, and server.port attributes to database spans (#​2173) (3fdcab4)
Bug fixes
Code refactoring
  • Updated instrumentation for http, undici, grpc to use a new segment.captureExternalAttributes to centralize the necessary data needed to create segment and span attributes (#​2179) (ddb6356)
Documentation
Miscellaneous chores
Continuous integration
  • Updated minimum version of lib-dynamo to work around peer dependency resolution (#​2174) (7ddf2c9)
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.16.0

Compare Source

v11.16.0 (2024-04-29)

Features
  • Added API ignoreApdex to ignore calculating apdex for the active transaction (#​2166) (cb21d2c)
Bug fixes
Security improvements
Documentation
Miscellaneous chores
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.15.0

Compare Source

Bug fixes
  • Fixed instrumenting the same module installed in different locations (#​2104) (88bdace)
Code refactoring
  • mongodb: Removed instrumentation that handles connecting via unix domain socket. (#​2129) (808323f)
  • Updated shim classes to no longer construct specs. (#​2096) (158c295)
Miscellaneous chores
Tests
  • Updated test/integration/core/dns reverse test to remove flakiness (#​2121) (c32cb27)
  • Updated elastic tests to skip broken version (#​2119) (5d0d1bb)
Continuous integration
  • Removed usage of use_new_release from prepare release workflow (#​2124) (007ddb4)
  • Updated prepare-release.js to not require changelog.json (#​2106) (328a570)
  • Updated prepare release to provide a drop down for release type (#​2133) (846269b)
  • Updated versioned security agent workflow (#​2100) (f787b15)
  • Fixed typo in constant name for prepare release script (#​2094) (3b887d9)
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.14.0

Compare Source

v11.14.0 (2024-03-20)

Features
  • Added guid attribute to TransactionError events (#​2079) (3468fb1)
  • Added instrumentation for initializeUnorderedBulkOp, and initializeOrderedBulkOp in mongodb 4+ (#​2086) (666ae6e)
  • Added support for Mongo v5+ (#​2085) (00f6feb)
Security improvements
Documentation
Miscellaneous chores
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.13.0

Compare Source

Features
  • Added AI Monitoring(AIM) for OpenAI, Amazon Bedrock, and Langchain.
    • To enable set config.ai_monitoring.enabled or NEW_RELIC_AI_MONITORING_ENABLED to true.
    • It is recommended for a full experience to set config.span_events.max_samples_stored to 10000, config.custom_insights_events.max_samples_stored to 100000, and config.distributed_tracing.enabled should not be set to false.
    • Note: Enabling high-security mode will disable the AIM instrumentation and events.
  • Added instrumentation for VectorStore.similaritySearch for langchain.js (#​2049) (3c50606)
  • Added setLlmTokenCountCallback API endpoint to register a callback for calculating token count when none is provided (#​2065) (d2faf1a)
  • Added token_count to LlmEmbedding and LlmChatCompletionMessage for openai (#​2061) (47a925e)
  • Added tool_id to langchain error event (#​2064) (793abe8)
Miscellaneous chores
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.12.0

Compare Source

Features
  • Added instrumentation for chain.stream for langchain js. (#​2052) (03abfce)
Miscellaneous chores
Tests
  • Updated aws-sdk branch to main as the necessary code was merged. (#​2051) (1e52a5c)
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.11.0

Compare Source

v11.11.0 (2024-02-27)

Features
  • Added instrumentation for RunnableSequence (#​1996) (71ffa37)

  • Added LangChain error events capture (#​2040) (4d0d839)

  • Added ai_monitoring.streaming.enabled. When set to false this will not instrument chat completion streams, thus it will not create relevant Llm events. (#​2021) (ff78b51)

  • Added ability to recordLlmFeedbackEvent by traceId (#​2043) (b0a4ed1)

  • Added instrumentation for langchain tools. (#​2009) (695d10e)

Code refactoring
  • Updated AIM instrumentation (#​2015) (d37d2a8)

    • removed capturing last 4 of api key
    • included all custom attributes prefixed with llm. as attributes on all Llm events
    • changed tracking metric to start with Supportability
  • Updated capturing conversation_id on Llm Events as llm.conversation_id (#​2020) (5f93f65)

  • Updated instrumentation to construct specs at source instead of within the shim methods (#​2035) (ead8c25)

    • Simplified the logic in shim.recordQuery and shim.recordOperation to reduce merging of spec properties and rely on the constructed spec
Documentation
Miscellaneous chores
Tests
  • Cleaned up pending mocks in the log dropping test to avoid a console warning around pending mocks in after each (#​2017) (d2f40c2)
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.10.4

Compare Source

Bug fixes
  • Resolved application logs getting blocked when an excessive payload is encountered (#​2013) (365ded4)
  • Updated Shim to properly calculate the _moduleRoot on windows environments (#​2014) (ab0bd7f)
Code refactoring
  • Abstracted registering of new aggregators into a Harvester class that is responsible for starting, stopping, updating all registered aggregators. (#​1994) (1fb85a6)
  • Refactored specs into classes for easier code navigation (#​2004) ([4daedc0](https://togithub.com

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

github-actions bot commented Jul 31, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-mesh/cli 0.92.8-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1 npm ↗︎ unpkg ↗︎
@graphql-mesh/http 0.100.7-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1 npm ↗︎ unpkg ↗︎
@graphql-mesh/hmac-upstream-signature 0.0.7-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-jwt-auth 0.0.8-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-newrelic 0.99.6-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-operation-headers 0.3.9-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-prometheus 0.102.9-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1 npm ↗︎ unpkg ↗︎
@graphql-mesh/serve-cli 0.8.9-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1 npm ↗︎ unpkg ↗︎
@graphql-mesh/serve-runtime 0.5.9-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1 npm ↗︎ unpkg ↗︎

Copy link
Contributor

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

💻 Website Preview

The latest changes are available as preview in: https://875f34fa.graphql-mesh.pages.dev

Copy link
Contributor

Published images for this PR are available at:

ghcr.io/ardatan/mesh-serve:0.8.9-alpha-20240731212710-7bf0f9d3d294db0cf96217c25810dc7cba4b06a1

Copy link
Contributor Author

renovate bot commented Jul 31, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@ardatan ardatan force-pushed the master branch 2 times, most recently from b78fdb4 to a1bfc49 Compare August 2, 2024 15:13
@ardatan ardatan closed this Aug 21, 2024
Copy link
Contributor Author

renovate bot commented Aug 21, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 12.x releases. But if you manually upgrade to 12.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/newrelic-12.x branch August 21, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant