Skip to main content

Release notes

The product follows semantic versioning. The public HTTP surface is /api/v2; a breaking change needs a new API version.

4.0.1​

mii Lite now lets your own applications read plant data without the Console API: a read-only MQTT broker and read-only PostgreSQL views.

Added​

  • Public read-only MQTT broker (Lite). Subscribe to live values on topics mii/uns/#. Topic pattern: mii/uns/<enterprise>/<site>/<area>/<work center>[/<work unit>]/<equipment>/<tag>. Login mii-reader. Payload:
    {"value":12.4,"quality":"good","ts":"2026-12-02T10:15:00.123Z","tagId":"..."}
    Set MI_LITE_MQTT_PUBLIC_LISTEN (for example 0.0.0.0:1883) to open it.
  • Read-only PostgreSQL views (Lite). Role mii_reader reads the schema mii_data: samples, latest, tags and alarms. Statements are limited to 60 seconds and 10 connections. Set MI_LITE_PG_PUBLIC=on to open it. The port is MI_LITE_PG_PORT (default 5433).
  • DATA-ACCESS.txt. The data folder holds the MQTT and PostgreSQL logins and example SQL. mii writes it only while at least one outside access is open and removes it otherwise.
  • Docker image defaults. The mii-lite image opens MQTT (1883) and PostgreSQL (5433) read-only access by default. Set MI_LITE_MQTT_PUBLIC_LISTEN=off and MI_LITE_PG_PUBLIC=off to close them.

Upgrade notes​

  • On Windows and Linux both outside accesses are off until you set them in mii.env. Windows opens only TCP 8080 in the firewall; add your own rules for 1883 and 5433.
  • A public port that collides with another Lite port stops the start with an error.
  • Install over the old version. Lite makes an automatic backup before every upgrade.

See Lite on Docker and Read with SQL.

4.0.0​

Added​

  • Editions. Free, Lite and Enterprise come from one build. The signed licence decides. Free clears configuration, history, alarm history and proposals every 3 hours. The audit log is never wiped.
  • mii Lite. One launcher for Windows (preview), Linux (.deb, tarball, systemd) and Docker. Commands mii backup, restore, rollback and stop. Automatic backup before every upgrade. Ports through MI_LITE_*_PORT.
  • Quality and units in history. Values keep good, uncertain, bad or unknown. Retention per plant, class and tag with a dry run and approval for shortening. Optional rollups. CSV and Parquet export.
  • OEE. Availability, performance and quality from shifts, orders and downtime reasons, plus a Reports screen.
  • Governance. Owner, classification and egress rules. Completeness, lineage and catalogue export.
  • Scoped access by area, work center, work unit or equipment for people, API keys and AI credentials.
  • Approvals, policies (Enterprise) and safe write-back. Safe write is opt-in (MI_SAFE_WRITE).
  • Uplinks. UNS topics from the plant model, per-tag topics, a topic prefix and webhook delivery.
  • Public API at /api/public/v1 with API keys (mii_pk_) and OpenAPI 3.1.
  • MCP in the Console at /api/v2/mcp. Read, propose and approve. No separate agent process is needed.
  • Tamper-evident audit chain with verify and export.
  • Alarms are evaluated in the Site Runtime again.
  • Knowledge graph, process model and 20 equipment templates. Large-group and setup-speed fixes in the OT runtime.
  • Remote Site Runtime (mii-runtime). A standalone Windows service, a Linux systemd package (.deb or tarball) and the mi-siterun image, with all device protocols. It needs outbound HTTPS 443 only: no inbound port at the site and no database password at the edge.
  • mi-ingest gateway. Per-runtime mTLS certificates from a one-time enrollment token, renew and revoke from the Console. Batches are deduplicated by runtime and sequence and acknowledged only after the historian write. The runtime keeps a disk store-and-forward outbox (live first, then backlog), the gateway applies 429 back-pressure, and replicas are stateless.
  • Runtime command channel. The Console reaches a remote runtime through a connection the runtime opens: test connection, browse, tag and group writes, drivers, live values and alarms.
  • Runtimes page. Install steps per platform, enrollment, certificates, ingest lag, buffer, errors, and "degraded" with the reason when ingest is unreachable.
  • Preview features. Windows package (until code signing), Helm chart and high availability, fleet control plane (Enterprise), business-system connectors (Enterprise). Windows Server 2012 R2 has limited support.

Fixed​

  • Rule actions write to devices again. The write sent by a rule was refused by the runtime since the PLC write hardening.
  • Large runtime packages no longer stop after 30 seconds on slow links.
  • Windows: Modbus polls at the configured rate. FOCAS, HEIDENHAIN and HSMS send each request in one write. The OT runtime and the rules engine stop gracefully.

Breaking changes​

Production licence key

4.0.0 trusts the production licence key only. Licences signed with the development key (every 3.x licence and every 4.0.0 pre-release licence) are refused. Lite and other licences must be re-issued before you upgrade: ask for a new licence with the same customer, Installation ID and limits. An invalid licence never wipes your configuration.

  • Agent keys (mii_ac_*) are refused on Console REST routes outside a short allow list. Use MCP or the public API.
  • MCP quality text is lowercase: good, uncertain, bad, unknown.
  • Metrics. With MI_METRICS_ADDRESS set, /metrics and /ready move to that listener (404 on the UI port unless MI_METRICS_PUBLIC=true). MI_METRICS_TOKEN adds a bearer token.
  • Secrets are redacted in API responses and shown as "saved". Send nothing to keep a secret, or null to clear it.
  • Proposals older than 24 hours expire.
  • Control plane needs a database, a token and TLS.

Upgrade notes​

  • Take a backup first. Lite does it for you.
  • Migrations run from 014 to 029 and later at start. Rolling back needs migrate --down-to 014_process.sql, and data in new tables is lost.
  • Topic prefix. A stored prefix is not applied until you apply it.
  • Webhook delivery is off for existing webhooks until you enable it in Uplinks.
  • OPC UA server Uplink listens after the upgrade with writes off.
  • Store port. MI_LITE_STORE_PORT (default UDP 17001) is configurable.
  • Nothing is deleted by retention until you save a rule. Egress defaults to allow.
  • Remote runtimes: point DNS ingest.<your domain> at the plant, pass TLS through (SNI passthrough), and set MI_INGEST_PUBLIC_URL and MI_CONSOLE_PUBLIC_URL on the Console.

Known limits​

  • The runtime command channel needs one Console replica.
  • Deleting a runtime in the Console does not uninstall it at the site. Run mii-runtime uninstall --purge there. Remote decommissioning is planned for 4.1.
  • Upgrading a remote runtime pauses polling for about 9 seconds.
  • Windows packages are not code-signed yet.