FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(release): version packages by github-actions[bot] · Pull Request #359 · EventSource/eventsource · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .json  (2) .md  (3) All 2 file types selected
Only manifest files
Deleted files Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
7 changes: 0 additions & 7 deletions .changeset/lasteventid-persists-without-id.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/persist-ids-from-data-less-blocks.md

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# 📓 Changelog

## 5.1.1

### Patch Changes

- [#358](https://github.com/EventSource/eventsource/pull/358) [`de3c0ae`](https://github.com/EventSource/eventsource/commit/de3c0ae75bfffea4f5862950c386b3ddd6e3e64c) Thanks [@pacocartones](https://github.com/pacocartones)! - Fixed `MessageEvent.lastEventId` being empty when a message omits the id field

The `lastEventId` attribute is the last event ID string of the event source, so an explicit `id` field persists until another one replaces it. Message events were dispatched with the current event's own `id` instead of that buffer, which left `lastEventId` empty on every event that omitted `id`, even though the buffer still held the earlier value and would have been sent as `Last-Event-ID` on reconnect.

- [`17a9772`](https://github.com/EventSource/eventsource/commit/17a97722ed3f06920e931b627b9ef86752be165f) Thanks [@rexxars](https://github.com/rexxars)! - Fixed ID-only event blocks not updating `MessageEvent.lastEventId` or `Last-Event-ID` on reconnect.

## 5.1.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eventsource",
"version": "5.1.0",
"version": "5.1.1",
"description": "WhatWG/W3C compliant EventSource client for Node.js and browsers",
"keywords": [
"eventsource",
Expand Down

Back | FazBrowse Home | New Git URL