You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Upgrading.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ This file documents important changes needed to upgrade your app's Shopify App v
8
8
9
9
[Unreleased](#unreleased)
10
10
11
+
[Upgrading to `v23.0.0`](#upgrading-to-v2300)
12
+
11
13
[Upgrading to `v22.2.0`](#upgrading-to-v2220)
12
14
13
15
[Upgrading to `v22.0.0`](#upgrading-to-v2200)
@@ -54,14 +56,14 @@ Additionally, ActiveJob classes have been moved from `lib/shopify_app/jobs/` to
54
56
55
57
##### Why this change was made
56
58
57
-
Rails 7.1+ improved autoloading behavior (via Zeitwerk) now properly handles jobs in the `app/jobs/` directory, loading them lazily when needed rather than eagerly during initialization.
59
+
Rails 7.1+'s improved autoloading behavior (via Zeitwerk) properly handles jobs in the `app/jobs/` directory, loading them lazily when needed rather than eagerly during initialization.
58
60
59
61
##### Migration steps
60
62
61
63
**For most apps**: No changes needed. The jobs are internal to the gem and will be autoloaded correctly by Rails.
62
64
63
65
**If your app has custom ActiveJob serializers that reference these jobs**:
64
-
1. Ensure you're on Rails 7.1+ before upgrading. [Rails 7.1 Upgrade Guide](https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-7-0-to-rails-7-1))
66
+
1. Ensure you're on Rails 7.1+ before upgrading. [Rails 7.1 Upgrade Guide](https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-7-0-to-rails-7-1)
65
67
2. Coordinate deployment timing with apps that have custom serializers
66
68
3. Custom serializers will now register before jobs are loaded (correct timing)
-**SQLite**: Development dependency updated from `~> 1.4` to `2.x`
80
-
-**Ruby 3.4+**: New development dependencies added: `csv`, `mutex_m` (removed from Ruby 3.4 stdlib)
81
+
-**sprockets-rails**: Now a required runtime dependency. Most Rails apps already include this, but if your app uses an alternative asset pipeline (e.g., Propshaft), you may need to add `sprockets-rails` to your Gemfile.
81
82
82
83
#### (v23.0.0) - Deprecated methods in CallbackController
83
84
The following methods from `ShopifyApp::CallbackController` have been deprecated in `v23.0.0`
0 commit comments