ArkFlow 0.7.0 release notes
Release status
This page is the prepared release record for the v0.7.0 tag. It reflects
the Unreleased section of the repository changelog at the time the 0.7.x
documentation snapshot was generated. Confirm the tag and release date in the
CHANGELOG before
rolling out.
Highlights
Control plane and fleet operations
- Per-node credentials and mTLS. Agents enroll one-time node credentials
(
arkn_…), rotate and revoke them, and can authenticate the Hub and each other with mTLS. A sharednode_tokenboots an unenrolled node once; later shared-token registrations fail closed unless the break-glass flag is set. - Job pause/resume as a durable quiesce. Pausing captures a recovery
artifact before stopping the job; resume restores from it. Jobs with
recovery: failcannot pause. - Node labels and selector rollouts. Labels are durable operator-managed state (up to 16 labels), and rollouts can target a label selector resolved once at creation.
- Configuration approvals and audit.
approval_requiredenforces a two-principal approval gate; audit history now enforcesReadAudit, supports actor/action/time filters, and records identity and job operations with the authenticated principal. - Rate limiting per operator credential and per agent node, with
429,Retry-After, and thearkflow_control_plane_rate_limit_rejections_totalmetric.
Engine and durability
- Structured dead-letter queue (DLQ). Processor
on_errorpolicies (fail/dlq/drop/error_column), input/output policies, row-level isolation for codecs and processors, a fixed seven-column__dlq_*envelope, payload truncation, dual-barrier acknowledgement, and DLQ metrics. - Iceberg output. Append to an existing Apache Iceberg table through a REST catalog, with optional exactly-once delivery from a Kafka source-position watermark.
- Object-store WAL retention and crash-safe reclamation. Segment retention
by count/age/bytes, a manifest-first
pending_deletesprotocol, and v2 segment metadata that skips unnecessary reads on recovery. - State journal staging bound.
state.max_staged_bytescaps uncommitted staged state.
Build and connectors
- Feature-gated builds. Connector families are gated behind cargo features;
the default set is unchanged, and
--no-default-features --features engine-minimalproduces a minimal binary. - Connector retry skeleton. Connector resilience is standardized across the shipped sources and sinks, with a shared retry policy and clearer terminal classifications.
- Schema metadata fixes. Pulsar TLS blocks, Kafka
transactional_offsets, Milvus search concurrency, and the SQL processor temporary-table key are now represented in the generated schemas.
Breaking changes
Review these before upgrading:
| Area | Change | Action |
|---|---|---|
arkflow-server CLI | Unknown flags, stray arguments, a missing --config value, and unreadable/invalid config files now exit with code 2 instead of silently starting the Hub. | Fix startup scripts that pass stray arguments; check the exit code in supervisors. |
| Startup environment | Invalid boolean/number spellings warn instead of being silently ignored; sub-floor TTLs (< 1000 ms) no longer apply. | Correct the variables; remove sub-floor TTL overrides. |
| Audit access | GET /audit now enforces ReadAudit and the audit resource scope (operator role gets 403). | Grant admin/viewer or an appropriate scope to audit readers. |
| Configuration approval | Enabling approval_required on a deployment with fewer than two operator identities freezes publishing. | Configure a second identity before enabling. |
| SQL output identifiers | Generated SQL quotes every identifier; malformed table names fail at build/validation time. | Validate SQL sink configs; avoid embedded NUL bytes in column names. |
| Pulsar / multiple-input error contract | A subscription stream ending and an interior channel closing now surface as terminal errors instead of being ignored. | Update pipelines that relied on silent termination. |
Upgrade steps from 0.6.x
0.6.x is the supported source version for 0.7.0.
- Read the breaking changes above and scan the compatibility matrix.
- Back up the control-plane store before changing a Hub:
arkflow-server backup --from <store> --to <snapshot-file>. Restore is only needed if you roll back; see backup and restore. - Upgrade the Hub first, then Agents. Mixed-version fleets are supported for the rollout window described in upgrading a mixed fleet.
- Review startup configuration. Run
arkflow-server --config <file> --help-style smoke checks in staging and confirm the process exits0; fix any argument or env spelling that now exits2. - Re-validate pipeline YAML with
arkflow --config <file> --validate; then deploy. - Verify after rollout: health/readiness,
GET /api/v1/system(role and HA epoch), a test job, and the audit stream. - Roll back by restoring the pre-upgrade snapshot into an empty store and redeploying the previous binary; keep Agents on the previous version until the Hub is healthy.
Documentation changes
- New Concepts, Configuration, and Release Notes navigation groups.
- New troubleshooting, FAQ, production-readiness, replay/backfill, control-plane HA/backup/rate-limit/labels/approval runbooks, Python SDK section, SQL cookbook, comparison and migration guides.
- The control-plane HTTP API reference is generated from OpenAPI and checked in CI.
- 0.7.x is the first snapshot that ships with zh-Hans translations; older snapshots remain English-first.