Releases: newrelic/node-newrelic
v12.1.0
v12.1.0 (2024-08-12)
Bug fixes
- Pick log message from merging object in Pino instrumentation (#2421) (599072b)
- Added TLS verification for Redis (#2446) (9a16b70)
Documentation
- Updated compatibility report (#2440) (32abe5f)
- Updated examples to properly use specs (#2422) (f7e8c58)
- Fixed typo in doc header (#2433) (9726e23)
Miscellaneous chores
- Added entity relationship attributes to SQS segments (#2436) (578aead)
- Converted agent unit tests to node:test (#2414) (b32f793)
- Fixed mongodb-esm tests in combination with security agent (#2444) (5d617de)
- Limited superagent tests to avoid new breaking release (#2439) (f1dd8e7)
- Removed promise resolvers from callback based agent unit tests (#2450) (3766895)
Tests
- Moved pkgVersion to collection-common to avoid a conflict with ESM tests (#2438) (7260fa3)
- Restored mongodb-esm tests (#2434) (67a12e3)
- Updated custom test reporter to only log failed tests when there are failures (#2425) (baa37ec)
- Updated tls redis tests to work with older versions of redis v4 (#2454) (ffd9b17)
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/)
v12.0.0
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)- 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
- You no longer need to load Next.js instrumentation via
Documentation
Miscellaneous chores
- Added test configs for defined targets in the aws test suite (#2403) (cf514d9)
- Added producer and consumer metrics to kafkajs instrumentation (#2407) (41c1cc6)
- Switched to using Node built-in test runner (#2387) (b9f64b7)
- Updated
@newrelic/native-metrics
to 11.0.0 (#2412) (aef69e2) - Updated dashboard links in developer-setup.md (#2397) (16866da)
- Verified MySQL host:port metric is recorded (#2400) (74176f7)
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
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
- Removed examples/api/ (#2381) (fb964de)
- Removed out of date
ROADMAP_Node.md
from root of project (#2367) (4be870c) - Updated compatibility report (#2345) (f08adc3)
Miscellaneous chores
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
Bug fixes
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
v11.23.0 (2024-07-10)
Features
Code refactoring
- Removed redundant isExpected in the Exception class (#2328) (38f9825)
- Reduced duplication in the error-collector (#2323) (10581bf)
- Refactored benchmark tests to complete async functions (#2334) (57a4dfb)
Documentation
- Included commands and links for Mac setup (#2327) (6eddb72)
- Updated compatibility report (#2318) (3a910ef)
Miscellaneous chores
- Fixed copy paste error in post release workflow (#2329) (6f2da7a)
- Implemented split jobs for post release docs publishing (#2319) (c14ec3b)
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
v11.22.0 (2024-06-28)
Features
- Added support for Node 22(#2305) (0bf8908)
- Added AIM support for Meta Llama3 models in AWS Bedrock (#2306) (ff2e509)
Documentation
Miscellaneous chores
- Added @amychisholm03 to list of contributors 🎉 (#2310) (8a890f1)
- Forced re-creation of API docs on gh-pages (#2307) (917110a)
Tests
- Updated undici versioned tests to assert an error is present and not the actual message (#2299) (4e38ed4)
Continuous integration
- Added Node 22 to CI (#2164) (4b12d9e)
- Added Node 22 to smoke tests and nightly versioned test runs (#2316) (af00666)
- Moved the docs PR job to before api docs publish (#2300) (2e7252e)
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
v11.21.0 (2024-06-25)
Features
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
v11.20.0 (2024-06-24)
Features
Code refactoring
Documentation
Miscellaneous chores
- Added a missing library we instrument to be picked up by the compatibility report (#2261) (6c964b2)
- Added a script that generates Dashboard json for reporting on libraries by version (#2267) (d2877c1)
- Added AI support docs for automation (#2249) (e2efc1f)
- Fixed comment about transaction_tracer.transaction_threshold (#2258) (7cd6aef)
- Made elastic versioned tests work on Node 16 (#2284) (143b475)
- Updated docker compose configuration (#2268) (eb1cce9)
- Updated GitHub Actions versions (#2272) (07a841b)
- Updated mysql tests to use MySQL 8.3 (#2280) (11e0f8c)
- Updated mysql2 tests to fix CI issue (#2282) (5a37971)
- Updated versioned security agent workflow with simpler setup (#2259) (a886187)
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
v11.19.0 (2024-06-06)
Features
- Added instrumentation for
kafkajs
(enabled through a feature flag) (#2237) (#2244) (#2236) (#2236) (#2251)
Miscellaneous chores
- Added kafkajs instrumentation and versioned tests skeleton (#2224) (fc13916)
- Added kafkajs to compatibility list (#2254) (f003ee7)
- Implemented DT header injection for message specs (#2250) (3e6bc6d)
- Removed targets for kafka versioned tests (#2235) (838bab2)
- Updated flaky when test (#2241) (4079a0a)
- Updated readme to remove no longer relevant information (#2240) (01fb53c)
- Updated versioned tests due to update in @newrelic/security-agent V1.3.0 (#2239) (982276c)
Tests
- Migrated
memcached
tests to versioned tests (#2231) (0b3a928) - Ported
when
andq
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
Features
Code refactoring
- Updated
shim.recordConsume
to useshim.record
and added ability to invoke an after hook with callback args (#2207) (4f48fc3)
Documentation
Miscellaneous chores
- Removed outdated Slack reference (#2198) (8110d42)
- Removed package-lock.json (#2208) (b267695)
- Removed unused express5 feature flag (#2197) (366504b)
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
- Updated the langchain vectorstore test to reference the correct version of
@langchain/core
getting tested (#2202) (ed81852) - Added updating of docs site with compatibility table (#2205) (c28a938)
- Fixed CI jobs (#2215) (8b030fb)
- Fixed should-run CI step (#2214) (d0a481d)
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/)