Features
- Removed
api.setLlmMetadata
(#1918) (cc4a975)- It will be assigned via
api.addCustomAttribute
with a prefix ofllm.
* The conversation_id will now be assigned fromllm.conversation_id
custom attribute
- It will be assigned via
- Updated SQL obfuscation tokenizer to better handle negative numbers and boolean values.
Bug fixes
Code refactoring
- Updated
lib/instrumentation/core/http.js
to reduce the cognitive complexity to an allowable value (#1922) (4c30d97) - Updated
lib/shim/promise-shim.js
to reduce the cognitive complexity (#1924) (bd0a5dc) - Updated
lib/shim/webframework-shim.js
to reduce the cognitive complexity (#1927) (1ce371e)
Miscellaneous chores
Tests
- Refactored tests that were still using the tap mocha shim + chai to now use tap. (#1919) (957529e)
- removed access to deprecated
req._headers
and instead usereq.headers
(#1923) (0ec2f66) - updated the cross agent tests, made updates to tests based on fixture changes (#1917) (2d666b6)
- Updated
helper.randomPort
to usecrypto.randomInt
instead ofMath.random
by using crypto lib (#1921) (9003791)
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/)