Skip to content

Modular logistics and supply chain operating system (LSOS)

release/v0.7.71 (#725)

Ron89ff7c34c336
diff --git a/RELEASE.md b/RELEASE.md
index c74f2af5..66e87be9 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -1,18 +1,18 @@
-> v0.7.70 ~ "Manage realtime socket authentication from the console"
+> v0.7.71 ~ "API containers start again on FrankenPHP 1.13"
---
## Highlights
-- **Socket settings in the admin console.** Configure → Socket now shows the socket server's status and recent authorization denials. It lets system administrators turn socket authentication on and choose the mode (`off`, `log`, `enforce`) without restarting anything. The shared auth key stays in the environment and is never shown.
-
-- **The socket server applies settings at runtime.** With `SOCKETCLUSTER_AUTH_KEY` set, `fleetbase/fleetbase-socket` polls the API's signed `GET int/v1/socket/config` (every `SOCKETCLUSTER_CONFIG_POLL_SECONDS`, default 30) and applies the switch, mode and origins without a restart. Entering `enforce` disconnects every client once so their subscriptions are re-authorized. `/stats` reports the effective config and the top channel-authorization denials, which the console shows. Helm gains `socketcluster.configUrl` and `configPollSeconds`; docker-compose needs nothing new. (#722, core-api #314)
-- **Fix: the socket test console escapes event content** instead of rendering it as HTML. (#722)
+- **Fix: API containers exited 127 on startup with Octane 2.22.** Octane 2.22.0 requires FrankenPHP 1.13.0 and checks the binary every time `octane:frankenphp` starts. On the old 1.12.4 base image it moved `/usr/local/bin/frankenphp` aside, downloaded a generic build to a different path, deleted the original and then ran the path it had emptied (`exec: /usr/local/bin/frankenphp: not found`). The image now builds on `dunglas/frankenphp:1.13.1-php8.2-bookworm` and locks Octane `2.22.0`.
+- **The API image build fails if Octane and FrankenPHP disagree.** `docker/scripts/assert-frankenphp-version.php` runs after `composer install` and compares Octane's required FrankenPHP version with the binary in the image. A mismatch now fails the build and names both versions, instead of crash-looping containers after deploy. Octane is held to a minor range (`~2.22.0`), so a new Octane minor version arrives only with a deliberate bump, together with the base image.
+- **Fleet-Ops: address lookup works when the Google Maps key is set in the console.** The geocoder endpoints returned `[]` whenever the key was set in settings instead of the environment, which broke the coordinates and autocomplete inputs. Every geocoding path now uses the settings-backed key. (fleetops #408, #409; fixes #723)
+- **Core API: extensions can add searchable columns at runtime** (core-api #317).
---
## Component Versions
-- `console`: `0.7.70`
-- `core-api`: `1.6.71`
-- `fleetops`: `0.6.73`
+- `console`: `0.7.71`
+- `core-api`: `1.6.72`
+- `fleetops`: `0.6.74`
- `storefront`: `0.4.27`
- `registry-bridge`: `0.1.11`
- `ledger`: `0.0.13`
@@ -24,35 +24,18 @@
- `iam-engine`: `0.1.13`
---
-## Core API `1.6.71`
-- **Socket settings from the console** (#314): `GET`/`POST int/v1/settings/socket` and the signed `GET int/v1/socket/config` the socket server polls. The key stays in the environment.
-- **A controller's filter is used for every query it serves** (#315): under Octane the first controller to list a model decided the filter for every other, so a Storefront network's Orders page listed every order in the company.
-- **Live and test-mode data no longer share API cache entries** (#312): cache keys carry the database connection.
-- **Driver-assigned lifecycle events reach `driver.{public_id}` and `driver.{uuid}`** (#311); `driverAssigned.*` is still published and deprecated.
-- Internal Category responses include `parent_uuid` (#316), which Storefront's nested categories build their tree from.
-
-## FleetOps `0.6.73`
-- **Fix: creating a driver or contact with a test API key returned 500** (#404): only the columns the sandbox tables have are copied.
-- **Fix: manifest lookups are scoped to the caller's organization** (#403).
-- **Fix: the proof-of-delivery dashboard widget loads** (#407): it requested a path that did not exist.
-
-## Storefront `0.4.27` (`0.4.26` + `0.4.27`)
-- **QPay orders keep the customer's note** (#159): the app saves the note on the checkout before paying (`PUT storefront/v1/checkouts/notes`), and every way an order is created takes it from there when none comes with the capture. Notes are trimmed and capped at 2,000 characters. **The customer's note leads the order panel** in a highlighted box, with line breaks kept and callable phone numbers; staff notes stay in the Notes section. **Opening a network order no longer swaps the list for its loading skeleton.** (#159)
-- **Nested categories** up to three levels for products and catalogs, with parent and depth on the public API and product rollup into parent categories (#156). **Catalog categories have icons** (#155). Category icon uploads no longer write the file record into `icon` (#157).
-- **QPay orders complete in the published app again** (#158): a status request without `verify` checks with QPay and creates the order straight away.
-- **New stores and networks show straight away** in the switcher (#148). **Network orders open at their own URL** and the in-place order panel scrolls (#149). **Settings save after a toggle** (#152). A network's saved gateways and notification channels show after a refresh (#154).
-- **A truck's status decides whether it takes orders**; new trucks start inactive (#153). **Truck orders are marked** with `meta.food_truck` (#150).
+## Core API `1.6.72`
+- **Searchable columns registered at runtime** (#317): `Searchable::addSearchableColumns([...])` (static, per model class) merges extra columns into a model's search, so an extension can make its own data findable through a core or Fleet-Ops model's search without editing the model. `relation.column` dot notation works as before, including relations added with `resolveRelationUsing()`. Nothing changes until an extension registers columns.
-## Registry Bridge `0.1.11`
-- **Fix: registry endpoints returned 500 in console test mode** (#41): registry data always reads the live connection.
-- **Fix: the Purchased extensions page showed blank cards** (#40).
+## FleetOps `0.6.74`
+- **Fix: the console geocoder endpoints return results** (#408, fleetbase/fleetbase#723): `int/v1/geocoder/query` and `int/v1/geocoder/reverse` returned `[]` when the Google Maps API key was set in the console instead of the environment. Both now use the same geocoder as `places/lookup`.
+- **Fix: every other geocoding path uses the settings-backed key** (#409): place creation from an address or coordinates, place search, address-only place creation on the public API, and driver tracking locality. Failed lookups are logged instead of hidden.
+- **Fix: `config/geocoder.php` passes the region rather than the locale to Google Maps** and uses the default cache store (#409).
---
## Upgrade Steps
-- Run `composer update` / pull the images as usual. No migrations in this release.
-- Storefront `0.4.27` requires Core API `1.6.71`. The Storefront app sends the checkout note from v0.1.0 on; older apps keep sending it with the capture (Stripe) as before.
-- Socket settings: nothing changes until an administrator saves one under Configure → Socket; environment values stay the defaults. Older socket server images keep reading their environment.
-- Storefront trucks: a truck is on sale only while its Storefront status is **Active**; check your trucks' status after upgrading.
+- Pull the images as usual. No migrations in this release.
+- If you build your own API image from `docker/Dockerfile`, rebuild it: the base image moves to FrankenPHP 1.13.1. If you have raised `laravel/octane` yourself, keep the base image at or above the FrankenPHP version that Octane requires, or the build stops with a message naming both.
---
## Need help?
diff --git a/api/composer.json b/api/composer.json
index 871d8b81..dd7f7789 100644
--- a/api/composer.json
+++ b/api/composer.json
@@ -20,9 +20,9 @@
"require": {
"php": ">=8.0 <8.3",
"appstract/laravel-opcache": "^4.0",
- "fleetbase/core-api": "^1.6.71",
+ "fleetbase/core-api": "^1.6.72",
"fleetbase/ai": "^0.0.5",
- "fleetbase/fleetops-api": "^0.6.73",
+ "fleetbase/fleetops-api": "^0.6.74",
"fleetbase/registry-bridge": "^0.1.11",
"fleetbase/customer-portal-api": "^0.0.16",
"fleetbase/storefront-api": "^0.4.27",
@@ -31,7 +31,7 @@
"fleetbase/vroom-api": "^0.0.4",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^10.0",
- "laravel/octane": "^2.3",
+ "laravel/octane": "~2.22.0",
"laravel/tinker": "^2.9",
"league/flysystem-aws-s3-v3": "^3.0",
"maatwebsite/excel": "^3.1",
diff --git a/api/composer.lock b/api/composer.lock
index 82a1b344..014b6f6d 100644
--- a/api/composer.lock
+++ b/api/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "6aeaca96c954a0e62f378e88711e99fb",
+ "content-hash": "ec9d710af8a37572bd6828709aea8264",
"packages": [
{
"name": "appstract/laravel-opcache",
@@ -2310,16 +2310,16 @@
},
{
"name": "fleetbase/core-api",
- "version": "1.6.71",
+ "version": "1.6.72",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/core-api.git",
- "reference": "5e488132d7f84038f9b6d9944603349dee8a65bb"
+ "reference": "931d48e5241e11bb4bb9f988796b030dadf197b0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/core-api/zipball/5e488132d7f84038f9b6d9944603349dee8a65bb",
- "reference": "5e488132d7f84038f9b6d9944603349dee8a65bb",
+ "url": "https://api.github.com/repos/fleetbase/core-api/zipball/931d48e5241e11bb4bb9f988796b030dadf197b0",
+ "reference": "931d48e5241e11bb4bb9f988796b030dadf197b0",
"shasum": ""
},
"require": {
@@ -2415,9 +2415,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/core-api/issues",
- "source": "https://github.com/fleetbase/core-api/tree/v1.6.71"
+ "source": "https://github.com/fleetbase/core-api/tree/v1.6.72"
},
- "time": "2026-10-16T08:11:24+00:00"
+ "time": "2026-10-19T06:20:59+00:00"
},
{
"name": "fleetbase/countries",
@@ -2555,16 +2555,16 @@
},
{
"name": "fleetbase/fleetops-api",
- "version": "0.6.73",
+ "version": "0.6.74",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/fleetops.git",
- "reference": "7887aa5effe54704d75544c6ce72be894e38a52a"
+ "reference": "33032e53ebee5e4a514970ee2379c12348c77c54"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/7887aa5effe54704d75544c6ce72be894e38a52a",
- "reference": "7887aa5effe54704d75544c6ce72be894e38a52a",
+ "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/33032e53ebee5e4a514970ee2379c12348c77c54",
+ "reference": "33032e53ebee5e4a514970ee2379c12348c77c54",
"shasum": ""
},
"require": {
@@ -2642,9 +2642,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/fleetops/issues",
- "source": "https://github.com/fleetbase/fleetops/tree/v0.6.73"
+ "source": "https://github.com/fleetbase/fleetops/tree/v0.6.74"
},
- "time": "2026-10-16T08:12:01+00:00"
+ "time": "2026-10-19T06:21:11+00:00"
},
{
"name": "fleetbase/laravel-mysql-spatial",
@@ -6267,16 +6267,16 @@
},
{
"name": "laravel/octane",
- "version": "v2.19.1",
+ "version": "v2.22.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/octane.git",
- "reference": "68a2516a0318baba0de0e4648f61e335c5e69dca"
+ "reference": "c49ff458e94bf14b382f6414c6b9ddb39ac82b28"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/octane/zipball/68a2516a0318baba0de0e4648f61e335c5e69dca",
- "reference": "68a2516a0318baba0de0e4648f61e335c5e69dca",
+ "url": "https://api.github.com/repos/laravel/octane/zipball/c49ff458e94bf14b382f6414c6b9ddb39ac82b28",
+ "reference": "c49ff458e94bf14b382f6414c6b9ddb39ac82b28",
"shasum": ""
},
"require": {
@@ -6352,7 +6352,7 @@
"issues": "https://github.com/laravel/octane/issues",
"source": "https://github.com/laravel/octane"
},
- "time": "2026-08-13T13:58:52+00:00"
+ "time": "2026-10-14T15:54:28+00:00"
},
{
"name": "laravel/prompts",
diff --git a/console/package.json b/console/package.json
index 5073b54f..3046d41d 100644
--- a/console/package.json
+++ b/console/package.json
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/console",
- "version": "0.7.70",
+ "version": "0.7.71",
"private": true,
"description": "Modular logistics and supply chain operating system (LSOS)",
"repository": "https://github.com/fleetbase/fleetbase",
@@ -41,7 +41,7 @@
"@fleetbase/ember-core": "^0.3.26",
"@fleetbase/ember-ui": "^0.4.6",
"@fleetbase/fleetops-data": "^0.2.3",
- "@fleetbase/fleetops-engine": "^0.6.73",
+ "@fleetbase/fleetops-engine": "^0.6.74",
"@fleetbase/iam-engine": "^0.1.13",
"@fleetbase/leaflet-routing-machine": "^3.2.17",
"@fleetbase/ledger-engine": "^0.0.13",
diff --git a/console/pnpm-lock.yaml b/console/pnpm-lock.yaml
index adddd83e..54f26d89 100644
--- a/console/pnpm-lock.yaml
+++ b/console/pnpm-lock.yaml
@@ -35,8 +35,8 @@ importers:
specifier: ^0.2.3
'@fleetbase/fleetops-engine':
- specifier: ^0.6.73
- version: 0.6.73(bffd95f1ee8fa5c6dc085f568b2e0221)
+ specifier: ^0.6.74
+ version: 0.6.74(bffd95f1ee8fa5c6dc085f568b2e0221)
'@fleetbase/iam-engine':
specifier: ^0.1.13
version: 0.1.13(bffd95f1ee8fa5c6dc085f568b2e0221)
@@ -1586,8 +1586,8 @@ packages:
resolution: {integrity: sha512-brLYiGHZCKMDaZcyy2bJHY7SHsOTgNk8+XSpdqgmuoTT466xOg4qTPP56LxZbcp2uHyPiUvgNRb5K843gNtJww==}
engines: {node: '>= 18'}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-OQXahsprDxxfPZZ/feIqzK6ioCh9W5dKM8McYf3bRZMd6spd2YU3b/DsZ97VaoU8OZ8DnrYjNJGbnvUenexBrA==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-+xGWMUOu3GMwTHAwPzI1H11x2tPGerp33DmkVMBWkN2tVyXNi1DweO80rJQnKvtHfpYd+TTgY/mbDTqP4X/hAQ==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
@@ -11256,7 +11256,7 @@ snapshots:
- utf-8-validate
- webpack
- '@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
+ '@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
diff --git a/console/pnpm-workspace.yaml b/console/pnpm-workspace.yaml
index dde9bf3e..18109b0f 100644
--- a/console/pnpm-workspace.yaml
+++ b/console/pnpm-workspace.yaml
@@ -19,7 +19,7 @@ minimumReleaseAgeExclude:
- '@fleetbase/[email protected]'
- '@fleetbase/[email protected]'
- '@fleetbase/[email protected]'
- - '@fleetbase/[email protected]'
+ - '@fleetbase/[email protected]'
- '@fleetbase/[email protected]'
- '@fleetbase/[email protected]'
- '@fleetbase/[email protected]'
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 132a0a19..1067c54c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,6 +1,8 @@
# syntax = docker/dockerfile:1.2
# Base stage
-FROM dunglas/frankenphp:1.12.4-php8.2-bookworm AS base
+# laravel/octane sets a minimum FrankenPHP version and enforces it at startup, so this tag and the
+# Octane range in api/composer.json move together. The build fails below when they don't match.
+FROM dunglas/frankenphp:1.13.1-php8.2-bookworm AS base
# Install packages
# default-mysql-client provides mysqldump (MariaDB's), which db:backup runs. Without it every
@@ -82,7 +84,7 @@ ENV OCTANE_SERVER=frankenphp
# its "develop" default it roughly doubled every request's time and disabled the OPcache
# JIT in every image built from here, production included.
ENV XDEBUG_MODE=off
-ENV FLEETBASE_VERSION=0.7.70
+ENV FLEETBASE_VERSION=0.7.71
# Set environment
ARG ENVIRONMENT=production
@@ -119,6 +121,12 @@ COPY --chown=www-data:www-data ./api/composer.json ./api/composer.lock /fleetbas
# Pre-install Composer dependencies
RUN su www-data -s /bin/sh -c "composer install --no-scripts --optimize-autoloader --no-dev --no-cache"
+# Fail the build if this image's FrankenPHP is older than the installed Octane requires. Octane would
+# otherwise delete the binary on startup and every app container would exit 127.
+# See docker/scripts/assert-frankenphp-version.php.
+RUN --mount=type=bind,source=docker/scripts/assert-frankenphp-version.php,target=/tmp/assert-frankenphp-version.php \
+ php /tmp/assert-frankenphp-version.php /fleetbase/api/vendor/autoload.php
+
# Setup application
COPY --chown=www-data:www-data ./api /fleetbase/api
diff --git a/docker/scripts/assert-frankenphp-version.php b/docker/scripts/assert-frankenphp-version.php
new file mode 100644
index 00000000..6cd650ce
--- /dev/null
+++ b/docker/scripts/assert-frankenphp-version.php
@@ -0,0 +1,61 @@
+<?php
+
+/*
+ * Fails the image build when the FrankenPHP binary in the base image is older than the
+ * version the installed laravel/octane requires.
+ *
+ * `octane:frankenphp` makes this comparison every time it starts. When the binary is too old
+ * it answers its own "download the latest binary?" prompt with yes (a container has no TTY),
+ * moves /usr/local/bin/frankenphp aside, downloads a generic build to base_path('frankenphp'),
+ * deletes the original and then runs the path it just emptied: `exec: /usr/local/bin/frankenphp:
+ * not found`, exit 127, on every start. The v0.7.70 cloud deploy crash-looped on exactly this
+ * (Octane 2.22.0 requires FrankenPHP 1.13.0; the image had 1.12.4) while the image built fine.
+ *
+ * Checking here turns that into a failed build that names both versions. The fix is always to
+ * move the base image in docker/Dockerfile to a FrankenPHP release that meets the minimum.
+ *
+ * Usage: php assert-frankenphp-version.php [path/to/vendor/autoload.php]
+ */
+
+$fail = function (string $message) {
+ fwrite(STDERR, "FrankenPHP/Octane compatibility check failed: {$message}\n");
+ exit(1);
+};
+
+$autoload = $argv[1] ?? '/fleetbase/api/vendor/autoload.php';
+
+if (!is_file($autoload)) {
+ $fail("{$autoload} does not exist; run this after composer install.");
+}
+
+require $autoload;
+
+$trait = 'Laravel\Octane\Commands\Concerns\InstallsFrankenPhpDependencies';
+
+if (!trait_exists($trait)) {
+ $fail("{$trait} was not found. Is laravel/octane installed?");
+}
+
+$required = (new ReflectionClass($trait))->getDefaultProperties()['requiredFrankenPhpVersion'] ?? null;
+
+if (!is_string($required) || preg_match('/^\d+\.\d+\.\d+$/', $required) !== 1) {
+ $fail('could not read the FrankenPHP version laravel/octane requires ($requiredFrankenPhpVersion on '
+ . "{$trait}). Octane may have changed how it declares it; update this check to match.");
+}
+
+exec('frankenphp version 2>&1', $lines, $status);
+$output = trim(implode("\n", $lines));
+
+if ($status !== 0 || preg_match('/FrankenPHP v?(\d+\.\d+\.\d+)/', $output, $matches) !== 1) {
+ $fail("could not read the FrankenPHP binary version from `frankenphp version` (exit {$status}): {$output}");
+}
+
+$installed = $matches[1];
+
+if (version_compare($installed, $required, '<')) {
+ $fail("the base image ships FrankenPHP {$installed}, but laravel/octane requires {$required} or newer. "
+ . 'At startup Octane would delete the binary and the app would exit 127. Move the FROM line in '
+ . "docker/Dockerfile to a dunglas/frankenphp {$required}+ image.");
+}
+
+echo "FrankenPHP {$installed} meets laravel/octane's minimum ({$required}).\n";
diff --git a/packages/core-api b/packages/core-api
index 5e488132..931d48e5 160000
--- a/packages/core-api
+++ b/packages/core-api
@@ -1 +1 @@
-Subproject commit 5e488132d7f84038f9b6d9944603349dee8a65bb
+Subproject commit 931d48e5241e11bb4bb9f988796b030dadf197b0
diff --git a/packages/fleetops b/packages/fleetops
index 7887aa5e..33032e53 160000
--- a/packages/fleetops
+++ b/packages/fleetops
@@ -1 +1 @@
-Subproject commit 7887aa5effe54704d75544c6ce72be894e38a52a
+Subproject commit 33032e53ebee5e4a514970ee2379c12348c77c54