chore(deps): update temporalio/admin-tools docker tag to v1.31.0 #6389
Reference in New Issue
Block a user
Delete Branch "renovate/unified-admin-tools"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.30.4→1.31.0Release Notes
temporalio/temporal (temporalio/admin-tools)
v1.31.0Compare Source
Schema changes
v1.19v1.19v1.11v14v1.14v1.14Please see our upgrade documentation for the necessary steps to upgrade your schemas.
Please see CHASM section below for more information about the core schema change if you have a custom persistence implementation.
Temporal database schema details
MySQL
v1.19, PostgreSQLv1.19, SQLitev1.11— adds a newcurrent_chasm_executionstable for CHASM separate archetype ID spaces:Visibility schema details
MySQL
v1.14, PostgreSQLv1.14— addsTemporalExternalPayloadSizeBytesandTemporalExternalPayloadCountas generated columns with indexes.Elasticsearch
v14— new index template version withTemporalExternalPayloadSizeBytesandTemporalExternalPayloadCountfields.CHASM persistence schema change (custom persistence implementations only)
CHASM framework now supports separate
businessIDspaces for different archetypes and includes corresponding schema changes for SQL core databases. This is achieved by storing multiple current mutable state records in the database, one for each archetype.If you maintain a custom persistence implementation (Cassandra-based or SQL-based), you must update it to support separate
businessIDspaces as well. All current mutable state related persistence requests now include a newArchetypeIDfield, and your persistence implementation should read or update the current mutable state record for that archetype. Please refer to #8907 (Cassandra) or #8915 (SQL) for sample changes.Principal Attribution
Adds a server-computed, immutable
Principalfield to workflow history events, providing trustworthy attribution for "who did this?". Unlike the client-suppliedidentityfield,Principalis derived from authenticated context and cannot be spoofed.Principalhas aType/Namepair (e.g.jwt/alice@company.com,temporal/internal) and is surfaced in workflow history, CLI, Web UI, and history exports.The default
AuthorizerpopulatesPrincipalfrom the JWTsubclaim. Users with customAuthorizerimplementations can populatePrincipalby setting the newPrincipalfield onauthorization.Result.To enable this feature, set the dynamic config
system.enablePrincipalAttributiontotrue.Cloud IAM auth for SQL datastores
#9879 introduced new
passwordCommandconfig option for SQL datastores as an alternative to the static password field. When set, Temporal executes the specified command and uses its stdout as the database password, re-running the command on each new physical connection so short-lived credentials stay fresh.This enables IAM-based auth for cloud-managed databases (e.g. AWS RDS, GCP Cloud SQL) by invoking the provider's CLI. For example, configuring the
passwordCommandto:aws rds generate-db-auth-tokenfor AWS RDSgcloud sql generate-login-tokenfor GCP Cloud SQLSupported for MySQL and PostgreSQL. Token lifetime is managed through existing config
maxConnLifetime.Nexus
💥 Overhaul Nexus error model
Complete rework of how Nexus errors are handled and converted (#9290).
This change enables Nexus handler errors and operation errors to convey their own messages as opposed to being wrappers for an underlying cause. The change was made to better support Nexus in all languages. There may be slight changes to errors / exception structures in the SDKs.
Remove Nexus feature flag and make Nexus work out of the box
Nexus is now always enabled (#9512).
Use token based routing by default with token-based callback routing (#9513).
Nexus caller timeouts
Support schedule-to-start and start-to-close timeouts for Nexus operations. SDK upgrade required.
Bug fixes
CompleteOperation(#9053).nexusEndpointsOwnershipLostCh(#9602).Metrics
nexus_task_requestsmetric withclient_nametag (#9760).Worker Versioning
Worker Versioning GA
Worker Deployment APIs are now fully GA. The following APIs have been in Public Preview since server
v1.28.0. They are now considered GA and users can rely on the signature and behavior consistency going forward.DescribeWorkerDeploymentDeleteWorkerDeploymentListWorkerDeploymentsSetWorkerDeploymentManagerDescribeWorkerDeploymentVersionDeleteWorkerDeploymentVersionSetWorkerDeploymentCurrentVersionSetWorkerDeploymentRampingVersionUpdateWorkerDeploymentVersionMetadata⚠️💥 Sunsetting Worker Versioning V1 (Version Sets) and V2 (Assignment Rules)
The following APIs which have been deprecated since
v1.28.0are now officially sunsetted and their support will be removed in the next server version (v1.32.0). Users should migrate their applications to use the Worker Deployment and Worker Deployment Version APIs instead.APIs to be removed in
v1.32.0:UpdateWorkerBuildIdCompatibilityGetWorkerBuildIdCompatibilityUpdateWorkerVersioningRulesGetWorkerVersioningRulesGetWorkerTaskReachabilityNew Experimental APIs
The following APIs are added in this release and are in Pre-Release stage as of now. At this stage, the APIs are considered experimental and may see breaking changes in the future:
CreateWorkerDeploymentCreateWorkerDeploymentVersionUpdateWorkerDeploymentVersionComputeConfigValidateWorkerDeploymentVersionComputeConfigOther Changes
ListWorkerDeploymentsto the visibility quota.CHASM
businessIDspaces for different archetypes and includes corresponding schema changes for SQL core databases. See the Schema Changes section above if you maintain a custom persistence implementation.Standalone Activities
activity.enableStandalonedynamic config flag, which is disabled by default. Set it totrueto enable.DeleteStandaloneActivityAPI for deleting a standalone activity execution.PollActivityTaskQueueResponsenow includes additional fields needed by workers running without a parent workflow, such ascurrentAttemptScheduledTimeandnamespace. Termination and cancellation identity is now propagated through failure info.RetryStatefor schedule timeouts, andTimerTaskStatusreset issues. Heart beating,RecordActivityTaskStarted, and various error codes also received fixes.Task Queue Priority and Fairness GA
matching.newUseMatchertofalse(affected task queues will reload immediately).matching.enableFairnessdynamic config. Migration between fairness-enabled and fairness-disabled queues is enabled by default.Cassandra 5 support
5.0.4and later.5.0.4are not supported.Archival
WithCustomHistoryArchiverFactoryandWithCustomVisibilityArchiverFactoryserver options.archival.<history|visibility>.provider.customStores.<myScheme>in the server config file, where matches the URI scheme used in your archival URIs (e.g. myScheme://...).Helpful links to get you started with Temporal
Temporal Docs
Server
Samples Server
Helm Chart
Docker images
Server
Admin-Tools
Full Changelog: https://github.com/temporalio/temporal/compare/v1.30.4...v1.31.0
Configuration
📅 Schedule: (in timezone America/Chicago)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
469615b33dto2d4da020a4