@spree/docs 0.1.301 → 0.1.303
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.
|
@@ -36,6 +36,7 @@ npx create-spree-app@latest my-store --no-seller-dashboard --no-storefront --no-
|
|
|
36
36
|
| Flag | Description |
|
|
37
37
|
|------|-------------|
|
|
38
38
|
| `--no-dashboard` | Skip the admin dashboard app — the API still serves the built-in one at `/dashboard` |
|
|
39
|
+
| `--seller-dashboard` | Include the marketplace seller panel without asking |
|
|
39
40
|
| `--no-seller-dashboard` | Skip the marketplace seller panel |
|
|
40
41
|
| `--no-storefront` | Skip Next.js storefront setup |
|
|
41
42
|
| `--no-start` | Don't start Docker services after scaffolding |
|
|
@@ -574,6 +574,10 @@ These had no caller left in Spree, so they are removed with no replacement shim.
|
|
|
574
574
|
| `Spree::Carts::Empty` and `cart_empty_service` | remove items through the Store API cart items endpoints, or delete the cart with `Spree.cart_destroy_service` |
|
|
575
575
|
| `Spree::Payments::Create` and `payment_create_service` | the Store API payments endpoint, `Spree::StoreCredits::Apply` or `Spree.gift_card_apply_workflow` |
|
|
576
576
|
|
|
577
|
+
### Products no longer touch their categories
|
|
578
|
+
|
|
579
|
+
Saving or touching a product used to bump the `updated_at` of each of its categories and their parents, through `Spree::Products::TouchCategoriesJob` (formerly `TouchTaxonsJob`). That kept the old Rails storefront's page caches fresh. The Store API doesn't need it: a category's response has no product data, and product responses are cached on the products' own timestamps. Both jobs are removed. If your own code caches product data under a category's `cache_key_with_version`, include the products' timestamps in that key instead. Jobs still queued from before the upgrade fail with an unknown class error and can be discarded.
|
|
580
|
+
|
|
577
581
|
### The Legacy order-routing strategy is gone
|
|
578
582
|
|
|
579
583
|
`Spree::OrderRouting::Strategy::Legacy` — the pre-5.5 escape hatch that delegated straight to `Spree::Stock::Coordinator` and consulted no routing rules — is removed and no longer registered in `Spree.order_routing.strategies`.
|