Skip to content

v0.23.1 Release

Compare
Choose a tag to compare
@yycptt yycptt released this 19 Nov 01:50
· 7 commits to 0.23.x since this release

Upgrade instructions (from 0.22.x releases)

Schema upgrades (required)

  • Cassandra: upgrade schema to 0.32

Configuration changes (optional but recommended)

  • Change clusterMetadata to clusterGroupMetadata
  • Change clusterMetadata.masterClusterName to clusterGroupMetadata.primaryClusterName
  • Change clusterMetadata.clusterInformation to clusterGroupMetadata.clusterGroup
  • Change dynamicConfigClient to dynamicconfig with client:filebased and move all fields under the old dynamicConfigClient to a new field filebased under the new dynamicconfig.
  • publicClient is no longer required. If not specified, will default to current cluster's RPCAddress in clusterGroup
  • Sample config

Release Commits

New features

Config Store

0fd2b50 Added config store functionality (initial implementation) (#4357)

Cross Domain Operations

38881a8 Add X-Cluster Child Workflow Completion Tasks (#4336)
40c5f18 Implement history handler for fetching and responding cross-cluster tasks (#4329)
adbffa4 Notify queue processor about cross cluster tasks (#4328)
23eb8be Improve is cross cluster task check (#4326)
af30753 Update admin CLI commands for cross-cluster queue (#4321)
58e8e1c Add cross cluster target task executor (#4317)
8d319e2 Refactor task executor interface (#4300)
de9a086 Add cross cluster queue processor (#4269)
4384e4c Target cluster cross cluster task processor (#4292)
6964885 Improve definition for cross-cluster related endpoints (#4294)
eead0e5 Add client and handler implementation for cross-cluster task APIs (#4286)
622b13b Add internal types and mappers for cross cluster related APIs (#4285)

GRPC

4b95ec8 Fallback to zero value for non-present parent execution fields (#4617)
dbe538e Switch canary to gRPC (#4570)
59c8f0e gRPC for cross DC traffic (#4390)
5328cba Expose frontend gRPC port on docker containers (#4312)

Auth

8b8d8d8 add workflow type to signal with start auth
eacf42f add enable service auth logging key
d1a3c11 extend permission attributes for service auth
35f588f Add authorizer protection for AdminAPI
9a46d9d Feature cont.: authorize CLI as admin with private (#4338)
37706b2 Update OAuth implementation to use domainCache to authorize (#4333)
0085b7a CLI sending authorized request (#4327)
989e35c Add Permissions to Attributes and reading Public/Private key from disk instead of reading it from yaml file (#4320)
9f5d412 Implement OAuth Authorizer (#4306)
deed482 add enable service auth key (#4299)
51be820 fill tasklist in auth attributes for poll APIs (#4296)
70f3f58 add tasklist to auth attributes (#4288)

Bug Fixes

4808e65 Fix NPE in GCP archival (#4626)
49df671 Handle error case in response info middleware (#4609)
efb7b08 Fix get replication task read level update issue (#4607)
144d694 Fix NPE when replicating child started event (#4591)
0a1337c Fix cherry-pick for docker config template from #4585
1affb65 Fix mysql insecure hostname verify didn't work (#4569)
3fd8001 Fx docker template and canary batcher workflow (#4585)
364b2a1 Fix and improve canary thrift config and docs (#4580)
f744a6f Fix record child completion error handling (#4515)
3cb214a Fix access control admin handler initialization (#4500)
0398bf6 Fix timer resurrection check (#4499)
39f45eb Fix startTime in workflow task refresher (#4488)
dfca8e1 Fix nil pointer dereference issue in matching (#4481)
5dd7eb7 Fix workflow refresh for closed workflows (#4472)
76573a2 Fix domain updating via grpc (#4418)
f52498a Fix admin workflow re-replicate command (#4325)
abe2284 Fix ndc reset workflow replication bug (#4376)
a58b8b9 Fix oauth yaml config (#4360)
8ea6a6a Fix CLI jwtKey npe issue (#4358)
cd9a33a Fix deadlock in transfer queue (#4337)
fbc79f9 Fix CLI admin domain bug that didn't load Cassandra plugin
bec009a Fix missing activity failure details in standby cluster (#4323)
a1b9679 Fix typo in docker config template which cause docker image corruption (#4310)
6a00f35 Fix a racy read in test (#4291)

Improvements

d53b1fb Support DNS SRV Records within Ringpop (#4614)
2c3a8f3 Change frontend drain time
76653c1 Limited retry for normal decision scheduleToStart timeout (#4567)
dbae130 Improve archival history mutated error logs and add option to allow archiving incomplete history
4048370 URL encode postgres credentials (#4550)
41e9b53 Add console as logging encoding type (#4549)
0332c59 Log WorkflowID, RunID, domainName when a workflow times out or gets terminated (#4548)
df0c4bf Change canary back to start both worker and starter by default (#4587)
39b1970 Update cadence go SDK for building canary in 0.23.x (#4586)
dcfe3f6 skip eror on creating domains for canary (#4584)
f53bec1 Add documentation to canary and improvements (#4447)
e052190 Add size checker when replication messages return (#4521)
16aed76 Added response info middleware (#4522)
a6a1793 Adding debug metrics in domain callback (#4484)
e602b8c Set limit on range queries to prevent bad queries causing degradation (#4458)
6b9184c Refactor config methods for internal use (#4448)
d58d346 Add feature flag on emitting signal name metric tag (#4434)
db77377 Refactor test for internal integration tests (#4437)
d67fb41 Revert ratelimiting behavior for frontend worker related APIs (#4435)
0b98055 Rewrite/improve basic load test (#4399)
cde0f41 Dynamic replication batch size (#4301)
efb9f90 Long poll completion buffer to prevent timeouts (#4425)
45c7b4c Improve/simplify archival config validation (#4366)
fb10abe Automatically adjust task priority and redispatch interval based on attempts (#4378)
6dec5aa Disable basic(db) visibility sampling by default (#4407)
76ec20a Emit logs with workflow execution tag for timedout frontend requests (#4379)
170deed Try detecting timer and activity resurrection (#4375)
7110f05 add decision result count check (#4402)
8ad444b Add context metric tags for admin handler (#4404)
c6ef3c9 Refactor ClusterMetadata defaults and validation (#4385)
185988a Add docker file/config/compose for bench and canary
3255b7c Failover metrics scope improve (#4391)
4781a8d Expose invalid timer value in the error message (#4380)
f621c7c Fill currentCluster RpcAddress with publicClient as default
58ae905 Optimization for start child workflow task (#4315)
71e730f Allow removing replica from domain replication group (#4346)
b32af80 Enalbe batch job feature by default and update dynamic config docs (#4343)
70bc150 Parallelize GetWorkflowExecution SQL calls (#4339)
28e0489 Server and CLI use version from release and versionChecking constant and commit revision (#4308)
ffbfdb7 Remove unused replicationConsumer related config (#4324)
66f2f26 Refactor Cassandra test utility for NoSQL support
7db7654 Fix MaximumSignalsPerExecution documentation default value
c63aa78 Add persistence error logs to queue manager (#4318)
deb0caf Update Mutable State to reduce unnecessary update to DB (#4304)
572582c Refactoring Cassandra workflow persistence manager for NoSQL support-Part 3
c185ad8 Deep merge config files (#4165)
d91e86f Enforce context timeout for retry policies in execution context and cache (#4303)
a24af63 Refactoring Cassandra workflow persistence manager for NoSQL support-Part 2
17663af Add domain tag for skip task metrics and logs (#4293)
28bb116 Remove tasklist kind from tasklist id (#4295)
94b2405 Implement new matching and frontend API to get all tasklists for a domain (#4175)
ff0046f Rename cassandra files to nosqlStores
3cc8c31 Allow skipping optional tests for optional methods in plugins (#4287)

Misc.

2618998 Update docker files for 0.23.1 release
01f0939 Update CHANGELOG.md (#4405)
44392dc Update community links for Discussion
7420786 Improve contributing and dev process (#4347)
6f989a3 Cleanup lint warning (#4309)
24cd8fa Clean up linting warnings (#4290)
7e88e6e Ignore bench and canary test coverage (#4297)