Skip to content

Commit 75f8349

Browse files
author
LaunchDarklyReleaseBot
committed
Releasing version 2.1.1
1 parent 29a058f commit 75f8349

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to the LaunchDarkly SSE Client for Ruby will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [2.1.1] - 2021-10-12
6+
### Fixed:
7+
- Performance should now be greatly improved when parsing events that have very long data. Previously, the logic for parsing the stream to find line breaks could result in unnecessary extra scans of the same characters and unnecessary extra string slicing. ([#20](https://github.com/launchdarkly/ruby-eventsource/issues/20))
8+
- The backoff delay algorithm was being inappropriately applied _before_ the first connection attempt. In the default configuration, that meant an extra delay of between 0.5 seconds and 1 second.
9+
- Leading linefeeds were being dropped from multi-line event data. This does not affect use of `SSE::Client` within the LaunchDarkly SDK, because LaunchDarkly streams consist of JSON data so unescaped linefeeds are not significant, but it could affect uses of this library outside of the SDK.
10+
511
## [2.1.0] - 2021-08-11
612
### Added:
713
- New `closed?` method tests whether `close` has been called on the client. (Thanks, [qcn](https://github.com/launchdarkly/ruby-eventsource/pull/13)!)

0 commit comments

Comments
 (0)