From c736f01d1f5d8e53e92556d8773524f2ff988ef2 Mon Sep 17 00:00:00 2001 From: Takuya Noguchi Date: Tue, 23 Aug 2022 06:56:55 +0000 Subject: [PATCH] Bundler: explain cancelled CLI deprecations clearly Signed-off-by: Takuya Noguchi --- bundler/UPGRADING.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/bundler/UPGRADING.md b/bundler/UPGRADING.md index e9edf130c592..db1ca4194d5a 100644 --- a/bundler/UPGRADING.md +++ b/bundler/UPGRADING.md @@ -25,7 +25,7 @@ I'll be dividing the deprecations into four groups: CLI deprecations, Helper deprecations, DSL deprecations, and misc deprecations. Let's dive into each of them. -#### CLI deprecations +### CLI deprecations The CLI defines a set of commands and options that can be used by our users to create command lines that bundler can understand. There's a number of changes @@ -82,7 +82,6 @@ in the upcoming 3 version. in favor of a `bin/console` script created by `bundle gem` on gem generation that users can tweak to their needs. -* ~The `bundle update` command will no longer update all gems, you'll need to pass `--all` to it.~ (postponed) * The `bundle install` command will no longer accept a `--binstubs` flag. @@ -94,7 +93,6 @@ in the upcoming 3 version. likely unused files into source control. Because of this, binstubs now must be created and checked into version control individually. -* ~The `bundle config` command has a new subcommand-based interface.~ (postponed) * The `bundle inject` command is deprecated and replaced with `bundle add`. @@ -103,7 +101,16 @@ in the upcoming 3 version. exactly the same in `bundle add`, so it should be easy to migrate to the new command. -#### Helper deprecations +#### Cancelled CLI deprecations + +These deprecations have been initally announced before, but the deprecations +were cancelled before the release of Bundler 2.1.0 in [rubygems/bundler#7475](https://github.com/rubygems/bundler/pull/7475). + +* ~The `bundle update` command will no longer update all gems, you'll need to pass `--all` to it.~ (postponed) + +* ~The `bundle config` command will no longer accept old subcommand-based interface before Bundler 2.1.~ (postponed) + +### Helper deprecations * `Bundler.clean_env`, `Bundler.with_clean_env`, `Bundler.clean_system`, and `Bundler.clean_exec` are deprecated.