Skip to content

Commit bd4fcf6

Browse files
Releasing version 2.0.0
1 parent 7d1a70a commit bd4fcf6

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
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.0.0] - 2021-01-26
6+
### Added:
7+
- Added a `socket_factory` configuration option which can be used for socket creation by the HTTP client if provided. The value of `socket_factory` must be an object providing an `open(uri, timeout)` method and returning a connected socket.
8+
9+
### Changed:
10+
- Switched to the `http` gem instead of `socketry` and a custom HTTP client.
11+
- Dropped support for Ruby < version 2.5
12+
- Dropped support for JRuby < version 9.2
13+
514
## [1.0.3] - 2020-03-17
615
### Fixed:
716
- The backoff delay logic for reconnecting after a stream failure was broken so that if a failure occurred after a stream had been active for at least `reconnect_reset_interval` (default 60 seconds), retries would use _no_ delay, potentially causing a flood of requests and a spike in CPU usage.

Gemfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
ld-eventsource (1.0.3)
4+
ld-eventsource (2.0.0)
55
concurrent-ruby (~> 1.0)
66
http (~> 4.4.1)
77

@@ -10,7 +10,7 @@ GEM
1010
specs:
1111
addressable (2.7.0)
1212
public_suffix (>= 2.0.2, < 5.0)
13-
concurrent-ruby (1.1.7)
13+
concurrent-ruby (1.1.8)
1414
diff-lcs (1.3)
1515
domain_name (0.5.20190701)
1616
unf (>= 0.0.5, < 1.0.0)
@@ -27,8 +27,8 @@ GEM
2727
http-cookie (1.0.3)
2828
domain_name (~> 0.5)
2929
http-form_data (2.3.0)
30-
http-parser (1.2.2)
31-
ffi-compiler
30+
http-parser (1.2.3)
31+
ffi-compiler (>= 1.0, < 2.0)
3232
public_suffix (4.0.6)
3333
rake (13.0.3)
3434
rspec (3.7.0)

lib/ld-eventsource/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module SSE
2-
VERSION = "1.0.3"
2+
VERSION = "2.0.0"
33
end

0 commit comments

Comments
 (0)