Skip to content

Releases: lukas-reining/eventsource

v2.1.0

03 Jan 23:44
b50fcae
Compare
Choose a tag to compare

2.1.0 (2025-01-03)

Features

v2.0.0

15 Dec 13:05
7857095
Compare
Choose a tag to compare

2.0.0 (2024-12-15)

⚠ BREAKING CHANGES

  • remove deprecated extraOptions (#28)
  • change credentials mode from "omit" to "same-origin" when set to false (#27)

Caution

This is a breaking change, as users with withCredentials not set or set to false, will now send cookies to same-site instead of sending not them.
Be sure that this is acceptable for your use case.

Tip

If the credentials mode should still be set to omit, you can set the omitCredentials parameter to true.
If withCredentials is also set to true, omitCredentials will take precedence.

Bug Fixes

  • change credentials mode from "omit" to "same-origin" when set to false (#27) (bf882f3)

Miscellaneous Chores

v1.7.0

03 Oct 17:53
6e35837
Compare
Choose a tag to compare

1.7.0 (2024-10-03)

Features

v1.6.4

06 Sep 11:32
daf7843
Compare
Choose a tag to compare

1.6.4 (2024-09-06)

Bug Fixes

  • link for globalThis.fetch (b00a4f0)

v1.6.3

06 Sep 11:27
18f3906
Compare
Choose a tag to compare

1.6.3 (2024-09-06)

Bug Fixes

  • link for globalThis.fetch (8c71f2f)

v1.6.2

06 Sep 11:19
8b18449
Compare
Choose a tag to compare

1.6.2 (2024-09-06)

Bug Fixes

  • do not run package publish twice (640eb32)

v1.6.1

06 Sep 09:41
5107c9e
Compare
Choose a tag to compare

1.6.1 (2024-09-06)

Bug Fixes

  • add public flag to pipline publishing (63f06b8)

v1.6.0

06 Sep 09:23
3c6ed29
Compare
Choose a tag to compare

1.6.0 (2024-09-06)

Features

  • add jsdocs and deprecate old fetch parameter (58a73b5)

v1.5.2

06 Sep 08:55
a3ddffd
Compare
Choose a tag to compare

1.5.2 (2024-09-06)

Bug Fixes

  • bind custom fetch to globalThis (1cb0504)

v1.5.1

06 Sep 08:45
4823535
Compare
Choose a tag to compare

1.5.1 (2024-09-06)

Features

Bug Fixes

  • add module type to package.json and use correct file ending for cjs (f07ee9b)
  • broken import in readme (eaa57db)
  • bump version to 1.4.5 (7c3a1a8)
  • empty message yielded after only seeing a comment (ad8eb89)
  • misleading error message (bcd1bbd)
  • package: define exports (48d581d)
  • release version with exports (ce4c1d5)
  • stop reconnecting if the eventsource is closed (c294aae)