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(release): update v0.7.54 notes
Ronald A. Richardsonf2466007d3af
diff --git a/RELEASE.md b/RELEASE.mdindex f61664e8..2bdba304 100644--- a/RELEASE.md+++ b/RELEASE.md@@ -1,76 +1,79 @@-> v0.7.53 ~ "CI hardening, full coverage foundations, Fleet-Ops reliability, and Taler refunds"+> v0.7.54 ~ "Marketplace APIs, Fleet-Ops hardening, portal visibility, and release CI fixes"---## Highlights-Fleetbase `0.7.53` is a quality and reliability release. It adds root install-smoke, API, Console, and Postman contract CI, expands backend coverage across the core modules, and ships targeted fixes for Fleet-Ops operations, Storefront checkout behavior, Ledger Taler refunds, and shared platform runtime paths.+Fleetbase `0.7.54` is a focused reliability and API hardening release. It updates Core API settings cache behavior, tightens Fleet-Ops public API and verification flows, restores Storefront marketplace backend support, fixes Customer Portal order visibility, and keeps Ledger wallet routes and release contract workflows aligned.---## Component Versions-- `console`: `0.7.53`-- `core-api`: `1.6.55`-- `ai`: `0.0.4`-- `fleetops`: `0.6.59`-- `ledger`: `0.0.9`-- `storefront`: `0.4.18`------## Platform CI and Coverage-- Added root-level CI for install-smoke, API tests, Console tests, and coverage reporting.-- Added a live-stack Postman contract workflow that can mint an API key and run the official Fleetbase collections.-- Replaced API stub tests with real host-app coverage for health checks, outbound HTTP logging, users, and event-provider behavior.-- Expanded Console QUnit coverage, fixed lint blockers, and added coverage reporting for the root Console workflow.-- Fixed Docker install smoke issues around release image targets, bundled database privileges, API key minting, Codecov uploads, and package registry resolution.+- `console`: `0.7.54`+- `core-api`: `1.6.57`+- `fleetops`: `0.6.60`+- `customer-portal`: `0.0.13`+- `storefront`: `0.4.19`+- `ledger`: `0.0.10`---## Core API-- Expanded Core API backend coverage to a full baseline across controllers, requests, resources, reports, templates, files, notifications, auth, metrics/search, settings, middleware, webhooks, services, models, traits, and console commands.-- Improved coverage reporting when Clover omits aggregate class metrics.-- Added broader contract coverage for SMS providers, two-factor auth, scheduling, API credential tracking, resource expansion, report execution, policy behavior, and tenant-scoped helper paths.-- Updated the host API dependency to `fleetbase/core-api` `1.6.55`.+- Fixed system setting cache invalidation so writes clear the same cache entries read by `Setting::system()`.+- Fixed platform API token validation after token rotation on file-cache installs.+- Made Redis-only pattern cache clearing skip safely when Redis is unavailable.+- Kept the settings cache regression covered by the full Core API suite.---## Fleet-Ops-- Expanded Fleet-Ops backend coverage from the high-70% range to a near-complete baseline while cleaning up dead or unreachable branches.-- Fixed production defects found during coverage work, including plain-address place insertion, reverse-geocode validation, empty reverse-geocode results, Lalamove market quotations, missing order config defaults, and service-rate sorting.-- Added a View Label action for individual entities and scoped order, waypoint, and entity label lookup by company.-- Fixed GeoJSON fallback coordinate handling so bare coordinate pairs are read in GeoJSON longitude/latitude order.-- Fixed vehicle vendor filtering, driver device registration without an explicit driver id, and default device `last_position` creation.-- Added coverage for AFAQY transport, Lalamove quotes, service quotes, geofencing, maintenance/work-order imports, order imports, waypoint activity, vendor bridges, tracking, fuel reports, and driver assignment flows.+- Fixed driver verification-code bypass behavior and limited the review bypass to configured non-production review accounts.+- Fixed unknown onboard organization lookups to return `404` instead of a server error.+- Fixed duplicate part SKU and fuel provider transaction IDs to return validation errors instead of database exceptions.+- Restored customer signup with place-backed addresses and maintenance vehicle schedule workflows.+- Fixed sensor creation, driver register-device routes, fuel report creation without location data, geofence driver history lookup, QR debug content, and QR lookup failures.+- Updated Fleet-Ops CI so server, Ember, and Postman workflows run on release branches.++---+## Storefront+- Restored the marketplace backend required by the refactored Storefront App.+- Added paginated marketplace member-store APIs with search, category/tag, online, rating, trending, age, popularity, nearest, and distance filters.+- Added marketplace member locations, categories, products, merchant metadata, reviews, and payment gateway surfaces.+- Hardened carts and checkout across tenant scope, authenticated customer identity, merchant/store ownership, product availability, multi-store policy, currency, and service quote handling.+- Fixed API errors around carts, unknown store locations, malformed Apple identity tokens, missing review subjects, SMS login without Twilio credentials, account closure, phone verification, checked-out carts, and checkout token responses.++---+## Customer Portal+- Fixed dispatcher-created order visibility by authorizing portal orders through tenant-scoped customer UUIDs instead of strict polymorphic type matching.+- Kept other customers, companies, and soft-deleted orders isolated.+- Added regression coverage for portal-created, dispatcher-created, contact, and vendor orders.----## Ledger and Taler-- Completed the customer-facing GNU Taler refund lifecycle with persistent refund URIs, refund history, public wallet handoff, QR/copy fallback, and refund email delivery.-- Added scheduled and manual Taler refund verification so invoices remain pending until wallet acceptance is confirmed.-- Improved Taler driver support for refund status polling, order-status checks, gateway diagnostics, and credential validation.-- Expanded Ledger backend coverage to a full baseline across gateways, invoices, wallet, payments, refunds, revenue lifecycle, webhooks, listeners, resources, filters, notifications, commands, and routes.-- Added Ledger API contract workflow support and coverage reporting.+## Ledger+- Updated Ledger to `0.0.10` with release branch and contract-workflow alignment.+- Fixed unauthenticated Ledger API responses so they return JSON errors instead of HTML pages.+- Fixed public wallet routes that were unreachable by valid credentials.+- Carried forward release-branch Postman contract workflow updates.----## AI and Storefront-- Expanded Fleetbase AI backend coverage to a full baseline, including sessions, tasks, attachments, providers, admin endpoints, query execution, capability helpers, and coverage-summary reporting.-- Organized AI backend tests into explicit unit and feature suites and added CI coverage reporting.-- Expanded Storefront backend coverage to a full baseline across checkout, payment initialization, Stripe/QPay flows, customer auth, integrated vendors, food trucks, commerce resources, commands, middleware, requests, and provider integrations.-- Fixed Storefront issues found by coverage around pickup-store resolution, order configuration projection, Twilio-specific errors, dashboard behavior, and Stripe checkout errors.+## Release and CI+- Updated release branch contract workflows so module PRs test the branch API code instead of only the published package.+- Added release-tag automation child updates for Fleet-Ops, Storefront, Ledger, and Customer Portal.+- Kept Postman contract checks aligned with the latest release flow.---## Bug Fixes-- Fixed Console lint failures that blocked the release workflow before tests and coverage could run.-- Fixed missing Console translation keys used by set-password and common action flows.-- Fixed Fleet-Ops label lookup cross-company leakage.-- Fixed Fleet-Ops vehicle vendor filtering returning no public API results.-- Fixed Fleet-Ops driver device registration and device default position creation returning `500`s.-- Fixed Storefront checkout and Stripe error paths surfaced by backend coverage.-- Fixed Ledger refund reversal and wallet refund state handling for Taler refunds.+- Fixed stale Core API system settings after updates.+- Fixed Fleet-Ops verification-code bypass and duplicate-key API errors.+- Fixed Fleet-Ops registration, sensor, fuel report, geofence, QR, and maintenance workflow regressions.+- Fixed Storefront marketplace, checkout, customer verification, cart, review, and identity error paths.+- Fixed Customer Portal order visibility for dispatcher-created orders.+- Fixed Ledger wallet route access and unauthenticated response format.---## API Changes-- Added root API contract workflow support for live-stack Postman collection runs.-- Updated Core API to `1.6.55` and widened backend contract coverage across public, internal, admin, reporting, auth, webhook, search, settings, and file routes.-- Fleet-Ops entity labels now use the existing order label endpoint and enforce company-scoped subject resolution.-- Fleet-Ops GeoJSON fallback coordinate parsing now preserves GeoJSON longitude/latitude order for affected bare-pair inputs.-- Fleet-Ops public vehicle vendor filtering now accepts public/internal vendor identifiers, while internal routes can still resolve vendor UUIDs.-- Fleet-Ops driver device registration can resolve the current driver when no id is supplied, and devices default missing `last_position` to `POINT(0,0)`.-- Ledger adds public Taler refund handoff, refund-history access, refund verification command support, and pending refund state transitions.+- Core API system setting writes now invalidate direct setting cache keys reliably across cache drivers.+- Fleet-Ops verification bypass behavior is gated by environment, configuration, and designated review accounts.+- Fleet-Ops duplicate part SKU and fuel transaction ID conflicts now return validation responses.+- Storefront marketplace APIs now expose network member stores, marketplace products, merchant metadata, reviews, member locations, categories, and payment gateway data with tenant-safe filtering.+- Storefront checkout now treats authenticated `Customer-Token` identity as authoritative and rejects mismatched customer IDs.+- Customer Portal order access now supports dispatcher-created orders through tenant-scoped customer UUID matching.+- Ledger public wallet routes are reachable with valid credentials and unauthenticated failures return JSON.---## Upgrade Steps