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.30 release notes and flb search to README
Ronald A. Richardson17a6ad34d8a2
diff --git a/README.md b/README.mdindex 96e98f08..fc63f732 100644--- a/README.md+++ b/README.md@@ -191,6 +191,7 @@ npm install -g @fleetbase/cli|---------|-------------|| `flb install-fleetbase` | Install Fleetbase using Docker with interactive setup || `flb set-auth <token>` | Set your registry authentication token for installing extensions |+| `flb search [query]` | Browse and search available extensions without authentication || `flb install <extension>` | Install an extension to your Fleetbase instance || `flb uninstall <extension>` | Uninstall an extension from your instance || `flb register` | Register a Registry Developer Account |@@ -204,6 +205,34 @@ npm install -g @fleetbase/cliExtensions are modular components that enhance the functionality of your Fleetbase instance. They allow you to add new features, customize existing behavior, or integrate with external systems.+### Browsing Extensions++You can browse all publicly available extensions without any account or authentication token:++```bash+# List all available extensions+flb search++# Search by keyword+flb search fleet++# Filter by category+flb search --category logistics++# Show only free extensions+flb search --free++# Output as JSON (for scripting)+flb search --json+```++Each result shows the extension name, category, publisher, version, price, and both supported install formats:++```+flb install fleetbase/fleetops+flb install ext_abc123+```+### Installing ExtensionsTo install extensions on a self-hosted instance:diff --git a/RELEASE.md b/RELEASE.mdindex 48d4ad5a..12eb1663 100644--- a/RELEASE.md+++ b/RELEASE.md@@ -1,114 +1,75 @@-# π Fleetbase v0.7.29 β 2026-02-27+# π Fleetbase v0.7.30 β 2026-02-28-> "Major security enhancements, analytics tracking, developer tools, and UX improvements"+> "Driver validation hardening, public extension discovery, and account lifecycle management improvements"---## β¨ Highlights-This release brings **critical security patches**, comprehensive **analytics event tracking** across the platform, enhanced **developer account management** for the extension marketplace, and several **user experience improvements** including accurate geolocation detection.+This release delivers **targeted bug fixes and quality-of-life improvements** across the FleetOps extension, the Registry Bridge, the Fleetbase CLI, and the core internals. The primary focus areas are driver creation reliability, a fully public and sanitized extension discovery API, a new CLI search command for browsing available extensions without authentication, and a more robust account deletion workflow with a 14-day grace period.-### π Security Enhancements+### π FleetOps β Driver Vehicle Validation-Fleetbase v0.7.29 includes critical security fixes that strengthen tenant isolation and prevent unauthorized access. The **core-api** has been patched to address a systemic tenant isolation vulnerability (GHSA-3wj9-hh56-7fw7) with the introduction of a `CompanyScope` global scope that enforces proper tenant boundaries. Additional security improvements include removal of hardcoded authentication bypasses, enforcement of strong password policies across all validators, and prevention of user enumeration in login flows. Cross-tenant IDOR vulnerabilities have been resolved with company-scoped authorization checks throughout the API.+A `TypeError` that occurred when creating a driver with a vehicle object (rather than a plain ID string) sent from the frontend has been resolved. A new `ResolvableVehicle` validation rule now accepts a `public_id` string (e.g., `vehicle_abc123`), a UUID string, or an object/array containing an `id`, `public_id`, or `uuid` key. Vehicle normalization has been added to both `createRecord()` and `updateRecord()` in `DriverController` so the correct vehicle UUID is always resolved before persistence.-### π Analytics & Event Tracking+### π Registry Bridge β Public Extension Discovery-A comprehensive **events service** has been added to **ember-core**, providing centralized analytics tracking across all core services. The system emits both generic events (e.g., `resource.created`) and specific events (e.g., `order.created`) using a standardized dot notation naming convention. Event tracking has been integrated into CRUD operations (create, update, delete, bulk actions, import, export) and resource actions across the platform. In **FleetOps**, 30 controllers now emit analytics events, and import operations return accurate counts of imported records. The dual event system fires on both the events service and universe service, enabling cross-engine communication for analytics integrations like PostHog.+The public extensions listing endpoint (`~registry/v1/extensions`) has been hardened so that self-hosted users can browse the marketplace without a Fleetbase cloud account or authentication token. A dedicated `PublicRegistryExtension` API resource now sanitizes the response, stripping all sensitive fields (internal UUIDs, Stripe IDs, and private relationships) before they leave the server. The `install_count` aggregation has been corrected to use `withCount('installs')` and the incorrect `author` relationship has been replaced with the proper `company` relationship. The endpoint now returns a clean, flat array.-### π οΈ Developer Tools & Marketplace+### π Fleetbase CLI β Extension Search Command-The **registry-bridge** now supports **Registry Developer Accounts** for self-hosted instances, enabling developers to publish and monetize extensions through a centralized marketplace. The Universal Extension Marketplace backend provides a public extension listing endpoint with 15-minute caching for performance. Stripe Connect account management has been added, allowing developers to update bank account details after initial onboarding. The **fleetbase-cli** has been significantly enhanced with new commands including `flb register` for developer account registration, `flb verify` for email verification, `flb resend-verification` for expired codes, and `flb install-fleetbase` for Docker-based installation with automatic repository cloning.+A new `flb search [query]` command (alias: `flb list-extensions`) allows developers and administrators to browse all publicly available extensions directly from the terminal without any authentication. Results are displayed in a formatted, colour-coded table showing the extension name, category, publisher, version, price, and both supported install formats. Filtering options include `--category`, `--free`, `--json` (machine-readable output), `--simple` (plain text), and `--host` (for self-hosted registries).-### π Geolocation & UX Improvements+### ποΈ Internals β Account Deletion Lifecycle-A critical bug affecting user onboarding has been fixed where the system was displaying the **server's location** instead of the **user's actual location**. The **ember-core** now implements frontend IP lookup using multiple geolocation APIs (geoiplookup.io and ipapi.co) with automatic fallback support and localStorage caching. The **phone-input component** in **ember-ui** has been updated to use this frontend IP lookup, ensuring accurate country code detection for phone number formatting. The **IAM engine** now features tabbed user type sections in the users management interface for better organization.--### π Reporting & Data Access--**FleetOps** now exposes the `meta` column and `Transaction` relationships in the Orders report schema, enabling users to query and report on order metadata, custom fields, and financial data including transaction amounts, line items, and aggregates. This resolves a significant limitation where critical financial data was previously inaccessible in reports.--### π Internationalization--Support for **KZT (Kazakhstani Tenge)** currency has been added across both **core-api** and **ember-ui**, expanding Fleetbase's international capabilities.-------## π Security Fixes--- **[core-api]** Patched critical tenant isolation vulnerability (GHSA-3wj9-hh56-7fw7) with CompanyScope global scope-- **[core-api]** Removed hardcoded SMS auth bypass code, replaced with environment-driven bypass for non-production-- **[core-api]** Fixed cross-tenant IDOR vulnerabilities with company-scoped authorization-- **[core-api]** Enforced strong password policy across all validators-- **[core-api]** Prevented user enumeration in login flow-- **[core-api]** Restored authToken re-authentication with identity verification+The account deletion grace period has been extended from 7 days to **14 days**, giving users more time to reactivate before their data is permanently removed. The `PurgeSuspendedOrganizations` command has been corrected to target only `canceled` subscriptions, preventing accidental deletion of `past_due` accounts that may still recover. The `WarnSuspendedOrganizations` command now automatically clears any scheduled deletion date when an account is reactivated, and a `deletion_warning` case has been added to the `TestEmails` artisan command for easier QA. Email templates for deletion warnings have been updated to use branded components and a professional tone.---## β¨ New Features-### Analytics & Tracking-- **[ember-core]** Added centralized events service for analytics tracking across all core services-- **[ember-core]** Event tracking in CRUD service (create, update, delete, bulk actions, import, export)-- **[ember-core]** Dual event system (fires on both events service and universe service)-- **[fleetops]** Added event tracking to 30 FleetOps controllers for event tracking-- **[fleetops]** Import operations now return count of imported records in response--### Developer Tools-- **[registry-bridge]** Registry Developer Account support for self-hosted instances-- **[registry-bridge]** Universal Extension Marketplace backend with public extension listing endpoint-- **[registry-bridge]** Stripe Connect account management for bank account updates-- **[registry-bridge]** Email verification for developer accounts using VerificationCode model-- **[registry-bridge]** Automatic registry token generation upon email verification-- **[fleetbase-cli]** Added `flb register` command for Registry Developer Account registration-- **[fleetbase-cli]** Added `flb verify` command for email verification-- **[fleetbase-cli]** Added `flb resend-verification` command to request new verification codes-- **[fleetbase-cli]** Added `flb install-fleetbase` command for Docker-based installation-- **[fleetbase-cli]** Auto-clone Fleetbase repository if not present during installation-- **[fleetbase-cli]** Support for `--host` parameter to work with self-hosted instances--### Reporting & Data-- **[fleetops]** Exposed meta column and Transaction relationships in Orders report schema for financial reporting-- **[core-api]** User cache now includes updated_at timestamp for automatic cache busting--### UI/UX-- **[iam-engine]** Added tabbed user type sections to users management interface-- **[iam-engine]** Enhanced edit user interface with better validation and error handling--### Internationalization-- **[core-api]** Added KZT (Kazakhstani Tenge) currency support-- **[ember-ui]** Added support for KZT currency+### CLI+- **[fleetbase-cli]** Added `flb search [query]` command (alias: `flb list-extensions`) to browse available extensions without authentication+- **[fleetbase-cli]** `--category` filter to narrow search results by extension category+- **[fleetbase-cli]** `--free` flag to list only free extensions+- **[fleetbase-cli]** `--json` flag for machine-readable JSON output+- **[fleetbase-cli]** `--simple` flag for plain-text terminal output+- **[fleetbase-cli]** `--host` option to target self-hosted registry instances++### Registry+- **[registry-bridge]** `PublicRegistryExtension` API resource for sanitized public extension responses+- **[registry-bridge]** Public extensions endpoint now accessible without authentication for self-hosted users---## π Bug Fixes-### Geolocation-- **[ember-core]** Implemented frontend IP lookup to get accurate user location (fixes onboarding showing server location)-- **[ember-core]** Added lookup-user-ip utility with multi-API fallback support (geoiplookup.io and ipapi.co)-- **[ember-core]** localStorage caching for IP lookup results (1 hour TTL)-- **[ember-core]** Graceful fallback to browser timezone when geolocation APIs fail-- **[ember-ui]** Updated phone-input component to use frontend IP lookup (fixes incorrect country code detection)-- **[ember-ui]** Phone input now always initializes with US fallback if geolocation fails--### Core Fixes-- **[core-api]** Verification codes now default to 'pending' status-- **[core-api]** Fixed verification email HTML rendering (button component)-- **[core-api]** Prevented empty email/phone on user update-- **[core-api]** Resolved camelCase expansion methods from snake_case query params in Filter-- **[fleetops]** Prevented duplicate driver creation when user_uuid already has a driver profile-- **[registry-bridge]** Made developer account registration routes public (no auth required)-- **[registry-bridge]** Polymorphic purchaser relationship for extension purchases (supports both Company and RegistryDeveloperAccount)+### FleetOps+- **[fleetops]** Fixed `TypeError` when creating a driver with a vehicle object sent from the frontend+- **[fleetops]** Added `ResolvableVehicle` validation rule accepting `public_id`, UUID, or object with `id`/`public_id`/`uuid`+- **[fleetops]** Added vehicle normalization in `DriverController::createRecord()` and `updateRecord()`++### Registry Bridge+- **[registry-bridge]** Fixed `install_count` column error by switching to `withCount('installs')` eager load+- **[registry-bridge]** Removed incorrect `author` relationship; replaced with correct `company` relationship+- **[registry-bridge]** Removed all sensitive data (internal UUIDs, Stripe IDs, private relationships) from public endpoint response+- **[registry-bridge]** Public extensions endpoint now returns a plain array without a wrapping key++### Internals+- **[internals]** Extended account deletion grace period from 7 days to 14 days+- **[internals]** `PurgeSuspendedOrganizations` now only deletes organizations with `canceled` subscriptions (not `past_due`)+- **[internals]** `WarnSuspendedOrganizations` now auto-clears scheduled deletion date when an account is reactivated+- **[internals]** Added `deletion_warning` case to `TestEmails` artisan command+- **[internals]** Updated deletion warning email templates to use branded components---## π§ Improvements-- **[fleetops]** Moved avatar management to FleetOps settings-- **[ember-ui]** Faster phone input lookup (1 network hop vs 2, no backend dependency)-- **[fleetbase-cli]** Better error handling and debugging for all commands-- **[fleetbase-cli]** Skip interactive prompts when command-line options are provided-- **[ember-core]** Standardized event naming with dot notation (e.g., resource.created, order.created)+- **[fleetbase-cli]** Price display now correctly converts cents to dollars in search results+- **[fleetbase-cli]** Search results show both install formats: `flb install fleetbase/<slug>` and `flb install <extension_id>`+- **[fleetbase-cli]** Updated README with full `flb search` command documentation and examples+- **[registry-bridge]** Extension listing response is now a clean, flat array for easier consumption by CLI and third-party tools---@@ -137,12 +98,10 @@ docker compose exec application bash -c "./deploy.sh"## π¦ Component Versions- **core-api**: v1.6.36-- **fleetops**: v0.6.36-- **registry-bridge**: v0.1.6-- **iam-engine**: v0.1.7-- **ember-core**: v0.3.11, v0.3.12-- **ember-ui**: v0.3.20, v0.3.21-- **fleetbase-cli**: v0.0.4+- **fleetops**: v0.6.37+- **registry-bridge**: v0.1.7+- **internals**: v0.0.28+- **fleetbase-cli**: v0.0.5---