Skip to content

Modular logistics and supply chain operating system (LSOS)

release/v0.8.1 (#763)

Ron022238c58c55
diff --git a/RELEASE.md b/RELEASE.md
index e087569f..18ca50b2 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -1,18 +1,18 @@
-> v0.8.0 ~ "Laravel 12"
+> v0.8.1 ~ "Migrations run on MySQL 8.4, and extensions can add sortable, grouped columns to any table"
---
## Highlights
-- **The API runs on Laravel 12.** Fleetbase moves from Laravel 10 to Laravel 12, with PHP 8.2 or later, Sanctum 4 and Carbon 3. core-api 2.0.0 and every bundled extension have new releases built for it. (#749)
-- **No security advisory exceptions.** `composer audit` reports no advisories and no abandoned packages on the new dependency set, with no ignores, so the Composer advisory workarounds are gone.
-- **Order config policies, triggers and templates.** An order config now decides how its orders are offered to drivers, matched, priced, and what customers may do, and runs actions when an order reaches an activity. Configs can be made from the `transport` or `passenger` template. See Fleet-Ops `0.7.0` below.
-- **Every bundled extension is released against core-api 2.0.** Extensions built for core-api 1.6.x don't install on this release; see Upgrade Steps.
+- **Extensions can add fully working columns to another engine's table.** A column an extension registers on a table can now be sorted by data that lives outside that table's model, listed under its own heading in Customize Columns, and left hidden until a user turns it on. Together with the column values, filters and search an extension could already add, an extension no longer needs changes in the engine that owns the table.
+- **Installs and upgrades run on MySQL 8.4 and later.** MySQL 8.4 refuses to create or alter tables whose foreign keys point at a non-unique key, and many Fleetbase foreign keys point at `uuid` columns with an ordinary index. So on 8.4 a fresh install failed at its first such key (`6125 Missing unique key`), and the upgrade to v0.8.0 failed in Fleet-Ops' adhoc dispatch migration (`1553 Cannot drop index '<unknown key name>'`). Migrations now run with that check off for their own database sessions. MySQL 8.0, which the bundled Docker setup uses, was never affected.
+- **An upgrade that stopped in that migration now finishes.** MySQL doesn't roll back schema changes, so a failed v0.8.0 upgrade left part of the migration applied. Running `php artisan migrate` again on v0.8.1 picks up from where it stopped.
+- This is a dependency release: core-api 2.0.2, Fleet-Ops 0.7.1, ember-core 0.3.27 and ember-ui 0.4.7. Nothing changes for an instance that has no extension using the new column hooks.
---
## Component Versions
-- `console`: `0.8.0`
-- `core-api`: `2.0.0`
-- `fleetops`: `0.7.0`
+- `console`: `0.8.1`
+- `core-api`: `2.0.2`
+- `fleetops`: `0.7.1`
- `storefront`: `0.5.0`
- `ledger`: `0.1.0`
- `customer-portal`: `0.1.0`
@@ -21,42 +21,31 @@
- `valhalla`: `0.1.0`
- `vroom`: `0.1.0`
- `dev-engine`: `0.2.18`
-- `ember-ui`: `0.4.6`
-- `ember-core`: `0.3.26`
+- `ember-ui`: `0.4.7`
+- `ember-core`: `0.3.27`
- `fleetops-data`: `0.2.4`
- `iam-engine`: `0.1.13`
---
-## Core API `2.0.0`
-- **Laravel 12, Sanctum 4 and Carbon 3**, on PHP 8.2 or later. The constraint already admits Laravel 13.
-- **`Request::array()` is now `inputArray()`.** Laravel 11+ ships a native `Request::array()` that wins over a macro of the same name and doesn't split comma-separated values, so `?sort=a,b` and `?without=a,b` would have returned a 500. Extensions must call `inputArray()`.
-- **Doctrine DBAL removed.** Schema introspection uses Laravel's own `Schema` builder.
-- **FCM push** works with kreait/laravel-firebase 6.
-- New majors of Fleetbase's forks: `laravel-mysql-spatial` 2.0, `countries` 0.9 and `twilio` 6.0.
-
-## Fleet-Ops `0.7.0`
-- **Order config policies:** how adhoc orders are offered (all nearby drivers at once, or one at a time with a timed offer), driver matching by vehicle type, what customers may do (payment methods, quotes, cancelling, chat, rating, sharing tracking), and pricing an order again from the actual distance and time.
-- **Triggers:** actions that run when an order reaches an activity, is created, completed or canceled, when no driver accepts, or when the driver nears the pickup or drop-off.
-- **Templates:** **New Order Config** in the Console, or `php artisan fleetops:create-order-config {template} --company=`.
-- **Customer API** for places, sign-in codes, an order's dispatch, cancel, driver, tracker and ETA, chat with the driver, ratings, tracking links and account deletion, as the order's config allows.
-
-## Ledger `0.1.0`
-- A Fleet-Ops order's customer can fetch and pay its invoice, a paid invoice settles the order's transaction, and order configs gain a `send_invoice` trigger action.
-- The cash gateway can be set to staff-confirm only.
-
-## Storefront `0.5.0`, Customer Portal `0.1.0`, Registry Bridge `0.2.0`, AI, Valhalla and Vroom `0.1.0`
-- Released for Laravel 12 and core-api 2.0.
+## Core API `2.0.2`
+- **Migrations run on MySQL 8.4.** While `migrate` or `sandbox:migrate` runs, each MySQL connection it uses, including storefront's, has `restrict_fk_on_non_standard_key` off for its session and back on when the run ends. Nothing changes outside migrations, or on MySQL 8.0 and MariaDB.
+
+## Core API `2.0.1`
+- **Sort keys registered at runtime.** `Model::addSortHandler('key', fn ($builder, $direction, $request) => …)` lets an extension order a model's list endpoint by a key that is not one of its columns (`?sort=key`, `?sort=-key`), for example by a column of a companion table.
+
+## Fleet-Ops `0.7.1`
+- **The adhoc dispatch migration finishes on MySQL 8.4 and after a failed run.** Each table and column it adds is created only if it's missing, and its column changes run with MySQL 8.4's foreign key check off for the session.
+
+## Ember Core `0.3.27`
+- **`TableColumn.withSort(sortParam)`, `inGroup(group)` and `hiddenByDefault()`** for columns registered into `<extension>:<resource>:table:columns`.
+
+## Ember UI `0.4.7`
+- **Column picker groups.** Customize Columns lists columns that carry a `group` under a heading of that name, after the table's own columns.
---
## Upgrade Steps
-- **Back up the database first.** This is a major framework upgrade.
-- Pull the new images and restart every API, queue, scheduler and events container. Octane workers must restart to load the new framework.
-- Migrations run on deploy. core-api adds a guarded `personal_access_tokens` migration, which does nothing where the table already exists, so existing API tokens keep working.
-- **Update installed extensions.** Every extension needs a release built for core-api 2.0. Update extensions installed from the registry to their latest release; an extension still on core-api 1.6.x won't install.
-- **Custom code:** call `$request->inputArray()` instead of `$request->array()`, and check Carbon `diffIn*` calls, which now return signed floats.
-- **If you set `CACHE_PREFIX`** without a trailing `:`, flush the cache when upgrading; Laravel 11+ no longer adds one. The default prefix now includes it.
-- **If you maintain your own `api/bootstrap/app.php`,** keep `$app->dontMergeFrameworkConfiguration()`. Without it, Laravel 12's default database connection replaces the one core-api builds from `DATABASE_URL`, and the API connects to 127.0.0.1.
-- Laravel 10 installs can stay on v0.7.75, with core-api 1.6.x and the earlier extension lines.
+- Pull the new images and restart the API, queue, scheduler and events containers. There are no configuration changes.
+- Run `php artisan migrate` and `php artisan sandbox:migrate`. On an install whose v0.8.0 upgrade stopped in the adhoc dispatch migration, this finishes it. Elsewhere there is nothing new to run.
---
## Need help?
diff --git a/api/composer.json b/api/composer.json
index b6a30e33..d2b1d554 100644
--- a/api/composer.json
+++ b/api/composer.json
@@ -20,9 +20,9 @@
"require": {
"php": ">=8.2 <8.5",
"appstract/laravel-opcache": "^4.0",
- "fleetbase/core-api": "^2.0",
+ "fleetbase/core-api": "^2.0.2",
"fleetbase/ai": "^0.1.0",
- "fleetbase/fleetops-api": "^0.7.0",
+ "fleetbase/fleetops-api": "^0.7.1",
"fleetbase/registry-bridge": "^0.2.0",
"fleetbase/customer-portal-api": "^0.1.0",
"fleetbase/storefront-api": "^0.5.0",
diff --git a/api/composer.lock b/api/composer.lock
index c979e70b..f6a015a2 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": "0e25ce7dd70b883ca1f644f433e094d4",
+ "content-hash": "710c92cf9fda78288e70222e2e4f18dc",
"packages": [
{
"name": "aaronfrancis/fast-paginate",
@@ -2123,16 +2123,16 @@
},
{
"name": "fleetbase/core-api",
- "version": "2.0.0",
+ "version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/core-api.git",
- "reference": "b09842eb9d7bc622eec3021ef56d6f0681dea348"
+ "reference": "5348fb3f2a46100df0e87d2af9aa58180b40fea5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/core-api/zipball/b09842eb9d7bc622eec3021ef56d6f0681dea348",
- "reference": "b09842eb9d7bc622eec3021ef56d6f0681dea348",
+ "url": "https://api.github.com/repos/fleetbase/core-api/zipball/5348fb3f2a46100df0e87d2af9aa58180b40fea5",
+ "reference": "5348fb3f2a46100df0e87d2af9aa58180b40fea5",
"shasum": ""
},
"require": {
@@ -2232,9 +2232,10 @@
],
"support": {
"issues": "https://github.com/fleetbase/core-api/issues",
- "source": "https://github.com/fleetbase/core-api/tree/v2.0.0"
+ "source": "https://github.com/fleetbase/core-api/tree/v2.0.2"
},
- "time": "2026-11-14T04:06:13+00:00"
+ "time": "2026-11-18T04:36:16+00:00",
+ "published-time": "2026-11-18T04:36:33+00:00"
},
{
"name": "fleetbase/countries",
@@ -2373,16 +2374,16 @@
},
{
"name": "fleetbase/fleetops-api",
- "version": "0.7.0",
+ "version": "0.7.1",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/fleetops.git",
- "reference": "5f365b798afdd95e73387fbedbab1c3538dd0ebf"
+ "reference": "c844a12dd207c9e708737046d890ee628741ee03"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/5f365b798afdd95e73387fbedbab1c3538dd0ebf",
- "reference": "5f365b798afdd95e73387fbedbab1c3538dd0ebf",
+ "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/c844a12dd207c9e708737046d890ee628741ee03",
+ "reference": "c844a12dd207c9e708737046d890ee628741ee03",
"shasum": ""
},
"require": {
@@ -2460,9 +2461,10 @@
],
"support": {
"issues": "https://github.com/fleetbase/fleetops/issues",
- "source": "https://github.com/fleetbase/fleetops/tree/v0.7.0"
+ "source": "https://github.com/fleetbase/fleetops/tree/v0.7.1"
},
- "time": "2026-11-17T04:49:40+00:00"
+ "time": "2026-11-18T04:36:11+00:00",
+ "published-time": "2026-11-18T04:36:33+00:00"
},
{
"name": "fleetbase/laravel-mysql-spatial",
@@ -19707,5 +19709,5 @@
"php": ">=8.2 <8.5"
},
"platform-dev": {},
- "plugin-api-version": "2.9.0"
+ "plugin-api-version": "2.11.0"
}
diff --git a/console/package.json b/console/package.json
index d70cf6b0..cebceb3d 100644
--- a/console/package.json
+++ b/console/package.json
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/console",
- "version": "0.8.0",
+ "version": "0.8.1",
"private": true,
"description": "Modular logistics and supply chain operating system (LSOS)",
"repository": "https://github.com/fleetbase/fleetbase",
@@ -38,10 +38,10 @@
"@fleetbase/ai-engine": "^0.1.0",
"@fleetbase/customer-portal-engine": "^0.1.0",
"@fleetbase/dev-engine": "^0.2.18",
- "@fleetbase/ember-core": "^0.3.26",
- "@fleetbase/ember-ui": "^0.4.6",
+ "@fleetbase/ember-core": "^0.3.27",
+ "@fleetbase/ember-ui": "^0.4.7",
"@fleetbase/fleetops-data": "^0.2.4",
- "@fleetbase/fleetops-engine": "^0.7.0",
+ "@fleetbase/fleetops-engine": "^0.7.1",
"@fleetbase/iam-engine": "^0.1.13",
"@fleetbase/leaflet-routing-machine": "^3.2.17",
"@fleetbase/ledger-engine": "^0.1.0",
diff --git a/console/pnpm-lock.yaml b/console/pnpm-lock.yaml
index 8530fb50..70fcb365 100644
--- a/console/pnpm-lock.yaml
+++ b/console/pnpm-lock.yaml
@@ -6,8 +6,8 @@ settings:
overrides:
'@fleetbase/fleetops-data': ^0.2.4
- '@fleetbase/ember-core': ^0.3.26
- '@fleetbase/ember-ui': ^0.4.6
+ '@fleetbase/ember-core': ^0.3.27
+ '@fleetbase/ember-ui': ^0.4.7
importers:
@@ -26,17 +26,17 @@ importers:
specifier: ^0.2.18
version: 0.2.18(bffd95f1ee8fa5c6dc085f568b2e0221)
'@fleetbase/ember-core':
- specifier: ^0.3.26
+ specifier: ^0.3.27
'@fleetbase/ember-ui':
- specifier: ^0.4.6
+ specifier: ^0.4.7
'@fleetbase/fleetops-data':
specifier: ^0.2.4
'@fleetbase/fleetops-engine':
- specifier: ^0.7.0
- version: 0.7.0(bffd95f1ee8fa5c6dc085f568b2e0221)
+ specifier: ^0.7.1
+ version: 0.7.1(bffd95f1ee8fa5c6dc085f568b2e0221)
'@fleetbase/iam-engine':
specifier: ^0.1.13
version: 0.1.13(bffd95f1ee8fa5c6dc085f568b2e0221)
@@ -1574,20 +1574,20 @@ packages:
peerDependencies:
ember-source: '>= 4.0.0'
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-MFnYa/KwiMx9e5Ac7LuaelBWivA9O/rr38Vo3ouhuGri3q0A09WUsjdCX8/j/NkwFWT5gL9Ko469C1XKKyRiXg==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-UOwAww08dtyM4xZilwv/js6M5il6E3oXnFGISNt2eD60t/29yctU1khdaJN5Fgomyq115uPhjvPf8gVTbKyRSA==}
engines: {node: '>= 18'}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-KEMn5eBjNq2GS/bkrLs2zZYE2uTmrIe+K6tqVvLXh4wYwRuIfdIfTNI0rrhXBBN3OR+xriurXNpaTu/X8+5BsQ==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-NEPD1FtURoxzGCOJEp/YhTYYWqVyULaddvlZL3nQKUvDA50rCwi+ec2O4i52KdwWQyDjCZvSnmfBeM2Cdrc1ng==}
engines: {node: '>= 18'}
'@fleetbase/[email protected]':
resolution: {integrity: sha512-9kW9/mfHLnWFq93//AHQHxHasx/zxe4zLQxPGnyC9L3JKzTNauRGiXzqJJReQS6q5W+cRM+/MvE8sOQvFqOavw==}
engines: {node: '>= 18'}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-/mLdUnUjapjWaPddgkzjWl7vbtmYOAZCsm8hXvGz9sp0+vKCciSkhAsgCOfOQv1jS0P1B5Aaxp1U/3h2imECqQ==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-Wfnuh1h11Dp5oByI1mgBd7oTokgkxgYrtbV1zsCPSTpAUcM47jYE+2c2nrxic/y9AUAd0bUveP00XBl9JAmWBA==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
@@ -10916,8 +10916,8 @@ snapshots:
'@fleetbase/[email protected](6501b4a1faeec77fa590b9f01ec6b79e)':
dependencies:
'@babel/core': 7.29.7
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
@@ -10974,8 +10974,8 @@ snapshots:
'@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
'@fleetbase/leaflet-routing-machine': 3.2.17
@@ -11034,8 +11034,8 @@ snapshots:
'@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
@@ -11084,7 +11084,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/core': 7.29.7
compress-json: 3.4.0
@@ -11121,7 +11121,7 @@ snapshots:
- utf-8-validate
- webpack
dependencies:
'@babel/core': 7.29.7
@@ -11130,7 +11130,7 @@ snapshots:
'@embroider/macros': 1.16.12
'@event-calendar/core': 5.12.0
'@floating-ui/dom': 1.8.0
@@ -11238,7 +11238,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.7
date-fns: 2.30.0
ember-cli-babel: 8.3.1(@babel/[email protected])
ember-cli-htmlbars: 6.3.0
@@ -11256,11 +11256,11 @@ snapshots:
- utf-8-validate
- webpack
- '@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
+ '@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
'@fleetbase/leaflet-routing-machine': 3.2.17
@@ -11331,8 +11331,8 @@ snapshots:
'@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
@@ -11396,8 +11396,8 @@ snapshots:
'@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
'@fortawesome/fontawesome-svg-core': 6.4.0
@@ -11454,8 +11454,8 @@ snapshots:
'@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
@@ -11510,8 +11510,8 @@ snapshots:
'@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
'@fortawesome/fontawesome-svg-core': 6.4.0
@@ -11554,8 +11554,8 @@ snapshots:
'@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
'@fleetbase/leaflet-routing-machine': 3.2.17
'@fortawesome/fontawesome-svg-core': 6.4.0
@@ -11610,8 +11610,8 @@ snapshots:
'@fleetbase/[email protected](bffd95f1ee8fa5c6dc085f568b2e0221)':
dependencies:
'@babel/core': 7.29.7
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
diff --git a/console/pnpm-workspace.yaml b/console/pnpm-workspace.yaml
index 72aa277a..1d01feb5 100644
--- a/console/pnpm-workspace.yaml
+++ b/console/pnpm-workspace.yaml
@@ -6,8 +6,8 @@ publicHoistPattern:
- "*fleetops-data*"
overrides:
"@fleetbase/fleetops-data": "^0.2.4"
- "@fleetbase/ember-core": "^0.3.26"
- "@fleetbase/ember-ui": "^0.4.6"
+ "@fleetbase/ember-core": "^0.3.27"
+ "@fleetbase/ember-ui": "^0.4.7"
allowBuilds:
"@fortawesome/fontawesome-common-types": false
"@fortawesome/fontawesome-svg-core": false
@@ -16,10 +16,10 @@ allowBuilds:
core-js: false
fsevents: false
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]'
- '@fleetbase/[email protected]'
- '@fleetbase/[email protected]'
diff --git a/docker/Dockerfile b/docker/Dockerfile
index dfa830fe..288439c3 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -106,7 +106,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.8.0
+ENV FLEETBASE_VERSION=0.8.1
# Set environment
ARG ENVIRONMENT=production
diff --git a/packages/core-api b/packages/core-api
index b09842eb..5348fb3f 160000
--- a/packages/core-api
+++ b/packages/core-api
@@ -1 +1 @@
-Subproject commit b09842eb9d7bc622eec3021ef56d6f0681dea348
+Subproject commit 5348fb3f2a46100df0e87d2af9aa58180b40fea5
diff --git a/packages/ember-core b/packages/ember-core
index 20262cf2..bb1e089d 160000
--- a/packages/ember-core
+++ b/packages/ember-core
@@ -1 +1 @@
-Subproject commit 20262cf26edafaf2f67b052ce5fbba00e5041dad
+Subproject commit bb1e089da007aa3f7cad824776accbea321bb9de
diff --git a/packages/ember-ui b/packages/ember-ui
index 6c582719..ae839f8c 160000
--- a/packages/ember-ui
+++ b/packages/ember-ui
@@ -1 +1 @@
-Subproject commit 6c582719fc366738d13ee2cbbe382d13d6f45c72
+Subproject commit ae839f8c4e88331711a66b240292a12c8c75cf00
diff --git a/packages/fleetops b/packages/fleetops
index 5f365b79..c844a12d 160000
--- a/packages/fleetops
+++ b/packages/fleetops
@@ -1 +1 @@
-Subproject commit 5f365b798afdd95e73387fbedbab1c3538dd0ebf
+Subproject commit c844a12dd207c9e708737046d890ee628741ee03