Change log
查看 MarkdownThis page lists user-visible changes to the TypeScript SDK, newest first; each section covers the changes since the previous release of this component.
1.35
Released 2026-11-06 as sdk-typescript/v1.35.0. Reference: 1.35.x.
Breaking
- Workers and the Client’s first call now require server-zd 0.1.17 or later (protocol version 4). Upgrade all server processes before upgrading the SDK. Reference.
- Worker startup fails when maxConcurrentTasks exceeds matching.maxConcurrentTasksCap (256 by default). Lower the Worker setting or raise the server cap and matching.maxStreams first. Reference.
- RetryPolicy.totalDurationMs now starts at the first hand-out and only gates scheduling another retry. Set method timeouts to bound running attempts. API reference.
- A Step with no available or supporting Worker waits durably without consuming a retry. Set a Flow timeout to bound that wait. Reference.
- A Step attempt interrupted after its hand-out was committed fails with NOT_COMPLETED and consumes a retry. Review retry policies and side effects before upgrading. Reference.
Added
- RecoveryErrorInfo.attemptProgress distinguishes a failed Step method that never started from one that may have run. API reference.
- declareRPCMethod declares RPC handlers without decorators. RPCMethodName checks eligible method names at compile time. API reference.
- flowServiceTls on Client and Worker options enables verified TLS, with optional additionalRootCAsPem and serverName. Omitting it keeps plaintext connections. API reference.
Changed
- Workers open one execution stream per slot; reservedRpcTasks selects RPC-only slots. By default, a Worker with at least two slots reserves one for RPCs. Reference.
- close drains running handlers and returns tasks that did not start without consuming a retry. Reference.
Deprecated
- idleStreamsPerQueue is accepted but ignored, and pullReservedRpcDeclines always reports zero. Use execution-slot capacity and queue metrics instead. Reference.
1.32
Released 2026-11-01 as sdk-typescript/v1.32.0. Reference: 1.32.x.
Added
- Generated protocol bindings include AdminService, with DescribeActiveNode and StepDownActiveNode for inspecting and stepping down the active server process. Release notes.
1.30
Released 2026-10-31 as sdk-typescript/v1.30.0. Reference: 1.30.x.
Added
- Generated protocol bindings add ERROR_SUB_STATUS_ATTRIBUTE_INDEX_CAPACITY_EXCEEDED and ERROR_SUB_STATUS_INDEXED_KEYWORD_TOO_LONG for Attribute index admission errors. Release notes.
1.29
Released 2026-10-31 as sdk-typescript/v1.29.0. Reference: 1.29.x.
Added
- Generated history responses expose the pruned event range and first retained event ID. Step event contexts also carry related event IDs and the WaitFor completion time. Release notes.
- Client.getAttributes reads committed Attributes and AttributeMap instances in one request without a Worker. AttributeMap.instance selects an instance, and results form a typed tuple in read order. API reference.
Older releases: GitHub releases.