Skip to content

Releases: launchdarkly/eventsource

v1.11.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 17:55
d27e310

1.11.0 (2025-11-20)

Features

  • Support SSE server with event limited jitter support (#58) (7b0f448)

Bug Fixes

  • Bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 (#55) (7c0d519)

v1.10.0

Choose a tag to compare

@github-actions github-actions released this 01 Jul 19:22
dac39c9

1.10.0 (2025-07-01)

Features

v1.9.1

Choose a tag to compare

@github-actions github-actions released this 02 Jun 22:55
0bf5a56

1.9.1 (2025-06-02)

Bug Fixes

v1.9.0

Choose a tag to compare

@github-actions github-actions released this 21 Apr 17:16
4af8c72

1.9.0 (2025-04-21)

Features

  • Include response headers in subscription errors (#46) (271f33d)

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 19 Dec 16:42
5a26019

1.8.0 (2024-12-19)

Features

  • Add ability to provide dynamic query parameters (#44) (efc5d86)

v1.7.1

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 10 May 17:25

[1.7.1] - 2022-05-10

Fixed:

  • In the SSE server implementation, removed string concatenation logic that caused writing of large messages to be unnecessarily memory-intensive. (Thanks, moshegood!)
  • The SSE server implementation did not correctly write a message if the data field was empty: it dropped the field entirely, which would cause clients not to read the message.

1.7.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 05 Jan 21:38

[1.7.0] - 2022-01-05

This release includes improvements for SSE spec compliance that do not affect usage in the LaunchDarkly Go SDK, but may be relevant in other use cases.

Added:

  • Each event returned by the client now includes the last event ID that was seen on this stream (if any), rather than only the ID (if any) that was in that particular event. This is a requirement of the SSE spec. For backward compatibility, Event.Id() still has the old behavior of returning only the ID for that event; the new behavior is in a new interface method, EventWithLastID.LastEventID(). Every event returned by the client implements both Event and EventWithLastID.

Changed:

Fixed:

  • The client should discard any id: field that contains a null character, as per the SSE spec.

1.6.2

Choose a tag to compare

@LaunchDarklyCI LaunchDarklyCI released this 02 Dec 17:52

[1.6.2] - 2020-12-02

Fixed:

  • Removed extra newline from "Reconnecting in..." log message.

1.6.1

Choose a tag to compare

@LaunchDarklyCI LaunchDarklyCI released this 23 Jul 22:07

[1.6.1] - 2020-07-23

Changed:

  • Server.Handler() now uses the standard context.Context mechanism to detect when a request has been cancelled, instead of the deprecated http.CloseNotifier.

1.6.0

Choose a tag to compare

@LaunchDarklyCI LaunchDarklyCI released this 23 Jul 21:13

[1.6.0] - 2020-07-23

Added:

  • Server.Unregister method for removing a Repository registration and optionally forcing clients to disconnect.
  • Server.PublishWithAcknowledgement method for ensuring that an action does not happen until an event has been dispatched.

Fixed:

  • Fixed a race condition in which Server might close a channel while another goroutine is trying to write to it. This would happen if you registered a Repository that replays events, started a handler, then closed the Server while the events were still replaying.
  • Improved unit test coverage.