Skip to content

Commit 380b1fd

Browse files
committed
Rename bin/newrelic to bin/newrelic_rpm
1 parent 3122c47 commit 380b1fd

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,9 +2,12 @@
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

8+
- **Breaking Change: Rename bin/newrelic command**
9+
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)
10+
811
## v9.23.0
912

1013
- **Feature: Deprecation notice for recording deployments using Capistrano**

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
@@ -61,12 +61,6 @@ def self.run
6161
options = ARGV.options do |opts|
6262
script_name = File.basename($0)
6363

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

0 commit comments

Comments
 (0)