diff --git a/CHANGELOG.md b/CHANGELOG.md index 978bc1a02..adbf10ff5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [v0.19.1] - 2022-06-02 +### Changed +- Do not retry on LimitExceededError (#1170) [Mantas Šidlauskas] + +## [v0.19.0] - 2022-01-05 ### Added - Added JWT Authorization Provider. This change includes a dependency that uses v2+ go modules. They no longer match import paths, meaning that we have to **drop support for dep & glide** in order to use this. [#1116](https://github.com/uber-go/cadence-client/pull/1116) ### Changed diff --git a/internal/internal_retry.go b/internal/internal_retry.go index 3519d728a..150568af4 100644 --- a/internal/internal_retry.go +++ b/internal/internal_retry.go @@ -72,7 +72,8 @@ func isServiceTransientError(err error) bool { *s.QueryFailedError, *s.DomainNotActiveError, *s.CancellationAlreadyRequestedError, - *s.ClientVersionNotSupportedError: + *s.ClientVersionNotSupportedError, + *s.LimitExceededError: return false } @@ -82,6 +83,5 @@ func isServiceTransientError(err error) bool { // s.InternalServiceError // s.ServiceBusyError - // s.LimitExceededError return true } diff --git a/internal/version.go b/internal/version.go index d294cf89e..99f08a8f7 100644 --- a/internal/version.go +++ b/internal/version.go @@ -35,7 +35,7 @@ package internal // that are writing workflows. So every time we change API // that can affect them we have to change this number. // Format: MAJOR.MINOR.PATCH -const LibraryVersion = "0.18.4" +const LibraryVersion = "0.19.1" // FeatureVersion is a semver that represents the // feature set of this cadence client library support.