Repository navigation
chore(deps): Update module go.temporal.io/sdk to v1.50.0 - #241
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.49.0→v1.50.0Release Notes
temporalio/sdk-go (go.temporal.io/sdk)
v1.50.0Compare Source
Highlights
Added
workflow.ChildWorkflowOptions.VersioningOverridefor explicitly pinning,auto-upgrading, or one-time routing a child workflow independently of its parent.
This requires Temporal Server 1.32.0 or later.
converter.NewTransferTypeConverterAPI that implements transfer type conversion.converter.GetDefaultDataConverter()now supports transfer type conversion.sticky-backlog prioritization.
SimpleMaximumis unchanged, and autoscalingbehaves as before when no poller groups are configured.
TestWorkflowEnvironmentandTestActivityEnvironmentnow run worker plugins set throughSetWorkerOptions(worker.Options{Plugins: ...}), which were previously ignored. Once plugins areset,
SetWorkerOptionsmay not be called again on that environment, and what a plugin registersin
StartWorkeris undone atStopWorker.TestActivityEnvironmentnow hasRegisterDynamicActivityand implementsworker.ActivityRegistryagain.
temporalnexus.ConvertNexusLinkToLinkWorkflow, the decoding counterpart ofConvertWorkflowLinkToNexusLink.workflow.NewLocalVar[T](ctx)for type-safe values bound to a workflow run that can beaccessed from workflow code and workflow interceptors. Copies of a
workflow.LocalVar[T]shareidentity.
ExternalStorage.ConcurrencysetsMaxDriverOperations(for one client or worker) andMaxOperationsPerMessage(for onemessage). Drivers must use
ctx.GetLimiter()for store and retrieve operations.Changed
request are converted rather than dropped, and
temporalnexus.ConvertCommonLinkToNexusLinkconverts NexusOperation and Activity links rather than returning an empty
nexus.Link.[TMPRL1104]workflow task duration log now uses a single warning threshold, configurablewith the
TEMPORAL_WORKFLOW_TASK_DURATION_WARN_SECONDSenvironment variable and defaulting to 5seconds. It previously warned above a fixed 10 seconds, logged at info above a fixed 5 seconds,
and logged at debug below that when trace logging was enabled.
💥 Breaking Changes
contrib/googleadktotemporalio/ai-integrations.
Its module path is now
go.temporal.io/googleadkinstead ofgo.temporal.io/sdk/contrib/googleadk; see the integration README for installation and usage.Stop: it now waitsfor that cleanup to finish and deadlocks. This includes
SimplePlugin.RunContextAfter,whose callback receives no
nextfunction.PurgeStickyWorkflowCacheand final-workershutdown, no longer increments
temporal_sticky_cache_total_forced_eviction. This aligns bulkcleanup with Java and Core-based SDKs. Qualifying capacity and other per-workflow removals remain
counted, but dashboards may report fewer forced evictions.
WorkerOptions.MaxConcurrentWorkflowTaskExternalStorageVisits. UseExternalStorage.Concurrency.Fixed
TestWorkflowEnvironmentno longer tries re-resolving the activity name.This fixes a bug where two closures with different registered names would alias each other.
configs or workflow actions, allowing safe reuse.
notification and automatic stopping outside polling goroutines to avoid waiting
for the reporting poller itself. Concurrent
Worker.Stopcalls andWorker.Runwait for worker cleanup, and
Runreturns the first fatal error even wheninterruption races with it.
RespondQueryTaskCompletedRequest) now setWorkflowTaskFailedCausefor workflow task failures:PAYLOADS_TOO_LARGEfor oversized payloads,NON_DETERMINISTIC_ERRORfor illegal state machine panics, andWORKFLOW_WORKER_UNHANDLED_FAILUREwhen the workflow panicked.polling delays.
workflow.WithLocalActivityOptionsno longer modifies theRetryPolicypassed inLocalActivityOptions. It applies the default retry values to a copy, so sharing one policy betweenworkflows no longer writes to it from several goroutines.
RegisterDynamicWorkflownow passes the real options toOnRegisterDynamicWorkflow, andRegisterDynamicActivityno longer panics when a plugin setOnRegisterActivitybut notOnRegisterDynamicActivity.stops, cached workflow state is cleared without waiting for garbage collection.
What's Changed
New Contributors
Full Changelog: temporalio/sdk-go@v1.49.0...v1.50.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.