github temporalio/temporal v1.13.0

latest releases: v1.26.2-124.0, v1.25.2, v1.26.2-123.1...
3 years ago

Release Highlights

This release does not includes any schema changes.

Notable changes

Expose Closed status of Temporal Cron Workflow Executions and Workflow Executions that retry

Previously Temporal Cron Workflow Executions and Workflow Executions that retried always ended with a "Continued-As-New" status, now they have a final event like any other, with a "Completed" or "Failed" or "Timed out" status. If you have code that depends on the "Continued-As-New" status you'll need to update it.

Custom search attributes changes

String search attribute type was renamed to Text to better reflect its nature and match Elasticsearch type. String is still supported as deprecated alias to Text and will be removed.

Visibility changes

Many small improvements and bug fixes in visibility.

The docker container now runs as a non-root user

You should make sure you're using https://github.com/temporalio/helm-charts/releases/tag/v1.13.0 which contains a corresponding change to the Kubernetes securityContext.

Dynamic config validator

If dynamic config is malformed an error message will be written to the log. In the next version, a malformed dynamic config will prevent the server from starting. If you see error message about dynamic config, please fix it.

SQLite persistence

Many thanks to Jacob LeGrone (DataDog) for his contribution of the SQLite driver (#1968, #2029). NOTE: The SQLite driver is still under development.

Metrics

  • Added task_schedule_to_start_latency metric.

Bug fixes

  • Correctly set shard ID when range complete replication tasks (#2056)
  • Correctly set last event task ID as part of events replication (#2055)
  • Fix match task queue rate calculation issue (#1910)

All changes

2021-10-20 - 6cbfa2a - Avoid acquiring shared lock recursively (#2076)
2021-10-18 - 92081a5 - Handle case of empty string CAs in TLS config (#2063)
2021-10-18 - 87a89e6 - Adding snipsync wrappers to setup commands (#2051)
2021-10-18 - 83c060a - Remove read-through from namespace.Registry (#2066)
2021-10-18 - 7f6a954 - Rename INDEXED_VALUE_TYPE_STRING to INDEXED_VALUE_TYPE_TEXT (#2061)
2021-10-18 - 7c83fa4 - Avoid generating empty string in tls cert array (#2064)
2021-10-18 - 077d39c - Remove awk dependency in auto-setup.sh (#2068)
2021-10-15 - f955633 - Make shard info to 0 unix nano time, instead of default time.Time (#2052)
2021-10-15 - c121a7d - Correctly set shard ID when range complete replication tasks (#2056)
2021-10-15 - 1d7b63b - Added php and typescript sdks to supportedClients (#2058)
2021-10-14 - 13fef8a - Correctly set last event task ID as part of events replication (#2055)
2021-10-14 - 10df97b - Adding temporal-cla and update link (#2053)
2021-10-14 - 0a92fc6 - Sync Elasticsearch index create script between Makefile and auto-setup.sh (#2047)
2021-10-14 - 043c974 - add optional explicit ForceTLS option to ClientTLS config (#2036)
2021-10-13 - 861df80 - Unify workflow completion metrics (#2050)
2021-10-12 - cbe6c18 - Add metrics for workflow_continued_as_new counter (#2048)
2021-10-12 - c18e7cc - Use uber/fx to init worker service (#2041)
2021-10-12 - 4c2fa17 - Remove duplicate code (#2046)
2021-10-12 - 467e529 - Persistence rate limit error (#2049)
2021-10-12 - 1a811e0 - Refactor visibility manager (#2045)
2021-10-11 - 4ee9768 - Use time.Unix(0, 0) instead of time.Time (#2044)
2021-10-11 - 00f8c7c - Use Match query instead of MatchPhrase for Elasticsearch (#2037)
2021-10-09 - e08cd05 - Revert "Use uber/fx to init worker service (#2032)" (#2039)
2021-10-08 - f687b5b - Use time.Unix(0, 0) instead of time.Time (#2038)
2021-10-08 - a364998 - Use uber/fx to init worker service (#2032)
2021-10-08 - 86d715f - Fix buffered query timeout issue (#2033)
2021-10-08 - 53f438a - Use uber/fx to init frontend (#2023)
2021-10-08 - 3e5196b - Log error message during server startup if dynamic config is misconfigured (#2019)
2021-10-08 - 08b4871 - Add schema setup and namespace registration utilities for SQLite (#2029)
2021-10-07 - fdea070 - Remove video.png (#2028)
2021-10-07 - b621a65 - Convert namespace.Registry to read-through (#2020)
2021-10-07 - 99355bf - Bump Web to v1.12.0 (#2031)
2021-10-07 - 6848bf1 - Remove unused field (#2027)
2021-10-07 - 25fec58 - Use di for matching integration tests (#2024)
2021-10-05 - ad4dc3f - Remove task polling recursion (#2022)
2021-10-04 - bf2e5a6 - Remove namespace/ dependence on cluster metadata (#2011)
2021-10-04 - 2c52fd6 - Increase add-search-attributes tctl admin command timeout to 30s (#2021)
2021-10-04 - 25f551b - Separate Cassandra persistence related structs (#2016)
2021-10-04 - 06b8637 - Namespace type renames (#2018)
2021-10-03 - 8fdc899 - Escape password in connection url (#2015)
2021-10-01 - fd4e2ca - Use DI for matching service initialization (#1995)
2021-10-01 - f831481 - Fix bulk processor NPE (#2013)
2021-10-01 - e80e8c1 - unlimited MaxConnectionAge (#1998)
2021-10-01 - d9bc815 - Make compare function easy to use for task key (#2008)
2021-10-01 - c7b568e - Allow setting workflow run timeout in tctl (#2009)
2021-10-01 - 531cc96 - Use StartedIdentity as LastWorkerIdentity for PendingActivity if no retry (#2007)
2021-10-01 - 3779998 - Fix elasticsearch_bulk_processor_wait_add_latency metric (#2012)
2021-10-01 - 27e9ff2 - Namespace Cache refactor to take advantage of immutability (#2006)
2021-10-01 - 16b1266 - Revert "unlimited MaxConnectionAge (#1998)" (#2010)
2021-09-30 - fff6fbb - Add elasticsearch_bulk_processor_duplicate_request metric (#2003)
2021-09-30 - f5ad4da - Add SDK commands sequence validation (#1993)
2021-09-30 - e0eb82d - Use DI to inject new cache provider (#1997)
2021-09-30 - dc4cd74 - Remove namespace.CacheEntry.GetInfo() (#2000)
2021-09-30 - 6d8338a - Remove advanced visibility specific errors (#2002)
2021-09-30 - 6120b46 - Remove namespace.CacheEntry.GetConfig() (#1991)
2021-09-30 - 57985cb - Improve mapper tests and comment message (#2005)
2021-09-30 - 45a3b79 - Correctly set non timer task key (#2004)
2021-09-30 - 26882f1 - Remove cache.Cache from workflow.Cache (#2001)
2021-09-29 - ae8c797 - Remove CacheEntry.GetReplicationConfig (#1976)
2021-09-29 - 8df4cc8 - Improve message on injected errors (#1973)
2021-09-29 - 64ef4e2 - Add SQLite storage driver (#1968)
2021-09-29 - 3f29b8f - Add workflow identifier to all tasks (#1989)
2021-09-29 - 2e8f38e - Make workflow.Cache interface (#1990)
2021-09-27 - f31bc0b - Unify task serialization / deserialization (#1985)
2021-09-27 - bcf518b - Utilize task serialization / deserialization util (#1987)
2021-09-27 - ab32caf - Add persistence/visibility store info to GetClusterInfo (#1984)
2021-09-27 - a63db66 - Improve invalid search attribute error message (#1986)
2021-09-27 - 7af4d65 - Move task definition from persistence layer to business logic layer (#1983)
2021-09-27 - 180db92 - Update proto submodule (#1982)
2021-09-24 - f0d4f89 - Make new events for retry compatible with older SDK versions (#1949)
2021-09-24 - c7994e2 - Reorganize go.mod file to follow 1.17 convention (#1974)
2021-09-24 - 60a6a61 - Add feature flag to enable Ringpop TLS (#1967)
2021-09-24 - 57938c2 - Initialize resource via DI (#1970)
2021-09-24 - 07cae17 - Add more details to invalid command attributes error (#1978)
2021-09-23 - ed49957 - Update dashboards (#1969)
2021-09-23 - cc1370f - Remove default page size from Elasticsearch visibility store (#1971)
2021-09-23 - a38dbd1 - Use internode mTLS for ringpop (#1902)
2021-09-23 - 3f1aaa2 - Convert Elasticsearch BadRequest error to InvalidArgument error (#1573)
2021-09-23 - 0652f41 - Set timeout for all Elasticsearch read calls (#1972)
2021-09-22 - d79e558 - Return memo serialization error instead of logging (#1948)
2021-09-22 - d23e605 - Construct history.Service via DI (#1964)
2021-09-22 - 81db9bf - Add more metrics for mutable state update (#1960)
2021-09-22 - 6356d64 - Move Elasticsearch client config to elasticsearch/client package (#1950)
2021-09-22 - 3cd9567 - Plumb fault injection for use in integration tests (#1957)
2021-09-22 - 302d03b - Revert "Remove deprecated metrics config code as per release 1.11 note (#1959)" (#1961)
2021-09-22 - 220795c - Integrate dashboards submodule (#1965)
2021-09-21 - f769507 - Move SearchAttributesManager to searchattribute package (#1953)
2021-09-21 - f2c216c - Consistent TaskQueueManager fatal signaling (#1933)
2021-09-21 - b20a256 - Make ResilientSyncMatch the default behavior (#1955)
2021-09-21 - 923a45c - Remove standard logger dependency (#1951)
2021-09-21 - 8dfbb74 - Clean up worker README (#1954)
2021-09-21 - 67b416c - Use internal error to indicate code bug / contract breach (#1958)
2021-09-21 - 584f282 - Don't refresh search attributes cache if database is down (#1956)
2021-09-21 - 183739d - Remove deprecated metrics config code as per release 1.11 note (#1959)
2021-09-20 - d9162f3 - Fix coverage profile generator (#1947)
2021-09-20 - d6c9b4a - Add custom logger option to schema tool (#1943)
2021-09-20 - ce4f036 - Use internal error to indicate code bug / contract breach (#1945)
2021-09-20 - 5839393 - Refactor visibility stores and managers (#1942)
2021-09-20 - 1ec6e9f - Ignore goveralls exit code (#1946)
2021-09-17 - ddb37af - Use persistence mutable state mutation / snapshot binary size util (#1935)
2021-09-17 - 8b71d20 - Remove deprecated history events from mutable state (#1937)
2021-09-17 - 08a15e3 - Fix comments for NewExecutionStore (#1939)
2021-09-16 - c73460c - Always return nil value for NextPageToken if there are no more pages (#1936)
2021-09-16 - 8b1993b - Use internal error to indicate code bug / contract breach (#1924)
2021-09-16 - 7223e7a - Update integration tests (#1934)
2021-09-16 - 463b758 - Remove unused code (#1938)
2021-09-15 - ebe5407 - Use internal error to indicate code bug / contract breach (#1919)
2021-09-15 - d588c3e - Simplify some uses of payloads.Decode in integration tests (#1889)
2021-09-15 - ba3943e - Remove taskQueueManager by instance rather than queue ID (#1931)
2021-09-15 - 9bac95d - Merge persistence API for append history and conflict resolve (#1926)
2021-09-15 - 847c449 - Add persistence mutable state mutation / snapshot binary size util (#1925)
2021-09-15 - 845c4e7 - Extract VisibilityManager from Resources (#1932)
2021-09-15 - 6ed17e3 - Reset gauge on scan complete (#1930)
2021-09-15 - 340949f - Unify visibility metrics (#1928)
2021-09-15 - 1ce9493 - Update event blog size warning message (#1923)
2021-09-15 - 117fd3a - Set timeout for TestCluster (#1927)
2021-09-14 - fa4a34d - Add schedule to start task metric (#1915)
2021-09-14 - ba4197f - Use point in time with Elasticsearch v7 only if it is available (#1918)
2021-09-14 - ab8c0f3 - Update SDK to v1.10.0 (#1921)
2021-09-14 - 032ce4e - Remove dead code (#1920)
2021-09-13 - 96de6fa - Unload taskQueueManager by instance, not queue ID (#1917)
2021-09-13 - 469b4e6 - Use serviceerror.Unavailable error type instead of serviceerror.Internal (#1916)
2021-09-11 - ba5be80 - Ignore InvalidArgument error for unknown custom search attributes (#1911)
2021-09-11 - 09e682a - Remove missing keyword support in visibility queries (#1912)
2021-09-10 - 90d08e4 - Make TestContinueAsNewWorkflow_Timeout faster (#1908)
2021-09-10 - 56d1f9a - Fix match task queue rate calculation issue (#1910)
2021-09-10 - 4cb5ae0 - Wait for namespace cache refresh without sleeping in integration tests (#1907)
2021-09-09 - e84ef40 - Adds docs and examples to the goro package (#1900)
2021-09-09 - 12e6347 - Add metrics to bulk processor (#1909)
2021-09-09 - 0d60066 - Additional doc updates for package goro (#1906)
2021-09-08 - ef88936 - Ack existing visibility task in case of duplicates (#1905)
2021-09-08 - b113b21 - Add goro.Group and use it in taskReader (#1894)
2021-09-08 - 32b3606 - Remove openssl from base server image (#1901)
2021-09-07 - ee93ab0 - Switch memo flags to StringSlice (#1859)
2021-09-07 - e81657b - Fix TaskWriter panic when shutdown (#1892)
2021-09-07 - 9016e5d - Remove retry from DeleteExecution (#1896)
2021-09-03 - f2b317b - Add searchattribute.Mapper interface for custom search attributes (#1880)
2021-09-03 - 4fb0555 - Move namespace cache into namespace package (#1884)
2021-09-03 - 2637976 - Paul MS cache update (#1887)
2021-09-02 - a447f2e - Correctly set current version if workflow is finished (#1879)
2021-09-02 - 32fd7dd - Refactor Elasticsearch visibility store (#1888)
2021-09-02 - 24a081a - Remove search attributes errors logs (#1886)
2021-09-01 - 9509717 - Remove non-retriable case from fault injection (#1877)
2021-09-01 - 42bf6ef - Change parseESDoc and generateESDoc to return error instead of logging (#1878)
2021-08-31 - b37a91d - Add non-root user to run temporal server (#1814)
2021-08-31 - 988d865 - Patch metrics UserScope (#1876)
2021-08-31 - 811cc8b - Expose status of cron and retry workflow executions (#1866)
2021-08-31 - 7fc9340 - Change custom search attributes (#1870)
2021-08-31 - 67c950d - Update dependencies (#1874)
2021-08-31 - 52be73e - Bump current version to 1.13.0 (#1873)
2021-08-31 - 24898d0 - Fix TestCronWorkflow and TestCronChildWorkflowExecution integration tests (#1872)

Helpful links to get you started with Temporal

Temporal Docs
Server
Docker Compose
Helm Chart

Docker images for this release (use tag 1.13.0)

Server
Server With Auto Setup
Admin-Tools

Don't miss a new temporal release

NewReleases is sending notifications on new releases.