v1.42.0
Breaking Changes
💥 Minimum Go version updated to 1.24.0
The minimum Go version for the Go SDK has been updated 1.24.0 due to required dependency updates having this Go version.
💥 Namespace fields for cross-namespace workflow commands are deprecated
As of server 1.30.1, cross-namespace operations are disabled by default. The SDK has been updated to deprecate the corresponding fields and functions:
ChildWorkflowOptions.Namespacefield is deprecatedworkflow.WithWorkflowNamespacefunc is deprecated
Highlights
Serverless Lambda Workers (Pre-Release)
This release introduces a module which can be used together with upcoming changes to the Temporal server & cloud which allow you to run your worker in an AWS Lambda function which the server will invoke as-needed to process Workflow, Activity, and Nexus tasks - allowing you to do away with some of the operational burden of running a fleet of workers. Additional documentation on how to use this feature will be linked here when available.
AWS S3 Storage Driver (Pre-Release)
This release introduces a module which can be used with external storage to offload large payloads to S3 buckets in AWS instead of inlining them into workflow history. Additional documentation on how to use this feature will be linked here when available.
Serialization Context for Codecs and Converters
This release introduces SerializationContext — an opt-in mechanism that provides metadata (e.g. namespace, workflow ID, activity type, etc...) to DataConverter, PayloadCodec, and FailureConverter implementations during serialization/deserialization.
Bug Fixes
- Fix standalone activity header propagation so interceptors can access and modify headers.
What's Changed
- Fix memory logger to share lock with derived loggers by @jmaeagle99 in https://github.com/temporalio/sdk-go/pull/2237
- Allow poller scale-down on timeout when server supports autoscaling by @Sushisource in https://github.com/temporalio/sdk-go/pull/2239
- Experimental: External Storage by @jmaeagle99 in https://github.com/temporalio/sdk-go/pull/2224
- No longer cancel pending polls on shutdown by @yuandrew in https://github.com/temporalio/sdk-go/pull/2199
- Report driver types through worker heartbeat by @jmaeagle99 in https://github.com/temporalio/sdk-go/pull/2246
- Delete some prominent but unimportant log messages by @dandavison in https://github.com/temporalio/sdk-go/pull/2247
- Fix test flakes by @yuandrew in https://github.com/temporalio/sdk-go/pull/2253
- Add Serialization context for codecs and converters by @yuandrew in https://github.com/temporalio/sdk-go/pull/2225
- Fix SAA header propagation by @Quinn-With-Two-Ns in https://github.com/temporalio/sdk-go/pull/2256
- Experimental: AWS S3 storage driver by @jmaeagle99 in https://github.com/temporalio/sdk-go/pull/2257
- Serverless Lambda support by @Sushisource in https://github.com/temporalio/sdk-go/pull/2245
- Fix nonexistent version in lambda otel go mod by @Sushisource in https://github.com/temporalio/sdk-go/pull/2262
- Upgrade grpc to v1.79.3 by @yuandrew in https://github.com/temporalio/sdk-go/pull/2263
- Fix - provide default (empty) client config when default user config dir does not exist by @THardy98 in https://github.com/temporalio/sdk-go/pull/2266
- 💥 Update Temporal API to 1.62.7 by @jmaeagle99 in https://github.com/temporalio/sdk-go/pull/2267
- Update storage driver store context by @jmaeagle99 in https://github.com/temporalio/sdk-go/pull/2268
- Update version to 1.42.0 by @jmaeagle99 in https://github.com/temporalio/sdk-go/pull/2278
- Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.79.3 to 1.97.3 in /contrib/aws/s3driver/awssdkv2 by @dependabot[bot] in https://github.com/temporalio/sdk-go/pull/2276
New Contributors
- @jmaeagle99 made their first contribution in https://github.com/temporalio/sdk-go/pull/2237
Full Changelog: https://github.com/temporalio/sdk-go/compare/v1.41.1...v1.42.0
Fetched April 11, 2026


