yarn newrelic 11.8.0
v11.8.0

latest releases: 11.18.0, 11.17.0, 11.16.0...
5 months ago

Features

  • Removed api.setLlmMetadata (#1918) (cc4a975)
    • It will be assigned via api.addCustomAttribute with a prefix of llm. * The conversation_id will now be assigned from llm.conversation_id custom attribute
  • Updated SQL obfuscation tokenizer to better handle negative numbers and boolean values.

Bug fixes

  • Ensure opts.headers is defined in http instrumentation (#1926) (7ea31a3)

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

  • deps: Updated @newrelic/security-agent to v0.6.0 (#1929) (4e09927)

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 use req.headers (#1923) (0ec2f66)
  • updated the cross agent tests, made updates to tests based on fixture changes (#1917) (2d666b6)
  • Updated helper.randomPort to use crypto.randomInt instead of Math.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/)

Don't miss a new newrelic release

NewReleases is sending notifications on new releases.