@spree/docs 0.1.283 → 0.1.285

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.
@@ -121,7 +121,7 @@ Some resources expose convenience search scopes:
121
121
  |---|---|---|
122
122
  | Customers | `search` | Full-text over email + first/last name |
123
123
  | Customers | `with_min_total_spent` | Filter by lifetime spend |
124
- | Orders | `multi_search` | Number + email full-text |
124
+ | Orders | `search` | Number, purchase order and customer name (partial match); email (exact match) |
125
125
 
126
126
 
127
127
  ```typescript SDK
@@ -476,6 +476,7 @@ These were deprecated in 5.x and are **gone now** — there is no bridge, so cal
476
476
  | `Spree::Image::Configuration::ActiveStorage` | deleted — an empty no-op module; all logic lives in `Spree::Asset` |
477
477
  | `Spree::OrderRouting::Strategy::Legacy` | `Spree::OrderRouting::Strategy::Rules` (see below) |
478
478
  | `private_metafields` association | read `custom_fields` and filter, or query `Spree::CustomField.admin_only` |
479
+ | `multi_search` (`Product`, `Variant`, `Order`, customers; also `q[multi_search]` in the Admin API) and `Searchable.sanitize_query_for_multi_search` / `.multi_search_condition` | `search` / `q[search]`, `sanitize_query_for_search` / `search_condition`. Saved exports or links still using `multi_search` lose their filter |
479
480
 
480
481
  ### Custom fields replace metafields
481
482
 
@@ -708,7 +709,7 @@ Every transactional email now renders from a Liquid template written in MJML ins
708
709
  Other changes that come with it:
709
710
 
710
711
  - **Subjects moved into the templates.** Each template's front matter holds its subject. `Spree::BaseMailer#order_email_subject` is removed.
711
- - **The mailer view helpers are removed.** `Spree::MailHelper` (`name_for`), `Spree::BaseHelper` (`spree_storefront_resource_url`), `Spree::FulfillmentHelper` and `Spree::DigitalAssetHelper` are gone. Templates get the same values as serializer fields, such as `order.customer_name` and `item.url`.
712
+ - **The mailer view helpers are removed.** `Spree::MailHelper` (`name_for`), `Spree::BaseHelper` (`spree_storefront_resource_url`), `Spree::FulfillmentHelper` and `Spree::DigitalAssetHelper` are gone, and so are `spree_image_tag` and `spree_asset_aspect_ratio` from `Spree::ImagesHelper` (`spree_image_url` stays). Templates get the same values as serializer fields, such as `order.customer_name` and `item.url`.
712
713
  - **Every email has a plain-text part**, generated from the HTML. Seven emails that had none now have one.
713
714
  - **Alba moved into `spree_core`**, with its configuration, so core's staff emails render in installations without `spree_api`.
714
715
  - **Your own mailers keep working.** A mailer that inherits `Spree::BaseMailer` and calls `mail` with its own ERB views is wrapped in the new email layout, and the `spree/shared/mailer_hero` and `mailer_button` partials remain for its views. See [Your own mailers](../customization/emails.md#your-own-mailers).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spree/docs",
3
- "version": "0.1.283",
3
+ "version": "0.1.285",
4
4
  "description": "Spree Commerce developer documentation for AI agents and local reference",
5
5
  "type": "module",
6
6
  "license": "CC-BY-4.0",