Skip to content

Commit

Permalink
Update CHANGELOG with version
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahramadan committed Sep 24, 2024
1 parent aaf2ea7 commit 60dcfc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Version <dev> adds Apache Kafka instrumentation for the rdkafka and ruby-kafka g

[PR#2851](https://github.com/newrelic/newrelic-ruby-agent/pull/2851)

- **Feature: Collect just MIME type from AcionDispatch requests**
- **Feature: Collect just MIME type for AcionDispatch 7.0+ requests**

Rails 7.0 [introduced changes](https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#actiondispatch-request-content-type-now-returns-content-type-header-as-it-is) to the behavior of `ActionDispatch::Request#content_type`, adding extra request-related details the agent wasn't expecting to collect. Additionally, the agent's use of `content_type ` was triggering deprecation warnings. The agent now uses `ActionDispatch::Request#media_type` to capture the MIME type. Thanks to [@internethostage](https://github.com/internethostage) for letting us know about this change. [Issue#2500](https://github.com/newrelic/newrelic-ruby-agent/issues/2500) [PR#2855](https://github.com/newrelic/newrelic-ruby-agent/pull/2855)

Expand Down

0 comments on commit 60dcfc9

Please sign in to comment.