Rails 5.2 support
The Ruby agent has been validated against the latest release of Ruby on Rails!
Support for newer libraries and frameworks
We have updated the multiverse suite to test the agent against current versions of several frameworks.
This option is enabled by default. When it's disabled, custom attributes will not be transmitted on transaction events or error events.
Fix Grape load order dependency
The agent will now choose the correct name for Grape transactions even if the customer's app loads the agent before Grape. Thanks to Daniel Doubrovkine for the contribution!
webpacker:compileto blacklisted tasks
webpacker:compileis commonly used for compiling assets. It has been added to
AUTOSTART_BLACKLISTED_RAKE_TASKSin the default configuration. Thanks to Claudio B. for the contribution!
Make browser instrumentation W3C-compliant
<script>tag under W3C. The
typeattribute has now been removed from browser instrumentation. Thanks to Spharian for the contribution!
If a third-party library calls
add_method_tracerbefore the agent has finished starting, we now queue these calls and run them when it's safe to do so (rather than skipping them and logging a warning).
Bugfix for Resque
In rare cases, the agent was not instrumenting Resque
beforehooks. This version fixes the error.
Truncation of long stack traces
Occasionally, long stack traces would cause complications sending data to New Relic. This version truncates long traces to 50 frames (split evenly between the top and bottom of the trace).