Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

prepare 4.2.0 release #129

Merged
merged 10 commits into from
Jun 26, 2018
Merged

prepare 4.2.0 release #129

merged 10 commits into from
Jun 26, 2018

Conversation

eli-darkly
Copy link
Contributor

[4.2.0] - 2018-06-26

Added:

  • New overloads of LDUser.Builder.custom and LDUser.Builder.privateCustom allow you to set a custom attribute value to any JSON element.

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.
  • During initialization, if the client receives any of the unrecoverable errors described above, the client constructor will return immediately; previously it would continue waiting until a timeout. The initialized() method will return false in this case.

@eli-darkly eli-darkly requested a review from pkaeding June 26, 2018 18:45
@eli-darkly eli-darkly merged commit 5bb05d4 into master Jun 26, 2018
@eli-darkly eli-darkly deleted the 4.2.0 branch June 26, 2018 21:19
eli-darkly added a commit that referenced this pull request Jul 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants