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
The jobs used here are referenced in custom ActiveJob serializers in other apps (specifically, merchant-to-merchant). Due to how they were being included and loaded here and some changes in Rails 8.1 (registering custom serializers earlier), those serializers were not being properly registered. Updating to a more modern version of rails and allow rails to handle to load paths fixed the problem.
It's worth saying here: rails maintainers do not intend for you to load things like ActiveRecord::Base or ActiveJob::Base during initialization. Doing so is not a good practice and may result in unitended bugs / side effects.
Add development dependencies for updated versions: Starting with Ruby 3.4, CSV (along with other libraries like mutex_m, base64, bigdecimal, and drb) has been completely removed from the standard library and must be explicitly added as a gem dependency. When you use require "rails/all" in your test dummy app (test/dummy/config/application.rb:5), Rails loads various components that may depend on CSV for functionality like CSV export features in ActiveRecord.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
Unreleased
2
2
----------
3
+
- ⚠️ [Breaking] Bumps minimum supported Rails version to 7.1 & Ruby version to 3.2; moves jobs from `lib` to `app` to fix loading issues with modern rails versions. [#2020](https://github.com/Shopify/shopify_app/pull/2020)
3
4
- ⚠️ [Breaking] Removes `ShopifyApp::JWTMiddleware` and `ShopifyApp::JWT` See [Upgrading](/docs/Upgrading.md) for more migration. [1960](https://github.com/Shopify/shopify_app/pull/1960)
4
5
- ⚠️ [Breaking] Removed deprecated `CallbackController` methods. `perform_after_authenticate_job`, `install_webhooks`, and `perform_post_authenticate_jobs` have been removed. [#1961](https://github.com/Shopify/shopify_app/pull/1961)
5
6
- ⚠️ [Breaking] Bumps minimum supported Ruby version to 3.1 [#1959](https://github.com/Shopify/shopify_app/pull/1959)
0 commit comments