Repository navigation
v1.6.0
What's in v1.6.0 — tighter authority checks and devices connected through broker reloads
- Upgrade in place from v1.5.0 with the v1.6.0 dcctl: install with your cluster settings, then upgrade each instance. Use OpenTofu 1.10 or later, correct newly refused configuration and review roles, stored credentials and device relationships first.
- Geofence detections and solar campaigns require location access, automation authors need authority for their actions, and delegated administrators cannot grant or act above their own authorities. Device events can no longer assign ownership.
- CA rotation and manual broker reloads keep authenticated devices connected. Configuration or image changes still restart broker pods and require devices to reconnect.
- Preview backup commands export streams and objects, verify local bytes, and produce a read-only restore plan. They do not coordinate database checkpoints or apply a restore.
- Dashboard layouts can be arranged per breakpoint, the rule editor adds Filter, Exists and Math forms, and command submissions and one-time secret dialogs handle retries and accidental clicks more reliably.
- MCP responses and concurrent requests have explicit memory bounds. Campaign planning, OTA downloads, connector sends and notification escalations share capacity between tenants; command holds remain gated through maintenance-window changes. Agent actions gain metrics and a failure alert.
Full upgrade notes for v1.6.0 →
Changelog
- d6a1e9a: build: OpenTofu >= 1.10 across the whole tree (pin and required_version move together) (#2594) (@derekadams)
- 7ce7790: ci: install shellcheck before actionlint, since the runner image no longer ships it (#2664) (@derekadams)
- 0f55b1a: ci: raise the inotify limits before the drills bootstrap kind, since the runner image now ships 128 (#2708) (@derekadams)
- d1525e3: ci: split the integration job into per-module legs (#2709) (@derekadams)
- 1664ec5: deps: pgx 5.12 (security); hold pflag at 1.0.10 (#2574) (@derekadams)
- c076a1c: docs(device-management): setAutomationReviewPolicy names all five protection-ineligible inputs (#2543) (@derekadams)
- 28ea7ff: docs(es): re-encode two cp1252 accents in the observability page as UTF-8 (#2707) (@derekadams)
- 5789773: docs(mcp): agent proposals are gated by tenant policy; the kill fence guards execution (#2560) (@derekadams)
- 986e23b: docs(release-notes): v1.4.0 already knows mqttDeviceUplinks, so the uplink flag is not an opt-in to defer (drill 6) (#2549) (@derekadams)
- ba8d3fe: docs(sdk): C#, Unity and npm package docs match the public APIs (#2411) (@derekadams)
- 2238d80: docs: README names the current release and the rule-change review guide leads with the recording wait (#2631) (@derekadams)
- cff43bb: docs: correct payload decoder availability and runtime guidance (#2605) (@derekadams)
- abf178a: docs: fix nine statements that contradicted the code (sizing, tuning, commands, quickstart, device APIs, GraphQL limits; en/es/zh-CN) (#2590) (@derekadams)
- c303d99: docs: freeze the 1.5 snapshot (cut from the v1.5.0 release commit) (#2551) (@derekadams)
- 2887543: docs: restore the quickstart prerequisites and add a first-alarm, first-command path (#2615) (@derekadams)
- 56b25c7: docs: tenant deletion states exactly what stops immediately and what expires on its own (en/es/zh-CN) (#2591) (@derekadams)
- b39c1b7: docs: v1.6 'Before you upgrade' notes, and backup on the disaster-recovery page (#2616) (@derekadams)
- 4936ac6: docs: v1.6.0 release notes (en, es, zh-CN) (#2710) (@derekadams)
- d5b2e7b: docs: v1.6.0 upgrade note, the broker restarts during the upgrade (en, es, zh-CN) (#2714) (@derekadams)
- 775560b: feat(cli): a perf-20k size preset that gives the broker 6 CPUs (GKE round 31) (#2586) (@derekadams)
- 38551d3: feat(cli): dcctl backup captures checkpoint-preserved streams and object content into a verifiable backup set (#2593) (@derekadams)
- 067471a: feat(cli): dcctl backup inspect --verify checks a backup set's manifest, sizes and hashes (#2589) (@derekadams)
- f649b8a: feat(cli): dcctl restore --plan prints an exact, fail-closed restore plan for a backup set (#2603) (@derekadams)
- f13434f: feat(console): a Functional areas page shows which areas this instance runs and how to enable the rest (#2596) (@derekadams)
- ff34f76: feat(console): friendly Filter, Exists and Math forms in the rule editor (#2607) (@derekadams)
- c39c651: feat(console,dashboards): authors can arrange dashboard layouts per breakpoint (#2597) (@derekadams)
- 8f23037: feat(core): every stream, KV bucket and object store declares a backup class (#2587) (@derekadams)
- c296db7: feat(deploy): GKE brokers keep JetStream on pd-ssd (premium-rwo) for new installs (#2588) (@derekadams)
- c19a876: feat(deploy,cli,k8s): shard groups are operable on an install (N3), off by default (#2608) (@derekadams)
- dcac2cf: feat(event-processing): enforce tenant-tier rule limits when a profile is activated (#2604) (@derekadams)
- ef1d335: feat(event-processing,outbound-connectors): publish JSON Schemas for rule and connector authoring (#2599) (@derekadams)
- aa6a120: feat(event-sources,device-management,event-management): wire shard-group routing (N2), off unless configured (#2595) (@derekadams)
- 9e25d46: feat(frontend): npm run create-widget scaffolds a typed custom widget package (#2614) (@derekadams)
- 3f0a786: feat(messaging,config): opt-in tenant -> shard-group stream routing for JetStream (N1 seam, unwired) (#2584) (@derekadams)
- b68dee0: feat(observability): metrics, a panel and an alert for agent actions (preview) (#2413) (@derekadams)
- 786f7ba: feat(user-management): guard admin role updates with expectedUpdatedAt (#2611) (@derekadams)
- c0597df: feat(widgets): the remaining shared dashboard widget text is translated (es, zh-CN) (#2592) (@derekadams)
- e6512d7: feat(widgets,client): deprecate the legacy re-exports, naming each replacement (#2618) (@derekadams)
- a2f4922: fix(broker): a configuration reload no longer disconnects auth-callout devices (nats-server v2.15.3) (#2272) (@derekadams)
- f5faffd: fix(broker): re-sync the signal loop and main with nats-server v2.15.3 (#2573) (@derekadams)
- 0dc6ce7: fix(broker): the metrics endpoint is shut down and joined when the broker stops (#2568) (@derekadams)
- 5e6d46a: fix(cli): a bootstrap refused before it writes leaves the phase alone, and the mqttDeviceUplinks overlay refusal names the choice (#2564) (@derekadams)
- 48f7a87: fix(cli): dcctl backup works on every profile, recording streams absent because their area is not deployed (#2619) (@derekadams)
- 9739d14: fix(cli): dcctl destroy refuses a path as an instance and never trusts a guessed cluster (#2636) (@derekadams)
- 8033fe2: fix(command-delivery): campaign planning is budgeted per tenant and tenants tick concurrently (#2653) (@derekadams)
- 1d39d17: fix(command-delivery): keep commands gated after a window delete and queued when the channel cannot be resolved (#2648) (@derekadams)
- 0039a71: fix(command-delivery): solar campaigns need installed-position authority (#2623) (@derekadams)
- a9d5f77: fix(console): a tab adopts another tab's session only for the same tenant and user (#2620) (@derekadams)
- 996795c: fix(console): batch fire keeps its idempotency token across retries and the command panel ignores double submits (#2629) (@derekadams)
- cade83d: fix(console): one-time secrets need an explicit acknowledgement, and detail pages drop stale responses (#2617) (@derekadams)
- cc5fcc9: fix(core): serve metrics and health probes on a separate ops port that no route reaches (#2641) (@derekadams)
- 158e20c: fix(core/tracing): OpenTelemetry errors and diagnostics are logged as the services' JSON lines (#2565) (@derekadams)
- cd62943: fix(dashboards): a device's type is re-read after an earlier lookup found nothing (#2450) (@derekadams)
- 9f0fbdc: fix(deploy): new GKE backup volumes use pd-standard, not SSD quota (#2677) (@derekadams)
- dcbd7ee: fix(deploy,cli): the retained ingress-nginx controller no longer accepts snippets (#2640) (@derekadams)
- 1ad5447: fix(device-management): a device can no longer assign itself to a customer, area or asset (#2638) (@derekadams)
- 1dd215d: fix(device-management): a redelivered decode failure is held to the record budget (#2315) (@derekadams)
- 8861873: fix(device-management): an expired automation change review is EXPIRED at read and cannot satisfy publish (#2554) (@derekadams)
- 0b5f0fe: fix(device-management): authoring or publishing an automated action requires the authority to perform it (#2634) (@derekadams)
- e1ded9f: fix(device-management): change review no longer counts every deleter in the tenant as a draft author (#2642) (@derekadams)
- b44f74f: fix(device-management): existingEntityRefs refuses what its lookups would refuse before running any (#2567) (@derekadams)
- 9f40546: fix(device-management): one live attribute row per key, enforced by a unique index (#2655) (@derekadams)
- 9facd10: fix(docs): give the docs build a 4 GiB heap so the versioned site stops running out of memory (#2566) (@derekadams)
- 26920a5: fix(event-management): a resolved NewRelationship event is stored, and an unknown type is refused on first delivery (#2635) (@derekadams)
- 5653c96: fix(event-management): device-management's INVALID failures are indexed under their device (#2622) (@derekadams)
- 61f456a: fix(event-processing): evaluateRules refuses an oversized draft graph before compiling it (#2540) (@derekadams)
- 7191a95: fix(event-processing): live geofence detections need location:read (#2632) (@derekadams)
- cc79df4: fix(event-processing): rule validation errors keep their field anchors (#2606) (@derekadams)
- 7eb7dc7: fix(event-sources): the HTTP device-uplink route stops answering credential guesses (#2639) (@derekadams)
- 963beb6: fix(frontend): include the agent guidance in the published SDK packages (#2600) (@derekadams)
- 8e3e70e: fix(hack): decoder-rig disarms its dead-man without 'ps -o', so Git Bash leaves no orphan sleep (#2562) (@derekadams)
- ad51b42: fix(hack): the broker version-skew guard fails on a stale chart-lag entry or split chart pins (#2598) (@derekadams)
- a2430e6: fix(mcp): bound response size, aggregate rows and in-flight requests per caller and process (#2647) (@derekadams)
- 086aee0: fix(mcp): discovery advertises the action scopes the server enforces when actuation is on (#2654) (@derekadams)
- 694b41a: fix(notification-management): one tenant's slow channel no longer stalls every tenant's escalations (#2651) (@derekadams)
- 5bd7115: fix(notification-management): the escalation window is counted from when the page was sent (#2643) (@derekadams)
- c33911f: fix(outbound-connectors): an httpCall credential handle can no longer name a connector's credential (#2621) (@derekadams)
- a85d9af: fix(outbound-connectors): bound each tenant's in-flight sends to half the send pool (#2646) (@derekadams)
- 5f03773: fix(outbound-connectors, notification-management, ai-inference): re-pointing a stored credential requires supplying it again (#2644) (@derekadams)
- 2e99db1: fix(sparkplug-ingest): bound the session tracker and liveness history per source (#2652) (@derekadams)
- 37f7541: fix(sparkplug-ingest): refuse a presence probe setting that overflows a duration (#2561) (@derekadams)
- 335573a: fix(update-management): OTA downloads are admitted per device and per tenant (#2628) (@derekadams)
- f5df90c: fix(user-management): bound approver sessions and stop their reads on cancellation (#2544) (@derekadams)
- 4767be9: fix(user-management): delegated administrators cannot grant tenant power above what they hold (#2645) (@derekadams)
- 2c47586: fix(user-management): every replica follows a signing-key rotation (#2633) (@derekadams)
- 4ca1791: fix(user-management): refuse a dead-letter retention or sweep interval that overflows a duration (#2559) (@derekadams)
- 93a14d6: fix(user-management): refuse a signing-key retention shorter than the refresh-token lifetime while rotation is on (#2536) (@derekadams)
- 662f0d6: fix(user-management): refuse a tenant-purge seconds setting that overflows a duration (#2558) (@derekadams)
- 6f89e1c: fix(user-management): refuse an access or refresh token lifetime that overflows a duration (#2546) (@derekadams)
- cadfa39: fix(user-management): setTenantEnabled refuses a tenant whose purge has begun (#2534) (@derekadams)
- 62fe93e: fix(user-management): setTenantEnabled refuses when the locked tenant is not the one it loaded (#2563) (@derekadams)
- cca2b98: fix(user-management): the proposer's principal and sid are bounded before any session read (#2570) (@derekadams)
- 1159ef2: fix(widget-sdk): refresh scoped chart palettes when host themes change (#2610) (@derekadams)
- d24c0fd: fix(widgets): command control resets on device change and the alarm list coalesces refreshes under storms (#2630) (@derekadams)
- 10e8343: perf(console): ship GraphQL documents as direct imports, bringing the bundle back under its budget (#2656) (@derekadams)
- 82c65d6: test(cli): broker-fit tests parse a local preset copy instead of mutating the shared size table (data race under -race) (#2555) (@derekadams)
- 572ab43: test(compat): the previous-release snapshots and prev-release schema freeze v1.5.0 (#2550) (@derekadams)
- 0a7e0e1: test(console): warm the publish path's lazy imports before the protection tests, so cold CI transforms cannot time them out (#2557) (@derekadams)
- 7e21684: test(core): advisory-lock primitives are tested against Postgres (#2627) (@derekadams)
- ad67e25: test(core): periodic task tests wait on handshakes, not sleeps (#2569) (@derekadams)
- 70e6c69: test(core): the client-close test waits for a live value instead of racing a flood (#2577) (@derekadams)
- 07e6f52: test(core): the partial-update harness checks field coverage by membership, not count (#2612) (@derekadams)
- d72b315: test(core): the shared OCSP connect budget is asserted with margin and by request count (#2572) (@derekadams)
- 55f217a: test(core): the slow-consumer test waits for the overflow, not 150ms (#2571) (@derekadams)
- 2e63e98: test(dc-simulator): round trip the fake ChirpStack queue through the real client and ack feed (#2579) (@derekadams)
- c767450: test(device-management): device replacement leaves one live credential and OCSP egress guards are wired (#2625) (@derekadams)
- 14dd174: test(device-management): the silent-cache test proves the skip by counting reads, not a stopwatch (#2576) (@derekadams)
- 83ed3c4: test(device-state): a failed sweep or batch prints the server's whole error, deadlock detail included (#2575) (@derekadams)
- ad4f572: test(event-processing): catch nil fence-source regressions with broker replay (#2609) (@derekadams)
- 5db54d3: test(event-processing): pin the validation gate's rule-count bound to device-management's publish bound (#2545) (@derekadams)
- 483f6f3: test(event-sources): the quiet-tenant HTTP test proves the close by its recorded wait, not a 4ms stopwatch (#2578) (@derekadams)
- db02ab4: test(migrationdiff): every tenant table is seeded by the purge drill or exempted with a reason (#2613) (@derekadams)
- 4b13296: test(notification-management): claims are proven on Postgres and the clear-claim race test is no longer vacuous (#2624) (@derekadams)
- 7aace4e: test(outbound-connectors): a failed connector COUNT is an error over the wire, never a page (#2552) (@derekadams)
- 1ef0c59: test(user-management): invitations redeem once and last-admin and secret limits hold under concurrency (#2626) (@derekadams)
- 0355ad6: test(user-management): pin the MFA integration test's clock so a TOTP step boundary cannot flake it (#2556) (@derekadams)