Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 07:22
· 765 commits to main since this release
1127c65

What's in v1.2.0 — payload decoders a tenant writes, and revocation that ends sessions

  • Upgrade in place from v1.1.0 with dcctl install, then one dcctl upgrade per instance; eight appended migrations add tables, nullable columns and storage parameters, and nothing is removed. Two things to check first: a v1.1 pod that restarts in the middle of the roll waits for its v1.2 replacement, so keep the roll moving; and create Slack, Teams or PagerDuty channels only once the rollout has finished.
  • Tenants write their own payload decoders: rules, written as expressions, that turn a LoRaWAN or other binary frame, a JSON body or a network server's decoded object into measurements. They are authored and tested in the console, gated at publish by their test vectors, and run live on every inbound integration uplink. Each decoder is held to a failure budget, and its health and recent failing uplinks are shown beside it.
  • X.509 certificates can be revoked: upload a certificate authority's revocation list, or revoke a certificate by hand, and the open sessions of the affected devices are ended. The C# SDK and the Unity package can connect a device with a client certificate.
  • Alarms reach Slack, Microsoft Teams and PagerDuty as native notification channels, and dashboards gain a status grid, a state timeline and SCADA symbols.
  • dcctl bootstrap --size perf-12k applies the sizing measured at 12,000 events a second. Detection uses far less memory: an absence rule keeps one timer per device instead of one per event, and the duplicate-event guard is about 40% smaller at 20,000 events a second.
  • Tokens bound to a resource the instance does not serve are counted and logged, not yet refused. The HTTP event endpoint answers 500 instead of 202 for an event it could not build.

Full upgrade notes for v1.2.0 →

Changelog

  • ed283b3: docs(guides): LoRaWAN uplink to alarm gains a notification step (#2283) (@derekadams)
  • 7f5e3d1: docs(i18n): re-record es and zh-CN freshness for bootstrap, detection-engine, edge-services, observability (#2248) (@derekadams)
  • 2cfa238: docs(i18n): re-record the custom-widget page in es and zh-CN (strict-CSP section reviewed; es 'host' -> 'anfitrión') (#2194) (@derekadams)
  • 1cb0b94: docs, examples: LoRaWAN uplink to alarm, a guide and a runnable example (#2265) (@derekadams)
  • ffa045b: docs, fix: X.509 revocation documented, ingestMetering tunable, seeded duplicate-event guard hash (#2271) (@derekadams)
  • 0e4a65c: docs: correct concepts, intro and getting-help claims the code does not support (#2182) (@derekadams)
  • 5f1bc5c: docs: correct deployment and reference claims the code does not support (#2183) (@derekadams)
  • 6948950: docs: correct guides and user-guide claims the code does not support (#2184) (@derekadams)
  • 087fbe9: docs: fix ten places where the 1.1 and next docs contradict the code (#2252) (@derekadams)
  • 7fbd449: docs: freeze the 1.1 snapshot (#2179) (@derekadams)
  • c66cc98: docs: grow a database volume the operator did not resize; event store checkpoint sizing rule (#2212) (@derekadams)
  • 663ca24: docs: have the reader generate the quickstart credentialId (#2243) (@derekadams)
  • 7896077: docs: link the dashboards video from the dashboards guide and the README (#2264) (@derekadams)
  • 6506677: docs: link the install and Sitepulse videos and the YouTube channel (#2242) (@derekadams)
  • 029b078: docs: name the v1.1.0 benchmark shape; fix two stale public lines (#2180) (@derekadams)
  • b6d0a31: docs: payload decoders guide, generated function reference and drift test (decoders B5a) (#2226) (@derekadams)
  • 1153cd8: docs: raise the inotify limit before creating a local kind cluster (en, es, zh-CN) (#2223) (@derekadams)
  • c9f3dba: docs: token-audience hardening - upgrade notes, concept docs, alert runbook (S5, en/es/zh-CN) (#2218) (@derekadams)
  • e387dd2: docs: v1.2 release and upgrade notes ready ahead of the decoder budgets slice (#2245) (@derekadams)
  • 1127c65: docs: v1.2.0 release notes (en, es, zh-CN) (#2312) (@derekadams)
  • 949cf1f: feat(auth): plane audience rule on upload, branding logo and userinfo; mcp registration check (observe by default) (#2207) (@derekadams)
  • 6954651: feat(chart,cli): derive the token-audience block from the ingress and mcp (#2205) (@derekadams)
  • 41455c4: feat(cli): indent sim control output on a terminal (#2224) (@derekadams)
  • a0237c6: feat(cli): size presets: dcctl bootstrap --size perf-12k (Z1/Z2) (#2263) (@derekadams)
  • d9875cd: feat(cli,core): keep the per-event stream leaders on separate broker servers (#2181) (@derekadams)
  • 1ffdd64: feat(cli,docs): steer operators toward --mqtt-fail-closed after bootstrap/upgrade and in sizing docs (#2211) (@derekadams)
  • 99a9751: feat(console): Decoder tab on the device-profile page (#2219) (@derekadams)
  • 73d7592: feat(console): decoder health strip, recent failures and the DECODE_FAILED filter (decoders B4b) (#2270) (@derekadams)
  • 707e2c0: feat(core): payloaddecode, the CEL decoder environment and cost model (decoders B0b) (#2198) (@derekadams)
  • 6f6d414: feat(core): token-audience policy on the API planes (observe by default) (#2201) (@derekadams)
  • 06563c9: feat(core,docs): classify every stream, bucket and the object store by what a restore owes it (v1.2) (#2284) (@derekadams)
  • 45278c9: feat(core,event-sources): move the integration codecs to core/integrationcodec; keep frame text, fPort, fCnt and a depth verdict (#2196) (@derekadams)
  • 2bd0795: feat(core,event-sources): the IntegrationUplink event type and its wire payload (#2206) (@derekadams)
  • 433a372: feat(core/x509trust): revocation primitives for certificate devices (S1) (#2197) (@derekadams)
  • 9f56e84: feat(demos): Towerpulse acceptance waits for a console restart; take renders the rule-disabled control run (#2225) (@derekadams)
  • ba7933c: feat(device-management): X.509 CRL upload, replace and delete, revocation modes (S3) (#2220) (@derekadams)
  • 3d8d405: feat(device-management): X.509 revocation store, connect check and manual revoke (S2) (#2208) (@derekadams)
  • 3b2c88e: feat(device-management): a certificate revocation ends the live sessions it affects (X.509 revocation S4) (#2238) (@derekadams)
  • 871ac6c: feat(device-management): consume the integration-uplinks stream and decode payloads in the resolver (B3a) (#2240) (@derekadams)
  • 23049c5: feat(device-management): payload decoder authoring, test door and publish gate (decoders B1a) (#2209) (@derekadams)
  • 416f462: feat(device-management): payload decoder in the cached profile resolution (v2 key namespace, singleflight fill, integrationDecoder) (#2221) (@derekadams)
  • 9bb3f3f: feat(device-management): record and sample budgets, decoder health and failure samples for payload decoders (B3b) (#2259) (@derekadams)
  • c541120: feat(event-processing): a goroutine per DETECT shard, byte-identical to one engine (#2200) (@derekadams)
  • 591145f: feat(event-processing): detectShards above 1 runs the shards in parallel (shard metrics, two alerts, docs) (#2203) (@derekadams)
  • 791ee90: feat(event-sources): select a payload decoder per device type and carry the raw uplink on its own stream (#2234) (@derekadams)
  • bfba7dd: feat(event-sources,core): stall-replay harness and lag-credited ingest limiter library (#2163 S0+S1) (#2262) (@derekadams)
  • a4d48ce: feat(hack): unattended console video recorder for the explainer series (#2217) (@derekadams)
  • 09e24f3: feat(loadtest,perf): scale-out S0 instruments (aggregate identity oracle, multi-harness driver, DB collector rows) (#2185) (@derekadams)
  • 1275a4e: feat(notification-management): native Slack, Teams and PagerDuty channels (#2302) (@derekadams)
  • 22e6f54: feat(observability): Grafana boards for Sparkplug/LwM2M ingest and a standalone edge agent dashboard (#2191) (@derekadams)
  • 8d8ee64: feat(partition): core/partition tenant -> vpartition -> shard-group contract, placement table and KV mirror (S4) (#2230) (@derekadams)
  • e9f162d: feat(rdb,partition): opt-in tenant -> shard-group DB routing and the placement Router (S5, first slice) (#2246) (@derekadams)
  • e2b0862: feat(sdk/csharp): X.509 client-certificate authentication for MQTT device sessions (#2273) (@derekadams)
  • 0a80c9b: feat(sim): OTA update devices for simulated fleets (--ota) with failure injection (#2215) (@derekadams)
  • b3be0b4: feat(sim): binary-frame mode for the LoRaWAN simulator (--lorawan-binary) with a matching payload decoder (#2244) (@derekadams)
  • 88d1819: feat(sim): fleetpulse answers a typed set-speed-limit command (#2216) (@derekadams)
  • 29f7757: feat(user-management): authorization server resource allowlist (observe by default) (#2213) (@derekadams)
  • 3146276: feat(video-capture): sign in to /dash and start signed out (login none, signin dash) (#2227) (@derekadams)
  • b2f5b51: fix(chart): alert when a deployed edge ingest service exports no leader series (#2195) (@derekadams)
  • 6e84504: fix(chart,cli): size event-processing (envelopes on) and device-management memory limits from r29 measurements (#2214) (@derekadams)
  • d112bdc: fix(cli): dcctl upgrade can start from the state the JetStream volume-growth recipe leaves (#2186) (@derekadams)
  • 31359c3: fix(cli): refuse a bootstrap whose instance state belongs to a different cluster (#2210) (@derekadams)
  • 8fad953: fix(cli,deploy): Codex audit findings (#2160 tier floors, #2172 nats null connection types, #2186 resize deadlock, LOWs) (#2231) (@derekadams)
  • be8261d: fix(cli,docs): bootstrap GraphQL address uses the console's port; sim create names recorded instances; token grammar and access-token lifetime documented (#2268) (@derekadams)
  • d32a066: fix(cli,docs): record the event store tuning before the apply; honour the checkpoint-timeout reset; max_wal_size is a target, not a ceiling (#2257) (@derekadams)
  • adf488e: fix(cli,docs): upgrade honours a custom escrow path and accepts --yes; correct the placement-seed wording (#2261) (@derekadams)
  • 83fbc27: fix(cli,docs): v1.2 drill findings: event store WAL flags and notice, schema list in notes, install flags (#2237) (@derekadams)
  • 5731c89: fix(command-delivery): a failure to validate or schedule an enqueue carries extensions.code UNAVAILABLE (#2190) (@derekadams)
  • e0835e2: fix(console): live command status, rounded alarm values, themed canvas zoom controls, named profile list (#2222) (@derekadams)
  • 65d121b: fix(decoder): cap the stored form of a decoder, store saved-vector frames the server can read, and small audit LOWs (#2233) (@derekadams)
  • 38f2fe1: fix(device-management): a device disable's session kick is a queued debt, retried in the background (#2189) (@derekadams)
  • f28e9c3: fix(device-management): decoder figures memo computes once per document under contention (#2229) (@derekadams)
  • 51cfd4c: fix(device-management,chart,docs): size the per-device caches and memory floors from GKE round 30 (#2239) (@derekadams)
  • 6a658b7: fix(device-management,core): decoder plan cache stays fair across tenants and refuses a share that cannot hold a decoder (#2254) (@derekadams)
  • 2e37a36: fix(device-management,docs): honest sessionsEnded for revocations that cannot identify sessions (v1.2) (#2311) (@derekadams)
  • e7192f3: fix(device-state): finish the inactivityAlarmTime repair and read the v1.1 sweep shape in the resolver (#2256) (@derekadams)
  • 35d184d: fix(edge,hack,ci,docs): Codex audit LOWs (edge board job scope, video recorder, rehearsal highlights) (#2247) (@derekadams)
  • e59e451: fix(event-management): sweep the rollup over history its refresh policy does not reach (#2188) (@derekadams)
  • 3cd2ef4: fix(event-processing): drain pending detections before a checkpoint or term end commits (K=1 disarm Resolved lost) (#2204) (@derekadams)
  • e3095e7: fix(event-sources): HTTP /events answers 500, not 202, for an event dropped at message construction (#2260) (@derekadams)
  • 1b6f410: fix(frontend): board-replay bundle runs under style-src 'self' (opt-in strict-CSP host mode) (#2178) (@derekadams)
  • fad98e4: fix(graphqlws,sims): Codex audit LOWs: monitored load runs present the handshake host on their WebSockets; --expect must match the handshakes; two vacuous simulator tests made to fail (#2250) (@derekadams)
  • dd7d31b: fix(loadtest): MQTT ledger window follows what was PUBACKed; configurable aggregate drill limit (F-R30-4) (#2236) (@derekadams)
  • 95fcc71: fix(messaging): GroupCommit counts a closed batch before releasing its lock, so Stop cannot return ahead of its publish (#2193) (@derekadams)
  • 688fe0b: fix(messaging,event-sources,device-management): evicted envelope round stepped past (erasure-aware), full walk pool no longer wedges shutdown (#2235) (@derekadams)
  • b7083d4: fix(messaging,tests): a shutdown during duplicate recovery is ErrRoundWalkStopped; comment and test hardening (#2255) (@derekadams)
  • 439a5ac: fix(replication,config,event-processing): Codex audit LOWs: a leader that settles on a third server is not the planned move; token-audience entries are capped at the request cap; observer wiring test goes through the processor (#2249) (@derekadams)
  • ea7e60b: fix(user-management): purge completion lock order, placement mirror P-change semantics, v1.1 purge during rollout (#2251) (@derekadams)
  • dc127b6: fix: preview follows live's duplicate rule; inactivityAlarmTime keeps its v1.0 behaviour (#2232) (@derekadams)
  • 9a8d479: perf(db): scale-out S1 - checkpoint the event store on the clock, tune the projection tables for HOT updates (#2187) (@derekadams)
  • 6fc2a51: perf(device-management): expand a revocation's kick queue outside the anchor lock (durable marker) (#2253) (@derekadams)
  • a141d0e: perf(event-processing): one DETECT timer per key; lean sliding windows (byte-identical output) (#2266) (@derekadams)
  • 1da329b: perf(event-processing): size the duplicate-event guard's tables from the previous generation (188 MiB -> ~113 MiB live at 20k/s, no step at 13k/s) (#2267) (@derekadams)
  • b6f0f54: test(core): payloaddecode adversarial validation, determinism and the perf gate (decoders B0c) (#2202) (@derekadams)
  • 1e2af05: test(core): run the decoder's ns-per-cost timing checks in the dedicated perf-gate step (#2228) (@derekadams)
  • 5042f8f: test: make eleven tests that could not fail honest (#2258) (@derekadams)
  • 133ac39: test: remove two CI flakes (aggregate fake's unguarded read log; HTTP group fallback test's timing-built group) (#2192) (@derekadams)
  • 6a0c0e6: widgets: a scada symbol widget (pump, valve, tank, motor, fan, pipe, sensor, breaker, light) (#2282) (@derekadams)
  • 44d838e: widgets: a status grid and a state timeline (#2274) (@derekadams)