diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f2ea23..d53611d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the LaunchDarkly Go SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [4.2.0] - 2018-06-26 +### Changed: +- The client now treats most HTTP 4xx errors as unrecoverable: that is, after receiving such an error, it will not make any more HTTP requests for the lifetime of the client instance, in effect taking the client offline. This is because such errors indicate either a configuration problem (invalid SDK key) or a bug, which is not likely to resolve without a restart or an upgrade. This does not apply if the error is 400, 408, 429, or any 5xx error. + ## [4.1.0] - 2018-06-14 ### Changed diff --git a/ldclient.go b/ldclient.go index 91fc243..60db324 100644 --- a/ldclient.go +++ b/ldclient.go @@ -15,7 +15,7 @@ import ( ) // Version is the client version -const Version = "4.1.0" +const Version = "4.2.0" // LDClient is the LaunchDarkly client. Client instances are thread-safe. // Applications should instantiate a single instance for the lifetime