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.2 #1450

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,69 @@
### v9.7.2 (2022-12-06)

* Reintroduced throttling during reading of instrumented application's dependency tree during 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.

* Laid foundation for supporting Code Level Metrics via [Codestream](https://docs.newrelic.com/docs/codestream/how-use-codestream/performance-monitoring/). Note that this integration is not fully finished and should not be used.

* Improved the readability and maintainability of agent by reducing the [Cognitive Complexity](https://www.sonarsource.com/resources/cognitive-complexity/) of various aspects of the agent.

* 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 async from benchmark tests, fixed failing benchmark suites, and removed deprecated suite.

* added `noticeError` example for our API docs

--- NOTES NEEDS REVIEW ---
<h3>Snyk has created this PR to upgrade @grpc/grpc-js from 1.6.9 to 1.7.3.</h3>

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
--------------------------

--- NOTES NEEDS REVIEW ---
<h3>Snyk has created this PR to upgrade @grpc/proto-loader from 0.6.13 to 0.7.3.</h3>

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
--------------------------

* Added a new test stanza to run restify >=10 on Node 18.

Removed deprecated and failing suites from benchmark tests.

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

* 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`.

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

* Added a utility to retrieve Code Level Metrics(CLM) metadata from a function reference.

* 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

* Update our versioned tests to support Restify 9.0.0

* addressed cognitive complexity and jsdoc issues in lib/agent.js

* addressed cognitive complexity and jsdoc issues in api.js

### v9.7.1 (2022-12-06)

* Reintroduced throttling during reading of instrumented application's dependency tree during startup, to prevent EMFILE issues.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newrelic",
"version": "9.7.1",
"version": "9.7.2",
"author": "New Relic Node.js agent team <nodejs@newrelic.com>",
"license": "Apache-2.0",
"contributors": [
Expand Down