Skip to content

Commit 5fc78dd

Browse files
Update Changelog for release of version 5.1.0
1 parent a0f0a43 commit 5fc78dd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ All notable changes to the LaunchDarkly Ruby SDK will be documented in this file
1414
- `LDClient.all_flags()`
1515

1616

17+
## [5.1.0] - 2018-08-27
18+
### Added:
19+
- The new `LDClient` method `all_flags_state()` should be used instead of `all_flags()` if you are passing flag data to the front end for use with the JavaScript SDK. It preserves some flag metadata that the front end requires in order to send analytics events correctly. Versions 2.5.0 and above of the JavaScript SDK are able to use this metadata, but the output of `all_flags_state()` will still work with older versions.
20+
- The `all_flags_state()` method also allows you to select only client-side-enabled flags to pass to the front end, by using the option `client_side_only: true`.
21+
22+
### Changed:
23+
- Unexpected exceptions are now logged at `ERROR` level, and exception stacktraces at `DEBUG` level. Previously, both were being logged at `WARN` level.
24+
25+
### Deprecated:
26+
- `LDClient.all_flags()`
27+
28+
1729
## [5.0.1] - 2018-07-02
1830
### Fixed:
1931
Fixed a regression in version 5.0.0 that could prevent the client from reconnecting if the stream connection was dropped by the server.

0 commit comments

Comments
 (0)