From 1cf7c98be2501d8274f26bb5c12fe96f3c01178d Mon Sep 17 00:00:00 2001 From: Tanna McClure Date: Tue, 22 Aug 2023 13:58:06 -0700 Subject: [PATCH 1/2] Update CHANGELOG.md Co-authored-by: James Bunch --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1296bc552d..06473d0f3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## dev -Version allows the agent to record the http status code on a transaction when middleware instrumentation is disabled and fixes a bug in `NewRelic::Rack::AgentHooks.needed?. +Version allows the agent to record the http status code on a transaction when middleware instrumentation is disabled and fixes a bug in `NewRelic::Rack::AgentHooks.needed?`. - **Feature: Transactions now report http status codes when middleware instrumentation is disabled** From d71461d42b0369ef468cf3741f28119df630eae4 Mon Sep 17 00:00:00 2001 From: Tanna McClure Date: Tue, 22 Aug 2023 13:58:14 -0700 Subject: [PATCH 2/2] Update CHANGELOG.md Co-authored-by: James Bunch --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06473d0f3e..3bb609c389 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ Version allows the agent to record the http status code on a transaction w - **Feature: Transactions now report http status codes when middleware instrumentation is disabled** - Previously, if `disable_middleware_instrumentation` is set to true, the agent would not record the value of the response code on the transaction. This was due to the possibility that a middleware could be used that might alter the response, which would not be captured by the agent if the middleware instrumentation is disabled. However, based on customer feedback, the agent will now report the http status code on a transaction still when middleware instrumentation is disabled. [PR#2175](https://github.com/newrelic/newrelic-ruby-agent/pull/2175) + Previously, if `disable_middleware_instrumentation` is set to `true`, the agent would not record the value of the response code on the transaction. This was due to the possibility that a middleware could be used that might alter the response, which would not be captured by the agent if the middleware instrumentation is disabled. However, based on customer feedback, the agent will now report the http status code on a transaction still when middleware instrumentation is disabled. [PR#2175](https://github.com/newrelic/newrelic-ruby-agent/pull/2175) - **Bugfix: Resolve inverted logic of `NewRelic::Rack::AgentHooks.needed?`** Previously, `NewRelic::Rack::AgentHooks.needed?` was incorrectly using inverted logic. This has now been resolved. [PR#2175](https://github.com/newrelic/newrelic-ruby-agent/pull/2175)