Version 5.1.0
October 9, 2026
Added
- GraphQL:
foldLocations,foldLocationandfoldLocationCount, withnear: { lat, lng, radius, unit },openNow,group,groupId,hasCoordinatesandinStockOf(Pro + Commerce) arguments. Each location group is its own type (retail_FoldLocation) carrying its custom fields, and its own schema permission. Address, opening hours,openNow,distanceanddirectionsUrlcome back in the JSON endpoint's shape. - GraphQL is held to the JSON endpoint's limits: the radius is clamped to the widest the site offers,
and no more than
maxLimitrows are returned. - The Locations relation field is available in GraphQL, takes the same arguments, and only returns locations in groups the schema was granted.
- LocalBusiness structured data. Every location's own page gets schema.org JSON-LD in its
<head>— address, coordinates, telephone, opening hours, and upcoming holiday hours from dated exceptions — unless SEOmatic is installed. Controlled by the new Add LocalBusiness structured data to location pages setting (injectSchema, on by default). - A Schema.org type per location group (
Restaurant,AutoRepair,Store…), used as the structured data's@type. Blank meansLocalBusiness. craft.fold.schema(location)andcraft.fold.schemaData(location), andSchema::EVENT_DEFINE_SCHEMAfor adding properties Fold has no field for.