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

Release v9.7.1 #1448

Closed
wants to merge 4 commits into from
Closed

Release v9.7.1 #1448

wants to merge 4 commits into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 5, 2022

Proposed Release Notes

  • Reintroduced throttled reading of dependency tree at startup to prevent EMFILE issues.

  • Improved Restify support

    • Added a new test stanza to run restify >=10 on Node 18.
    • Update our versioned tests to support Restify 9.0.0.
  • Enhanced agent to lay foundation for supporting for Code Level Metrics via Codestream. Note that while changes have been made to the agent for Codestream, this integration is not fully finished and should not be used.

    • Attached code level metrics attributes to middleware spans when config.code_level_metrics.enabled is true.
    • Added configuration option to toggle Code Level Metrics: code_level_metrics.enabled.
      • It defaults to false.
      • The environment variable is NEW_RELIC_CODE_LEVEL_METRICS_ENABLED.
    • Added a utility to retrieve Code Level Metrics(CLM) metadata from a function reference.
  • Improved the readability and maintainability of agent by reducing the Cognitive Complexity of various aspects of the agent.

    • Refactored the Exception class and its helpers to reduce the cognitive complexity. Additionally, fixed all JSDoc warnings.
    • Updated deep equality check to use native util.isDeepStrictEqual().
    • Refactored Error Collector to reduce complexity and fixed/added JSDocs.
    • Reduced cognitive complexity in lib/config/attribute-filter.js and enhance JSDocs.
    • Refactored lib/system-info.js to reduce complexity by switching to async/await instead of callbacks for async control.
    • Addressed cognitive complexity and jsdoc issues in lib/agent.js.
    • Addressed cognitive complexity and jsdoc issues in api.js.
  • added newrelic.noticeError() example to our API docs.

  • Upgraded @grpc/grpc-js from 1.6.9 to 1.7.3.

  • Upgraded @grpc/proto-loader from 0.6.13 to 0.7.3.

  • Removed deprecated and failing suites from benchmark tests.

  • Updated code coverage to upload all reports at end of CI run.

Links

Details

@CLAassistant
Copy link

CLAassistant commented Dec 5, 2022

CLA assistant check
All committers have signed the CLA.

@jmartin4563 jmartin4563 closed this Dec 5, 2022
@jmartin4563 jmartin4563 reopened this Dec 5, 2022
@codecov
Copy link

codecov bot commented Dec 5, 2022

Codecov Report

Merging #1448 (9371c56) into main (9c508a5) will increase coverage by 3.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1448      +/-   ##
==========================================
+ Coverage   93.15%   96.36%   +3.21%     
==========================================
  Files         177      196      +19     
  Lines       36040    37918    +1878     
  Branches       23       23              
==========================================
+ Hits        33572    36540    +2968     
+ Misses       2468     1378    -1090     
Flag Coverage Δ
esm-unit-tests-14.x 47.57% <ø> (ø)
esm-unit-tests-16.x 92.14% <ø> (ø)
esm-unit-tests-18.x 92.14% <ø> (ø)
integration-tests-14.x 77.60% <ø> (ø)
integration-tests-16.x 77.71% <ø> (+0.01%) ⬆️
integration-tests-18.x 77.71% <ø> (+<0.01%) ⬆️
unit-tests-14.x 90.17% <ø> (ø)
unit-tests-16.x 90.24% <ø> (ø)
unit-tests-18.x 90.22% <ø> (ø)
versioned-tests-14.x 75.08% <ø> (?)
versioned-tests-16.x 76.45% <ø> (?)
versioned-tests-18.x 76.45% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/instrumentation/mongodb/common.js 93.17% <0.00%> (ø)
lib/instrumentation/ioredis.js 89.36% <0.00%> (ø)
lib/instrumentation/winston.js 100.00% <0.00%> (ø)
lib/instrumentation/@hapi/vision.js 93.33% <0.00%> (ø)
lib/instrumentation/@redis/client.js 100.00% <0.00%> (ø)
lib/instrumentation/nr-winston-transport.js 100.00% <0.00%> (ø)
lib/instrumentation/mongodb/v2-mongo.js 98.23% <0.00%> (ø)
lib/instrumentation/restify.js 95.00% <0.00%> (ø)
lib/instrumentation/mongodb/v3-mongo.js 100.00% <0.00%> (ø)
lib/instrumentation/cassandra-driver.js 100.00% <0.00%> (ø)
... and 36 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jmartin4563 jmartin4563 closed this Dec 5, 2022
@jmartin4563 jmartin4563 deleted the release/v9.7.1 branch December 5, 2022 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants