Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Nov 23:43
· 924 commits to main since this release
227b15f

What's in v1.0.0 — the first stable release, and a database outage no longer loses events

Important

This release contains breaking changes. They are described in the first
bullets below and in full in the upgrade notes.

  • Upgrade in place from v0.27.0 with dcctl install, then one dcctl upgrade per instance; no migration runs and no row is rewritten. Act on the breaking changes first. The alarm filters originator on AlarmSearchCriteria, AlarmCountCriteria and Subscription.alarmStream are renamed originatorToken, with no alias, so a GraphQL client that sends originator is refused (the MCP tool list_alarms follows). The Helm chart's ingress.controller now defaults to gateway: if you install the chart directly rather than through dcctl and an instance is served by ingress-nginx, set ingress.controller=nginx before upgrading the chart, or the host stops answering. The OpenTofu cluster root's enable_ingress_nginx now defaults to false; dcctl install keeps ingress-nginx on a cluster that already runs it.
  • This is the first stable release. From it, the versioning and upgrade policy applies: the device wire formats, the GraphQL schemas, the dcctl commands and flags, the npm packages and the C# SDK change incompatibly only in a major release, and CI compares each of them with the previous release.
  • A database outage holds messages instead of discarding them. In a load test an event-store volume filled and the platform lost 1,722,366 events the broker had acknowledged, because a message was discarded on its fifth delivery, about four minutes into an outage. event-management and the consumers in device-management, command-delivery, notification-management and update-management now keep the message unacknowledged until the database answers. In a seven-minute read-only outage at 200 events per second, all 144,000 events were stored once; the build before lost about 37,500. Five new alerts cover a filling or refusing event store and a consumer holding for its database. An MQTT event the broker has acknowledged can still be lost if the capture stream fills, unless fail-closed MQTT acknowledgement is on, which stays off by default.
  • Detection is faster and more correct. A fired detection is published within a tick instead of waiting up to 10 seconds for the checkpoint, so a rule's alarm and its command no longer lag the reading by that long. A device deleted and recreated with the same token can raise alarms again. A measurement entry dropped at resolution, such as a text value beside numeric readings, is now counted by resolve_measurement_dropped_total.
  • Traefik and the Gateway API are the default front end, and ingress-nginx is deprecated because the Kubernetes project has retired it. A new cluster gets Traefik alone. A cluster that already runs ingress-nginx keeps it and dcctl upgrade warns on every run; the nginx choice stays for one more minor release.
  • Installing is easier. dcctl preflight fails on a taken host port 80, 443 or 1883 and checks disk on Windows and macOS, the printed Console URL and MQTT address come from the ports the cluster publishes, and a dcctl bootstrap that was killed can be re-run. dc-simulator is attached to every release, so dcctl sim run no longer needs a Go compiler.
  • Smaller changes: the board generated from a device type's profile draws one chart per unit, offers only devices of that type, fills its own token and hides the command button from a viewer without command:write; a customer-scoped viewer no longer makes refused dashboard calls; the docs add a feature tour and a worked migration pilot, and state what over-the-air updates were validated for.

Full upgrade notes for v1.0.0 →

Changelog