Skip to content

Commit

Permalink
Merge pull request #774 from newrelic/bump_version_8_0_0
Browse files Browse the repository at this point in the history
Bump version to 8.0.0
  • Loading branch information
kaylareopelle authored Sep 9, 2021
2 parents 5b5b941 + 2b3cd44 commit 4e9cf72
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* **Deprecate cross application tracing**

[Cross application tracing](https://docs.newrelic.com/docs/agents/ruby-agent/features/cross-application-tracing-ruby/) is deprecated in favor of [distributed tracing](https://docs.newrelic.com/docs/distributed-tracing/enable-configure/language-agents-enable-distributed-tracing/) and is off by default.
[Cross application tracing](https://docs.newrelic.com/docs/agents/ruby-agent/features/cross-application-tracing-ruby/) (CAT) is deprecated in favor of [distributed tracing](https://docs.newrelic.com/docs/distributed-tracing/enable-configure/language-agents-enable-distributed-tracing/) and is off by default.

* **Update configuration option default value for `span_events.max_samples_stored` from 1000 to 2000**

Expand All @@ -44,6 +44,18 @@

Upon connection to the New Relic servers, the agent will now enforce a maximum value allowed for the configuration option [`span_events.max_samples_stored`](https://docs.newrelic.com/docs/agents/ruby-agent/configuration/ruby-agent-configuration/#span_events-max_samples_stored) sent from the New Relic servers.

* **Remove Ruby 2.0 required kwarg compatibility checks**

Our agent has code that provides compatibility for required keyword arguments in Ruby versions below 2.1. Since the agent now only supports Ruby 2.2+, this code is no longer required.

* **Replace Time.now with Process.clock_gettime**

Calls to `Time.now` have been replaced with calls to `Process.clock_gettime` to leverage the system's built-in clocks for elapsed time (`Process::CLOCK_MONOTONIC`) and wall-clock time (`Process::CLOCK_REALTIME`). This results in fewer object allocations, more accurate elapsed time records, and enhanced performance. Thanks to @sdemjanenko and @viraptor for advocating for this change!
* **Updated generated default newrelic.yml**
Thank you @wyhaines and @creaturenex for your contribution. The default newrelic.yml that the agent can generate is now updated with commented out examples of all configuration options.
* **Bugfix: Psych 4.0 causes errors when loading newrelic.yml**
Psych 4.0 now uses safe load behavior when using `YAML.load` which by default doesn't allow aliases, causing errors when the agent loads the config file. We have updated how we load the config file to avoid these errors.
Expand Down
4 changes: 2 additions & 2 deletions lib/new_relic/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def self.build_version_string(*parts)
parts.compact.join('.')
end

MAJOR = 7
MINOR = 2
MAJOR = 8
MINOR = 0
TINY = 0

begin
Expand Down

0 comments on commit 4e9cf72

Please sign in to comment.