v1.17.0
Highlights
Connection sharing across clients
A new function is available, client.NewClientFromExisting
that can create a client using the same connection as an existing client and a new set of non-connection options.
Upsert memo
Similar to workflow.UpsertSearchAttribute
which mutates search attributes from inside the workflow, there is now workflow.UpsertMemo
which mutates the workflow memo from inside the workflow. This is only usable with Temporal server versions 1.18+.
Workflow channel utilities
Two new utilities for channels inside of workflow: Channel.Len
which is similar to len(ch)
in Go, and Channel.ReceiveWithTimeout
which supports timing out a channel receive.
Specific Changes
2022-08-10 - 8d5582c - Doc fixes (#879)
2022-08-10 - f150e45 - Share connection across different clients (#881)
2022-08-19 - 3d111e3 - Spawn update coro directly through dispatcher (#885)
2022-08-29 - 74a1b73 - Fix code samples for workflow.SideEffect (#890)
2022-08-29 - 85978da - Fix doc formatting (#892)
2022-08-30 - 7f1b18f - Stop logging poller errors after stop (#894)
2022-08-30 - b5942ae - Sync batch operations api (#889)
2022-09-01 - d1f860c - Handle Client.Close on cloned clients (#893)
2022-09-01 - f4f143c - Expose OperatorService client (#902)
2022-09-02 - e7905ec - Make Worker.Stop reentrant (#906)
2022-09-06 - d884fe6 - Update CODEOWNERS to temporalio/sdk team (#905)
2022-09-07 - 9341009 - Add UpsertMemo API (#883)
2022-09-08 - ffa7590 - Added Channel.Len and Channel.ReceiveWithTimeout (#895)