From f44a28a2abe774db9d7790e8cd9b113aaac73219 Mon Sep 17 00:00:00 2001 From: Yu Xia Date: Thu, 4 Mar 2021 09:12:33 -1000 Subject: [PATCH] Prepare changelog for new release v3.0.0 (#591) --- CHANGELOG.md | 22 ++++++++++++++++++++++ README.md | 4 ++-- build.gradle | 2 +- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 361269b7f..c1bbadcc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## 3.0.0 +### Added +- [New feature] Activity Local Dispatch: Allows Cadence worker to dispatch activity tasks through local tunnel after ScheduleActivity decisions are made. This is a performance optimization to reduce activity scheduling efforts. +- Pass TaskListActivitiesPerSecond to activity worker and remove the limit. +- Add missing workflowtype and activitytype metric tags. +### Changed +- [Breaking changes] Refactoring in Worker initialization path: + - Worker.Factory -> WorkerFactory + - Worker.FactoryOptions -> WorkerFactoryOptions + - PollerOptions.Builder -> PollerOptions.newBuilder + - SingleWorkerOptions.Builder -> SingleWorkerOptions.newBuilder + - Added WorkerOptions Builder + - WorkflowClient.newInstance(IWorkflowService, Domain, WorkflowClientOptions) -> WorkflowClient.newInstance(IWorkflowService, WorkflowClientOptions) + - WorkflowClientOptions.Builder -> WorkflowClientOptions.newBuilder + - Testing framework +- Fix activity end-to-end latency metric. +- Fix newProxyInstance with the correct class. +- Fix bug in worker.isSuspended(). +- Improve worker start/shutdown logic. +- Improve retry logic. +- Fix race condition during serialization. + ## 2.7.8 - Fix get raw history - Improve signal processing error and log diff --git a/README.md b/README.md index eb9026b3b..746bd8d2a 100644 --- a/README.md +++ b/README.md @@ -31,12 +31,12 @@ Add *cadence-client* as a dependency to your *pom.xml*: com.uber.cadence cadence-client - 2.7.8 + 3.0.0 or to *build.gradle*: - compile group: 'com.uber.cadence', name: 'cadence-client', version: '2.7.8' + compile group: 'com.uber.cadence', name: 'cadence-client', version: '3.0.0' ## Documentation diff --git a/build.gradle b/build.gradle index d41bd07cf..01aef89c5 100644 --- a/build.gradle +++ b/build.gradle @@ -37,7 +37,7 @@ googleJavaFormat { } group = 'com.uber.cadence' -version = '2.7.8' +version = '3.0.0' description = '''Uber Cadence Java Client'''