From 2cb2cffc262ff4bb06961c01c95289b1896955c5 Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Thu, 27 Apr 2023 10:31:23 -0300 Subject: Raise Ruby version requirement to 3.0 Ruby 2.7 is tagged End of Life (not even security maintanence) since this month. We (Highline) traditionally try to maintain compatibility with old rubies. But rubies bellow 2.7.1 lack "io/console" or they have incompatibilities. (as discussed in PR #259) So, this EOL of 2.7 signal to us that is time for us to move on. People relying on old versions of Highline will probably face no problem with it. But we will be free to start removing old code that is necessary only for retrocompatibility in newer versions. --- highline.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/highline.gemspec b/highline.gemspec index e19f557..b463d69 100644 --- a/highline.gemspec +++ b/highline.gemspec @@ -27,7 +27,7 @@ DESCRIPTION spec.extra_rdoc_files = %w[README.md TODO Changelog.md LICENSE] - spec.required_ruby_version = ">= 2.3" + spec.required_ruby_version = ">= 3.0" spec.add_development_dependency "bundler" spec.add_development_dependency "rake" -- cgit v1.2.1 From ec85e5cecba57beeb8d977e275843f7415ce273b Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Thu, 27 Apr 2023 11:31:57 -0300 Subject: Bump up version to 3.0.0.pre.1 --- lib/highline/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/highline/version.rb b/lib/highline/version.rb index 6237a5a..83de267 100644 --- a/lib/highline/version.rb +++ b/lib/highline/version.rb @@ -2,5 +2,5 @@ class HighLine # The version of the installed library. - VERSION = "2.1.0".freeze + VERSION = "3.0.0.pre.1".freeze end -- cgit v1.2.1 From 16a8ced4c14b7e0ffcb341c4b3df0b9e1e1fb620 Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Thu, 27 Apr 2023 11:39:32 -0300 Subject: Update changelog --- Changelog.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Changelog.md b/Changelog.md index cafba85..7df8e70 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,13 +2,18 @@ Below is a complete listing of changes for each revision of HighLine. -### Unreleased 2.2.0.develop.1 -* PR #258 / I #246 - Add validation class support +### 3.0.0.pre.1 / 2023-04-27 +* PR #263 - Release 3.0.0.pre.1 + * Raise minimum Ruby version requirement to 3.0 +* PR #262 - Do not call stty on non-tty (@kbrock) +* PR #260 / I #43 - Ctrl-U (erase line) handling (@abinoam, issue by @gutenye) +* PR #259 / I #236 - Handle Ctrl-C when Question#echo = false (@abinoam, @Fahhetah, issue by @aspyct) +* PR #258 / I #246 - Add validation class support (@abinoam, issue by @Joshfindit) * Make it dry-types compatible through the use of `#valid?` - * Solve the multiple answers in one line problem with a combination of - custom coercion (parser) and custom validation -* PR #257 / I #233 - Show Question#default hint for non String values (@abinoam) + * Solve the multiple answers in one line problem with a combination of custom coercion (parser) and custom validation +* PR #257 / I #233 - Show Question#default hint for non String values (@abinoam, issue by @branch14) * Add Question#default_hint_show to allow disabling it. +* PR #256 / I #249 - Fix Array validation in Question#in (@abinoam, issue by @esotericpig) ### 2.1.0 / 2022-12-31 * PR #255 - Change minimum Ruby version requirement to 2.3 (@abinoam) -- cgit v1.2.1 From d2e29c00e51e90273ad09857958c5ec06693cf9d Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Thu, 27 Apr 2023 11:42:18 -0300 Subject: Remove unsupported rubies from ci.yml --- .github/workflows/ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0553039..4ed10df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,6 @@ jobs: - '3.2' - '3.1' - '3.0' - - '2.7' - - '2.6' - - '2.5' - - '2.4' - - '2.3' - jruby - jruby-head - truffleruby -- cgit v1.2.1