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
docs: add v0.7.32 release notes (Orchestrator, Driver Scheduling, Maintenance); remove Ledger from roadmap
Ronald A Richardson4a4e7d1ecbb2
diff --git a/README.md b/README.mdindex e605321d..0aecb470 100644--- a/README.md+++ b/README.md@@ -276,8 +276,7 @@ Fleetbase offers open-source mobile apps that can be customized and deployed:| Feature | Status | Expected Release | Description ||---------|--------|------------------|-------------|-| **Pallet (WMS)** | π§ In Development | Late Q1 / Early Q2 2026 | Inventory and Warehouse Management extension |-| **Ledger** | π§ In Development | Late Q1 / Early Q2 2026 | Accounting and Invoicing extension |+| **Pallet (WMS)** | π§ In Development | Q2 2026 | Inventory and Warehouse Management extension || **AI Agent** | π¬ Research | Q4 2026 | AI integration for system and workflow automation || **Dynamic Rules** | π Planned | 2027 | Rule builder to trigger events, tasks, and jobs |diff --git a/RELEASE.md b/RELEASE.mdindex 73a3d772..be2960bb 100644--- a/RELEASE.md+++ b/RELEASE.md@@ -1,3 +1,118 @@+> "The Orchestrator, The Scheduler & The Mechanic"+---+## β¨ Highlights+This release brings three major new capabilities to the FleetOps extension: the **Orchestrator** β a full multi-phase intelligent dispatch and route optimisation workbench; **Driver Scheduling** β deep integration with the Fleetbase core scheduling framework to manage driver availability, shifts, and recurring schedules; and the **Maintenance Module** β a comprehensive fleet maintenance management system covering work orders, maintenance schedules, equipment, and parts.++### π§ Orchestrator: Intelligent Dispatch & Route Optimisation+The **Orchestrator** is a new top-level workbench inside FleetOps that gives dispatchers a single, powerful interface for assigning orders to vehicles and drivers, optimising routes, and committing plans to live orders β all without leaving the console.++Key features include:+- **Multi-Phase Execution:** Compose a sequence of phases β `assign_vehicles`, `assign_drivers`, `optimize_routes`, or the legacy `allocate` mode β and run them in order. Each phase can optionally auto-commit before the next begins.+- **Engine-Agnostic Architecture:** An `OrchestrationEngineInterface` contract with a built-in `GreedyOrchestrationEngine` and a `VroomOrchestrationEngine` for VROOM-compatible solvers. Third-party engines can be registered via the `OrchestrationEngineRegistry`.+- **Plan Viewer:** A rich post-run panel showing per-vehicle route cards with stop sequences, arrival time estimates, a FullCalendar `resourceTimeline` Gantt view, and an interactive Leaflet map with per-vehicle colour-coded OSRM route polylines.+- **Order Pool & Import:** A filterable, searchable order pool with an advanced multi-entity CSV/XLSX import modal. Column mapping, entity resolution, and a live preview table are included.+- **Resource Panel:** A tabbed vehicle/driver selector with live availability indicators, skill badges, and constraint summaries.+- **Orchestrator Constraints:** Per-order time windows (`time_window_start`, `time_window_end`), priority, and required skills. Per-driver max driving time and max distance. Per-vehicle max tasks, available-from/until windows, and capability tags. All constraints are surfaced in the order, driver, and vehicle form and detail views.+- **Commit to Orders:** A `commitPlan` action that creates `Manifest` and `ManifestStop` records, links each order to its manifest via `manifest_uuid`, and assigns the resolved driver and vehicle β all within a single database transaction.+- **Configurable Order Cards:** Dispatchers can choose which fields appear on order cards in the workbench via a company-level settings panel.++### π Driver Scheduling+FleetOps drivers are now fully integrated with the Fleetbase core scheduling framework, enabling structured availability management alongside the Orchestrator's constraint system.++Key features include:+- **Driver Schedule Tab:** A dedicated schedule tab on the driver details panel, powered by a FullCalendar week view, showing all scheduled shifts and exceptions at a glance.+- **Recurring Schedules:** Create recurring availability windows (daily, weekly, custom) with exception support for holidays, leave, and one-off overrides.+- **Shift-Aware Orchestration:** The Orchestrator's `assign_drivers` phase respects driver schedules when matching drivers to vehicles, ensuring assignments only fall within active availability windows.+- **Operations Scheduler:** A new `operations/scheduler` route provides a fleet-wide calendar view of all driver and vehicle schedules, with a `fleet-schedule` sub-view for cross-resource planning.+- **Vehicle Schedules:** Vehicles also expose a schedules tab in their details panel, enabling maintenance blackout windows and availability constraints to feed into the Orchestrator.++### π§ Maintenance Module+A complete fleet maintenance management system has been added to FleetOps, covering the full lifecycle from scheduled preventive maintenance through to work order completion and cost tracking.++Key features include:+- **Work Orders:** Create, assign, and track maintenance work orders with status workflows (`pending` β `in_progress` β `completed`), priority levels, assigned technicians, and completion notes. Automatic email dispatch notifications are sent on work order creation.+- **Maintenance Schedules:** Define recurring preventive maintenance schedules tied to vehicles or equipment, with interval-based (`mileage`, `hours`, `days`) and calendar-based triggers. A `ProcessMaintenanceTriggers` console command and a `SendMaintenanceReminders` mailer automate schedule enforcement.+- **Equipment & Parts:** Manage non-vehicle assets (equipment) and a parts inventory with cost tracking, supplier information, and photo support. Both resources support grid and table layout views.+- **Cost Panel:** An invoice-style line-item cost panel on work orders for tracking labour, parts, and miscellaneous expenses with per-currency support.+- **Import Support:** Bulk import for maintenances, maintenance schedules, work orders, and equipment via CSV/XLSX.+- **RBAC Permissions:** A full set of permissions for all maintenance resources, integrated with Fleetbase's dynamic IAM system.+- **Contextual Actions:** Vehicles expose a "Log Maintenance" contextual action and a dedicated maintenance history tab in their details panel.++---+## β¨ New Features++### π§ Orchestrator (FleetOps)+- **[fleetops]** New `OrchestrationController` with multi-phase `run` and `commitPlan` endpoints.+- **[fleetops]** `OrchestrationPayloadBuilder` constructs solver payloads from order constraints, driver availability windows, and vehicle capabilities.+- **[fleetops]** `Manifest` and `ManifestStop` models with migrations; `manifest_uuid` foreign key added to the `orders` table.+- **[fleetops]** `OrchestratorWorkbenchComponent` β primary dispatcher UI with resizable left/centre/right panels, phase builder, and map integration.+- **[fleetops]** `Orchestrator::PlanViewer` sub-component with FullCalendar resourceTimeline Gantt, per-vehicle route cards, and OSRM polyline rendering.+- **[fleetops]** `Orchestrator::ResourcePanel` β tabbed vehicle/driver selector with live availability and constraint summaries.+- **[fleetops]** `Orchestrator::OrderPool` β filterable order list with advanced filter row and multi-entity CSV/XLSX import.+- **[fleetops]** `Orchestrator::PhaseBuilder` β drag-and-drop phase composition panel.+- **[fleetops]** Orchestrator constraint fields added to order, driver, and vehicle forms and detail views; all constraint panels default open.+- **[fleetops]** `Order` model: `time_window_start`/`time_window_end` attribute mutators normalise date portion from `scheduled_at` (falling back to `created_at`).++### π Driver & Vehicle Scheduling (FleetOps)+- **[fleetops]** Driver model connected to the Fleetbase core scheduling system via `MorphMany` scheduling relationships.+- **[fleetops]** `driver/schedule` component and route β FullCalendar week view of driver shifts and exceptions.+- **[fleetops]** `operations/scheduler` route with fleet-wide calendar and `fleet-schedule` sub-view.+- **[fleetops]** Vehicle schedules tab exposed in vehicle details panel.++### π§ Maintenance Module (FleetOps)+- **[fleetops]** `Maintenance`, `WorkOrder`, `MaintenanceSchedule`, `Equipment` models with full CRUD controllers, API resources, and migrations.+- **[fleetops]** `ProcessMaintenanceTriggers` and `SendMaintenanceReminders` console commands for automated schedule enforcement.+- **[fleetops]** `WorkOrderObserver` triggers email dispatch on work order creation via `WorkOrderDispatched` mailable.+- **[fleetops]** `MaintenanceScheduleReminder` mailable for upcoming maintenance alerts.+- **[fleetops]** Bulk import support for all four maintenance resource types.+- **[fleetops]** Vehicle contextual actions and details tabs for maintenance history.+- **[fleetops]** Invoice-style cost line-item panel on work orders.++---+## π Bug Fixes++### FleetOps+- **[fleetops]** Fixed driver grouping, multi-stop display, and polyline rendering in the plan viewer.+- **[fleetops]** Fixed vehicle and driver eager-loading in `optimize_routes` and `assign_drivers` phases to remove invalid `location` relation references.+- **[fleetops]** Fixed order import: pickup/dropoff places now persisted to DB and order pool refreshes after import.+- **[fleetops]** Fixed SheetJS XLSX parsing for `.xlsx`/`.xls` file imports.+- **[fleetops]** Fixed `DB::rollBack()` guard β only fires when a transaction is active, preventing misleading "no active transaction" errors.+- **[fleetops]** Fixed `manifest_uuid` missing from `Order::$fillable`, which silently prevented the field being written on commit.++---+## β οΈ Breaking Changes+- **[fleetops]** The `orders` table has a new `manifest_uuid` column (nullable). Run `php artisan migrate` after upgrading.+- **[fleetops]** New `manifests` and `manifest_stops` tables are required for the Orchestrator commit flow. Run `php artisan migrate` after upgrading.++---+## π§ Upgrade Steps+```bash+# Pull latest version+git pull origin main --no-rebase+# Update docker+docker compose pull+docker compose down && docker compose up -d+# Run deploy script+docker compose exec application bash -c "./deploy.sh"+```++---+## π¦ Component Versions+- **fleetbase**: v0.7.32+- **core-api**: v1.6.39+- **fleetops**: v0.6.39+- **storefront**: v0.4.14+- **ledger**: v0.0.1+- **ember-core**: v0.3.18+- **ember-ui**: v0.3.25+- **fleetbase-cli**: v0.0.6++---+## Need help?+Join the discussion on [GitHub Discussions](https://github.com/fleetbase/fleetbase/discussions) or drop by [#fleetbase on Discord](https://discord.com/invite/HnTqQ6zAVn)++---+> "The Ledger & The Navigator"---## β¨ Highlights