Temporal Versions Save

Temporal service

v1.22.1

6 months ago

Important

There was a security issue in the Temporal Docker image that could expose your DB password in the shell logs. The issue is fixed in https://github.com/temporalio/docker-builds/pull/147, and new Docker image builds packing this version or later will contain the fix. Note that this issue is not related in any way to the Temporal Server itself. It only affects a script in the Docker image to launch your Temporal Server.

All Changes

2023-10-13 - 717352261 - Ensure latest Go version in GH workflows (#4974) 2023-10-12 - b154bcda8 - Bump base-ci-builder image (#4969) 2023-10-06 - 759b60896 - Refactor TaskPoller.PollAndProcessWorkflowTask (#4903) 2023-10-06 - 4a70d6293 - Don't track overlapping scheduled workflows (#4911) 2023-10-06 - 1f01c72a3 - Use RateBurst in RateLimitInterceptorProvider (#4933) 2023-10-06 - 9abaafd16 - Take history length into account when rate limiting generate replication task (#4929) 2023-10-06 - ba6391831 - Improve XDC logging (#4932) 2023-10-06 - 8cadb9400 - Handle XDC replication task retry error / not found error correctly (#4924) 2023-10-06 - 8d1e43aa9 - Make rate multi min and max dynamic (#4920) 2023-10-06 - b4df68298 - Add metric for dynamic rate limit multiplier (#4921) 2023-10-06 - 68604955a - Improve XDC Logging (#4917) 2023-10-06 - b5f73191d - Simplify DescribeSchedule (#4810) 2023-10-06 - 1af21c404 - Build id scavenger shouldn't look at recent build ids (#4846) 2023-10-06 - 9547e8249 - Exit build id scavenger on rate limiter error (#4841) 2023-10-06 - e9985714d - Fix QueryWorkflow forwarding on versioned queue (#4847) 2023-10-06 - 277e97d49 - Make versioning data limits configurable by namespace (#4843)

v1.22.0

8 months ago

Release Highlights

Streaming for replication (WIP)

This version of server added gRPC streaming API for replications between clusters. This feature is still working in progress, is currently disabled by default. It will be enabled in future release.

Count workflow by ExecutionStatus

The Count API feature allows the user to count the number of workflow matching the given query. For example, the command temporal workflow count -q "WorkflowType='foo'" returns the number of workflows that matches WorkflowType='foo'.

Now, you can send queries to the Count API to group by a given search attribute. Eg: -q "WorkflowType='foo' GROUP BY ExecutionStatus returns the number of workflows that matches WorkflowType='foo' grouped by ExecutionStatus.

The GROUP BY clause is only supported in the Count API, and, at this moment, we only support grouping by ExecutionStatus. We plan to support group by any search attribute in a future release.

EDIT: Note: The Count API returns approximate counts.

Default authorizer changes

The default authorizer now allows OperatorService.ListSearchAttributes as a namespace-level read-only API. Additionally, the implementation was changed: if you have custom authorizer code based on the default authorizer, you may want to examine the new implementation.

Schedules improvements

Schedules that are “idle”, meaning they are only configured to run for a fixed number of times (either with “limited actions” or with a spec that doesn’t match any times in the future), will now automatically be deleted after one week since their last action. This applies to existing schedules, however existing schedules that are already idle won’t be deleted unless they’re woken up by a signal.

Jitter is now calculated correctly so that jitter across separate schedules is not correlated. This automatically applies to existing schedules.

HTTP API

The frontend workflow service API can now exposed via HTTP in addition to the existing gRPC exposed form. The port is set on services.frontend.rpc.httpPort and is disabled if unset or 0. The default Docker template enables the HTTP API on port 7243. See the HTTP annotations on the workflow service API proto file for more information about which operations are available at which URL paths.

All changes

2023-09-05 - 9b877fae2 - increase max allowed shard linger limit (#4790) 2023-09-05 - c73430b8a - Mark QueryWorkflow as read-only in api metadata (#4834) 2023-09-05 - 86d883913 - Add method metadata and use for default authorizer (#4794) 2023-08-28 - bba21caee - Always persist guessed set id on unknown build id (#4800) 2023-08-28 - c13afdcef - Fix mutable state change not persisted bug (#4813) 2023-08-21 - df2167ef0 - Update API to v1.24.0 (#4785) 2023-08-21 - f6755a53c - Return NonRetryableApplicationError if Namespace is not found on remote cluster during verify (#4786) 2023-08-21 - f42d19eba - Split sync workflow state logic to dedicated file (#4784) 2023-08-18 - c7847968b - HTTP API support (#4543) 2023-08-17 - 8309152e1 - Update some task refresh logic (#4779) 2023-08-17 - 0080bd209 - Simplify XDC logic (#4546) 2023-08-14 - 84b1e8b5a - Generate txn id for each event (#4774) 2023-08-14 - aa5c3db6f - Add api to Eager retrieve the unknown namespace from remote cluster (#4769) 2023-08-14 - 9f9db3f06 - Increaes RecordHeartbeat frequency in VerifyReplicationTask (#4771) 2023-08-11 - 815c8a359 - Skip verifying workflow which has already passed retention time (#4770) 2023-08-11 - 0ce1234ee - Rename leftover master to main (#4768) 2023-08-11 - 7982f81e4 - Fix delete search attributes in mutable state (#4767) 2023-08-11 - 545c96378 - Count group by status capability (#4750) 2023-08-11 - 88f8c1c66 - Load task queue managers for demoted version set ids (#4762) 2023-08-11 - 2b3d52e15 - Improve otel gauge memory usage (#4722) 2023-08-10 - 673d5636b - Add corruption protection to ms (#4564) 2023-08-11 - e4ce970e2 - Turn ErrWorkflowClosing into a retryable error (#4765) 2023-08-10 - 3a9e34477 - Use raw history/matching client in task executor (#4710) 2023-08-10 - 97f15fcce - Fix SQLite FTS query expression with dashes (#4755) 2023-08-10 - 2da474317 - Remove debug logger from visibility manager (#4751) 2023-08-10 - 2eb96096d - Make client code generation safer (#4747) 2023-08-10 - 274de9870 - Make cassandra schema update idempotent (#4761) 2023-08-10 - 5ced7bf63 - Improve task range completion prerequisite check (#4754) 2023-08-10 - 7a11f91cf - Move getTaskQueueManager call into redirect methods (#4759) 2023-08-10 - 97dbe09b4 - Fix retry policy max attempts (#4752) 2023-08-10 - 31eada0cd - Reduce frontend handler retry max attempts (#4753) 2023-08-09 - 6d4a76b41 - Adjust API priorities (#4756) 2023-08-09 - cfad693d6 - Clean up some matching errors (#4758) 2023-08-09 - 0737a8be1 - Avoid potential double close on userDataChanged (#4757) 2023-08-09 - 63cd05122 - Do not load sticky queue if not loaded (#4694) 2023-08-09 - d87acbd41 - Add frontend.globalNamespaceCount (#4743) 2023-08-09 - 039de3d8d - Add descriptions for task processing metrics (#4746) 2023-08-08 - e7dd2ff5f - Clean task queue name from matching before writing to WorkflowTaskScheduledEvent (#4565) 2023-08-08 - b1804c219 - eager namespace refresher POC (#4725) 2023-08-08 - 881b92310 - APS limit error handling (#4739) 2023-08-08 - a60872188 - remove the event cache initial size and refactor putInternal (#4698) 2023-08-07 - a3a4ac541 - Add descriptions for schedule metrics (#4728) 2023-08-07 - 58e731a31 - Enable new schedule workflow logic (#4741) 2023-08-07 - 60f733a80 - Fix bug causing duplicates when listing s3-archived workflows (#4712) 2023-08-07 - 5889f1ccd - Continue replication verification by skipping workflow which should be or soon to be deleted (#4734) 2023-08-07 - c861c7ebe - Update main branch in Makefile (#4740) 2023-08-07 - c49bdc6b7 - Change schedule jitter to depend on schedule + namespace ids (#4685) 2023-08-07 - 3bece5f82 - Collapse duplicate visibility tasks (#4727) 2023-08-07 - 0541c8168 - Send versioned tasks to dlq when user data disabled (#4668) 2023-08-07 - bd909c967 - Return errors from task executors when processing actions (#4719) 2023-08-07 - df262d623 - Remove debug logging from Cassandra schema update tool (#4738) 2023-08-04 - 23aac05bf - Speed up passive task validation (#4700) 2023-08-04 - 10a6f6e74 - Return ResourceExhaustedError for consistent query buffer full (#4731) 2023-08-04 - ecb625a1e - Update timer task error handling (#4718) 2023-08-03 - dcccbf010 - Log actual error for get history data loss events (#4726) 2023-08-03 - 5285b80b4 - Update running server locally README (#4723) 2023-08-03 - ccd23cb6b - Bump UI version to 2.17.1 (#4720) 2023-08-03 - db491171e - Add worker versioning calls to read-only namespace APIs for authorizer (#4721) 2023-08-03 - 9de9ccf5c - Add ActivityType to ActivityInfo for mutable state (#4717) 2023-08-02 - 4928b73c4 - Reduce the heartbeat size of VerifyReplicationTasks activity (#4705) 2023-08-02 - 1eb3217a5 - Add replay tests for scheduler workflow (#4701) 2023-08-02 - 4efda3c9c - Add more errors to targeted fault injector (#4711) 2023-08-01 - f4ca57f0c - Special some handle history client generation (#4708) 2023-08-01 - fb1d507e7 - Provide a shard ownership-based rate limit quota scaler from the history/shard package (#4704) 2023-08-01 - ac1d1742f - Simplify newTaskQueueManager arguments (#4691) 2023-07-31 - 283291855 - Support injecting additional interceptors in history and matching (#4680) 2023-07-31 - 82fec8462 - Inject custom task executor wrapper (#4697) 2023-07-28 - c595eb89e - Finish idle schedule when a timer fires (#4602) 2023-07-28 - 4fb4dd9f8 - move IsValid to ControllableContext (#4699) 2023-07-27 - 926950793 - Add versioned tag to loaded task queue gauge (#4672) 2023-07-27 - 83a3a45a8 - Persist unknown build ids (#4667) 2023-07-27 - 0281243bb - enable shard linger with time limit config (#4696) 2023-07-28 - a13efeeb4 - Add quotas.DelayedRateLimiter (#4688) 2023-07-27 - 48b80c0b0 - Add shard.OwnershipScaledRateBurst (#4687) 2023-07-27 - 851e26b11 - Support count group by in visibility with SQL (#4666) 2023-07-27 - f9b2db525 - Support count group by in visibility with Elasticsearch (#4619) 2023-07-27 - a3b591147 - Matching service task GC (#4418) 2023-07-27 - 569010780 - Put user data replication tasks in DLQ (#4609) 2023-07-27 - 922cc2778 - Convert version history bad request to internal error (#4690) 2023-07-27 - fbd0de731 - Fix Go version string goreleaser.yml (#4689) 2023-07-27 - 541dee303 - Add back generated mocks (#4671) 2023-07-26 - 4cd4f7e31 - Refactor CalculateEffectiveResourceLimit and NamespaceCountLimitInterceptor (#4665) 2023-07-26 - 3be986cdb - support delaying shard close for membership change (#4659) 2023-07-25 - 8753b8eae - Adjust CLI page size (#4682) 2023-07-25 - 157bf673c - Fix tdbg unable to dump all workflow raw history issue (#4681) 2023-07-25 - c3fa08891 - Return nil instead of task discarded error if namespace is invalid locally (#4678) 2023-07-25 - e7bd02808 - add configurable ownership caching to history client (#4652) 2023-07-24 - fa1597b8e - Assign fx pass in raw task converter (#4679) 2023-07-24 - 5008255c1 - Add more replication error logs (#4677) 2023-07-24 - 386a651fe - Minor fixes in force replication verification (#4675) 2023-07-24 - 48d3107a3 - Restore defaultListWorkflowsPageSize back to 1000 (from 100) (#4674) 2023-07-22 - ce3f42e70 - Add clock.TimeSource.AfterFunc (#4611) 2023-07-21 - c57f58779 - Add XDC replication cache (#4379) 2023-07-21 - e10f21389 - Fix flaky TestForceReplicationWorkflow_VerifyReplicationTaskNonRetryableError (#4669) 2023-07-21 - f708c81fe - Move redirect logic into taskQueueManager (#4657) 2023-07-21 - baa964eb7 - Fix flaky versioning integration test (#4651) 2023-07-21 - bd18f4940 - defer shard.Unlock() (#4664) 2023-07-20 - 00587f605 - Execute VerifyReplicationTasks as an individual activity (#4656) 2023-07-21 - a834ea49e - Validate workflow task start time when complete (#4663) 2023-07-20 - a4a2ec027 - Fix future TestSetReadyGet_Parallel (#4661) 2023-07-20 - fc414a85d - Custom search attributes validation per store (#4655) 2023-07-20 - 61ff86b64 - update linter version in update-linters (#4653) 2023-07-19 - fdb94a577 - Do not use Unvailable as error type for expected error cases (#4650) 2023-07-19 - 724f23f25 - Cleanup new update related functional tests (#4563) 2023-07-19 - 2605c0b72 - Add support for ES Scroll for Scan API (#4614) 2023-07-19 - 02862114f - restructure history client for alternate ownership handling (#4636) 2023-07-19 - d7b4da84e - Extract common code from service/frontend/{fx,fx_test}.go (#4643) 2023-07-19 - 9a0745c48 - change the history cache key name to *Bytes (#4649) 2023-07-19 - a903b404c - Change nil metrics handle to no op handler (#4646) 2023-07-19 - 35ab8bdea - Add a test for NamespaceCountLimitInterceptor (#4639) 2023-07-19 - 0646c0a1d - Log when health rate limiter value changes (#4648) 2023-07-18 - e8ae1650e - Fail force-replication fast if any GenerateReplicationTasks/GenerateAndVerifyReplicationTasks activity returns error (#4642) 2023-07-19 - bf23997a1 - Better handle admin handler stream replication API lifecycle (#4647) 2023-07-18 - 8a75aed2b - Allow configurating history cache non-user context lock timeout (#4645) 2023-07-18 - 964a60068 - do not cache large blob history event (#4621) 2023-07-18 - 1caf08df5 - Make replication task convertor injectable by fx (#4635) 2023-07-18 - ba5b23d31 - Prioritize UI/tctl when system is throttled (#4623) 2023-07-17 - a4929062e - Ignore global rate limit if there are no hosts (#4627) 2023-07-17 - 72fe26c36 - Exclude history APIs from persistence health signals (#4637) 2023-07-14 - 7efba9fb0 - Add verification of replication tasks in force replication (#4630) 2023-07-14 - 2d86390f4 - Do not generate visibility task for unchanged BuildIds (#4632) 2023-07-14 - a01a309af - Support cluster metadata customized tags (#4622) 2023-07-14 - 2fab90b0f - Drop standby tasks in standby taks executor (#4626) 2023-07-14 - 7e2de6902 - Fix some minor warnings in the matching package (#4608) 2023-07-13 - cc38a4133 - Add activity / workflow task version check (#4580) 2023-07-13 - b326a4a0f - Fix metrics tagging in stream replication task processing (#4625) 2023-07-13 - 6e811dd84 - Handle replicate workflow state with exist workflow data (#4617) 2023-07-12 - 1b82336cd - Send default tasks to unversioned queue when user data disabled (#4610) 2023-07-12 - 9193a90f9 - Disable user data when fetch fails (#4604) 2023-07-12 - 2fd612343 - Deprecate QueueAckLevel (#4616) 2023-07-11 - 83faadf3c - Clean up cluster metadata initialization logic (#4531) 2023-07-11 - 87b0f6034 - Fix metrics double emission in admin and operator handler (#4613) 2023-07-11 - 7dddf7202 - Support cluster metadata customized tags (#4544) 2023-07-10 - d0c2a887d - Add frontend global RPS limit (#4583) 2023-07-10 - 3918d9342 - emit history service panic metric for all requests (#4497) 2023-07-10 - 687125a01 - move controller shard membership handling (#4607) 2023-07-10 - ec1a0106e - use a factory to create shard contexts (#4586) 2023-07-10 - 2374cc4bb - Add a Clock option to our LRU cache (#4593) 2023-07-10 - 3847f909d - Remove durable archival flag (#4594) 2023-07-10 - 9547c8328 - Disable confusing-naming linter and tune unhandled-error (#4606) 2023-07-10 - 0b0c398e4 - add stop reason for context (#4601) 2023-07-10 - 8f798a9d6 - Use time.NewTimer instead of time.After (#4596) 2023-07-07 - ec89a820d - properly fix migration in mem ack aggregation (#4571) 2023-07-07 - 5c9600d67 - Remove verbose logging (#4603) 2023-07-07 - 52997fdc3 - Remove time.Sleep from util_test (#4592) 2023-07-07 - 3860610f6 - Remove flusher package (#4595) 2023-07-07 - a3f530de4 - Update go version to 1.20 (#4597) 2023-07-07 - 619e2f968 - Update trigger-publish GHA (#4599) 2023-07-07 - 731cc3c8b - Fix MySQL 8 upgrade script to schema v1.3 (#4598) 2023-07-06 - 061dbb262 - wait for drain duration before stopping shard controller (#4587) 2023-07-06 - 92c841874 - Refactor fx service Start/Stop (#4584) 2023-07-06 - bd241c014 - Log VisibilityStoreConfig for debugging (#4588) 2023-07-06 - a84c2e0ad - support delay before history joins membership (#4582) 2023-07-06 - 15f201745 - Allow context disable frontend redirection (#4547) 2023-07-06 - 6d175c219 - move ringpop start call to service start (#4510) 2023-07-05 - 1ca697991 - Add help text to a few more metrics (#4529) 2023-07-05 - 17259dbc8 - Use DefaultServices for server_test (#4566) 2023-07-03 - db8b67a84 - Test speculative workflow task creation while completing previous workflow task (#4517) 2023-07-03 - 05e6ea0ce - Disable goerr113 in test files (#4574) 2023-07-03 - 4b4dbf397 - Make all Go source file names snake case (#4558) 2023-07-03 - 2a22821b4 - Remove common.Daemon interface (#4573) 2023-06-30 - 76b5f338e - Improve build id scavenger (#4568) 2023-06-30 - 3bb5c5802 - Fix migration in mem ack aggregation (#4569) 2023-06-29 - 6a92ddd4b - Versioning cleanup (#4556) 2023-06-29 - 2a2734e6e - Skip final task queue update if lost ownership (#4554) 2023-06-29 - 911d7c359 - Measure backlog after completing current task (#4562) 2023-06-29 - 598aa479c - Add corruption protection to ms (#4560) 2023-06-29 - f97237fa1 - Handle get namespace by id error (#4559) 2023-06-29 - 5e03077e0 - Use lowest persistence priority for standby tasks (#4551) 2023-06-29 - 435cffe9a - Add a test to our gRPC resolver (#4548) 2023-06-29 - c0fb121ac - Consider non default sets reachable by new workflows for a while after they stop being queue default (#4545) 2023-06-28 - 87cc6f421 - Get execution start/close time when using cassandra visibility store (#4549) 2023-06-27 - f51b96d92 - Add an error log detection test to the server (#4555) 2023-06-27 - a7b0afddc - Handle new fx event type (#4553) 2023-06-27 - 11a30b23d - Per shard per namespace RPS warning log (#4525) 2023-06-27 - 39bf6a8ff - Add Semgrep scanning (#4550) 2023-06-26 - 1e18621cb - Add more metrics for stream replication (#4539) 2023-06-26 - 7198aa74a - Remove unused metrics def (#4540) 2023-06-23 - b5979f96d - Update go dependencies (#4534) 2023-06-23 - 326020ac9 - Update versionChecker.go for the next release (#4533) 2023-06-23 - 7314ea42e - Update updateRegistry store on mutable state reload (#4532) 2023-06-22 - c52957bb5 - Make replication tasks units 'dimensionless' (#4515) 2023-06-22 - cca978f31 - Remove ReplicationTasksReturned (#4514) 2023-06-22 - 9405cf848 - Perform task range completion on shard rangeID update (#4528) 2023-06-21 - 61b7d6443 - Add an option for metrics descriptions (#4486)

Helpful links to get you started with Temporal

Temporal Docs Server Docker Compose Helm Chart

Docker images for this release (use tag 1.22.0)

Server Server With Auto Setup (what is Auto-Setup?) Admin-Tools

v1.21.5

8 months ago

Important

Temporal Server v1.21.0 introduced a security bug in the Cassandra tool (aka temporal-cassandra-tool) that can expose the credentials in debug level logs. The issue is fixed with this release in #4738.

All Changes

2023-08-14 - 1eaaaf8da - Increaes RecordHeartbeat frequency in VerifyReplicationTask (#4771) 2023-08-14 - 194a8938d - Skip verifying workflow which has already passed retention time (#4770) 2023-08-14 - 8e56612d5 - Turn ErrWorkflowClosing into a retryable error (#4765) 2023-08-14 - cadd9337b - Remove debug logging from Cassandra schema update tool (#4738) 2023-08-07 - 7e216c3bb - Bump server version to 1.21.5 2023-08-07 - 524bda390 - Fix bug causing duplicates when listing s3-archived workflows (#4712) 2023-08-07 - 5722c2332 - Continue replication verification by skipping workflow which should be or soon to be deleted (#4734) 2023-08-07 - a8ff17f49 - Change schedule jitter to depend on schedule + namespace ids (#4685) 2023-08-07 - 5f1455fac - Collapse duplicate visibility tasks (#4727) 2023-08-07 - 8bda654e6 - Return ResourceExhaustedError for consistent query buffer full (#4731) 2023-08-07 - 95a76efbd - Add worker versioning calls to read-only namespace APIs for authorizer (#4721) 2023-08-07 - 9970ea504 - Reduce the heartbeat size of VerifyReplicationTasks activity (#4705) 2023-08-07 - 9d59be327 - Finish idle schedule when a timer fires (#4602) 2023-08-07 - 120b8be8d - enable shard linger with time limit config (#4696) 2023-08-07 - 4448efacd - Put user data replication tasks in DLQ (#4609) 2023-08-07 - b8e7b2837 - support delaying shard close for membership change (#4659) 2023-08-07 - 12c95ddf0 - Return nil instead of task discarded error if namespace is invalid locally (#4678) 2023-08-07 - a7832c76b - add configurable ownership caching to history client (#4652) 2023-08-07 - 37a70494f - Minor fixes in force replication verification (#4675) 2023-08-07 - ed5aded36 - Fix flaky TestForceReplicationWorkflow_VerifyReplicationTaskNonRetryableError (#4669) 2023-08-07 - eb0ee5ed1 - restructure history client for alternate ownership handling (#4636) 2023-08-07 - b105e5b78 - move controller shard membership handling (#4607) 2023-08-07 - 23135a350 - use a factory to create shard contexts (#4586) 2023-08-07 - aeb47aab0 - add stop reason for context (#4601) 2023-08-07 - 6c80ff6e0 - wait for drain duration before stopping shard controller (#4587) 2023-08-07 - 35f6670c2 - support delay before history joins membership (#4582) 2023-08-07 - a6dfbc6ea - move ringpop start call to service start (#4510)

v1.21.4

9 months ago

Schema Upgrades

See the 1.21.0 release notes for schema upgrade information for upgrading to the 1.21 series. There are no new schema changes in 1.21.4.

Release Highlights

The release removes recent changes to cache handling to fix regressions that could cause excessive memory usage and block workflows under high load (5dbbc4522ff1d43c4002b9850b5b678054ac5aaf, 6c48ed2d942a95e37ee8b1484546ebcbc8aed552).

Details about the v1.21.0 release can be found here.

Helpful links to get you started with Temporal

Temporal Docs Server Docker Compose Helm Chart

Docker images for this release (use tag 1.21.4)

Server Server With Auto Setup (what is Auto-Setup?) Admin-Tools

v1.21.3

9 months ago

Important

We identified a bug in this release relating to the mutable state cache, that could cause workflows to be blocked under high load. We recommend not deploying this release.

If downgrading from this release to the 1.20 series, downgrade to 1.20.4 instead of 1.20.3. This addresses an issue where the new BuildIds search attribute was not understood and would cause errors in visibility processing.

Schema Upgrades

See the 1.21.0 release notes for schema upgrade information for upgrading to the 1.21 series.

Release Highlights

This release fixes a number of bugs:

  • Workflows that use the new Workflow Update feature can be blocked with "non deterministic" errors under very rare circumstances.
  • Introduce an option in the force-replication workflow to verify workflows were successfully replicated and applied on a target cluster.
  • Fixed standby task discarding logic so that only task that does verification will be dropped.
  • Changed the Elasticsearch Scan API back to use scroll if point in time is not available.
  • Few other minor bugs.

And improvements:

  • Change history event cache size from count-based to byte size-based to avoid caching large blob history events. The dynamic config keys history.eventsCacheInitialSize and history.eventsCacheMaxSize are changed to history.eventsCacheInitialSizeByte and history.eventsCacheMaxSizeByte, respectively.

All Changes

2023-07-24 - 55c4d36f8 - Restore defaultListWorkflowsPageSize back to 1000 (from 100) (#4674) 2023-07-21 - d0974cdaa - Execute VerifyReplicationTasks as an individual activity (#4656) 2023-07-21 - 9f9b172f6 - Fail force-replication fast if any GenerateReplicationTasks/GenerateAndVerifyReplicationTasks activity returns error (#4642) 2023-07-21 - 6247d8814 - Add verification of replication tasks in force replication (#4630) 2023-07-21 - 1d5601a4b - Validate workflow task start time when complete (#4663) 2023-07-21 - 655c51aad - Exclude history APIs from persistence health signals (#4637) 2023-07-21 - 4edce52ec - Per shard per namespace RPS warning log (#4525) 2023-07-20 - 53517fd40 - Custom search attributes validation per store (#4655) 2023-07-20 - 2830f3816 - Do not use Unvailable as error type for expected error cases (#4650) 2023-07-20 - a9a9acbbb - Add support for ES Scroll for Scan API (#4614) 2023-07-20 - 67de6dfef - change the history cache key name to *Bytes (#4649) 2023-07-20 - 268e27408 - Log when health rate limiter value changes (#4648) 2023-07-20 - 32b4219ca - Better handle admin handler stream replication API lifecycle (#4647) 2023-07-20 - 7a125d94e - Allow configurating history cache non-user context lock timeout (#4645) 2023-07-20 - f97b681b3 - do not cache large blob history event (#4621) 2023-07-20 - 49b99fe6a - Drop standby tasks in standby taks executor (#4626) 2023-07-20 - a466c4da0 - Fix metrics tagging in stream replication task processing (#4625) 2023-07-20 - bcbb3b926 - Handle replicate workflow state with exist workflow data (#4617) 2023-07-20 - 561495045 - properly fix migration in mem ack aggregation (#4571) 2023-07-20 - 1ca8443ed - Allow context disable frontend redirection (#4547) 2023-07-20 - 674657bd2 - Skip final task queue update if lost ownership (#4554)

Details about the v1.21.0 release can be found here.

Helpful links to get you started with Temporal

Temporal Docs Server Docker Compose Helm Chart

Docker images for this release (use tag 1.21.3)

Server Server With Auto Setup (what is Auto-Setup?) Admin-Tools

v1.21.2

10 months ago

Important

  • If downgrading from this release to the 1.20 series, downgrade to 1.20.4 instead of 1.20.3. This addresses an issue where the new BuildIds search attribute was not understood and would cause errors in visibility processing.

Schema Upgrades

See the 1.21.0 release notes for schema upgrade information for upgrading to the 1.21 series.

Release Highlights

This release fixes a bug that could cause delays in task processing during upgrades and excessive load on visibility. Also, it fixes a few minor other bugs.

All Changes

2023-07-14 - 9219be243 - Do not generate visibility task for unchanged BuildIds (#4632) 2023-07-12 - 74b51d84d - Send default tasks to unversioned queue when user data disabled (#4610) 2023-07-12 - d4cd7372b - Disable user data when fetch fails (#4604) 2023-07-12 - 71ae36c75 - Fix MySQL 8 upgrade script to schema v1.3 (#4598)

Details about the v1.21.0 release can be found here.

Helpful links to get you started with Temporal

Temporal Docs Server Docker Compose Helm Chart

Docker images for this release (use tag 1.21.2)

Server Server With Auto Setup (what is Auto-Setup?) Admin-Tools

v1.20.4

10 months ago

Release Highlights

This release addresses an issue when downgrading a cluster running the 1.21 series back to 1.20: New workflows would receive a BuildIds search attribute that would not be understood by 1.20 and would cause errors in visibility task processing. There's no need to upgrade to this release from 1.20.3, but if downgrading from 1.21, the downgrade should be done to this version.

All Changes

2023-07-13 - f12479619 - Add BuildIds predefined search attribute (#4624)

Details about the v1.20.0 release can be found here.

Helpful links to get you started with Temporal

Temporal Docs Server Docker Compose Helm Chart

Docker images for this release (use tag 1.20.4)

Server Server With Auto Setup (what is Auto-Setup?) Admin-Tools

v1.21.1

10 months ago

IMPORTANT

  • Do not upgrade to this version if you using advanced visibility with MySQL as storage. The release of v1.21.0 included an script to upgrade the schema, but it contains a bug. Please upgrade to v1.21.2 which fixes the bug.
  • If downgrading from this release to the 1.20 series, downgrade to 1.20.4 instead of 1.20.3. This addresses an issue where the new BuildIds search attribute was not understood and would cause errors in visibility processing.

Schema Upgrades

See the 1.21.0 release notes for schema upgrade information for upgrading to the 1.21 series.

Release Highlights

This release fixes these bugs:

  • Skip reading close event for retention task if not using Cassandra visibility store.
  • Use lower priority for standby tasks.
  • Added sanity check to protect against mutable state corruption.
  • Fix replication ack aggregation logic.

All Changes

2023-06-30 - 873df3467 - Improve build id scavenger (#4568) 2023-06-30 - ed7f94cbe - Fix migration in mem ack aggregation (#4569) 2023-06-29 - 0fcff5159 - Measure backlog after completing a current task (#4562) 2023-06-29 - 275567976 - Add corruption protection to ms (#4560) 2023-06-29 - 8b3426bf1 - Handle get namespace by id error (#4559) 2023-06-29 - 72fb120c7 - Use lowest persistence priority for standby tasks (#4551) 2023-06-29 - ca41bb034 - Consider non default sets reachable by new workflows for a while after they stop being queue default (#4545) 2023-06-29 - 0d7350d6e - Get execution start/close time when using Cassandra visibility store (#4549) 2023-06-29 - 0c441a796 - Add more metrics for stream replication (#4539)

Details about the v1.21.0 release can be found here.

Helpful links to get you started with Temporal

Temporal Docs Server Docker Compose Helm Chart

Docker images for this release (use the tag 1.21.1)

Server Server With Auto Setup (what is Auto-Setup?) Admin-Tools

v1.21.0

10 months ago

v1.20.3

1 year ago

Release Highlights

This release fixes few schedule and search attributes issues as well as minor bugs in various parts of the system.

All Changes

2023-05-12 - 3ce630832 - Fix cron for schedules that do not match any time (#4206) 2023-05-12 - d8a6ca7e6 - Run no-op claim mapper even without auth info (#4197) 2023-05-12 - 9448a6f3a - Fix metric tag for delete execution task (#4275) 2023-05-12 - 5225f13f7 - Fix task attempt reset (#4276) 2023-05-12 - f163b880c - Make shard ownership more resilient when shard is busy (#4283) 2023-05-12 - d6f7c9172 - Event buffer size limit (#4296) 2023-05-12 - f64bb0eb0 - Use search attribute type map in visibility archival (#4304) 2023-05-12 - 4ef165a03 - Skip over entire time range if paused and batch and cache time queries (#4215) 2023-05-12 - caac9c20c - Fix adding multiple search attributes of same type at once (#4273) 2023-05-12 - c54890d91 - Change schedules default catchup window to 1 year (#4332) 2023-05-15 - a97cdef0e - Truncate activity failure in mutable state (#4338) 2023-05-15 - 6eba60dc3 - Fix caller info for migration activities (#4340) 2023-05-15 - fcebf6956 - Tag metric tracking custom order by with namespace (#4344) 2023-05-15 - a4c0b81c4 - Bump server version for 1.20.3 patch release

Details about the v1.20.0 release can be found here.

Helpful links to get you started with Temporal

Temporal Docs Server Docker Compose Helm Chart

Docker images for this release (use tag 1.20.3)

Server Server With Auto Setup (what is Auto-Setup?) Admin-Tools