Skip to main content
Version: 0.7.x

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 shared node_token boots 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: fail cannot 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_required enforces a two-principal approval gate; audit history now enforces ReadAudit, 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 the arkflow_control_plane_rate_limit_rejections_total metric.

Engine and durability​

  • Structured dead-letter queue (DLQ). Processor on_error policies (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_deletes protocol, and v2 segment metadata that skips unnecessary reads on recovery.
  • State journal staging bound. state.max_staged_bytes caps 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-minimal produces 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:

AreaChangeAction
arkflow-server CLIUnknown 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 environmentInvalid 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 accessGET /audit now enforces ReadAudit and the audit resource scope (operator role gets 403).Grant admin/viewer or an appropriate scope to audit readers.
Configuration approvalEnabling approval_required on a deployment with fewer than two operator identities freezes publishing.Configure a second identity before enabling.
SQL output identifiersGenerated 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 contractA 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.

  1. Read the breaking changes above and scan the compatibility matrix.
  2. 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.
  3. Upgrade the Hub first, then Agents. Mixed-version fleets are supported for the rollout window described in upgrading a mixed fleet.
  4. Review startup configuration. Run arkflow-server --config <file> --help-style smoke checks in staging and confirm the process exits 0; fix any argument or env spelling that now exits 2.
  5. Re-validate pipeline YAML with arkflow --config <file> --validate; then deploy.
  6. Verify after rollout: health/readiness, GET /api/v1/system (role and HA epoch), a test job, and the audit stream.
  7. 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.