From 0af7fddf11b0c9032a34693b0dec946df68a37ff Mon Sep 17 00:00:00 2001 From: Joel Hawksley Date: Fri, 4 Apr 2025 08:50:06 -0600 Subject: [PATCH 1/2] update deprecation horizon to be 5.0.0 --- lib/view_component/deprecation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/view_component/deprecation.rb b/lib/view_component/deprecation.rb index bec827c91..d311960cd 100644 --- a/lib/view_component/deprecation.rb +++ b/lib/view_component/deprecation.rb @@ -3,6 +3,6 @@ require "active_support/deprecation" module ViewComponent - DEPRECATION_HORIZON = "4.0.0" + DEPRECATION_HORIZON = "5.0.0" Deprecation = ActiveSupport::Deprecation.new(DEPRECATION_HORIZON, "ViewComponent") end From 2b6b24e3f691788a9dba8817ab4a5220f01e38cf Mon Sep 17 00:00:00 2001 From: Joel Hawksley Date: Fri, 4 Apr 2025 08:51:03 -0600 Subject: [PATCH 2/2] update version to 4.0.0.alpha1 --- Gemfile.lock | 2 +- lib/view_component/version.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 91d7834a1..64b083010 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - view_component (3.22.0) + view_component (4.0.0.alpha1) activesupport (>= 7.1.0, < 8.1) concurrent-ruby (~> 1) diff --git a/lib/view_component/version.rb b/lib/view_component/version.rb index 6ec8823a3..84cf9d387 100644 --- a/lib/view_component/version.rb +++ b/lib/view_component/version.rb @@ -2,10 +2,10 @@ module ViewComponent module VERSION - MAJOR = 3 - MINOR = 22 + MAJOR = 4 + MINOR = 0 PATCH = 0 - PRE = nil + PRE = "alpha1" STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".") end