:boom: Various bug fixes (#873)
BREAKING CHANGE: Makes WorkflowExecutionDescription.historyLength a number. This was a Long before, but shouldn't
have been. If you're currently calling:
(await workflowHandle.describe()).historyLength.toNumber();
then remove the .toNumber() call.
This PR also included:
protobufjs a dev dependency of @temporalio/clientcancelChildWorkflowExecution command:boom: Update Core from e261 to b437 (#865 and #873)
BREAKING CHANGE: This fixes a bug where values (memo, search attributes, and retry policy) were not being passed on to
the next Run during Continue-As-New. Now they are, unless you specify different values when calling
continueAsNew
(temporalio/sdk-core#376). [We believe this is unlikely to break
users code—the code would have to be depending on the absence of these values in Continued-As-New Runs.]
This update also have various fixes and features:
[client] Only require signalArgs in signalWithStart when needed (#847)
:boom: Improvements to @temporalio/testing (#865 and #873)
BREAKING CHANGE: Breaking for the testing package in some of the more advanced and rarely used options:
runInNormalTime when waiting for workflow resultTestWorkflowEnvironmentOptions is completely redone[Given that these were rarely used and the testing package isn't meant for production use, we don't think this change warrants a major version bump.]
TestWorkflowEnvironment.create is deprecated in favor of:
Various minor features (#865)
Connection.healthService and generate testservice and health in proto package[client] Add a high-level meta Client class (#870)
We now recommend using this instead of our other clients:
import { Client } from '@temporalio/client';
const client = new Client(options);
await client.workflow.start();
await client.activity.heartbeat();
await client.activity.complete();
client.workflow is a WorkflowClient.client.activity is an AsyncCompletionClient.client.schedule.* (see the ScheduleClient proposal).Add ActivityOptions.allowEagerDispatch (default true) (#873)
[testing] Use temporal.download for downloading test server (#864)
Add Webpack rule to auto instrument Workflows for code coverage, add augmentWorkerOptions() (#858, thanks to @vkarpov15 🙏)
nyc-test-coverage README (#866)Fetched April 11, 2026