Skip to content

2.16.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:44
Immutable release. Only release title and notes can be modified.
462c7fd

Durable Workflow CLI 2.16.0

The development Server is now Native Server 3.35.0

dw server:start-dev now embeds Native Server 3.35.0. CLI 2.10.0 through
2.15.0 embedded Native Server 3.12.0, so SDK tests and quickstarts that run
against the development Server, such as the Go SDK's workflowtest, now see
current Native behaviour. The changes since 3.12.0 that development users are
most likely to notice:

  • Query and update-validation tasks carry the run's replay_clock (Native
    3.30.0). Current SDK workers read workflow time from it during a query, and
    refuse a query task without it. Against 2.15.0, a Go SDK query worker
    failed with "Go query could not replay workflow history".
  • A workflow task is leased only while no other workflow task of the same run
    holds a lease (Native 3.29.0).
  • A newly scheduled activity without a start-to-close, schedule-to-close or
    heartbeat timeout gets a one-hour start-to-close timeout (Native 3.35.0).
    Set explicit timeouts for longer activities, or change the namespace's
    default_activity_start_to_close_timeout_seconds.

See the Native Server release notes
for 3.13.0 through 3.35.0 for every change.

The startup output now names the embedded release:

Built-in native runtime: Native Server 3.35.0 (development build).

It replaces Built-in native runtime (development build). The other startup
lines, including the listening on line that tools parse, are unchanged.
/api/ready and /api/cluster/info still report a development build.

Existing development data

The first start of 2.16.0 on an existing development data directory upgrades
its database in place, as earlier upgrades did. From a 2.10.0 to 2.15.0
directory it prints:

Upgraded the development database from schema 15 to 21.

Workflows and history are kept. The upgrade is one-way: 2.15.0 and earlier
refuse the upgraded directory as written by a newer dw. To keep using an older
dw with the same workflows, copy the data directory before the first 2.16.0
start and point the older dw at the copy with --data-dir. A new, empty
--data-dir starts without the existing workflows.

Unchanged

  • No command, option, exit code or JSON shape changed.
  • The CLI still uses the published Rust SDK 4.18.0, and building from source
    needs Rust 1.99.
  • CI now checks that the pinned Native source is the named release's tag, and
    a release refuses to start when a newer Native minor release is out.