v0.7.2 ~ Telemetry tweak patch

This commit is contained in:
Ronald A. Richardson
2025-05-22 15:19:01 +08:00
parent b5ec15f0bb
commit c54ef7fb30
8 changed files with 32 additions and 47 deletions

View File

@@ -1,21 +1,12 @@
# 🚀 Fleetbase v0.7.1 — 2025-05-22
# 🚀 Fleetbase v0.7.2 — 2025-05-22
> Finally, official docker images and binary builds for the upcoming Omnibus.”
> OK, Telemetry needed a small tweak.”
---
## ✨ Highlights
- Introduction to Telemetry for improving Fleetbase and setup experiences.
- Added runtime config for Fleetbase Console (`./console/fleetbase.config.json`), no more rebuilding the frontend to update config.
- Official Fleetbase API and Console docker images published. `docker compose up` now uses the official images for faster setup - no more building.
- Performance optimization and improvements to the FleetOps Order API. Faster responses.
- Patched waypoint activity flow and proof of delivery QR scanning and photo capture API.
- Added ability to view waypoint activity status and labels if no entities attached to order.
- Fixed Timezone issues in Navigator app (v2.0.5)
- Improved Navigator app performance and UX (v2.0.5) - New "Waypoint Completed" dialog.
- Improved socket implementation on FleetOps.
- Added two new order activity events for listeners `order.waypoint_activity` and `order.waypoint_completed`
- Added Navigator App email verification code fallback if SMS is unable to send (v2.0.5).
- Minor tweak for Telemetry support.
- Improved builds for `DISABLE_RUNTIME_CONFIG=true`
---
@@ -25,23 +16,13 @@
---
## 🆕 Features
- **Navigator App v2.0.5** — Improved Navigator App Performance and UX for better experience.
- **Official Docker Images** — Official Docker images on [Docker Hub](https://hub.docker.com/u/fleetbase)
- **Binary Builds** — Fleetbase API Binary for both Linux and MacOS - `sh ./fleetbase php-server`
- **Telemetry** — opt-in daily ping with anonymized usage stats for system improvements.
- **Telemetry** — tweak patch for improvement.
---
## 🐛 Fixes
- Activity flow fixed for waypoints.
- Better implementation of socket listeners in console.
- Activity events and notifications streamlined.
- `DISABLE_RUNTIME_CONFIG` works at build time in addition to boot process.
## ⚙️ Using the new Console Runtime Config
- Open `./console/fleetbase.config.json`
- Edit configurable properties in JSON: `API_HOST` - `SOCKETCLUSTER_HOST` - `SOCKETCLUSTER_PORT` - `OSRM_HOST`
- Save and reload Fleetbase Console in the browser.
- 💥 Boom! Config changes applied at runtime.
## 🔧 Upgrade Steps
```bash
@@ -50,10 +31,6 @@ git pull origin main --no-rebase
# Update docker
docker compose down && docker compose up -d
# Run updrade
docker exec -ti fleetbase-application-1 bash
sh deploy.sh
```
## Need help?

View File

@@ -10,7 +10,7 @@
"require": {
"php": "^8.0",
"appstract/laravel-opcache": "^4.0",
"fleetbase/core-api": "^1.6.6",
"fleetbase/core-api": "^1.6.7",
"fleetbase/fleetops-api": "^0.6.9",
"fleetbase/registry-bridge": "^0.0.19",
"fleetbase/storefront-api": "^0.3.31",

14
api/composer.lock generated
View File

@@ -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": "8e0e195ab21e3a1895057be29fefa4b6",
"content-hash": "d72a64e0c021cc2a01f5a3fac5706db7",
"packages": [
{
"name": "appstract/laravel-opcache",
@@ -2436,16 +2436,16 @@
},
{
"name": "fleetbase/core-api",
"version": "1.6.6",
"version": "1.6.7",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/core-api.git",
"reference": "5e267dc8c74f9a2126c00d955188eb5b77793c25"
"reference": "411be52ccf0fc0f9fac1dc9e292104f3b34dcf05"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fleetbase/core-api/zipball/5e267dc8c74f9a2126c00d955188eb5b77793c25",
"reference": "5e267dc8c74f9a2126c00d955188eb5b77793c25",
"url": "https://api.github.com/repos/fleetbase/core-api/zipball/411be52ccf0fc0f9fac1dc9e292104f3b34dcf05",
"reference": "411be52ccf0fc0f9fac1dc9e292104f3b34dcf05",
"shasum": ""
},
"require": {
@@ -2530,9 +2530,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/core-api/issues",
"source": "https://github.com/fleetbase/core-api/tree/v1.6.6"
"source": "https://github.com/fleetbase/core-api/tree/v1.6.7"
},
"time": "2025-05-22T01:32:02+00:00"
"time": "2025-05-22T07:11:41+00:00"
},
{
"name": "fleetbase/fleetops-api",

View File

@@ -4,6 +4,7 @@
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const FleetbaseExtensionsIndexer = require('fleetbase-extensions-indexer');
const Funnel = require('broccoli-funnel');
const writeFile = require('broccoli-file-creator');
const postcssImport = require('postcss-import');
const postcssPresetEnv = require('postcss-preset-env');
const postcssEach = require('postcss-each');
@@ -12,6 +13,7 @@ const postcssConditionals = require('postcss-conditionals-renewed');
const postcssAtRulesVariables = require('postcss-at-rules-variables');
const autoprefixer = require('autoprefixer');
const tailwind = require('tailwindcss');
const toBoolean = require('./config/utils/to-boolean');
const environment = process.env.EMBER_ENV;
module.exports = function (defaults) {
@@ -61,13 +63,15 @@ module.exports = function (defaults) {
});
let extensions = new FleetbaseExtensionsIndexer();
let config;
if (environment === 'development') {
config = new Funnel('.', {
let runtimeConfigTree;
if (toBoolean(process.env.DISABLE_RUNTIME_CONFIG)) {
runtimeConfigTree = writeFile('fleetbase.config.json', '{}');
} else {
runtimeConfigTree = new Funnel('.', {
files: ['fleetbase.config.json'],
destDir: '/',
});
}
return app.toTree([extensions, config].filter(Boolean));
return app.toTree([extensions, runtimeConfigTree].filter(Boolean));
};

View File

@@ -1,6 +1,6 @@
{
"name": "@fleetbase/console",
"version": "0.7.1",
"version": "0.7.2",
"private": true,
"description": "Modular logistics and supply chain operating system (LSOS)",
"repository": "https://github.com/fleetbase/fleetbase",
@@ -29,15 +29,15 @@
},
"dependencies": {
"@ember/legacy-built-in-components": "^0.4.2",
"@fleetbase/dev-engine": "^0.2.9",
"@fleetbase/ember-core": "latest",
"@fleetbase/ember-ui": "latest",
"@fleetbase/fleetops-data": "latest",
"@fleetbase/fleetops-engine": "^0.6.9",
"@fleetbase/iam-engine": "^0.1.3",
"@fleetbase/dev-engine": "^0.2.9",
"@fleetbase/leaflet-routing-machine": "^3.2.16",
"@fleetbase/registry-bridge-engine": "^0.0.19",
"@fleetbase/storefront-engine": "^0.3.31",
"@fleetbase/leaflet-routing-machine": "^3.2.16",
"@fortawesome/ember-fontawesome": "^2.0.0",
"ember-changeset": "4.1.2",
"ember-changeset-validations": "4.1.2",
@@ -56,13 +56,13 @@
"postcss-nth-list": "^1.0.2"
},
"devDependencies": {
"@embroider/macros": "1.16.12",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@ember/optional-features": "^2.1.0",
"@ember/string": "^3.1.1",
"@ember/test-helpers": "^3.3.1",
"@embroider/macros": "1.16.12",
"@fleetbase/intl-lint": "^0.0.1",
"@fortawesome/fontawesome-svg-core": "6.4.0",
"@fortawesome/free-brands-svg-icons": "6.4.0",
@@ -72,6 +72,7 @@
"@tailwindcss/forms": "^0.5.7",
"autoprefixer": "^10.4.20",
"broccoli-asset-rev": "^3.0.0",
"broccoli-file-creator": "^2.1.1",
"broccoli-funnel": "^3.0.8",
"concurrently": "^8.2.2",
"date-fns": "^2.30.0",

View File

@@ -140,6 +140,9 @@ importers:
broccoli-asset-rev:
specifier: ^3.0.0
version: 3.0.0
broccoli-file-creator:
specifier: ^2.1.1
version: 2.1.1
broccoli-funnel:
specifier: ^3.0.8
version: 3.0.8

View File

@@ -75,7 +75,7 @@ ENV QUEUE_CONNECTION=redis
ENV CADDYFILE_PATH=/fleetbase/Caddyfile
ENV CONSOLE_PATH=/fleetbase/console
ENV OCTANE_SERVER=frankenphp
ENV FLEETBASE_VERSION=0.7.1
ENV FLEETBASE_VERSION=0.7.2
# Set environment
ARG ENVIRONMENT=production