Skip to content

Commit 362f254

Browse files
committed
Merge branch 'rename_activejob_segment' of https://github.com/newrelic/newrelic-ruby-agent into rename_activejob_segment
2 parents 34f8f61 + c834e55 commit 362f254

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22

33
## dev
44

5-
- **Breaking Change: Removed support for Ruby 2.4 and 2.5**
5+
- **Breaking Change: Remove support for Ruby 2.4 and 2.5**
66
Support for Ruby versions 2.4 and 2.5 has been removed. The new minimum required Ruby version is now 2.6. [PR#3314](https://github.com/newrelic/newrelic-ruby-agent/pull/3314)
77

88
- **Breaking Change: Rename ActiveJob metrics**
99
ActiveJob metrics have been updated to include the job's class name for more specific reporting. This is a breaking change and may require updating custom dashboards or alerts. [PR#3320](https://github.com/newrelic/newrelic-ruby-agent/pull/3320)
1010
- Old format: `Ruby/ActiveJob/<QueueName>/<Method>`
1111
- New format: `Ruby/ActiveJob/<ClassName>/<QueueName>/<Method>`
1212

13+
- **Breaking Change: Rename `bin/newrelic` command to `bin/newrelic_rpm`**
14+
The executable file for the agent's CLI has been renamed from `bin/newrelic` to `bin/newrelic_rpm`. This change resolves a name collision with the standalone New Relic CLI tool. [PR#3323](https://github.com/newrelic/newrelic-ruby-agent/pull/3323)
15+
1316
## v9.23.0
1417

1518
- **Feature: Add sidekiq.ignore_retry_errors configuration option**

bin/newrelic

Lines changed: 0 additions & 8 deletions
This file was deleted.

lib/new_relic/cli/command.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ def self.run
6060
options = ARGV.options do |opts|
6161
script_name = File.basename($0)
6262

63-
# TODO: MAJOR VERSION - remove newrelic, deprecated since version x.xx
64-
if /newrelic$/.match?(script_name)
65-
$stdout.puts "warning: the 'newrelic' script has been renamed 'newrelic_rpm'"
66-
script_name = 'newrelic_rpm'
67-
end
68-
6963
opts.banner = "Usage: #{script_name} [ #{@command_names.join(' | ')} ] [options]"
7064
opts.separator("use '#{script_name} <command> -h' to see detailed command options")
7165
opts

0 commit comments

Comments
 (0)