From 1cf7f14ebea0d5599d5b04564df2282a97ee0bb5 Mon Sep 17 00:00:00 2001 From: wychoong <67364036+wychoong@users.noreply.github.com> Date: Tue, 19 May 2026 12:58:56 +0800 Subject: [PATCH 1/2] Document search indexers changes Added notes on unreleased changes regarding optimized default search indexer relationships and their impact. --- 1.x/getting-started/overview/upgrade-guide.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/1.x/getting-started/overview/upgrade-guide.mdx b/1.x/getting-started/overview/upgrade-guide.mdx index 413345c..9b6edd6 100644 --- a/1.x/getting-started/overview/upgrade-guide.mdx +++ b/1.x/getting-started/overview/upgrade-guide.mdx @@ -37,6 +37,22 @@ Review the version-specific notes below for any additional steps required by the --- +## Unreleased + +### Medium Impact + +#### Optimised default search indexer relationship select + +Indexer now eager-loads only the columns each indexer uses in `toSearchableArray()`. Search output is unchanged. +If you using default search indexers there are not action required. +If you implmented custom indexers by extending Lunar's indexer, please review `makeAllSearchableUsing()` method + +Indexers updated — CustomerIndexer, OrderIndexer, ProductIndexer, ProductOptionIndexer + +Unchanged — BrandIndexer, CollectionIndexer + +--- + ## 1.3 ### Low Impact From fc5052c14a81353c5a080f484c0ada75d4393050 Mon Sep 17 00:00:00 2001 From: Glenn Jacobs Date: Tue, 19 May 2026 16:40:54 +0100 Subject: [PATCH 2/2] Update upgrade-guide.mdx --- .../overview/upgrade-guide.mdx | 25 +++++++------------ 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/1.x/getting-started/overview/upgrade-guide.mdx b/1.x/getting-started/overview/upgrade-guide.mdx index ac22b6c..495be3e 100644 --- a/1.x/getting-started/overview/upgrade-guide.mdx +++ b/1.x/getting-started/overview/upgrade-guide.mdx @@ -37,22 +37,6 @@ Review the version-specific notes below for any additional steps required by the --- -## Unreleased - -### Medium Impact - -#### Optimised default search indexer relationship select - -Indexer now eager-loads only the columns each indexer uses in `toSearchableArray()`. Search output is unchanged. -If you using default search indexers there are not action required. -If you implmented custom indexers by extending Lunar's indexer, please review `makeAllSearchableUsing()` method - -Indexers updated — CustomerIndexer, OrderIndexer, ProductIndexer, ProductOptionIndexer - -Unchanged — BrandIndexer, CollectionIndexer - ---- - ## 1.5 @@ -135,6 +119,15 @@ The previous `lunarphp/filament3-2fa` package is no longer required and can be r ### Medium Impact +#### Optimized default search indexer relationship select + +The default search indexers now eager-load only the columns each indexer uses in `toSearchableArray()`. Search output is unchanged, so no action is required when using the default indexers. + +Projects with custom indexers that extend Lunar's indexers should review their `makeAllSearchableUsing()` method to confirm the required columns are still selected. + +- Indexers updated: `CustomerIndexer`, `OrderIndexer`, `ProductIndexer`, `ProductOptionIndexer`. +- Indexers unchanged: `BrandIndexer`, `CollectionIndexer`. + #### Shipping method cutoff replaced by availability schedule The `cutoff` column on `shipping_methods` has been removed. Method availability is now controlled through a dedicated availability schedule, offering finer control over when each shipping method is offered. A migration drops the column and Lunar's migration state copies any existing cutoff value into a schedule entry.