Modular logistics and supply chain operating system (LSOS)
JavaScript driver-appfleet-managementfreight-managementinfrastructureinventory-managementlast-mile-deliverylogisticsondemandopen-sourceorder-managementroute-optimizationsupply-chain-managementtracking-and-monitoringtransport-management-systemtransportationwarehouse-management
chore(release): v0.8.3 with core-api 2.0.5 and Fleet-Ops 0.7.3
Ronald A. Richardsond961499be4fe
diff --git a/RELEASE.md b/RELEASE.mdindex 54050114..55fd6b89 100644--- a/RELEASE.md+++ b/RELEASE.md@@ -1,23 +1,18 @@-> v0.8.2 ~ "Push apps, a Passenger order config for every organization, and foreign keys that point at unique keys"+> v0.8.3 ~ "App Review sign-in for customer apps"---## Highlights-- **Push apps: an organization's own apps send pushes with their own Apple and Firebase credentials.** Examples are a Passenger app, a white-label driver app or an AppHelm build. Set them up in Fleet-Ops under **Settings → Push Apps**:- - **One push app per mobile app.** It holds the iOS app's Apple push key and the Firebase project's service account, and the Android app needs no package name. One push app works even when the iOS and Android apps have different bundle IDs.- - **Each device is sent through the service that issued its token.** That includes iOS apps that use Firebase.- - **Send test push** checks the settings against one device token.- - Navigator and devices registered without a push app still use the install-wide push settings, as before.-- **Every organization has the Passenger order config.** It sits next to Transport, so the Passenger app works without running `fleetops:create-order-config passenger` first. Like Transport, it can't be deleted and its flow is read-only, but its policies and triggers can be edited.-- **Tables that foreign keys point at can be altered on MySQL 8.4 without any workaround.** MySQL 8.4 turns on `restrict_fk_on_non_standard_key` by default, and then refuses any change to a table that a foreign key points at through a non-unique key. v0.8.1 turned the setting off while migrations run. This release makes those columns unique: 9 core tables, 7 Fleet-Ops tables, 3 registry tables and, on Cloud, 3 billing tables.-- **Sandbox no longer has foreign keys to a table it doesn't have.** Three log-table foreign keys pointed at `personal_access_tokens`, which exists only in the main database.-- **CI runs the fresh install on MySQL 8.4.8 as well as 8.0.** It also checks two things with the setting on: every foreign key points at a unique key, and every table a foreign key points at can be altered.+- **App Review sign-in for customer apps.** Apps that customers sign in to through Fleet-Ops' customer API, such as the Passenger app, send a texted code, and Apple's and Google's reviewers can't receive one. Fleet-Ops → Settings → **Customer Apps** now turns App Review sign-in on and off for an organization, the way Settings → Navigator App does for Navigator.+ - Reviewers sign in with **+1 202 555 0145** and a six-digit code the Console shows once. The number is from the range reserved for fiction and is never texted. It differs from Navigator's (+1 202 555 0144), because a customer and a driver are different accounts.+ - The organization's code signs in as its review customer, **App Reviewer**, and only in that organization's apps. Orders it places get `meta.app_review = true`.+- **Two App Review types can share a model.** Navigator and the customer apps are both registered on the organization, and core now keeps each type's number, code and access apart.---## Component Versions-- `console`: `0.8.2`-- `core-api`: `2.0.4`-- `fleetops`: `0.7.2`+- `console`: `0.8.3`+- `core-api`: `2.0.5`+- `fleetops`: `0.7.3`- `storefront`: `0.5.0`- `ledger`: `0.1.0`- `customer-portal`: `0.1.0`@@ -32,34 +27,26 @@- `iam-engine`: `0.1.13`----## Core API `2.0.4`-- `sandbox:migrate` now runs the migrations of extensions installed outside core's `vendor` directory: extensions installed in a separate Composer project at `api/extensions`, and extensions linked from a local path.--## Core API `2.0.3`-- **Push apps:**- - The `push_apps` table holds each app's provider settings, encrypted.- - `user_devices` has `push_app_uuid`, `company_uuid` and `push_provider`.- - `PushAppChannel` sends to a push app's devices with that app's credentials.- - Push services are pluggable through `PushProviders::register()`.-- **Unique keys:** `uuid` is unique on `chat_channels`, `chat_messages`, `chat_participants`, `comments`, `custom_fields`, `dashboards` and `reports`, and `id` on `permissions` and `roles`.-- **Sandbox:** the `access_token_id` foreign keys to `personal_access_tokens` are dropped.-- **Extension discovery:** extensions installed in a separate Composer project at `api/extensions` are found.--## Fleet-Ops `0.7.2`-- **Settings → Push Apps:**- - Add, edit, turn off and remove push apps, and send a test push.- - The page uses the `view` and `update` `notification-settings` permissions.- - Keys are never shown again after they're saved.-- **Register device:** `v1/customers/register-device` and `v1/drivers/register-device` accept `push_app`, `environment` and `push_provider`.-- **Order pushes:** order pushes, including order config `notify_customer` and `notify_driver`, reach push-app devices through the app's own credentials.-- **Passenger order config:** every organization gets the system Passenger order config. New organizations get it when they're created, and existing ones get it from a migration.-- **Unique keys:** `uuid` is unique on `devices`, `inspection_forms`, `inspection_submissions`, `order_configs`, `telematics`, `warranties` and `work_orders`.--## Registry Bridge `0.2.1`-- `uuid` is unique on `registry_extensions`, `registry_extension_bundles` and `registry_users`.+## Core API `2.0.5`+- **A second App Review type on the same model is read and changed as itself.** Before, `AppReview::typeOf()` returned the first registered type whose model matched, so any other type on `Company` was treated as Navigator's.+ - `accessFor()`, `isEnabledFor()`, `acceptsCode()`, `update()` and `status()` take an optional `?string $type` as their last argument. Left out, it is `typeOf($subject)`, so existing callers behave as before.+ - New `AppReview::resolveType($subject, $type)` gives the type a subject is checked as.+ - The Console endpoint (`/int/v1/review-access/{type}/{id}`) and the OAuth endpoint (`/oauth/v1/review-access/{type}/{id}`) pass the route's `{type}` through.++## Fleet-Ops `0.7.3`+- **Settings → Customer Apps:** turn App Review sign-in for customer apps on and off, see the review number, and show or replace the code.+- **Customer API:**+ - With access on, `customers/request-code`, `customers/login-with-sms` and `customers/request-creation-code` (SMS) answer for the review number as if a code were sent, and send nothing. With access off, they answer 422 and say where to turn it on.+ - With the organization's code, `customers/verify-code` and `POST customers` sign in as the organization's review customer and return the same response as any sign-in, never `new_customer`. A wrong code, or another organization's, is refused.+- **Permissions:** `fleet-ops view customer-app-settings` and `fleet-ops update customer-app-settings`, a **CustomerAppSettingsManager** policy and a **Customer App Manager** role. Administrators have them already.---## Upgrade Steps-- Pull the new images and restart the API, queue, scheduler and events containers. The deploy runs `migrate` and `sandbox:migrate`. They create the push app tables and each organization's Passenger order config.-- If a migration reports a table with duplicate values, it skips that table. Remove the duplicates, then run the `php artisan migrate:refresh --force --path=…` command the message gives.-- No configuration changes are needed. Push apps are optional: until an organization adds one, its pushes go out exactly as before.+- Pull the new images and restart the API, queue, scheduler and events containers. There's no new migration.+- Run `php artisan fleetbase:create-permissions` (or your usual permission sync) so Fleet-Ops' new permissions, the **CustomerAppSettingsManager** policy and the **Customer App Manager** role exist.+- No configuration changes are needed. Customer app review sign-in is off until an organization turns it on.++---+## Need help?+- [GitHub Discussions](https://github.com/fleetbase/fleetbase/discussions)+- [Discord](https://discord.gg/HnTqQ6zAVn)diff --git a/api/composer.json b/api/composer.jsonindex 9be13d6b..f3814b85 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.4",+ "fleetbase/core-api": "^2.0.5","fleetbase/ai": "^0.1.0",- "fleetbase/fleetops-api": "^0.7.2",+ "fleetbase/fleetops-api": "^0.7.3","fleetbase/registry-bridge": "^0.2.1","fleetbase/customer-portal-api": "^0.1.0","fleetbase/storefront-api": "^0.5.0",diff --git a/api/composer.lock b/api/composer.lockindex fc8c00ec..bdebdf44 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": "26dd06598dafd253108d318410635290",+ "content-hash": "92346a0f31d74225edc333835e7cf46e","packages": [{"name": "aaronfrancis/fast-paginate",@@ -2123,16 +2123,16 @@},{"name": "fleetbase/core-api",- "version": "2.0.4",+ "version": "2.0.5","source": {"type": "git","url": "https://github.com/fleetbase/core-api.git",- "reference": "970b2f1a64c0bb027f750078d0826260152215cc"+ "reference": "211454ddb0a863cb97be569d501164824c0d43cf"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/fleetbase/core-api/zipball/970b2f1a64c0bb027f750078d0826260152215cc",- "reference": "970b2f1a64c0bb027f750078d0826260152215cc",+ "url": "https://api.github.com/repos/fleetbase/core-api/zipball/211454ddb0a863cb97be569d501164824c0d43cf",+ "reference": "211454ddb0a863cb97be569d501164824c0d43cf","shasum": ""},"require": {@@ -2232,9 +2232,9 @@],"support": {"issues": "https://github.com/fleetbase/core-api/issues",- "source": "https://github.com/fleetbase/core-api/tree/v2.0.4"+ "source": "https://github.com/fleetbase/core-api/tree/v2.0.5"},- "time": "2026-11-19T14:02:04+00:00"+ "time": "2026-11-24T08:39:08+00:00"},{"name": "fleetbase/countries",@@ -2373,23 +2373,23 @@},{"name": "fleetbase/fleetops-api",- "version": "0.7.2",+ "version": "0.7.3","source": {"type": "git","url": "https://github.com/fleetbase/fleetops.git",- "reference": "f91a197586b9e41c179f3cf7f730d0fa7f1c256a"+ "reference": "3cd31a21883ea86668ad58c0da9c04cc417a074e"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/f91a197586b9e41c179f3cf7f730d0fa7f1c256a",- "reference": "f91a197586b9e41c179f3cf7f730d0fa7f1c256a",+ "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/3cd31a21883ea86668ad58c0da9c04cc417a074e",+ "reference": "3cd31a21883ea86668ad58c0da9c04cc417a074e","shasum": ""},"require": {"barryvdh/laravel-dompdf": "^3.1","brick/geo": "0.7.2","cknow/laravel-money": "^8.0",- "fleetbase/core-api": "^2.0.3",+ "fleetbase/core-api": "^2.0.5 || dev-release/v2.0.5","geocoder-php/google-maps-places-provider": "^1.4","giggsey/libphonenumber-for-php": "^8.13","league/geotools": "^1.1.0",@@ -2460,9 +2460,9 @@],"support": {"issues": "https://github.com/fleetbase/fleetops/issues",- "source": "https://github.com/fleetbase/fleetops/tree/v0.7.2"+ "source": "https://github.com/fleetbase/fleetops/tree/v0.7.3"},- "time": "2026-11-19T09:31:48+00:00"+ "time": "2026-11-24T09:38:33+00:00"},{"name": "fleetbase/laravel-mysql-spatial",diff --git a/console/package.json b/console/package.jsonindex 26e122d9..2aba0398 100644--- a/console/package.json+++ b/console/package.json@@ -1,6 +1,6 @@{"name": "@fleetbase/console",- "version": "0.8.2",+ "version": "0.8.3","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.27","@fleetbase/ember-ui": "^0.4.7","@fleetbase/fleetops-data": "^0.2.4",- "@fleetbase/fleetops-engine": "^0.7.2",+ "@fleetbase/fleetops-engine": "^0.7.3","@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.yamlindex 39136b31..a6226b2f 100644--- a/console/pnpm-lock.yaml+++ b/console/pnpm-lock.yaml@@ -35,8 +35,8 @@ importers:specifier: ^0.2.4version: 0.2.4(@ember/[email protected])(@ember/[email protected](@babel/[email protected])([email protected](@babel/[email protected])(@glimmer/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected](@babel/[email protected])(@glimmer/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected]))))([email protected](@babel/[email protected])(@glimmer/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected]))'@fleetbase/fleetops-engine':- specifier: ^0.7.2- version: 0.7.2(bffd95f1ee8fa5c6dc085f568b2e0221)+ specifier: ^0.7.3+ version: 0.7.3(bffd95f1ee8fa5c6dc085f568b2e0221)'@fleetbase/iam-engine':specifier: ^0.1.13version: 0.1.13(bffd95f1ee8fa5c6dc085f568b2e0221)@@ -1586,8 +1586,8 @@ packages:resolution: {integrity: sha512-9kW9/mfHLnWFq93//AHQHxHasx/zxe4zLQxPGnyC9L3JKzTNauRGiXzqJJReQS6q5W+cRM+/MvE8sOQvFqOavw==}engines: {node: '>= 18'}- '@fleetbase/[email protected]':- resolution: {integrity: sha512-VsQxXCEk+I1L/9shXc5h3aHspqNRjNAo9yo3btGu74TKhfjGbdXZMN6dhHMnMZOxhha5c5Reb+U6DaEQAXxcDQ==}+ '@fleetbase/[email protected]':+ resolution: {integrity: sha512-CqJ92Es1mxfxvMft0E83VxEWXGe6tbtvXw3yplClg9CYhEzbYRP4cOv6XgJ6y+dUC2ZhZc/SEyXbLorN3RHo/A==}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'@fleetbase/ember-core': 0.3.27(@ember/[email protected])(@ember/[email protected](@babel/[email protected])([email protected](@babel/[email protected])(@glimmer/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected](@babel/[email protected])(@glimmer/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected]))))([email protected](@babel/[email protected])(@glimmer/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected]))diff --git a/console/pnpm-workspace.yaml b/console/pnpm-workspace.yamlindex 2a5ae26e..37c991b9 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/Dockerfileindex 3a7c5899..1f3d85a2 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.2+ENV FLEETBASE_VERSION=0.8.3# Set environmentARG ENVIRONMENT=productiondiff --git a/packages/core-api b/packages/core-apiindex 970b2f1a..211454dd 160000--- a/packages/core-api+++ b/packages/core-api@@ -1 +1 @@-Subproject commit 970b2f1a64c0bb027f750078d0826260152215cc+Subproject commit 211454ddb0a863cb97be569d501164824c0d43cfdiff --git a/packages/fleetops b/packages/fleetopsindex f91a1975..3cd31a21 160000--- a/packages/fleetops+++ b/packages/fleetops@@ -1 +1 @@-Subproject commit f91a197586b9e41c179f3cf7f730d0fa7f1c256a+Subproject commit 3cd31a21883ea86668ad58c0da9c04cc417a074e