spree_core 6.0.4 → 6.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/app/jobs/spree/imports/create_rows_job.rb +4 -2
  3. data/app/jobs/spree/imports/process_rows_job.rb +4 -2
  4. data/app/jobs/spree/products/auto_match_taxons_job.rb +5 -2
  5. data/app/jobs/spree/search_provider/index_job.rb +8 -0
  6. data/app/jobs/spree/search_provider/remove_job.rb +3 -0
  7. data/app/jobs/spree/stock_locations/stock_items/create_job.rb +5 -2
  8. data/app/mailers/spree/base_mailer.rb +1 -1
  9. data/app/models/concerns/spree/acted_by.rb +2 -2
  10. data/app/models/concerns/spree/customer_methods.rb +6 -4
  11. data/app/models/concerns/spree/deprecated_customer_alias.rb +11 -3
  12. data/app/models/concerns/spree/derived_number.rb +1 -1
  13. data/app/models/concerns/spree/has_custom_fields.rb +12 -10
  14. data/app/models/concerns/spree/integrations_concern.rb +5 -3
  15. data/app/models/concerns/spree/label_translatable.rb +4 -4
  16. data/app/models/concerns/spree/metadata.rb +3 -3
  17. data/app/models/concerns/spree/presentation_translatable.rb +1 -1
  18. data/app/models/concerns/spree/purchase/addresses.rb +8 -5
  19. data/app/models/concerns/spree/purchase/deprecated_aliases.rb +2 -2
  20. data/app/models/concerns/spree/stores/markets.rb +4 -2
  21. data/app/models/concerns/spree/user_address.rb +5 -2
  22. data/app/models/concerns/spree/user_methods.rb +2 -2
  23. data/app/models/spree/address.rb +29 -14
  24. data/app/models/spree/asset.rb +3 -3
  25. data/app/models/spree/base.rb +1 -1
  26. data/app/models/spree/calculator/shipping/flat_rate.rb +6 -4
  27. data/app/models/spree/cart.rb +2 -2
  28. data/app/models/spree/category.rb +8 -6
  29. data/app/models/spree/classification.rb +2 -2
  30. data/app/models/spree/current.rb +19 -0
  31. data/app/models/spree/custom_field.rb +6 -6
  32. data/app/models/spree/custom_field_definition.rb +10 -7
  33. data/app/models/spree/delivery_method.rb +21 -15
  34. data/app/models/spree/delivery_rate.rb +1 -1
  35. data/app/models/spree/digital.rb +1 -1
  36. data/app/models/spree/digital_asset.rb +2 -2
  37. data/app/models/spree/digital_link.rb +4 -4
  38. data/app/models/spree/export.rb +29 -2
  39. data/app/models/spree/fulfillment/custom_events.rb +18 -10
  40. data/app/models/spree/fulfillment.rb +30 -23
  41. data/app/models/spree/fulfillment_item.rb +3 -3
  42. data/app/models/spree/fulfilment_changer.rb +1 -1
  43. data/app/models/spree/gift_card.rb +12 -12
  44. data/app/models/spree/import.rb +23 -15
  45. data/app/models/spree/import_row.rb +6 -6
  46. data/app/models/spree/inventory_unit.rb +1 -1
  47. data/app/models/spree/invitation.rb +8 -4
  48. data/app/models/spree/line_item.rb +10 -8
  49. data/app/models/spree/media.rb +2 -2
  50. data/app/models/spree/metafield.rb +1 -1
  51. data/app/models/spree/metafield_definition.rb +1 -1
  52. data/app/models/spree/metafields.rb +2 -2
  53. data/app/models/spree/option_type.rb +26 -0
  54. data/app/models/spree/option_value.rb +3 -3
  55. data/app/models/spree/order.rb +87 -45
  56. data/app/models/spree/order_inventory.rb +2 -2
  57. data/app/models/spree/order_merger.rb +2 -2
  58. data/app/models/spree/order_updater.rb +34 -20
  59. data/app/models/spree/payment.rb +8 -8
  60. data/app/models/spree/payment_method.rb +11 -9
  61. data/app/models/spree/price.rb +19 -8
  62. data/app/models/spree/price_list.rb +12 -6
  63. data/app/models/spree/price_rules/zone_rule.rb +1 -1
  64. data/app/models/spree/product.rb +26 -24
  65. data/app/models/spree/product_category.rb +3 -3
  66. data/app/models/spree/promotion/rules/category.rb +27 -10
  67. data/app/models/spree/promotion/rules/country.rb +1 -1
  68. data/app/models/spree/promotion/rules/taxon.rb +4 -2
  69. data/app/models/spree/promotion/rules/user.rb +1 -1
  70. data/app/models/spree/promotion_action.rb +1 -1
  71. data/app/models/spree/promotion_rule_category.rb +5 -5
  72. data/app/models/spree/promotion_rule_taxon.rb +2 -2
  73. data/app/models/spree/prototype.rb +4 -1
  74. data/app/models/spree/return_authorization_reason.rb +3 -3
  75. data/app/models/spree/return_reason.rb +1 -1
  76. data/app/models/spree/search_provider/base.rb +2 -2
  77. data/app/models/spree/search_provider.rb +7 -5
  78. data/app/models/spree/shipment.rb +4 -1
  79. data/app/models/spree/shipping_method.rb +4 -1
  80. data/app/models/spree/shipping_rate.rb +1 -1
  81. data/app/models/spree/stock/coordinator.rb +2 -2
  82. data/app/models/spree/stock/estimator.rb +7 -5
  83. data/app/models/spree/stock/package.rb +10 -8
  84. data/app/models/spree/stock_item.rb +1 -1
  85. data/app/models/spree/stock_level/custom_events.rb +1 -1
  86. data/app/models/spree/stock_level.rb +1 -1
  87. data/app/models/spree/stock_location.rb +12 -8
  88. data/app/models/spree/stock_movement.rb +6 -6
  89. data/app/models/spree/stock_reservation.rb +5 -5
  90. data/app/models/spree/store.rb +42 -16
  91. data/app/models/spree/store_credit.rb +2 -2
  92. data/app/models/spree/store_credit_category.rb +5 -5
  93. data/app/models/spree/store_credit_type.rb +2 -2
  94. data/app/models/spree/subscriber.rb +7 -7
  95. data/app/models/spree/tax_rate.rb +5 -5
  96. data/app/models/spree/taxon.rb +3 -3
  97. data/app/models/spree/taxon_rule.rb +2 -2
  98. data/app/models/spree/taxonomy.rb +1 -1
  99. data/app/models/spree/variant.rb +12 -10
  100. data/app/models/spree/variant_media.rb +1 -1
  101. data/app/models/spree/wished_item.rb +1 -1
  102. data/app/models/spree/wishlist.rb +2 -2
  103. data/app/models/spree/wishlist_item/custom_events.rb +2 -2
  104. data/app/models/spree/zone.rb +1 -1
  105. data/app/models/spree/zone_member.rb +1 -1
  106. data/app/services/spree/carts/associate.rb +6 -2
  107. data/app/services/spree/carts/create.rb +1 -1
  108. data/app/services/spree/carts/destroy.rb +1 -1
  109. data/app/services/spree/carts/remove_item.rb +1 -1
  110. data/app/services/spree/carts/remove_line_item.rb +2 -2
  111. data/app/services/spree/carts/remove_out_of_stock_items.rb +3 -1
  112. data/app/services/spree/carts/set_quantity.rb +2 -2
  113. data/app/services/spree/carts/update.rb +17 -0
  114. data/app/services/spree/checkout/add_store_credit.rb +3 -3
  115. data/app/services/spree/checkout/remove_store_credit.rb +2 -2
  116. data/app/services/spree/imports/row_processors/product_variant.rb +19 -0
  117. data/app/services/spree/orders/approve.rb +3 -3
  118. data/app/services/spree/orders/create_user_account.rb +2 -2
  119. data/app/services/spree/products/auto_match_taxons.rb +5 -2
  120. data/app/services/spree/shipments/update.rb +2 -2
  121. data/app/services/spree/stock_locations/stock_items/create.rb +5 -2
  122. data/app/services/spree/stock_reservations/extend.rb +3 -1
  123. data/app/services/spree/stock_reservations/reserve.rb +3 -1
  124. data/app/services/spree/taxons/add_products.rb +4 -2
  125. data/app/services/spree/taxons/regenerate_products.rb +5 -2
  126. data/app/services/spree/taxons/remove_products.rb +4 -2
  127. data/app/workflows/spree/carts/add_item.rb +1 -1
  128. data/app/workflows/spree/carts/recalculate.rb +1 -1
  129. data/app/workflows/spree/fulfillments/update.rb +1 -1
  130. data/app/workflows/spree/orders/cancel.rb +3 -1
  131. data/app/workflows/spree/payments/capture.rb +2 -2
  132. data/app/workflows/spree/seller_transfers/create.rb +1 -1
  133. data/config/locales/en.yml +4 -0
  134. data/db/migrate/20260710000001_rename_taxons_to_categories.rb +1 -1
  135. data/db/migrate/20260728000004_rename_shipping_to_fulfillment_and_delivery.rb +1 -1
  136. data/db/migrate/20260806000001_add_store_id_to_spree_tax_rates_and_categories.rb +1 -1
  137. data/db/migrate/20260807130001_add_country_state_codes_to_consumers.rb +1 -1
  138. data/db/migrate/20260809000001_rename_metafields_to_custom_fields.rb +1 -1
  139. data/db/migrate/20260809150001_promote_shipping_categories_to_delivery_profiles.rb +1 -1
  140. data/db/migrate/20260811000001_add_delivery_tracking_to_fulfillments.rb +1 -1
  141. data/db/migrate/20260824000001_add_store_to_spree_media.rb +1 -1
  142. data/db/migrate/20260828100001_unify_import_and_export_tenancy.rb +1 -1
  143. data/db/migrate/20261016000001_remove_default_from_spree_tax_rates_included_in_price.rb +1 -1
  144. data/lib/spree/agent_tools/default_catalog.rb +2 -2
  145. data/lib/spree/agent_tools/legacy_tools.rb +1 -1
  146. data/lib/spree/core/dependencies.rb +10 -10
  147. data/lib/spree/core/engine.rb +4 -0
  148. data/lib/spree/core/number_generator.rb +4 -3
  149. data/lib/spree/core/preferences/preferable.rb +1 -1
  150. data/lib/spree/core/preferences/preferable_class_methods.rb +5 -1
  151. data/lib/spree/core/pricing/resolver.rb +2 -2
  152. data/lib/spree/core/version.rb +1 -1
  153. data/lib/spree/core.rb +37 -10
  154. data/lib/spree/i18n.rb +6 -2
  155. data/lib/spree/localized_number.rb +1 -1
  156. data/lib/spree/removed_apis.rb +274 -0
  157. data/lib/spree/reporting/default_vocabulary.rb +1 -1
  158. data/lib/spree/testing_support/factories/digital_asset_factory.rb +1 -1
  159. data/lib/spree/testing_support/factories/stock_level_factory.rb +1 -1
  160. data/lib/spree/testing_support/factories/taxon_factory.rb +1 -1
  161. data/lib/spree/testing_support/factories/taxonomy_factory.rb +1 -1
  162. data/lib/spree/testing_support/factories/wishlist_item_factory.rb +1 -1
  163. data/lib/spree/testing_support/i18n.rb +7 -2
  164. data/lib/spree/testing_support/order_walkthrough.rb +5 -2
  165. data/lib/spree/upgrades/5_6_to_6_0/manifest.yml +14 -14
  166. data/lib/tasks/carts_migration.rake +1 -1
  167. data/lib/tasks/categories_and_collections.rake +1 -1
  168. data/lib/tasks/deliveries_migration.rake +1 -1
  169. data/lib/tasks/delivery_method_rules_migration.rake +1 -1
  170. data/lib/tasks/delivery_migration.rake +1 -1
  171. data/lib/tasks/delivery_profiles_migration.rake +2 -2
  172. data/lib/tasks/fold_store_credit_categories.rake +1 -1
  173. data/lib/tasks/migrate_country_state_codes.rake +1 -1
  174. data/lib/tasks/migrate_returns.rake +4 -4
  175. data/lib/tasks/migrate_rich_text_to_columns.rake +1 -1
  176. data/lib/tasks/store_settings.rake +1 -1
  177. data/lib/tasks/typed_stock_movements_migration.rake +1 -1
  178. metadata +7 -6
@@ -68,7 +68,7 @@ steps:
68
68
  polymorphic type column an extension points at media rows.
69
69
 
70
70
  Run immediately after db:migrate. Spree::Asset stays readable as a
71
- deprecated alias until 6.1, so code referencing it keeps working either
71
+ deprecated alias until 6.3, so code referencing it keeps working either
72
72
  way; this step is about the stored strings.
73
73
 
74
74
  Idempotent — rows already saying Spree::Media are left alone.
@@ -205,7 +205,7 @@ steps:
205
205
 
206
206
  Only copies where an Action Text row exists, so content already in the
207
207
  column is never overwritten. Source rows are left in place as the rollback
208
- path and are dropped with the Action Text tables in 6.1. Idempotent.
208
+ path and are dropped with the Action Text tables in 6.3. Idempotent.
209
209
 
210
210
  - id: migrate_shipping_to_delivery
211
211
  name: "Backfill fulfillment & delivery naming"
@@ -247,7 +247,7 @@ steps:
247
247
  inside the other profile if both links were intended. Run after
248
248
  migrate_shipping_to_delivery (it reads the backfilled fulfillment
249
249
  providers). Idempotent — processed rows gain a store_id and drop out of
250
- the work set. spree_shipping_method_categories survives to 6.1 as the
250
+ the work set. spree_shipping_method_categories survives to 6.3 as the
251
251
  source and rollback reference.
252
252
 
253
253
  - id: migrate_fulfillment_statuses
@@ -388,7 +388,7 @@ steps:
388
388
  Reads the legacy tables by name (the legacy models are gone in 6.0) and
389
389
  writes history without validation, so rows referencing deleted variants
390
390
  or stock locations still copy. The legacy tables stay in place as a
391
- safety net and are dropped in 6.1.
391
+ safety net and are dropped in 6.3.
392
392
 
393
393
  Resumable by construction: the legacy number is copied onto the new
394
394
  record and uniquely indexed there, so the task scopes itself to the
@@ -437,7 +437,7 @@ steps:
437
437
  a fulfillment shipped before the task runs never gets an allocation,
438
438
  and dispatch only ships allocated units, so its stock is never
439
439
  decremented twice. originator_type and originator_id stay in place as
440
- the rollback path and are dropped in 6.1. Tune the load size with
440
+ the rollback path and are dropped in 6.3. Tune the load size with
441
441
  BATCH_SIZE (default 5000).
442
442
 
443
443
  - id: backfill_delivery_and_stock_store_ids
@@ -446,7 +446,7 @@ steps:
446
446
  notes: |
447
447
  Delivery methods and stock locations carry a store_id in Spree 6.
448
448
  Unassigned rows go to the default store; additional stores manage
449
- their own records afterwards. The NOT NULL constraints land in 6.1.
449
+ their own records afterwards. The NOT NULL constraints land in 6.3.
450
450
  Idempotent.
451
451
 
452
452
  - id: migrate_tax_zones
@@ -476,7 +476,7 @@ steps:
476
476
  afterwards. Category names become unique per store rather than globally,
477
477
  so installs that relied on global names may need to reconcile duplicates
478
478
  once several stores hold tax configuration. The NOT NULL constraints land
479
- in 6.1. Idempotent.
479
+ in 6.3. Idempotent.
480
480
 
481
481
  - id: backfill_market_tax_inclusive
482
482
  name: "Decide whether each market's prices include tax"
@@ -524,7 +524,7 @@ steps:
524
524
  orders that predate markets. Channel needs no step here — the 5.4→5.5
525
525
  manifest's channels step already backfills channel_id on every upgrade
526
526
  path. Run before the cart conversion so converted carts inherit
527
- resolved values. The NOT NULL constraints on spree_orders land in 6.1.
527
+ resolved values. The NOT NULL constraints on spree_orders land in 6.3.
528
528
  Idempotent.
529
529
 
530
530
  - id: migrate_incomplete_orders_to_carts
@@ -573,7 +573,7 @@ steps:
573
573
  a non-default value of its own.
574
574
 
575
575
  Remove the settings from your initializer afterwards — the globals are
576
- deprecated and are deleted in 6.1.
576
+ deprecated and are deleted in 6.3.
577
577
 
578
578
  Idempotent: each store is visited at most once, recorded in its metadata,
579
579
  so a later run never undoes a change made in the dashboard after the
@@ -594,8 +594,8 @@ steps:
594
594
  own setting. Run after store_settings_backfill_from_config so the store
595
595
  they inherit from already holds the right value.
596
596
 
597
- The auto_capture column stays readable as a fallback for one release and
598
- is dropped in 6.1. Idempotent — only rows without a capture_method are
597
+ The auto_capture column stays readable as a fallback until 6.3 and
598
+ is dropped in 6.3. Idempotent — only rows without a capture_method are
599
599
  written.
600
600
 
601
601
  - id: store_regional_settings
@@ -642,7 +642,7 @@ steps:
642
642
  originator (return, exchange, claim, gift card) plus the memo, so this
643
643
  copies each legacy category name into the memo of credits that have
644
644
  none. Admin-written memos are never overwritten. Idempotent, and a
645
- no-op once the legacy tables are dropped in 6.1.
645
+ no-op once the legacy tables are dropped in 6.3.
646
646
 
647
647
  - id: migrate_stripe_webhook_keys
648
648
  name: "Move Stripe webhook signing secrets onto the gateway"
@@ -660,7 +660,7 @@ steps:
660
660
  Until this runs, a gateway carrying a pre-6.0 endpoint has no signing
661
661
  secret and rejects incoming webhooks. Idempotent — gateways that already
662
662
  hold a secret are skipped, and the legacy tables stay in place as a
663
- rollback path until they are dropped in 6.1.
663
+ rollback path until they are dropped in 6.3.
664
664
 
665
665
  - id: migrate_paypal_payments
666
666
  name: "Give PayPal payments taken before 6.0 the PayPal order id"
@@ -711,7 +711,7 @@ steps:
711
711
  are invisible to every scoped query, including the admin list.
712
712
 
713
713
  The owner_type/owner_id columns stay in place as this step's source and
714
- its rollback path; they are dropped in 6.1, along with the deprecated
714
+ its rollback path; they are dropped in 6.3, along with the deprecated
715
715
  Import#owner reader. Exports need no data step — they have always had a
716
716
  store, and their seller_id column is new for everyone.
717
717
 
@@ -29,7 +29,7 @@ namespace :spree do
29
29
  stats = Hash.new(0)
30
30
 
31
31
  # spree_state_changes has no model anymore (removed in 6.0; the table
32
- # survives until 6.1 as legacy data), so read it anonymously.
32
+ # survives until 6.3 as legacy data), so read it anonymously.
33
33
  state_changes = Class.new(ActiveRecord::Base) { self.table_name = 'spree_state_changes' }
34
34
 
35
35
  incomplete = Spree::Order.unscoped.where(completed_at: nil, canceled_at: nil)
@@ -132,7 +132,7 @@ namespace :spree do
132
132
  puts "\n migrated #{migrated}, skipped #{skipped}, failed #{failed}. (Manual categories stay as categories.)"
133
133
 
134
134
  # Sever the taxonomy structure from the surviving (manual) categories — in 6.0
135
- # categories are store-owned; Taxonomy + the taxonomy_id column drop in 6.1.
135
+ # categories are store-owned; Taxonomy + the taxonomy_id column drop in 6.3.
136
136
  puts 'Severing taxonomy links from surviving categories...'
137
137
 
138
138
  # Drop legacy taxonomy roots (parentless, taxonomy-backed containers) left with no
@@ -14,7 +14,7 @@ namespace :spree do
14
14
  created = 0
15
15
  skipped = 0
16
16
 
17
- # The column is dropped in 6.1; until then the model reads tracking from
17
+ # The column is dropped in 6.3; until then the model reads tracking from
18
18
  # the delivery, so the legacy value is read straight off the row.
19
19
  fulfillments = Spree::Fulfillment.unscoped.
20
20
  where.not(tracking: [nil, '']).
@@ -3,7 +3,7 @@
3
3
  # 5.6 → 6.0: fold the FlatRate calculator's eligibility bound preferences
4
4
  # into DeliveryMethodRule rows (docs/plans/6.0-delivery-method-rules.md).
5
5
  # The calculator preferences keep working as a deprecation bridge through
6
- # 6.0; this task moves the data so the bridge can drop in 6.1.
6
+ # 6.0; this task moves the data so the bridge can drop in 6.3.
7
7
  namespace :spree do
8
8
  desc 'Convert FlatRate calculator eligibility bounds into delivery method rules'
9
9
  task migrate_calculator_bounds_to_delivery_method_rules: :environment do
@@ -11,7 +11,7 @@ namespace :spree do
11
11
  say = ->(message) { puts message }
12
12
 
13
13
  # 1. Stored polymorphic class names. spree_state_changes has no model
14
- # anymore (removed in 6.0; the table survives until 6.1 as legacy data),
14
+ # anymore (removed in 6.0; the table survives until 6.3 as legacy data),
15
15
  # so it is read through an anonymous ActiveRecord class.
16
16
  state_changes = Class.new(ActiveRecord::Base) { self.table_name = 'spree_state_changes' }
17
17
 
@@ -7,7 +7,7 @@
7
7
  # deliberately left out: store assignment, kind detection, folding
8
8
  # non-narrowing categories into the store default, and re-homing methods
9
9
  # from the legacy method↔category m:n (spree_shipping_method_categories,
10
- # which survives to 6.1 as this task's source and rollback reference).
10
+ # which survives to 6.3 as this task's source and rollback reference).
11
11
  namespace :spree do
12
12
  desc 'Assign 5.x shipping-category rows their store, kind and methods as delivery profiles'
13
13
  task migrate_delivery_profiles: :environment do
@@ -104,6 +104,6 @@ namespace :spree do
104
104
  puts "store #{store.code}: #{count} unassigned products moved to the default profile" if count.positive?
105
105
  end
106
106
 
107
- puts 'migrate_delivery_profiles done. spree_shipping_method_categories is kept until 6.1 as the rollback reference.'
107
+ puts 'migrate_delivery_profiles done. spree_shipping_method_categories is kept until 6.3 as the rollback reference.'
108
108
  end
109
109
  end
@@ -6,7 +6,7 @@ namespace :spree do
6
6
  credit exists is its originator (return, exchange, claim, gift card)
7
7
  plus the free-text memo — so this keeps the only information a
8
8
  category row held visible in the dashboard once the column and table
9
- are dropped in 6.1.
9
+ are dropped in 6.3.
10
10
 
11
11
  Only credits with a blank memo are touched, so nothing an admin wrote
12
12
  is overwritten. Idempotent — a credit whose memo is already filled is
@@ -1,5 +1,5 @@
1
1
  # Defined here rather than in lib/spree/core/ — this is a one-release upgrade
2
- # step that dies with the country and state tables in 6.1, not engine
2
+ # step that dies with the country and state tables in 6.3, not engine
3
3
  # infrastructure. Same placement as Spree::ReturnsMigrator in a sibling task.
4
4
  module Spree
5
5
  # Copies country and state foreign keys onto the ISO string columns that
@@ -1,5 +1,5 @@
1
1
  # Defined here rather than in lib/spree/core/ — this is a one-release upgrade
2
- # step that dies with the legacy tables in 6.1, not engine infrastructure.
2
+ # step that dies with the legacy tables in 6.3, not engine infrastructure.
3
3
  # Same placement as Spree::TypedAdjustmentsMigration in the sibling task.
4
4
  module Spree
5
5
  # Copies the legacy ReturnAuthorization chain onto the 6.0 Return and
@@ -28,7 +28,7 @@ module Spree
28
28
  @failed = []
29
29
  # Schema facts, fixed for the life of the run. The column outlives the
30
30
  # table by a release: Spree::Refund stopped declaring the association
31
- # in 6.0 and the column drops in 6.1.
31
+ # in 6.0 and the column drops in 6.3.
32
32
  @relink_refunds = connection.table_exists?('spree_reimbursements') &&
33
33
  connection.column_exists?(Spree::Refund.table_name, :reimbursement_id)
34
34
  end
@@ -248,7 +248,7 @@ module Spree
248
248
  #
249
249
  # Addresses spree_refunds.reimbursement_id by column name rather than
250
250
  # through the association: Spree::Refund no longer declares it in 6.0,
251
- # and the column itself is dropped in 6.1.
251
+ # and the column itself is dropped in 6.3.
252
252
  def relink_refunds(items, record)
253
253
  return unless @relink_refunds
254
254
 
@@ -281,7 +281,7 @@ namespace :spree do
281
281
 
282
282
  Reads the legacy tables by name through throwaway model classes; the
283
283
  legacy models themselves are deleted in 6.0. The tables stay in place as
284
- a rollback safety net and drop in 6.1.
284
+ a rollback safety net and drop in 6.3.
285
285
 
286
286
  A row that can't be converted is reported and skipped so one bad
287
287
  authorization doesn't stop the batch, but the task then aborts, because
@@ -22,7 +22,7 @@ namespace :spree do
22
22
  Idempotent — a row whose column already matches the sanitized Action Text
23
23
  body is skipped, and writes go through +update_all+ so timestamps and
24
24
  webhooks don't churn. Source rows are left in place as the rollback path and
25
- are dropped with the Action Text tables in 6.1.
25
+ are dropped with the Action Text tables in 6.3.
26
26
  DESC
27
27
  task migrate_rich_text_to_columns: :environment do
28
28
  # Action Text is not loaded by Spree any more — 6.0 stores rich text in its
@@ -58,7 +58,7 @@ namespace :spree do
58
58
  Idempotent: each store is copied to at most once and stores already
59
59
  carrying a non-default value are left alone, so a merchant's own change
60
60
  is never overwritten. Remove the settings from your initializer
61
- afterwards — the globals are deprecated and are deleted in 6.1.
61
+ afterwards — the globals are deprecated and are deleted in 6.3.
62
62
  DESC
63
63
  task backfill_from_config: :environment do
64
64
  changed = Spree::StoreSettingsBackfill::MOVED_SETTINGS.reject do |name, config|
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Defined here rather than in lib/spree/core/ — this is a one-release upgrade
4
- # step that dies with the polymorphic originator in 6.1, not engine
4
+ # step that dies with the polymorphic originator in 6.3, not engine
5
5
  # infrastructure. Same placement as Spree::ReturnsMigrator in a sibling task.
6
6
  module Spree
7
7
  # Types the legacy stock-movement history and reconciles open fulfillments
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.4
4
+ version: 6.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2026-11-12 00:00:00.000000000 Z
13
+ date: 2026-11-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: i18n-tasks
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 6.0.0.rc2
145
+ version: 6.0.0.rc3
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 6.0.0.rc2
152
+ version: 6.0.0.rc3
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: friendly_id
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -2101,6 +2101,7 @@ files:
2101
2101
  - lib/spree/migrations.rb
2102
2102
  - lib/spree/money.rb
2103
2103
  - lib/spree/number_generators/registry.rb
2104
+ - lib/spree/removed_apis.rb
2104
2105
  - lib/spree/reporting.rb
2105
2106
  - lib/spree/reporting/adapters/base.rb
2106
2107
  - lib/spree/reporting/adapters/live.rb
@@ -2356,9 +2357,9 @@ licenses:
2356
2357
  - BSD-3-Clause
2357
2358
  metadata:
2358
2359
  bug_tracker_uri: https://github.com/spree/spree/issues
2359
- changelog_uri: https://github.com/spree/spree/releases/tag/v6.0.4
2360
+ changelog_uri: https://github.com/spree/spree/releases/tag/v6.0.5
2360
2361
  documentation_uri: https://spreecommerce.org/docs/
2361
- source_code_uri: https://github.com/spree/spree/tree/v6.0.4
2362
+ source_code_uri: https://github.com/spree/spree/tree/v6.0.5
2362
2363
  post_install_message:
2363
2364
  rdoc_options: []
2364
2365
  require_paths: