Skip to content

Conversation

@prwhelan
Copy link
Member

@prwhelan prwhelan commented Apr 3, 2025

Backports the following commits to 8.x:

ServerSentEvent is now a record with `event` and `data`, rather than
it being a record for value with a separate `ServerSentEventField`.

- `value` was renamed to `data`
- `hasValue` was renamed to `hasData`
- Parsing was refactored to read more like its spec: writing to a buffer
  and flushing when we reach a blank newline
- We now support multiline data payloads
@prwhelan prwhelan added :ml Machine learning >refactoring auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:ML Meta label for the ML team labels Apr 3, 2025
@elasticsearchmachine elasticsearchmachine merged commit d25a940 into elastic:8.x Apr 3, 2025
15 checks passed
@prwhelan prwhelan deleted the backport/8.x/pr-125959 branch April 3, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :ml Machine learning >refactoring Team:ML Meta label for the ML team v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants