From cd45e96ebc4c6c29f9dec858571f56fd6f4243c3 Mon Sep 17 00:00:00 2001 From: Rosa Gutierrez Date: Thu, 5 Sep 2024 18:33:54 +0200 Subject: [PATCH] Bump solid_queue to 0.8.0 And add instructions about this upgrade. --- Gemfile.lock | 2 +- UPGRADING.md | 3 +++ lib/solid_queue/version.rb | 2 +- solid_queue.gemspec | 6 ++++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9fdb05ab..407b80da 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - solid_queue (0.7.1) + solid_queue (0.8.0) activejob (>= 7.1) activerecord (>= 7.1) concurrent-ruby (>= 1.3.1) diff --git a/UPGRADING.md b/UPGRADING.md index 62f7f926..eedfcb27 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -1,3 +1,6 @@ +# Upgrading to version 0.8.x +*IMPORTANT*: This version collapsed all migrations into a single `db/queue_schema.rb`, that will use a separate `queue` database. If you're upgrading from a version < 0.6.0, you need to upgrade to 0.6.0 first, ensure all migrations are up-to-date, and then upgrade further. + # Upgrading to version 0.7.x This version removed the new async mode introduced in version 0.4.0 and introduced a new binstub that can be used to start Solid Queue's supervisor. diff --git a/lib/solid_queue/version.rb b/lib/solid_queue/version.rb index a06a8f37..0c902771 100644 --- a/lib/solid_queue/version.rb +++ b/lib/solid_queue/version.rb @@ -1,3 +1,3 @@ module SolidQueue - VERSION = "0.7.1" + VERSION = "0.8.0" end diff --git a/solid_queue.gemspec b/solid_queue.gemspec index b3e742bc..953c781a 100644 --- a/solid_queue.gemspec +++ b/solid_queue.gemspec @@ -11,9 +11,11 @@ Gem::Specification.new do |spec| spec.license = "MIT" spec.post_install_message = <<~MESSAGE - Upgrading to Solid Queue 0.4.x, 0.5.x, 0.6.x or 0.7.x? There are some breaking changes about how Solid Queue is started, - configuration and new migrations. Check https://github.com/rails/solid_queue/blob/main/UPGRADING.md + Upgrading to Solid Queue 0.8.0 from < 0.6.0? You need to upgrade to 0.6.0 first. Check https://github.com/rails/solid_queue/blob/main/UPGRADING.md for upgrade instructions. + + Upgrading to Solid Queue 0.4.x, 0.5.x, 0.6.x or 0.7.x? There are some breaking changes about how Solid Queue is started, + configuration and new migrations. MESSAGE spec.metadata["homepage_uri"] = spec.homepage